Univention Bugzilla – Bug 39359
Create IPv6 test instances in KVM environment via Jenkins
Last modified: 2022-09-07 17:35:08 CEST
For testing IPv6 via ucs-test, IPv6-capable UCS instances are required. This is currently only possible in our KVM environment since Amazon EC2 does not support IPv6. The test instances shall be created via a Jenkins job and removed afterwards, if the test has finished. The cfg files for ucs-kvm-create shall be comitted to the SVN.
QA r64769: +run_tests_with_parameters() +{ bashism > run_test_with_parameters () { + if [ $test_section = 'all_sections' ] quoting > if [ "$test_section" = all_sections ] + ucs-test -s $test_section -E dangerous -F junit -l "ucs-test.log" quoting > ucs-test -s "$test_section" ... And it will do very bad things if "test_section" is not set or empty! #!/bin/bash run_test_with_parameters () { local s="${test_section:-}" case "$s" in all_sections|all*) s= ;; esac ucs-test ${s:+-s "$s"} -E dangerous -F junit -l "ucs-test.log" "$@" } # For testing ucs-test () { local IFS=^;echo ucs-test "$*"; } unset test_section ; run_test_with_parameters test_section= ; run_test_with_parameters test_section=all ; run_test_with_parameters test_section=all_sections ; run_test_with_parameters test_section=all_foo ; run_test_with_parameters test_section=other ; run_test_with_parameters test_section=other ; run_test_with_parameters and "some other" parameters
r64801 Changed run_tests_with_parameters() as described in Comment 1
Upated for UCS-5.0 and new ucs-ec2-tools, but not yet tested: [5.0-0] bc036678b0 Bug #39359 test: Update IPv6 scenarios .../ipv6/autotest-300-master46-slave46.cfg | 81 +++++-------------- .../ipv6/autotest-301-master46-backup46.cfg | 82 +++++-------------- .../ipv6/autotest-302-master46-member46.cfg | 82 +++++-------------- .../ipv6/autotest-303-master46-slave6.cfg | 91 +++++---------------- .../ipv6/autotest-304-master46-backup6.cfg | 88 +++++---------------- .../ipv6/autotest-305-master46-member6.cfg | 88 +++++---------------- .../ipv6/autotest-306-master6-slave46.cfg | 86 +++++--------------- .../ipv6/autotest-307-master6-backup46.cfg | 86 +++++--------------- .../ipv6/autotest-308-master6-member46.cfg | 86 +++++--------------- .../scenarios/ipv6/autotest-309-master6-slave6.cfg | 92 +++++----------------- ... 45 files changed, 744 insertions(+), 2693 deletions(-)
IPv6 test scenarios have been removed due to neglect. [5.0-2] 064ae733bf refactor[test]: Remove IPv6 test scenarios test/README.md | 53 ---------------------- test/scenarios/README.md | 18 -------- test/scenarios/ipv6/autotest-300-master46-slave46.cfg | 90 ------------------------------------- test/scenarios/ipv6/autotest-301-master46-backup46.cfg | 90 ------------------------------------- test/scenarios/ipv6/autotest-302-master46-member46.cfg | 90 ------------------------------------- test/scenarios/ipv6/autotest-303-master46-slave6.cfg | 88 ------------------------------------ test/scenarios/ipv6/autotest-304-master46-backup6.cfg | 91 -------------------------------------- test/scenarios/ipv6/autotest-305-master46-member6.cfg | 91 -------------------------------------- test/scenarios/ipv6/autotest-306-master6-slave46.cfg | 88 ------------------------------------ test/scenarios/ipv6/autotest-307-master6-backup46.cfg | 88 ------------------------------------ ... 44 files changed, 3599 deletions(-) If they are ever needed again restore them from git.