1abbe5eb83
6 Commits
Author | SHA1 | Message | Date | |
---|---|---|---|---|
Susant Sahani
|
1abbe5eb83 |
CI: Add ip token to test
Sample Run ``` ::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Setup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: iproute-4.16.0-1.fc28.x86_64 :: [ 16:55:06 ] :: [ PASS ] :: Checking for the presence of iproute rpm :: [ 16:55:06 ] :: [ LOG ] :: Package versions: :: [ 16:55:06 ] :: [ LOG ] :: iproute-4.16.0-1.fc28.x86_64 :: [ 16:55:06 ] :: [ BEGIN ] :: Running 'cp ip-token-tests.py /usr/bin' :: [ 16:55:06 ] :: [ PASS ] :: Command 'cp ip-token-tests.py /usr/bin' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Assertions: 2 good, 0 bad :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 16:55:07 ] :: [ LOG ] :: ip token tests :: [ 16:55:07 ] :: [ BEGIN ] :: Running '/usr/bin/python3 /usr/bin/ip-token-tests.py' test_add_token (__main__.IPTokenTests) ... token ::1a:2b:3c:4d dev veth-test ok ---------------------------------------------------------------------- Ran 1 test in 0.029s OK :: [ 16:55:07 ] :: [ PASS ] :: Command '/usr/bin/python3 /usr/bin/ip-token-tests.py' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Assertions: 1 good, 0 bad :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: ``` |
||
Susant Sahani
|
d4c9cc3ea7 |
CI: Add FOU to test.
Sample run ``` :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 21:17:51 ] :: [ LOG ] :: ip fou tests :: [ 21:17:51 ] :: [ LOG ] :: ip fou tests :: [ 21:17:51 ] :: [ BEGIN ] :: Running '/usr/bin/python3 /usr/bin/ip-fou-tests.py' test_configure_fou_receive_port_gre (__main__.IPFOUTests) Configure a FOU receive port for GRE bound to 7777 ... port 7777 ipproto 47 ok test_configure_fou_receive_port_gue (__main__.IPFOUTests) Configure a GUE receive port bound to 9999 ... port 9999 gue ok test_configure_fou_receive_port_ipip (__main__.IPFOUTests) Configure a FOU receive port for IPIP bound to 8888 ... port 8888 ipproto 4 ok test_configure_fou_with_ipip (__main__.IPFOUTests) IP over UDP tunnel ... port 9000 ipproto 4 ok ---------------------------------------------------------------------- Ran 4 tests in 0.048s OK ``` |
||
Susant Sahani
|
fd68e09fe1 |
CI: Add ip addrlabel to test
Sample Run ``` :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 17:56:55 ] :: [ LOG ] :: ip address label tests :: [ 17:56:55 ] :: [ LOG ] :: ip address label tests :: [ 17:56:55 ] :: [ BEGIN ] :: Running '/usr/bin/python3 /usr/bin/ip-address-label-tests.py' test_add_address_label (__main__.IPAddressLabelTests) ... prefix ::1/128 label 0 prefix ::/96 label 3 prefix ::ffff:0.0.0.0/96 label 4 prefix 2001:6f8:12d8:2::/64 dev if14 label 200 prefix 2001:6f8:900:8cbc::/64 dev if14 label 300 prefix 2001:4dd0:ff00:834::/64 dev if14 label 200 prefix 2a01:238:423d:8800::/64 dev if14 label 300 prefix 2001:4dd0:ff00:834::/64 dev if14 label 200 prefix 2a01:238:423d:8800::/64 dev if14 label 300 prefix 2a01:238:423d:8800::/64 label 300 prefix 2001:4dd0:ff00:834::/64 label 200 prefix 2001:6f8:900:8cbc::/64 label 300 prefix 2001:6f8:12d8:2::/64 label 200 prefix 2001::/32 label 6 prefix 2001:10::/28 label 7 prefix 3ffe::/16 label 12 prefix 2002::/16 label 2 prefix fec0::/10 label 11 prefix fc00::/7 label 5 prefix ::/0 label 1 ok test_add_address_label_dev (__main__.IPAddressLabelTests) ... prefix ::1/128 label 0 prefix ::/96 label 3 prefix ::ffff:0.0.0.0/96 label 4 prefix 2001:6f8:12d8:2::/64 dev if14 label 200 prefix 2001:6f8:900:8cbc::/64 dev if14 label 300 prefix 2001:4dd0:ff00:834::/64 dev if14 label 200 prefix 2a01:238:423d:8800::/64 dev if14 label 300 prefix 2001:6f8:12d8:2::/64 dev dummy-test label 200 prefix 2001:6f8:900:8cbc::/64 dev dummy-test label 300 prefix 2001:4dd0:ff00:834::/64 dev dummy-test label 200 prefix 2a01:238:423d:8800::/64 dev dummy-test label 300 prefix 2001::/32 label 6 prefix 2001:10::/28 label 7 prefix 3ffe::/16 label 12 prefix 2002::/16 label 2 prefix fec0::/10 label 11 prefix fc00::/7 label 5 prefix ::/0 label 1 ok ---------------------------------------------------------------------- Ran 2 tests in 0.077s OK ``` |
||
Susant Sahani
|
7ee9aeadb4 |
CI: Add ip address sanity tests
Snip: ``` iproute-4.15.0-1.fc28.x86_64 :: [ 18:10:39 ] :: [ PASS ] :: Checking for the presence of iproute rpm :: [ 18:10:39 ] :: [ PASS ] :: Checking for the presence of iproute rpm :: [ 18:10:39 ] :: [ LOG ] :: Package versions: :: [ 18:10:39 ] :: [ LOG ] :: Package versions: :: [ 18:10:39 ] :: [ LOG ] :: iproute-4.15.0-1.fc28.x86_64 :: [ 18:10:39 ] :: [ LOG ] :: iproute-4.15.0-1.fc28.x86_64 :: [ 18:10:39 ] :: [ BEGIN ] :: Running 'cp ip-address-tests.py /usr/bin' :: [ 18:10:39 ] :: [ PASS ] :: Command 'cp ip-address-tests.py /usr/bin' (Expected 0, got 0) :: [ 18:10:39 ] :: [ PASS ] :: Command 'cp ip-address-tests.py /usr/bin' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Duration: 0s :: Assertions: 2 good, 0 bad :: Assertions: 2 good, 0 bad :: RESULT: PASS :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Test :: Test :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 18:10:39 ] :: [ LOG ] :: ip address tests :: [ 18:10:39 ] :: [ LOG ] :: ip address tests :: [ 18:10:39 ] :: [ BEGIN ] :: Running '/usr/bin/python3 /usr/bin/ip-address-tests.py' test_add_address (__main__.IPAddressTests) ... ok test_add_address_lifetime (__main__.IPAddressTests) ... ok test_add_address_scope (__main__.IPAddressTests) ... ok test_add_broadcast_address_label (__main__.IPAddressTests) ... ok test_add_ipv6_address (__main__.IPAddressTests) ... ok test_del_address (__main__.IPAddressTests) ... ok ---------------------------------------------------------------------- Ran 6 tests in 0.136s OK :: [ 18:10:39 ] :: [ PASS ] :: Command '/usr/bin/python3 /usr/bin/ip-address-tests.py' (Expected 0, got 0) :: [ 18:10:39 ] :: [ PASS ] :: Command '/usr/bin/python3 /usr/bin/ip-address-tests.py' (Expected 0, got 0) :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 1s :: Duration: 1s :: Assertions: 1 good, 0 bad :: Assertions: 1 good, 0 bad :: RESULT: PASS :: RESULT: PASS :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Cleanup :: Cleanup :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ 18:10:40 ] :: [ BEGIN ] :: Running 'rm /usr/bin/ip-address-tests.py' :: [ 18:10:40 ] :: [ PASS ] :: Command 'rm /usr/bin/ip-address-tests.py' (Expected 0, got 0) :: [ 18:10:40 ] :: [ PASS ] :: Command 'rm /usr/bin/ip-address-tests.py' (Expected 0, got 0) :: [ 18:10:40 ] :: [ LOG ] :: ip address tests done :: [ 18:10:40 ] :: [ LOG ] :: ip address tests done :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: Duration: 0s :: Duration: 0s :: Assertions: 1 good, 0 bad :: Assertions: 1 good, 0 bad :: RESULT: PASS :: RESULT: PASS ``` |
||
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 ``` |
||
Mike Gahagan
|
f41cef03d3 | initial commit of tests from upstreamfirst project |