test: Fix appliance testing

Bug #57128
This commit is contained in:
Philipp Hahn 2024-03-11 14:51:18 +01:00
parent ac28061be1
commit 4b2c8da1b5
3 changed files with 4 additions and 4 deletions

View File

@ -50,6 +50,7 @@ command1:
LOCAL sleep 3 && mkdir -p screenshots && vncdotool -s [SELF_VNC_DISPLAY] capture ./screenshots/bootmenu.jpg
COPY_FILES
. utils.sh && basic_setup_allow_uss
. utils.sh && set_repository_if_testing "[ENV:RELEASE_UPDATE]"
. utils.sh && wait_for_reboot
LOCAL utils/installation_test/appliance-vnc-setup.py --vnc "[SELF_VNC_DISPLAY]" --fqdn ucs --password univention --organisation home --role admember --dns [w2k12_IP] --join-user Administrator2 --join-password Univention.99
ucr set --force auth/sshd/user/root=yes
@ -57,7 +58,6 @@ command1:
. utils.sh && assert_join
. utils.sh && assert_admember_mode
# set ucs test password
. utils.sh && set_repository_if_testing "[ENV:RELEASE_UPDATE]"
. utils.sh && set_administrator_password_for_ucs_test "Univention.99"
. utils.sh && set_administrator_dn_for_ucs_test
. utils.sh && install_ucs_test_checks_from_errata_test

View File

@ -25,13 +25,13 @@ command1:
LOCAL sleep 3 && mkdir -p screenshots && vncdotool -s [SELF_VNC_DISPLAY] capture ./screenshots/bootmenu.jpg
COPY_FILES
. utils.sh && basic_setup_allow_uss
. utils.sh && set_repository_if_testing "[ENV:RELEASE_UPDATE]"
. utils.sh && wait_for_reboot
LOCAL utils/installation_test/appliance-vnc-setup.py --vnc "[SELF_VNC_DISPLAY]" --fqdn aplwmaster.www.test --password univention --organisation home --role master --ucs
ucr set --force auth/sshd/user/root=yes
command2:
. utils.sh && assert_join
. utils.sh && assert_packages univention-server-master
. utils.sh && set_repository_if_testing "[ENV:RELEASE_UPDATE]"
. utils.sh && install_ucs_test_checks_from_errata_test
. utils.sh && run_minimal_tests
. utils.sh && do_reboot
@ -54,13 +54,13 @@ kvm_copy_files: false
command1:
COPY_FILES
. utils.sh && basic_setup_allow_uss
. utils.sh && set_repository_if_testing "[ENV:RELEASE_UPDATE]"
. utils.sh && wait_for_reboot
LOCAL utils/installation_test/appliance-vnc-setup.py --vnc "[SELF_VNC_DISPLAY]" --fqdn aplwslave.www.test --password univention --organisation home --role slave --dns [master_IP] --join-user Administrator --join-password univention
ucr set --force auth/sshd/user/root=yes
command2:
. utils.sh && assert_join
. utils.sh && assert_packages univention-server-slave
. utils.sh && set_repository_if_testing "[ENV:RELEASE_UPDATE]"
. utils.sh && install_ucs_test_checks_from_errata_test
. utils.sh && run_minimal_tests
command3:

View File

@ -25,11 +25,11 @@ command1:
LOCAL sleep 3 && mkdir -p screenshots && vncdotool -s [SELF_VNC_DISPLAY] capture ./screenshots/bootmenu.jpg
COPY_FILES
. utils.sh && basic_setup_allow_uss
. utils.sh && set_repository_if_testing "[ENV:RELEASE_UPDATE]"
. utils.sh && wait_for_reboot
LOCAL utils/installation_test/appliance-vnc-setup.py --vnc "[SELF_VNC_DISPLAY]" --fqdn aplwmaster.www.test --password univention --organisation home --role master --ucs
ucr set --force auth/sshd/user/root=yes
. utils.sh && assert_join
. utils.sh && set_repository_if_testing "[ENV:RELEASE_UPDATE]"
. utils.sh && import_license
# install/test some apps
## TODO enable once app is available ##. utils.sh && install_apps_via_umc Administrator univention owncloud