Univention Bugzilla – Bug 43881
Test case 80_docker/40_app_umc_install_latest_appbox fails in UCS 4.2
Last modified: 2017-04-04 18:29:57 CEST
The test case 80_docker/40_app_umc_install_latest_appbox fails in UCS 4.2: root@master211:~# Create and install a simple app with latest appbox image................................................................................................ Test failed -bash: Create: Kommando nicht gefunden. root@master211:~# root@master211:~#^C root@master211:~# /usr/share/ucs-test/80_docker/40_app_umc_install_latest_appbox -f Setting update/secure_apt Create appcenter/index/verify Setting repository/app_center/server File: /etc/apt/apt.conf.d/20secureapt Setting update/secure_apt Setting appcenter/index/verify Setting repository/app_center/server File: /etc/apt/apt.conf.d/20secureapt <dockertest.Appcenter object at 0x7f626a405d10> <dockertest.App object at 0x7f626aee5250>(app_name='ryb5m73dxf', app_version='1.9') set_ini_parameter(DockerImage=docker.software-univention.de/ucs-appbox-amd64:4.1-4) set_ini_parameter(DockerScriptSetup=/usr/sbin/setup) Write ini file: /var/www/meta-inf/4.1/ryb5m73dxf_5.9.7.ini [Application] DockerScriptSetup: /usr/sbin/setup Code: ry Name: ryb5m73dxf NotifyVendor: False DockerImage: docker.software-univention.de/ucs-appbox-amd64:4.1-4 Version: 1.9 SupportedUCSVersions: 4.1-0,4.2-0 Logo: ryb5m73dxf.svg ID: ryb5m73dxf Categories: System services ServerRole: domaincontroller_master,domaincontroller_backup,domaincontroller_slave,memberserver Create /var/www/univention-repository/4.1/maintained/component/ryb5m73dxf_5.9.7/setup #!/bin/bash echo "This message goes to stdout" echo "This message goes to stderr" >&2 . /usr/share/univention-docker-container-mode/lib.sh error_msg "This message goes to ERROR_FILE" exit 1 create_appcenter_json.py for 4.1 create_appcenter_json.py for 4.2 App.umc_install() *** UMC request: "POST auth" (None) UMC request payload: {'options': {'password': 'univention', 'username': 'Administrator'}} *** UMC response: {u'message': None, u'options': None, u'result': {u'username': u'Administrator'}, u'status': 200} *** *** UMC request: "POST get/session-info" (None) UMC request payload: {'options': {}} *** UMC response: {u'message': u'', u'result': {u'auth_type': None, u'remaining': 28799, u'username': u'Administrator', u'validity': 28800}, u'status': 200} *** *** UMC request: "POST command/appcenter/docker/invoke" (None) UMC request payload: {'options': {'app': 'ryb5m73dxf', 'application': 'ryb5m73dxf', 'force': True, 'function': 'install'}} *** UMC response: {u'message': None, u'result': {u'id': 1, u'title': u'Bitte warten, bis die Aktion durchgef\xfchrt wurde'}, u'status': 200} *** *** UMC request: "POST command/appcenter/keep_alive" (None) UMC request payload: {'options': {}} App.uninstall() App.remove() Cleanup after exception: <type 'exceptions.AttributeError'> 'Client' object has no attribute 'umc_comamand' Unsetting appcenter/apps/ryb5m73dxf/status Unsetting appcenter/apps/ryb5m73dxf/ucs Unsetting appcenter/apps/ryb5m73dxf/image Unsetting appcenter/apps/ryb5m73dxf/hostdn Unsetting appcenter/apps/ryb5m73dxf/container Unsetting appcenter/apps/ryb5m73dxf/version Unsetting appcenter/index/verify File: /etc/univention/service.info/services/univention-appcenter.cfg File: /usr/share/univention-portal/apps.json Setting update/secure_apt Setting repository/app_center/server File: /etc/apt/apt.conf.d/20secureapt Traceback (most recent call last): File "40_app_umc_install_latest_appbox", line 40, in <module> app.install_via_umc() File "/usr/share/ucs-test/80_docker/dockertest.py", line 281, in install_via_umc progress = client.umc_comamand('appcenter/docker/progress', options, print_request_data=False, print_response=False).result AttributeError: 'Client' object has no attribute 'umc_comamand' *** UMC response: {u'message': None, u'result': True, u'status': 200} *** Starting 1 ucs-test at 2017-03-15 15:57:32 to /dev/null Create and install a simple app with latest appbox image................................................................................................ Test failed root@master211:~#
ucs-test (7.0.17-1): r77741 | Bug #43881: fix typo
(In reply to Florian Best from comment #1) > ucs-test (7.0.17-1): > r77741 | Bug #43881: fix typo Thanks, it works.
UCS 4.2 has been released: https://docs.software-univention.de/release-notes-4.2-0-en.html https://docs.software-univention.de/release-notes-4.2-0-de.html If this error occurs again, please use "Clone This Bug".