From 47eae55292931165b9e2bf35961c1d21bd0ce7f5 Mon Sep 17 00:00:00 2001 From: Thomas Florio Date: Fri, 29 Sep 2023 11:16:03 +0200 Subject: [PATCH] DROP ME AFTER --- testsuite/podman_runner/03_run_controller.sh | 1 + testsuite/podman_runner/04_setup_ssh_controller.sh | 1 + testsuite/podman_runner/05_install_gems_in_controller.sh | 1 + testsuite/podman_runner/08_build_server_code.sh | 1 + testsuite/podman_runner/09_run_sshminion.sh | 1 + testsuite/podman_runner/10_setup_sshd.sh | 1 + testsuite/podman_runner/11_run_core_tests.sh | 1 + testsuite/podman_runner/12_run_salt_sle_minion.sh | 1 + testsuite/podman_runner/13_run_salt_rhlike_minion.sh | 1 + testsuite/podman_runner/14_run_salt_deblike_minion.sh | 1 + testsuite/podman_runner/15_accept_all_keys.sh | 1 + testsuite/podman_runner/16_run_init_clients_tests.sh | 1 + testsuite/podman_runner/17_run_secondary_tests.sh | 1 + testsuite/podman_runner/18_run_secondary_parallelizable_tests.sh | 1 + .../18_run_secondary_parallelizable_tests_subset.sh | 1 + testsuite/podman_runner/18_split_secondary_p_tests.sh | 1 + testsuite/podman_runner/19_get_server_logs.sh | 1 + 17 files changed, 17 insertions(+) diff --git a/testsuite/podman_runner/03_run_controller.sh b/testsuite/podman_runner/03_run_controller.sh index 9062b68c347e..61f67c933421 100755 --- a/testsuite/podman_runner/03_run_controller.sh +++ b/testsuite/podman_runner/03_run_controller.sh @@ -1,4 +1,5 @@ #!/bin/bash +exit 0 set -ex src_dir=$(cd $(dirname "$0")/../.. && pwd -P) diff --git a/testsuite/podman_runner/04_setup_ssh_controller.sh b/testsuite/podman_runner/04_setup_ssh_controller.sh index 013b8f13dcc0..5ce0a7e08e67 100755 --- a/testsuite/podman_runner/04_setup_ssh_controller.sh +++ b/testsuite/podman_runner/04_setup_ssh_controller.sh @@ -1,4 +1,5 @@ #!/bin/bash +exit 0 set -ex sudo -i podman exec controller-test bash -c "ssh-keygen -f /root/.ssh/id_rsa -t rsa -N \"\" && cp /root/.ssh/id_rsa.pub /tmp/authorized_keys" diff --git a/testsuite/podman_runner/05_install_gems_in_controller.sh b/testsuite/podman_runner/05_install_gems_in_controller.sh index 3d12ed542da3..0ecca790b821 100755 --- a/testsuite/podman_runner/05_install_gems_in_controller.sh +++ b/testsuite/podman_runner/05_install_gems_in_controller.sh @@ -1,4 +1,5 @@ #!/bin/bash +exit 0 set -xe sudo -i podman exec controller-test bash -c "cd /testsuite && bundle.ruby2.5 install --gemfile Gemfile" diff --git a/testsuite/podman_runner/08_build_server_code.sh b/testsuite/podman_runner/08_build_server_code.sh index 121c619a8e41..ded82d6614e2 100755 --- a/testsuite/podman_runner/08_build_server_code.sh +++ b/testsuite/podman_runner/08_build_server_code.sh @@ -1,4 +1,5 @@ #!/bin/bash +exit 0 set -xe sudo -i podman exec uyuni-server-all-in-one-test bash -c "cp /testsuite/podman_runner/debug_logging.properties /etc/tomcat/logging.properties" sudo -i podman exec uyuni-server-all-in-one-test bash -c "cd /java && ant -f manager-build.xml ivy refresh-branding-jar deploy-local" diff --git a/testsuite/podman_runner/09_run_sshminion.sh b/testsuite/podman_runner/09_run_sshminion.sh index bd6e6800d45f..4fdd0d523276 100755 --- a/testsuite/podman_runner/09_run_sshminion.sh +++ b/testsuite/podman_runner/09_run_sshminion.sh @@ -1,4 +1,5 @@ #!/bin/bash +exit 0 set -xe echo opensusesshproductuuid > /tmp/opensuse_ssh_product_uuid sudo -i podman run --privileged --rm -d --network uyuni-network-1 -v /tmp/opensuse_ssh_product_uuid:/sys/class/dmi/id/product_uuid -v /tmp/test-all-in-one:/tmp --name opensusessh -h opensusessh ghcr.io/$UYUNI_PROJECT/uyuni/ci-test-opensuse-minion:$UYUNI_VERSION diff --git a/testsuite/podman_runner/10_setup_sshd.sh b/testsuite/podman_runner/10_setup_sshd.sh index 13077da84970..ad6642311696 100755 --- a/testsuite/podman_runner/10_setup_sshd.sh +++ b/testsuite/podman_runner/10_setup_sshd.sh @@ -1,4 +1,5 @@ #!/bin/bash +exit 0 set -xe sudo -i podman exec uyuni-server-all-in-one-test bash -c "ssh-keygen -A && /usr/sbin/sshd -e" diff --git a/testsuite/podman_runner/11_run_core_tests.sh b/testsuite/podman_runner/11_run_core_tests.sh index 91d9e1154fa7..e0f3adfea5d7 100755 --- a/testsuite/podman_runner/11_run_core_tests.sh +++ b/testsuite/podman_runner/11_run_core_tests.sh @@ -1,4 +1,5 @@ #!/bin/bash +exit 0 set -xe sudo -i podman exec controller-test bash -c "export CUCUMBER_PUBLISH_TOKEN=${CUCUMBER_PUBLISH_TOKEN} && export PROVIDER=podman && export SERVER=uyuni-server-all-in-one-test && export HOSTNAME=controller-test && cd /testsuite && rake cucumber:github_validation_core" diff --git a/testsuite/podman_runner/12_run_salt_sle_minion.sh b/testsuite/podman_runner/12_run_salt_sle_minion.sh index 3f963eae4cb7..f857a5210fe1 100755 --- a/testsuite/podman_runner/12_run_salt_sle_minion.sh +++ b/testsuite/podman_runner/12_run_salt_sle_minion.sh @@ -1,4 +1,5 @@ #!/bin/bash +exit 0 set -xe src_dir=$(cd $(dirname "$0")/../.. && pwd -P) diff --git a/testsuite/podman_runner/13_run_salt_rhlike_minion.sh b/testsuite/podman_runner/13_run_salt_rhlike_minion.sh index e78529c31a29..92ae0c4b53a3 100755 --- a/testsuite/podman_runner/13_run_salt_rhlike_minion.sh +++ b/testsuite/podman_runner/13_run_salt_rhlike_minion.sh @@ -1,4 +1,5 @@ #!/bin/bash +exit 0 set -xe src_dir=$(cd $(dirname "$0")/../.. && pwd -P) diff --git a/testsuite/podman_runner/14_run_salt_deblike_minion.sh b/testsuite/podman_runner/14_run_salt_deblike_minion.sh index c55cef74ffd1..080da4863464 100755 --- a/testsuite/podman_runner/14_run_salt_deblike_minion.sh +++ b/testsuite/podman_runner/14_run_salt_deblike_minion.sh @@ -1,4 +1,5 @@ #!/bin/bash +exit 0 set -xe src_dir=$(cd $(dirname "$0")/../.. && pwd -P) diff --git a/testsuite/podman_runner/15_accept_all_keys.sh b/testsuite/podman_runner/15_accept_all_keys.sh index bbc2ff830bc9..1eaccfbce94f 100755 --- a/testsuite/podman_runner/15_accept_all_keys.sh +++ b/testsuite/podman_runner/15_accept_all_keys.sh @@ -1,3 +1,4 @@ #!/bin/bash +exit 0 set -xe sudo -i podman exec uyuni-server-all-in-one-test bash -c "salt-key -y -A" diff --git a/testsuite/podman_runner/16_run_init_clients_tests.sh b/testsuite/podman_runner/16_run_init_clients_tests.sh index c8045c206e31..85736cc6bcf7 100755 --- a/testsuite/podman_runner/16_run_init_clients_tests.sh +++ b/testsuite/podman_runner/16_run_init_clients_tests.sh @@ -1,3 +1,4 @@ #!/bin/bash +exit 0 set -xe sudo -i podman exec controller-test bash -c "export CUCUMBER_PUBLISH_TOKEN=${CUCUMBER_PUBLISH_TOKEN} && export PROVIDER=podman && export SERVER=uyuni-server-all-in-one-test && export HOSTNAME=controller-test && export SSH_MINION=opensusessh && export MINION=sle_minion && export RHLIKE_MINION=rhlike_minion && export DEBLIKE_MINION=deblike_minion && cd /testsuite && rake cucumber:github_validation_init_clients" diff --git a/testsuite/podman_runner/17_run_secondary_tests.sh b/testsuite/podman_runner/17_run_secondary_tests.sh index 00be7240f569..fc97388ab929 100755 --- a/testsuite/podman_runner/17_run_secondary_tests.sh +++ b/testsuite/podman_runner/17_run_secondary_tests.sh @@ -1,3 +1,4 @@ #!/bin/bash +exit 0 set -xe sudo -i podman exec controller-test bash -c "export CUCUMBER_PUBLISH_TOKEN=${CUCUMBER_PUBLISH_TOKEN} && export PROVIDER=podman && export SERVER=uyuni-server-all-in-one-test && export HOSTNAME=controller-test && export SSH_MINION=opensusessh && export MINION=sle_minion && export RHLIKE_MINION=rhlike_minion && export DEBLIKE_MINION=deblike_minion && cd /testsuite && rake cucumber:secondary" diff --git a/testsuite/podman_runner/18_run_secondary_parallelizable_tests.sh b/testsuite/podman_runner/18_run_secondary_parallelizable_tests.sh index 7114deaad596..a31c7f0914bf 100755 --- a/testsuite/podman_runner/18_run_secondary_parallelizable_tests.sh +++ b/testsuite/podman_runner/18_run_secondary_parallelizable_tests.sh @@ -1,4 +1,5 @@ #!/bin/bash +exit 0 set -xe sudo -i podman exec controller-test bash -c "zypper ref && zypper -n install expect" sudo -i podman exec controller-test bash -c "export CUCUMBER_PUBLISH_TOKEN=${CUCUMBER_PUBLISH_TOKEN} && export PROVIDER=podman && export SERVER=uyuni-server-all-in-one-test && export HOSTNAME=controller-test && export SSH_MINION=opensusessh && export MINION=sle_minion && export RHLIKE_MINION=rhlike_minion && export DEBLIKE_MINION=deblike_minion && cd /testsuite && rake cucumber:secondary_parallelizable" diff --git a/testsuite/podman_runner/18_run_secondary_parallelizable_tests_subset.sh b/testsuite/podman_runner/18_run_secondary_parallelizable_tests_subset.sh index b6bc9ca4ee90..4399be2c169f 100755 --- a/testsuite/podman_runner/18_run_secondary_parallelizable_tests_subset.sh +++ b/testsuite/podman_runner/18_run_secondary_parallelizable_tests_subset.sh @@ -1,4 +1,5 @@ #!/bin/bash +exit 0 set -xe if [ $# -ne 1 ]; then diff --git a/testsuite/podman_runner/18_split_secondary_p_tests.sh b/testsuite/podman_runner/18_split_secondary_p_tests.sh index a8e68ba3322b..d0c683dc3f14 100755 --- a/testsuite/podman_runner/18_split_secondary_p_tests.sh +++ b/testsuite/podman_runner/18_split_secondary_p_tests.sh @@ -1,4 +1,5 @@ #!/bin/bash +exit 0 set -xe sudo -i podman exec controller-test bash -c "cd /testsuite && rake utils:split_secondary_p[5]" diff --git a/testsuite/podman_runner/19_get_server_logs.sh b/testsuite/podman_runner/19_get_server_logs.sh index bf21c9cbafd5..a4981aad4169 100755 --- a/testsuite/podman_runner/19_get_server_logs.sh +++ b/testsuite/podman_runner/19_get_server_logs.sh @@ -1,4 +1,5 @@ #!/bin/bash +exit 0 set -xe if [ $# -ne 1 ];