Susant Sahani
84d80eb1b5
CI: Add ip link kind and set dev tests
...
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:
```
```
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Setup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
iproute-4.15.0-1.fc28.x86_64
:: [ 16:56:03 ] :: [ PASS ] :: Checking for the presence of iproute rpm
:: [ 16:56:03 ] :: [ LOG ] :: Package versions:
:: [ 16:56:04 ] :: [ LOG ] :: iproute-4.15.0-1.fc28.x86_64
:: [ 16:56:04 ] :: [ BEGIN ] :: Running 'cp ip-link-tests.py /usr/bin'
:: [ 16:56:04 ] :: [ PASS ] :: Command 'cp ip-link-tests.py /usr/bin' (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 1s
:: Assertions: 2 good, 0 bad
:: RESULT: PASS
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 16:56:04 ] :: [ LOG ] :: ip link tests
:: [ 16:56:04 ] :: [ BEGIN ] :: Running '/usr/bin/python3 /usr/bin/ip-link-tests.py'
test_add_bond (__main__.IPLinkKindTests) ... ok
test_add_bridge (__main__.IPLinkKindTests) ... ok
test_add_dummy (__main__.IPLinkKindTests) ... ok
test_add_erspan_tunnel (__main__.IPLinkKindTests) ... ok
test_add_geneve_tunnel (__main__.IPLinkKindTests) ... ok
test_add_gre_tunnel (__main__.IPLinkKindTests) ... ok
test_add_gretap_tunnel (__main__.IPLinkKindTests) ... ok
test_add_ip6erspan_tunnel (__main__.IPLinkKindTests) ... ok
test_add_ip6gre_tunnel (__main__.IPLinkKindTests) ... ok
test_add_ip6gretap_tunnel (__main__.IPLinkKindTests) ... ok
test_add_ipip_tunnel (__main__.IPLinkKindTests) ... ok
test_add_ipvlan (__main__.IPLinkKindTests) ... ok
test_add_macsec (__main__.IPLinkKindTests) ... ok
test_add_macvlan (__main__.IPLinkKindTests) ... ok
test_add_macvtap (__main__.IPLinkKindTests) ... ok
test_add_sit_tunnel (__main__.IPLinkKindTests) ... ok
test_add_team (__main__.IPLinkKindTests) ... ok
test_add_vcan (__main__.IPLinkKindTests) ... ok
test_add_veth_pair (__main__.IPLinkKindTests) ... ok
test_add_vlan (__main__.IPLinkKindTests) ... ok
test_add_vrf (__main__.IPLinkKindTests) ... ok
test_add_vti_tunnel (__main__.IPLinkKindTests) ... ok
test_add_vxcan (__main__.IPLinkKindTests) ... ok
test_add_vxlan (__main__.IPLinkKindTests) ... ok
test_set_dev_address (__main__.IPLinkSetDevTests) ... ok
test_set_dev_alias (__main__.IPLinkSetDevTests) ... ok
test_set_dev_all_multicast (__main__.IPLinkSetDevTests) ... ok
test_set_dev_mtu (__main__.IPLinkSetDevTests) ... ok
test_set_dev_multicast (__main__.IPLinkSetDevTests) ... ok
test_set_dev_name (__main__.IPLinkSetDevTests) ... ok
test_set_dev_up_down (__main__.IPLinkSetDevTests) ... ok
----------------------------------------------------------------------
Ran 31 tests in 0.966s
OK
:: [ 16:56:05 ] :: [ PASS ] :: Command '/usr/bin/python3 /usr/bin/ip-link-tests.py' (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 1s
:: Assertions: 1 good, 0 bad
:: RESULT: PASS
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Cleanup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 16:56:05 ] :: [ BEGIN ] :: Running 'rm /usr/bin/ip-link-tests.py'
:: [ 16:56:05 ] :: [ PASS ] :: Command 'rm /usr/bin/ip-link-tests.py' (Expected 0, got 0)
:: [ 16:56:05 ] :: [ LOG ] :: ip link tests done
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 0s
:: Assertions: 1 good, 0 bad
:: RESULT: PASS
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: TEST PROTOCOL
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Package : iproute
Installed : iproute-4.15.0-1.fc28.x86_64
beakerlib RPM : beakerlib-1.17-13.fc28.noarch
Test started : 2018-06-17 16:56:03 IST
Test finished : 2018-06-17 16:56:05 IST (still running)
Test duration : 2 seconds
Test name : unknown
Distro : Fedora release 28 (Twenty Eight)
Hostname : Zeus
Architecture : x86_64
CPUs : 8 x Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz
RAM size : 31542 MB
HDD size : 452.94 GB
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Test description
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
PURPOSE of /CoreOS/iproute/Sanity/ip-link-sanity-test
Description: Test basic ip link funcionality
Author: Susant Sahani <susant@redhat.com>
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Setup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 16:56:03 ] :: [ PASS ] :: Checking for the presence of iproute rpm
:: [ 16:56:03 ] :: [ LOG ] :: Package versions:
:: [ 16:56:04 ] :: [ LOG ] :: iproute-4.15.0-1.fc28.x86_64
:: [ 16:56:04 ] :: [ PASS ] :: Command 'cp ip-link-tests.py /usr/bin' (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 1s
:: Assertions: 2 good, 0 bad
:: RESULT: PASS
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 16:56:04 ] :: [ LOG ] :: ip link tests
:: [ 16:56:05 ] :: [ PASS ] :: Command '/usr/bin/python3 /usr/bin/ip-link-tests.py' (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 1s
:: Assertions: 1 good, 0 bad
:: RESULT: PASS
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Cleanup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 16:56:05 ] :: [ PASS ] :: Command 'rm /usr/bin/ip-link-tests.py' (Expected 0, got 0)
:: [ 16:56:05 ] :: [ LOG ] :: ip link tests done
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 0s
:: Assertions: 1 good, 0 bad
:: RESULT: PASS
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: unknown
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [ 16:56:05 ] :: [ LOG ] :: JOURNAL XML: /var/tmp/beakerlib-zsCyOCP/journal.xml
:: [ 16:56:05 ] :: [ LOG ] :: JOURNAL TXT: /var/tmp/beakerlib-zsCyOCP/journal.txt
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: Duration: 2s
:: Phases: 3 good, 0 bad
:: OVERALL RESULT: PASS
```
2018-06-17 17:02:31 +05:30
Phil Sutter
27df2f2db4
Rebase package on top of iproute2-4.17.0
2018-06-12 21:37:37 +02:00
Phil Sutter
ec833118f5
Rebase package on top of iproute2-4.16.0
2018-06-01 16:26:52 +02:00
Phil Sutter
56a5d45dbb
Rebase package on top of iproute2-4.15.0
2018-02-09 18:20:31 +01:00
Florian Weimer
a5ae4db5d3
Use LDFLAGS defaults from redhat-rpm-config
2018-02-09 11:06:00 +01:00
Fedora Release Engineering
b38c2a5154
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
...
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-07 17:36:19 +00:00
Phil Sutter
654c72b694
Merge #1 initial commit of tests from upstreamfirst project
2018-01-24 13:04:57 +00:00
Phil Sutter
c35ca47309
Add missing patch files
2017-12-11 17:42:14 +01:00
Phil Sutter
314af1dda2
iproute-4.14.1-3
...
- Add upstream suggested backports.
- Make use of %%autosetup macro.
2017-12-11 17:12:56 +01:00
Phil Sutter
73be52ab68
Drop unused build dependencies
2017-11-15 15:30:14 +01:00
Phil Sutter
e4fcc0347f
Rebase package on top of iproute2-4.14.1
2017-11-15 14:56:50 +01:00
Mike Gahagan
f41cef03d3
initial commit of tests from upstreamfirst project
2017-09-28 13:39:29 -04:00
Phil Sutter
a329ddabba
Rebase package on top of iproute2-4.13.0
2017-09-19 19:56:50 +02:00
Fedora Release Engineering
480bcfc508
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
2017-08-02 23:50:34 +00:00
Fedora Release Engineering
bb38241151
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
2017-07-26 13:39:24 +00:00
Phil Sutter
b66e3704a9
Rebase package on top of iproute2-4.12.0
2017-07-21 17:04:46 +02:00
Phil Sutter
6da80e439c
Update gitignore and sources files for new package version
2017-05-23 14:36:29 +02:00
Phil Sutter
a5ccbe04be
Rebase package on top of iproute2-4.11.0
2017-05-23 13:31:58 +02:00
Karsten Hopp
ee386742b8
don't build docs for module builds to limit dependencies
2017-05-12 11:35:21 +02:00
Karsten Hopp
7e4e9ce2e4
don't build docs for module builds to limit dependencies
2017-05-11 23:14:09 +02:00
Phil Sutter
12cefecf0f
Add two fixes to 4.10.0 release from upstream
2017-03-18 01:11:04 +01:00
Phil Sutter
63284ad5e9
Add two fixes to 4.10.0 release from upstream
2017-03-17 22:51:42 +01:00
Phil Sutter
d0d65fdc0c
Rebase package on top of iproute2-4.10.0
2017-03-17 17:31:18 +01:00
Phil Sutter
1a5ae27414
Update gitignore and sources files for new package version
2017-03-14 14:49:30 +01:00
Phil Sutter
e068a451ec
Rebase package on top of iproute2-4.10.0
2017-03-14 14:42:23 +01:00
Fedora Release Engineering
5362d1ec60
- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild
2017-02-10 16:31:32 +00:00
Thomas Woerner
92106c2795
- Release bump for iptables-1.6.1 (libxtables.so.12)
2017-02-02 13:54:21 +01:00
Phil Sutter
4608d0c11f
Fix for failing 'make install'
2017-01-28 14:09:07 +01:00
Phil Sutter
4858e6e51e
Rebase package on top of iproute2-4.9.0
2017-01-28 12:01:48 +01:00
Phil Sutter
d57a56be09
Resolve bz#1411127 for Rawhide, too
2017-01-13 15:16:02 +01:00
Phil Sutter
704fd20f88
Update gitignore and sources files for new package version
2016-11-30 10:45:01 +01:00
Phil Sutter
31a378e37b
Rebase package on top of iproute2-4.8.0
...
This resolves https://bugzilla.redhat.com/show_bug.cgi?id=1383317
2016-11-30 10:20:10 +01:00
Phil Sutter
7410b1a1e2
Rebase package on top of iproute2-4.7.0
...
This resolves https://bugzilla.redhat.com/show_bug.cgi?id=1365327
2016-08-10 16:13:27 +02:00
Phil Sutter
42ecebe23a
Rebase package on top of iproute2-4.6.0
...
This resolves https://bugzilla.redhat.com/show_bug.cgi?id=1337361
2016-05-05 08:05:32 +02:00
Thomas Woerner
384db5f9a5
Rebuild for new iptables-1.6.0 with libxtables so bump
2016-04-13 19:36:34 +02:00
Phil Sutter
4449bb6af9
Fix upgrade path, move tc README into subpackage
2016-04-08 13:35:19 +02:00
Phil Sutter
d5fec949e2
Update .gitignore for new source version
2016-03-30 14:31:58 +02:00
Phil Sutter
37123f1fac
Split tc into it's own subpackage
...
This relieves the base iproute package from depending on iptables as tc
requires that.
This resolves https://bugzilla.redhat.com/show_bug.cgi?id=1322367
2016-03-30 14:06:58 +02:00
Phil Sutter
556ad12faf
Rebase package on top of iproute2-4.5.0
...
This resolves https://bugzilla.redhat.com/show_bug.cgi?id=1317711
2016-03-18 18:56:54 +01:00
Dennis Gilmore
93412d0b6e
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild
2016-02-04 00:37:05 +00:00
Phil Sutter
8bc20c849b
Add new build dependency elfutils-libelf-devel
...
This fixes https://bugzilla.redhat.com/show_bug.cgi?id=1290384
2016-01-20 13:54:31 +01:00
Phil Sutter
c6b9f44817
New version 4.4.0
2016-01-19 23:08:25 +01:00
Phil Sutter
dec8356d7d
Simplify RPM install stage by using package's install target
...
This should not introduce any changes to the final RPM. According to rpmdiff,
apart from changed timestamps only debuginfo files have changed a bit and
therefore also the checksum of the referencing binaries.
2015-10-05 00:20:55 +02:00
Phil Sutter
621df17e0a
Ship tipc utility, which depends on libmnl
...
This fixes https://bugzilla.redhat.com/show_bug.cgi?id=1275177 for Rawhide.
2015-10-05 00:06:32 +02:00
Phil Sutter
648350d438
Add missing build dependency on libselinux-devel
...
Without this, the check for selinux in the configure script will fail and ss
won't be compiled with selinux support.
2015-09-24 17:45:23 +02:00
Pavel Šimerda
cb3d41dbba
new version 4.2.0
2015-09-02 13:47:43 +02:00
Pavel Šimerda
7b5b0d9243
new version 4.1.1
2015-07-07 20:13:13 +02:00
Dennis Gilmore
791dd176b8
- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild
2015-06-17 11:31:15 +00:00
Pavel Šimerda
7d740bf5d2
remove patch rejected by upstream
2015-05-13 11:07:05 +02:00
Pavel Šimerda
af09190003
remove left over patch file
2015-05-13 11:04:07 +02:00