iproute/tests/tests.yml
Susant Sahani 1418f9951a CI: Add ip neighbour to test
sample run
```

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Test
::   Test
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [ 17:23:10 ] :: [   LOG    ] :: ip neighbor tests
:: [ 17:23:10 ] :: [   LOG    ] :: ip neighbor tests
:: [ 17:23:10 ] :: [  BEGIN   ] :: Running '/usr/bin/python3 /usr/bin/ip-neighbor-tests.py'
test_add_neighbor (__main__.IPNeighborTests) ... 192.168.100.1 lladdr 00:c0:7b:7d:00:c8 PERMANENT
ok
test_replace_neighbor (__main__.IPNeighborTests) ... 192.168.99.254 lladdr 00:80:c8:27:69:2d PERMANENT
192.168.99.254 lladdr 00:80:c8:27:69:2d PERMANENT
ok
----------------------------------------------------------------------
Ran 2 tests in 0.053s

OK
:: [ 17:23:10 ] :: [   PASS   ] :: Command '/usr/bin/python3 /usr/bin/ip-neighbor-tests.py' (Expected 0, got 0)
:: [ 17:23:10 ] :: [   PASS   ] :: Command '/usr/bin/python3 /usr/bin/ip-neighbor-tests.py' (Expected 0, got 0)
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Duration: 0s
::   Duration: 0s
::   Assertions: 1 good, 0 bad
::   Assertions: 1 good, 0 bad
::   RESULT: PASS
::   RESULT: PASS

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
::   Cleanup
::   Cleanup
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
```
2018-08-02 17:24:20 +05:30

28 lines
599 B
YAML

---
# Tests that run in all contexts
- hosts: localhost
roles:
- role: standard-test-beakerlib
tags:
- classic
- atomic
tests:
- ip-neigh-sanity-test
- ip-rule-sanity-test
- bridge-utility
- ip-link-sanity-test
- ip-address-sanity-test
- ip-address-label-sanity-test
- ip-fou-sanity-test
- ip-token-sanity-test
- ip-tuntap-sanity-test
- ip-tunnel-sanity-test
- ip-l2tp-sanity-test
- ip-netns-sanity-test
- ip-route-sanity-test
- ip-neighbor-sanity-test
required_packages:
- iproute
- bridge-utils
- python3