Bug 47037

Summary: 80_docker/40_app_umc_install_latest_appbox fails with latest 4.3-0 app-box-image on 4.2-4
Product: UCS Test Reporter: Philipp Hahn <hahn>
Component: DockerAssignee: App Center maintainers <appcenter-maintainers>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P5 CC: damrose, heidelberger
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: other   
What kind of report is it?: Development Internal What type of bug is this?: ---
Who will be affected by this bug?: --- How will those affected feel about the bug?: ---
User Pain: Enterprise Customer affected?:
School Customer affected?: ISV affected?:
Waiting Support: Flags outvoted (downgraded) after PO Review:
Ticket number: Bug group (optional):
Max CVSS v3 score:
Bug Depends on: 46665    
Bug Blocks: 46945    

Description Philipp Hahn univentionstaff 2018-05-22 10:14:37 CEST
ucs-test/tests/80_docker/40_app_umc_install_latest_appbox fails on all system roles since 11 runs as it by now tries to pull the latest (4.3-0!) app-box-image on the UCS-4.2-4 systems:

15564 pts/1    S+     0:00  |   \_ /usr/bin/python /usr/share/ucs-test/runner python /usr/share/ucs-test/80_docker/40_app_umc_install_latest_appbox -vvvf
15663 ?        Ss     0:03  |       \_ /usr/bin/python 40_app_umc_install_latest_appbox
 8275 ?        S      0:02 /usr/bin/python2.7 /usr/sbin/univention-management-console-server start
15680 ?        Sl     0:03  \_ /usr/bin/python2.7 /usr/sbin/univention-management-console-module -m appcenter -s /var/run/univention-management-console/8275-1526976240379.socket -d 2 -l de_DE.UTF-8
15838 ?        Sl     0:00      \_ docker pull docker.software-univention.de/ucs-appbox-amd64:4.3-0

It prints the following message too many times:
>[09:39.844433] *** UMC request: "POST command/appcenter/docker/progress" (None)
>[:09:39.947103] *** UMC reponse received
and finally fails with
>[:09:39.947566] Cleanup after exception: <class 'dockertest.UCTTest_DockerApp_UMCInstallFailed'> ({u'title': u'Installiere testapp', u'finished': True, u'intermediate': [], u'result': {u'invokation_forbidden_details': {}, u'serious_problems': False, u'invokation_warning_details': {}, u'software_changes_computed': False, u'success': False, u'can_continue': True}, u'percentage': u'Infinity', u'message': u'Aborting...'}, [{u'message': u'Could not register Component\n', u'level': u'CRITICAL'}, {u'message': u'Something went wrong while installing the app\n', u'level': u'CRITICAL'}, {u'message': u'Setup script failed!', u'level': u'CRITICAL'}])
>[:09:39.953160] Unsetting testapp/autostart
>[:09:40.072504] Module: autostart
>[:09:40.334336] Setting update/secure_apt
>[:09:40.334453] Setting repository/app_center/server
>[:09:40.334547] Setting appcenter/index/verify
>[:09:40.449043] File: /etc/apt/apt.conf.d/20secureapt
>(:09:40.556186) Traceback (most recent call last):
>(:09:40.556274)   File "40_app_umc_install_latest_appbox", line 82, in <module>
>(:09:40.556372)     app.install_via_umc()
>(:09:40.556431)   File "/usr/share/ucs-test/80_docker/dockertest.py", line 315, in install_via_umc
>(:09:40.556554)     raise UCTTest_DockerApp_UMCInstallFailed(progress, errors)
>(:09:40.556793) dockertest.UCTTest_DockerApp_UMCInstallFailed: ({u'title': u'Installiere testapp', u'finished': True, u'intermediate': [], u'result': {u'invokation_forbidden_details': {}, u'serious_problems': False, u'invokation_warning_details': {}, u'software_changes_computed': False, u'success': False, u'can_continue': True}, u'percentage': u'Infinity', u'message': u'Aborting...'}, [{u'message': u'Could not register Component\n', u'level': u'CRITICAL'}, {u'message': u'Something went wrong while installing the app\n', u'level': u'CRITICAL'}, {u'message': u'Setup script failed!', u'level': u'CRITICAL'}])

<http://jenkins.knut.univention.de:8080/job/UCS-4.2/job/UCS-4.2-4/job/AutotestJoin/lastCompletedBuild/testReport/>