Susant Sahani
d3febaaaa0
Adds tests according to the CI
...
Adds tests according to the CI
justification
Adds tests according to the CI wiki specifically the standard test interface in the spec.
The playbook includes Tier1 level test cases that have been tested in the following contexts and
is passing reliably: Classic. Test logs are stored in the artifacts directory.
The following steps are used to execute the tests using the standard test interface:
Test enveronment
Make sure you have installed packages from the spec
```
ansible-2.4.1.0-2.fc28.noarch
python2-dnf-2.7.5-1.fc28.noarch
libselinux-python-2.7-2.fc28.x86_64
standard-test-roles-2.5-1.fc28.noarch
Run tests for Classic
Snip of the example test run for Classic tests:
```
net-snmp-5.7.3-38.fc29.x86_64
:: [ 17:12:37 ] :: [ PASS ] :: Checking for the presence of net-snmp rpm
:: [ 17:12:37 ] :: [ PASS ] :: Checking for the presence of net-snmp rpm
:: [ 17:12:37 ] :: [ LOG ] :: Package versions:
:: [ 17:12:37 ] :: [ LOG ] :: Package versions:
:: [ 17:12:37 ] :: [ LOG ] :: net-snmp-5.7.3-38.fc29.x86_64
:: [ 17:12:37 ] :: [ LOG ] :: net-snmp-5.7.3-38.fc29.x86_64
net-snmp-utils-5.7.3-38.fc29.x86_64
:: [ 17:12:37 ] :: [ PASS ] :: Checking for the presence of net-snmp-utils rpm
:: [ 17:12:37 ] :: [ PASS ] :: Checking for the presence of net-snmp-utils rpm
:: [ 17:12:37 ] :: [ LOG ] :: Package versions:
:: [ 17:12:37 ] :: [ LOG ] :: Package versions:
:: [ 17:12:37 ] :: [ LOG ] :: net-snmp-utils-5.7.3-38.fc29.x86_64
:: [ 17:12:37 ] :: [ LOG ] :: net-snmp-utils-5.7.3-38.fc29.x86_64
:: [ 17:12:37 ] :: [ BEGIN ] :: Running 'systemctl stop firewalld'
:: [ 17:12:37 ] :: [ PASS ] :: Command 'systemctl stop firewalld' (Expected 0,5, got 0)
:: [ 17:12:37 ] :: [ PASS ] :: Command 'systemctl stop firewalld' (Expected 0,5, got 0)
:: [ 17:12:37 ] :: [ BEGIN ] :: Running 'setenforce 0'
:: [ 17:12:37 ] :: [ PASS ] :: Command 'setenforce 0' (Expected 0,1, got 0)
:: [ 17:12:37 ] :: [ PASS ] :: Command 'setenforce 0' (Expected 0,1, got 0)
:: [ 17:12:37 ] :: [ BEGIN ] :: Running '[ -e /sys/class/net/veth-test ] && ip link del veth-test'
:: [ 17:12:37 ] :: [ PASS ] :: Command '[ -e /sys/class/net/veth-test ] && ip link del veth-test' (Expected 0,1, got 1)
:: [ 17:12:37 ] :: [ PASS ] :: Command '[ -e /sys/class/net/veth-test ] && ip link del veth-test' (Expected 0,1, got 1)
:: [ 17:12:37 ] :: [ BEGIN ] :: Running 'cp net-snmp-tests.py /usr/bin/'
:: [ 17:12:37 ] :: [ PASS ] :: Command 'cp net-snmp-tests.py /usr/bin/' (Expected 0, got 0)
:: [ 17:12:37 ] :: [ PASS ] :: Command 'cp net-snmp-tests.py /usr/bin/' (Expected 0, got 0)
:: [ 17:12:37 ] :: [ INFO ] :: using '/var/tmp/beakerlib-FznqAiL/backup' as backup destination
:: [ 17:12:37 ] :: [ INFO ] :: using '/var/tmp/beakerlib-FznqAiL/backup' as backup destination
:: [ 17:12:38 ] :: [ BEGIN ] :: Running 'cp snmpd.conf /etc/snmp/snmpd.conf'
: [ 17:12:38 ] :: [ BEGIN ] :: Running 'cp snmpd.conf /etc/snmp/snmpd.conf'
:: [ 17:12:38 ] :: [ PASS ] :: Command 'cp snmpd.conf /etc/snmp/snmpd.conf' (Expected 0, got 0)
:: [ 17:12:38 ] :: [ PASS ] :: Command 'cp snmpd.conf /etc/snmp/snmpd.conf' (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 1s
:: Duration: 1s
:: Assertions: 7 good, 0 bad
:: Assertions: 7 good, 0 bad
:: RESULT: PASS
:: RESULT: PASS
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Test
:: Test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 17:12:38 ] :: [ LOG ] :: Starting net-snmp tests ...
:: [ 17:12:38 ] :: [ LOG ] :: Starting net-snmp tests ...
:: [ 17:12:38 ] :: [ BEGIN ] :: Running '/usr/bin/python3 /usr/bin/net-snmp-tests.py'
test_SNMP_IF_MIB_network_interface (__main__.SnmpdTests)
verify network interface (1.3.6.1.2.1.2.2.1) SNMP variables ... ok
test_SNMP_MIB_2_System (__main__.SnmpdTests)
verify RFC 1213 System (1.3.6.1.2.1.1) SNMP variables ... ok
test_SNMP_hrSWRunPath (__main__.SnmpdTests)
process id ... ok
test_UCD_SNMP_MIB_memory (__main__.SnmpdTests)
UCD-SNMP-MIB::memory ... ok
test_basic_snmpwalk (__main__.SnmpdTests)
verify snmpwalk getting success snmpwalk -v2c -c public localhost ... ok
----------------------------------------------------------------------
Ran 5 tests in 7.450s
OK
:: [ 17:12:45 ] :: [ PASS ] :: Command '/usr/bin/python3 /usr/bin/net-snmp-tests.py' (Expected 0, got 0)
:: [ 17:12:45 ] :: [ PASS ] :: Command '/usr/bin/python3 /usr/bin/net-snmp-tests.py' (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
2018-06-08 17:38:05 +05:30
Josef Ridky
4b1b37eb16
Python3 patch update
2018-05-31 11:24:43 +02:00
Josef Ridky
9e592fe1d9
Python3 support draft
2018-05-28 14:21:45 +02:00
Josef Ridky
4a9c0ab606
Revert Python3 support
2018-05-21 13:44:31 +02:00
Josef Ridky
3d45358cc7
Upstream iterator fix
2018-03-27 10:55:06 +02:00
Josef Ridky
a99b865945
Resolves : #1552844 - CVE-2018-1000116 Heap corruption in snmp_pdu_parse
2018-03-08 09:59:42 +01:00
Josef Ridky
fd2b06be09
Remove obsolete statement
2018-02-27 14:16:59 +01:00
Josef Ridky
38fee6398d
Add gcc requirement
2018-02-27 14:12:43 +01:00
Josef Ridky
7486c6880d
Build against Python3
2018-02-27 13:48:26 +01:00
Josef Ridky
08064860dd
Fix wrong systemd patch ( #1545946 )
2018-02-16 07:35:56 +01:00
Josef Ridky
4309199ccc
Fix issue with statistics from autofs
2018-02-08 12:25:46 +01:00
Josef Ridky
080b7fe91d
Fix wrong usage of structure iterator
2018-02-08 12:20:22 +01:00
Josef Ridky
7212e26760
Fix strstr() crash when looking for RPM Group tag
2018-02-08 12:15:50 +01:00
Fedora Release Engineering
16f1271cc2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-08 04:00:31 +00:00
Igor Gnatenko
2e5c96fba6
Switch to %ldconfig_scriptlets
...
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-02-03 17:40:14 +01:00
Josef Ridky
e256d0f874
Sort configure options in specfile
2018-02-01 13:31:07 +01:00
Josef Ridky
345f177703
remove modifications of backup files
2018-01-31 14:55:32 +01:00
Josef Ridky
d5a8b7b457
Update spec file and remove init files
2018-01-31 14:39:32 +01:00
Björn Esser
79ba60ff69
Rebuilt for switch to libxcrypt
2018-01-20 23:07:18 +01:00
Josef Ridky
7d2e1491d1
Using mariadb-connector-c package ( #1339272 )
2017-12-14 06:17:43 +01:00
Josef Ridky
6abaaecb39
Remove tcp_wrappers dependency ( #1518768 )
2017-12-13 22:25:19 +01:00
Zbigniew Jędrzejewski-Szmek
56522679a8
Add Provides for the old name without %_isa
2017-08-20 10:38:40 -04:00
Zbigniew Jędrzejewski-Szmek
7c43e1c753
Python 2 binary package renamed to python2-net-snmp
2017-08-19 09:38:59 -04:00
Igor Gnatenko
c7e3c4ce6a
Rebuilt after RPM update (№ 3)
...
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-08-11 09:41:57 +02:00
Igor Gnatenko
e3bd176532
Update net-snmp to use modern (rpm >= 4.6) API
...
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-08-11 00:24:30 +02:00
Igor Gnatenko
0cb00a528c
Rebuilt for RPM soname bump
...
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-08-10 22:10:27 +02:00
Igor Gnatenko
cc1a3f11b2
Rebuilt for RPM soname bump
...
Signed-off-by: Igor Gnatenko <ignatenko@redhat.com>
2017-08-10 20:27:58 +02:00
Fedora Release Engineering
418ca21db0
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
2017-08-03 03:52:35 +00:00
Fedora Release Engineering
0660938a88
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2017-07-26 22:47:49 +00:00
Josef Ridky
7cb21f2ed3
Add missing changelog record
2017-07-21 09:41:36 +02:00
Adam Williamson
045c2f30d3
Add patch (whoops)
2017-07-20 11:23:06 -07:00
Adam Williamson
7da674056e
Better fix for #1470004
2017-07-20 11:13:33 -07:00
Josef Ridky
8885518709
Resolves : #1470004 - Fix issue with undefined symbol my_progname when try to load NetSNMP::TrapReceiver in perl script.
2017-07-20 09:34:00 +02:00
Adam Williamson
cd6759e4f3
Fix build with MariaDB 10.2 ( #1470642 )
2017-07-19 11:03:20 -07:00
Petr Písař
3da2897c5e
perl dependency renamed to perl-interpreter < https://fedoraproject.org/wiki/Changes/perl_Package_to_Install_Core_Modules >
2017-07-13 10:15:52 +02:00
Josef Ridky
425cd5d366
Discard previous changes
2017-07-12 14:13:01 +02:00
Josef Ridky
48804d810d
Resolves : #1470004 - fix missing linking to libmysqlclient library
2017-07-12 12:16:33 +02:00
Jitka Plesnikova
c6e5996490
Perl 5.26 rebuild
2017-06-04 15:59:26 +02:00
Josef Ridky
e4d5ceb957
Resolves : #1423984 - add support for OpenSSL-1.1.0 library
2017-02-20 15:35:45 +01:00
Fedora Release Engineering
66cc77b080
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2017-02-10 22:11:03 +00:00
Josef Ridky
d353462c74
Resolves : #1366282 - use strtok_r for strtok to avoid a race condition
2016-08-12 13:09:04 +02:00
Josef Ridky
778f5c09a1
Resolves : #1359123 - update default configuration to conform to the best practices
2016-08-12 12:42:05 +02:00
Fedora Release Engineering
7e587a790c
- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages
2016-07-19 08:01:33 +00:00
Petr Písař
2ce5405dea
Mandatory Perl build-requires added < https://fedoraproject.org/wiki/Changes/Build_Root_Without_Perl >
2016-06-24 09:24:16 +02:00
Jitka Plesnikova
15190c5ef8
Perl 5.24 rebuild
2016-05-15 06:22:44 +02:00
Jitka Plesnikova
ad1c9a41cb
Updated net-snmp to build against Perl 5.24
2016-05-09 13:39:48 +02:00
Jan Safranek
b1bfd06991
Trim net-snmp-config --cflags output
...
Resolves : #1309080
As result, Makefile.PL must not remove -Wall from CFLAGS, otherwise it gets -Werror=format-security without -Wformat and gcc fails.
2016-02-24 12:26:08 +01:00
Fedora Release Engineering
2e7db8cf88
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2016-02-04 09:13:30 +00:00
Richard W.M. Jones
58e2580872
Bump version to rebuild against new RPM in Rawhide.
...
This package links to librpm:
checking for library containing rpmGetPath... -lrpmio
checking for library containing rpmdbOpen... no
checking for library containing rpmReadConfigFiles... -lrpm
and so requires rebuilding because there has been a librpm
SONAME bump in Rawhide.
2015-07-27 14:15:37 +01:00
Jan Safranek
fd2028db3f
Recompile with -Wformat
...
perl/*/Makefile.PL removes -Wall from CFLAGS. gcc then complains 'error: -Wformat-security ignored without -Wformat'.
This patch adds extra -Wformat to CFLAGS, making gcc happy.
Resolves : #1242766
2015-07-14 14:18:10 +02:00