Univention Bugzilla – Attachment 8624 Details for
Bug 44037
Test cases 20_appcenter/7*_umc* fail in UCS 4.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
ucs-test-appcenter.log
ucs-test-appcenter.log (text/x-log), 44.61 KB, created by
Stefan Gohmann
on 2017-03-23 06:24:23 CET
(
hide
)
Description:
ucs-test-appcenter.log
Filename:
MIME Type:
Creator:
Stefan Gohmann
Created:
2017-03-23 06:24:23 CET
Size:
44.61 KB
patch
obsolete
>*** BEGIN *** ['/usr/bin/python', '70_umc_basic_operations'] *** >*** 20_appcenter/70_umc_basic_operations *** Check basic App-Center Operations via UMC commands within a local testing appcenter. *** >*** START TIME: 2017-03-22 22:10:37 *** >Setting up local app-center. >File: /etc/apt/apt.conf.d/20secureapt >http://10.210.161.153/meta-inf/4.2/index.json.gz could not be downloaded. This seems to be a problem with the App Center server. Please try again later. >http://10.210.161.153/meta-inf/4.2/index.json.gz could not be downloaded. This seems to be a problem with the App Center server. Please try again later. >http://10.210.161.153/meta-inf/4.1/index.json.gz could not be downloaded. This seems to be a problem with the App Center server. Please try again later. >Running test_install_remove > Install and uninstall a simple app with correctness checks. > > >*** 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} >*** > >dpkg-buildpackage: Warnung: Verwendung eines root-werde-Befehls, obwohl bereits root >dpkg-buildpackage: Quellpaket test-install-remove >dpkg-buildpackage: Quellversion 1.0 >dpkg-buildpackage: Quelldistribution unstable >dpkg-buildpackage: Quellen geändert durch Univention GmbH <packages@univention.de> >dpkg-buildpackage: Host-Architektur amd64 >dpkg-buildpackage: Warnung: debian/rules ist nicht ausführbar: wird korrigiert > dpkg-source --before-build test-install-remove > fakeroot debian/rules clean >dh clean > dh_testdir > dh_auto_clean > dh_clean > debian/rules build >dh build > dh_testdir > dh_auto_configure > dh_auto_build > dh_auto_test > fakeroot debian/rules binary >dh binary > dh_testroot > dh_prep > dh_auto_install > dh_install > dh_installdocs > dh_installchangelogs > dh_pysupport >dh_pysupport: This program is deprecated, you should use dh_python2 instead. Migration guide: http://deb.li/dhs2p > dh_perl > dh_link > dh_compress > dh_fixperms > dh_installdeb > dh_gencontrol > dh_md5sums > dh_builddeb >dpkg-deb: Paket ûtest-install-removeë wird in û../test-install-remove_1.0_all.debë gebaut. > dpkg-genchanges -b >../test-install-remove_1.0_amd64.changes >dpkg-genchanges: Binärpaket(e) hochzuladen (kein Quellencode enthalten) > dpkg-source --after-build test-install-remove >dpkg-buildpackage: Binärpaket(e) hochzuladen (keine Quellen enthalten) >Publishing test-install-remove (code=AA, version=3.14, component-id=test-install-remove_100) >http://10.210.161.153/meta-inf/4.1/index.json.gz could not be downloaded. This seems to be a problem with the App Center server. Please try again later. > >*** UMC request: "POST get/session-info" (None) >UMC request payload: >{'options': {}} >*** UMC response: >{u'message': u'', > u'result': {u'auth_type': None, > u'remaining': 28795, > u'username': u'Administrator', > u'validity': 28800}, > u'status': 200} >*** > > >*** UMC request: "POST command/appcenter/get" (None) >UMC request payload: >{'options': {'application': 'test-install-remove'}} >*** UMC response: >{u'message': None, > u'result': {u'ad_member_issue_hide': None, > u'ad_member_issue_password': None, > u'additional_packages_backup': [], > u'additional_packages_master': [], > u'additional_packages_member': [], > u'additional_packages_slave': [], > u'app_report_attribute_filter': None, > u'app_report_attribute_type': None, > u'app_report_object_attribute': None, > u'app_report_object_filter': None, > u'app_report_object_type': None, > u'auto_mod_proxy': False, > u'autostart': u'yes', > u'categories': [], > u'code': u'AA', > u'component_id': u'test-install-remove_100', > u'config': [], > u'conflicted_apps': [], > u'conflicted_system_packages': [], > u'contact': None, > u'database': None, > u'database_name': None, > u'database_password_file': None, > u'database_user': None, > u'default_packages': [u'test-install-remove'], > u'default_packages_master': [], > u'description': None, > u'docker_allowed_images': [], > u'docker_env_database_host': u'DB_HOST', > u'docker_env_database_name': u'DB_NAME', > u'docker_env_database_password': u'DB_PASSWORD', > u'docker_env_database_password_file': None, > u'docker_env_database_port': u'DB_PORT', > u'docker_env_database_user': u'DB_USER', > u'docker_image': None, > u'docker_migration_link': None, > u'docker_migration_works': None, > u'docker_script_init': u'/sbin/init', > u'docker_script_restore_data_after_setup': u'/usr/share/univention-docker-container-mode/restore_data_after_setup', > u'docker_script_restore_data_before_setup': u'/usr/share/univention-docker-container-mode/restore_data_before_setup', > u'docker_script_setup': u'/usr/share/univention-docker-container-mode/setup', > u'docker_script_store_data': u'/usr/share/univention-docker-container-mode/store_data', > u'docker_script_update_app_version': u'/usr/share/univention-docker-container-mode/update_app_version', > u'docker_script_update_available': u'/usr/share/univention-docker-container-mode/update_available', > u'docker_script_update_packages': u'/usr/share/univention-docker-container-mode/update_packages', > u'docker_script_update_release': u'/usr/share/univention-docker-container-mode/update_release', > u'docker_server_role': u'memberserver', > u'docker_shell_command': u'/bin/bash', > u'docker_volumes': [], > u'end_of_life': None, > u'fully_loaded': True, > u'generic_user_activation': None, > u'host_certificate_access': None, > u'host_master': u'master096.autotest096.local', > u'id': u'test-install-remove', > u'installations': {u'master096': {u'candidate_version': u'3.14', > u'description': None, > u'ip': [u'10.210.142.53'], > u'role': u'master', > u'ucs_version': u'4.2', > u'update_available': None, > u'version': None}, > u'member096': {u'candidate_version': u'3.14', > u'description': None, > u'ip': [u'10.210.161.153'], > u'role': u'member', > u'ucs_version': u'4.2', > u'update_available': None, > u'version': None}}, > u'is_current': False, > u'is_installed': False, > u'is_installed_anywhere': False, > u'is_master': False, > u'is_running': False, > u'is_ucs_component': False, > u'license': u'default', > u'license_agreement': None, > u'license_description': u'Bitte kontaktieren Sie den App-Anbieter zu Informationen zur Lizenz', > u'local_role': u'memberserver', > u'logo_detail_page_name': None, > u'logo_name': u'apps-test-install-remove_100.svg', > u'long_description': None, > u'maintainer': None, > u'min_physical_ram': 0, > u'name': u'test-install-remove', > u'notification_email': None, > u'notify_vendor': True, > u'plugin_of': None, > u'ports_exclusive': [], > u'ports_redirection': [], > u'ports_redirection_udp': [], > u'rating': [], > u'readme': None, > u'readme_install': None, > u'readme_post_install': None, > u'readme_post_uninstall': None, > u'readme_post_update': None, > u'readme_uninstall': None, > u'readme_update': None, > u'required_app_version_upgrade': None, > u'required_apps': [], > u'required_apps_in_domain': [], > u'required_ucs_version': None, > u'screenshot': None, > u'server_role': [u'domaincontroller_master', > u'domaincontroller_backup', > u'domaincontroller_slave', > u'memberserver'], > u'shop_url': None, > u'support_url': None, > u'supported_architectures': [u'amd64', u'i386'], > u'supported_ucs_versions': [], > u'thumbnails': [], > u'ucs_overview_category': u'service', > u'ucs_version': u'4.2', > u'umc_module_flavor': None, > u'umc_module_name': None, > u'update_available': False, > u'user_activation_required': None, > u'vendor': None, > u'version': u'3.14', > u'web_interface': None, > u'web_interface_name': None, > u'web_interface_port_http': 80, > u'web_interface_port_https': 443, > u'web_interface_proxy_scheme': u'both', > u'website': None, > u'website_maintainer': None, > u'website_vendor': None, > u'without_repository': None}, > 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': 28797, > u'username': u'Administrator', > u'validity': 28800}, > u'status': 200} >*** > > >*** UMC request: "POST command/appcenter/invoke" (None) >UMC request payload: >{'options': {'application': 'test-install-remove', > 'function': 'install', > 'only_dry_run': True}} >UMC request failed: 400 on member096.autotest096.local (command/appcenter/invoke): {"status": 400, "message": "Konnte http://10.210.161.153/meta-inf/4.1/index.json.gz nicht herunterladen. Das deutet auf ein Problem auf dem App Center-Server hin. Bitte versuchen Sie es sp\u00e4ter noch einmal.", "location": "https://member096.autotest096.local/univention/command"} > >Error in test_install_remove > Install and uninstall a simple app with correctness checks. > >Reverting local app-center. >File: /etc/apt/apt.conf.d/20secureapt >Traceback (most recent call last): > File "70_umc_basic_operations", line 122, in <module> > main() > File "70_umc_basic_operations", line 114, in main > test_install_remove() > File "/usr/share/ucs-test/20_appcenter/appcentertest.py", line 624, in wrapper > function(app_center, function.__name__.replace("_", "-")) > File "70_umc_basic_operations", line 26, in test_install_remove > test.test_install_remove_cycle() > File "/usr/share/ucs-test/20_appcenter/appcentertest.py", line 600, in test_install_remove_cycle > with self.test_install_safe() as install_errors: > File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__ > return self.gen.next() > File "/usr/share/ucs-test/20_appcenter/appcentertest.py", line 534, in test_install_safe > errors = self.test_install(test_installed=test_installed) > File "/usr/share/ucs-test/20_appcenter/appcentertest.py", line 510, in test_install > (install_dry, errors_dry) = self.app_center.install(self.application, only_dry_run=True) > File "/usr/share/ucs-test/20_appcenter/appcentertest.py", line 150, in install > return self.invoke(callback=callback, function="install", application=application, **options) > File "/usr/share/ucs-test/20_appcenter/appcentertest.py", line 125, in invoke > result = self.client.umc_command("appcenter/invoke", options).result > File "/usr/lib/pymodules/python2.7/univention/testing/umc.py", line 58, in umc_command > return super(Client, self).umc_command(*args, **kwargs) > File "/usr/lib/pymodules/python2.7/univention/lib/umc.py", line 272, in umc_command > return self.request('POST', 'command/%s' % (path,), data, headers) > File "/usr/lib/pymodules/python2.7/univention/testing/umc.py", line 69, in request > response = super(Client, self).request(method, path, data, headers) > File "/usr/lib/pymodules/python2.7/univention/lib/umc.py", line 297, in request > return self.send(request) > File "/usr/lib/pymodules/python2.7/univention/lib/umc.py", line 316, in send > raise HTTPError(request, response, self.hostname) >univention.lib.umc.BadRequest: 400 on member096.autotest096.local (command/appcenter/invoke): {"status": 400, "message": "Konnte http://10.210.161.153/meta-inf/4.1/index.json.gz nicht herunterladen. Das deutet auf ein Problem auf dem App Center-Server hin. Bitte versuchen Sie es sp\u00e4ter noch einmal.", "location": "https://member096.autotest096.local/univention/command"} >*** END TIME: 2017-03-22 22:11:02 *** >*** TEST DURATION (H:MM:SS.ms): 0:00:24.704767 *** >*** END *** 1 *** > >*** BEGIN *** ['/usr/bin/python', '71_umc_basic_failure_installed'] *** >*** 20_appcenter/71_umc_basic_failure_installed *** Check basic App-Center Operation failures (already installed, not installed) via UMC commands within a local testing appcenter. *** >*** START TIME: 2017-03-22 22:11:02 *** >Setting up local app-center. >File: /etc/apt/apt.conf.d/20secureapt >http://10.210.161.153/meta-inf/4.2/index.json.gz could not be downloaded. This seems to be a problem with the App Center server. Please try again later. >http://10.210.161.153/meta-inf/4.2/index.json.gz could not be downloaded. This seems to be a problem with the App Center server. Please try again later. >http://10.210.161.153/meta-inf/4.1/index.json.gz could not be downloaded. This seems to be a problem with the App Center server. Please try again later. >Running test_already_installed_dry_run > Try to dry-run install an app although it is already installed (must fail). > > >*** 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} >*** > >dpkg-buildpackage: Warnung: Verwendung eines root-werde-Befehls, obwohl bereits root >dpkg-buildpackage: Quellpaket test-already-installed-dry-run >dpkg-buildpackage: Quellversion 1.0 >dpkg-buildpackage: Quelldistribution unstable >dpkg-buildpackage: Quellen geändert durch Univention GmbH <packages@univention.de> >dpkg-buildpackage: Warnung: debian/rules ist nicht ausführbar: wird korrigiert > dpkg-source --before-build test-already-installed-dry-run >dpkg-buildpackage: Host-Architektur amd64 > fakeroot debian/rules clean >dh clean > dh_testdir > dh_auto_clean > dh_clean > debian/rules build >dh build > dh_testdir > dh_auto_configure > dh_auto_build > dh_auto_test > fakeroot debian/rules binary >dh binary > dh_testroot > dh_prep > dh_auto_install > dh_install > dh_installdocs > dh_installchangelogs > dh_pysupport >dh_pysupport: This program is deprecated, you should use dh_python2 instead. Migration guide: http://deb.li/dhs2p > dh_perl > dh_link > dh_compress > dh_fixperms > dh_installdeb > dh_gencontrol > dh_md5sums > dh_builddeb >dpkg-deb: Paket ûtest-already-installed-dry-runë wird in û../test-already-installed-dry-run_1.0_all.debë gebaut. > dpkg-genchanges -b >../test-already-installed-dry-run_1.0_amd64.changes >dpkg-genchanges: Binärpaket(e) hochzuladen (kein Quellencode enthalten) > dpkg-source --after-build test-already-installed-dry-run >dpkg-buildpackage: Binärpaket(e) hochzuladen (keine Quellen enthalten) >Publishing test-already-installed-dry-run (code=AA, version=3.14, component-id=test-already-installed-dry-run_100) >http://10.210.161.153/meta-inf/4.1/index.json.gz could not be downloaded. This seems to be a problem with the App Center server. Please try again later. > >*** UMC request: "POST get/session-info" (None) >UMC request payload: >{'options': {}} >*** UMC response: >{u'message': u'', > u'result': {u'auth_type': None, > u'remaining': 28795, > u'username': u'Administrator', > u'validity': 28800}, > u'status': 200} >*** > > >*** UMC request: "POST command/appcenter/invoke" (None) >UMC request payload: >{'options': {'application': 'test-already-installed-dry-run', > 'function': 'install', > 'only_dry_run': True}} >UMC request failed: 400 on member096.autotest096.local (command/appcenter/invoke): {"status": 400, "message": "Konnte http://10.210.161.153/meta-inf/4.1/index.json.gz nicht herunterladen. Das deutet auf ein Problem auf dem App Center-Server hin. Bitte versuchen Sie es sp\u00e4ter noch einmal.", "location": "https://member096.autotest096.local/univention/command"} > >Error in test_already_installed_dry_run > Try to dry-run install an app although it is already installed (must fail). > >Reverting local app-center. >File: /etc/apt/apt.conf.d/20secureapt >Traceback (most recent call last): > File "71_umc_basic_failure_installed", line 142, in <module> > main() > File "71_umc_basic_failure_installed", line 133, in main > test_already_installed_dry_run() > File "/usr/share/ucs-test/20_appcenter/appcentertest.py", line 624, in wrapper > function(app_center, function.__name__.replace("_", "-")) > File "71_umc_basic_failure_installed", line 40, in test_already_installed_dry_run > with test.test_install_safe(): > File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__ > return self.gen.next() > File "/usr/share/ucs-test/20_appcenter/appcentertest.py", line 534, in test_install_safe > errors = self.test_install(test_installed=test_installed) > File "/usr/share/ucs-test/20_appcenter/appcentertest.py", line 510, in test_install > (install_dry, errors_dry) = self.app_center.install(self.application, only_dry_run=True) > File "/usr/share/ucs-test/20_appcenter/appcentertest.py", line 150, in install > return self.invoke(callback=callback, function="install", application=application, **options) > File "/usr/share/ucs-test/20_appcenter/appcentertest.py", line 125, in invoke > result = self.client.umc_command("appcenter/invoke", options).result > File "/usr/lib/pymodules/python2.7/univention/testing/umc.py", line 58, in umc_command > return super(Client, self).umc_command(*args, **kwargs) > File "/usr/lib/pymodules/python2.7/univention/lib/umc.py", line 272, in umc_command > return self.request('POST', 'command/%s' % (path,), data, headers) > File "/usr/lib/pymodules/python2.7/univention/testing/umc.py", line 69, in request > response = super(Client, self).request(method, path, data, headers) > File "/usr/lib/pymodules/python2.7/univention/lib/umc.py", line 297, in request > return self.send(request) > File "/usr/lib/pymodules/python2.7/univention/lib/umc.py", line 316, in send > raise HTTPError(request, response, self.hostname) >univention.lib.umc.BadRequest: 400 on member096.autotest096.local (command/appcenter/invoke): {"status": 400, "message": "Konnte http://10.210.161.153/meta-inf/4.1/index.json.gz nicht herunterladen. Das deutet auf ein Problem auf dem App Center-Server hin. Bitte versuchen Sie es sp\u00e4ter noch einmal.", "location": "https://member096.autotest096.local/univention/command"} >*** END TIME: 2017-03-22 22:11:27 *** >*** TEST DURATION (H:MM:SS.ms): 0:00:25.165231 *** >*** END *** 1 *** > >*** BEGIN *** ['/usr/bin/python', '72_umc_basic_failure_non_existent'] *** >*** 20_appcenter/72_umc_basic_failure_non_existent *** Check basic App-Center Operation failures (non existent apps) via UMC commands within a local testing appcenter. *** >*** START TIME: 2017-03-22 22:11:27 *** >Running test_install_non_existent_dry_run > Try to dry-run install an app that does not exist (must fail). > > >*** 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/invoke" (None) >UMC request payload: >{'options': {'application': 'test-install-non-existent-dry-run', > 'function': 'install', > 'only_dry_run': True}} >UMC request failed: 400 on member096.autotest096.local (command/appcenter/invoke): {"status": 400, "message": "Das Kommando ist fehlgeschlagen: Konnte keine Applikation f\u00fcr test-install-non-existent-dry-run finden", "location": "https://member096.autotest096.local/univention/command"} > >Ok - test_install_non_existent_dry_run > Try to dry-run install an app that does not exist (must fail). > >Running test_install_non_existent > Try to install an app that does not exist (must fail). > > >*** 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/invoke" (None) >UMC request payload: >{'options': {'application': 'test-install-non-existent', > 'force': True, > 'function': 'install'}} >UMC request failed: 400 on member096.autotest096.local (command/appcenter/invoke): {"status": 400, "message": "Das Kommando ist fehlgeschlagen: Konnte keine Applikation f\u00fcr test-install-non-existent finden", "location": "https://member096.autotest096.local/univention/command"} > >Ok - test_install_non_existent > Try to install an app that does not exist (must fail). > >Running test_update_non_existent_dry_run > Try to dry-run update an app that does not exist (must fail). > > >*** 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/invoke" (None) >UMC request payload: >{'options': {'application': 'test-update-non-existent-dry-run', > 'function': 'update', > 'only_dry_run': True}} >UMC request failed: 400 on member096.autotest096.local (command/appcenter/invoke): {"status": 400, "message": "Das Kommando ist fehlgeschlagen: Konnte keine Applikation f\u00fcr test-update-non-existent-dry-run finden", "location": "https://member096.autotest096.local/univention/command"} > >Ok - test_update_non_existent_dry_run > Try to dry-run update an app that does not exist (must fail). > >Running test_update_non_existent > Try to update an app that does not exist (must fail). > > >*** 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/invoke" (None) >UMC request payload: >{'options': {'application': 'test-update-non-existent', > 'force': True, > 'function': 'update'}} >UMC request failed: 400 on member096.autotest096.local (command/appcenter/invoke): {"status": 400, "message": "Das Kommando ist fehlgeschlagen: Konnte keine Applikation f\u00fcr test-update-non-existent finden", "location": "https://member096.autotest096.local/univention/command"} > >Ok - test_update_non_existent > Try to update an app that does not exist (must fail). > >Running test_uninstall_non_existent_dry_run > Try to dry-run uninstall an app that does not exist (must fail). > > >*** 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/invoke" (None) >UMC request payload: >{'options': {'application': 'test-uninstall-non-existent-dry-run', > 'function': 'uninstall', > 'only_dry_run': True}} >UMC request failed: 400 on member096.autotest096.local (command/appcenter/invoke): {"status": 400, "message": "Das Kommando ist fehlgeschlagen: Konnte keine Applikation f\u00fcr test-uninstall-non-existent-dry-run finden", "location": "https://member096.autotest096.local/univention/command"} > >Ok - test_uninstall_non_existent_dry_run > Try to dry-run uninstall an app that does not exist (must fail). > >Running test_uninstall_non_existent > Try to uninstall an app that does not exist (must fail). > > >*** 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/invoke" (None) >UMC request payload: >{'options': {'application': 'test-uninstall-non-existent', > 'force': True, > 'function': 'uninstall'}} >UMC request failed: 400 on member096.autotest096.local (command/appcenter/invoke): {"status": 400, "message": "Das Kommando ist fehlgeschlagen: Konnte keine Applikation f\u00fcr test-uninstall-non-existent finden", "location": "https://member096.autotest096.local/univention/command"} > >Ok - test_uninstall_non_existent > Try to uninstall an app that does not exist (must fail). > >*** END TIME: 2017-03-22 22:12:43 *** >*** TEST DURATION (H:MM:SS.ms): 0:01:16.533709 *** >*** END *** 0 *** > >*** BEGIN *** ['/usr/bin/python', '73_umc_dependency_failure'] *** >*** 20_appcenter/73_umc_dependency_failure *** Check App-Center Operation failures with broken dependencies via UMC commands within a local testing appcenter. *** >*** START TIME: 2017-03-22 22:12:43 *** >Setting up local app-center. >File: /etc/apt/apt.conf.d/20secureapt >http://10.210.161.153/meta-inf/4.2/index.json.gz could not be downloaded. This seems to be a problem with the App Center server. Please try again later. >http://10.210.161.153/meta-inf/4.2/index.json.gz could not be downloaded. This seems to be a problem with the App Center server. Please try again later. >http://10.210.161.153/meta-inf/4.1/index.json.gz could not be downloaded. This seems to be a problem with the App Center server. Please try again later. >Running test_install_missing_depends > Try to install an app where dependencies are not met (must fail). > > >*** 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} >*** > >dpkg-buildpackage: Warnung: Verwendung eines root-werde-Befehls, obwohl bereits root >dpkg-buildpackage: Quellpaket test-install-missing-depends >dpkg-buildpackage: Quellversion 1.0 >dpkg-buildpackage: Quelldistribution unstable >dpkg-buildpackage: Quellen geändert durch Univention GmbH <packages@univention.de> >dpkg-buildpackage: Warnung: debian/rules ist nicht ausführbar: wird korrigiert > dpkg-source --before-build test-install-missing-depends >dpkg-buildpackage: Host-Architektur amd64 > fakeroot debian/rules clean >dh clean > dh_testdir > dh_auto_clean > dh_clean > debian/rules build >dh build > dh_testdir > dh_auto_configure > dh_auto_build > dh_auto_test > fakeroot debian/rules binary >dh binary > dh_testroot > dh_prep > dh_auto_install > dh_install > dh_installdocs > dh_installchangelogs > dh_pysupport >dh_pysupport: This program is deprecated, you should use dh_python2 instead. Migration guide: http://deb.li/dhs2p > dh_perl > dh_link > dh_compress > dh_fixperms > dh_installdeb > dh_gencontrol > dh_md5sums > dh_builddeb >dpkg-deb: Paket ûtest-install-missing-dependsë wird in û../test-install-missing-depends_1.0_all.debë gebaut. > dpkg-genchanges -b >../test-install-missing-depends_1.0_amd64.changes >dpkg-genchanges: Binärpaket(e) hochzuladen (kein Quellencode enthalten) > dpkg-source --after-build test-install-missing-depends >dpkg-buildpackage: Binärpaket(e) hochzuladen (keine Quellen enthalten) >Publishing test-install-missing-depends (code=AA, version=3.14, component-id=test-install-missing-depends_100) >http://10.210.161.153/meta-inf/4.1/index.json.gz could not be downloaded. This seems to be a problem with the App Center server. Please try again later. > >*** UMC request: "POST get/session-info" (None) >UMC request payload: >{'options': {}} >*** UMC response: >{u'message': u'', > u'result': {u'auth_type': None, > u'remaining': 28795, > u'username': u'Administrator', > u'validity': 28800}, > u'status': 200} >*** > > >*** UMC request: "POST command/appcenter/invoke" (None) >UMC request payload: >{'options': {'application': 'test-install-missing-depends', > 'function': 'install', > 'only_dry_run': True}} >UMC request failed: 400 on member096.autotest096.local (command/appcenter/invoke): {"status": 400, "message": "Konnte http://10.210.161.153/meta-inf/4.1/index.json.gz nicht herunterladen. Das deutet auf ein Problem auf dem App Center-Server hin. Bitte versuchen Sie es sp\u00e4ter noch einmal.", "location": "https://member096.autotest096.local/univention/command"} > >Error in test_install_missing_depends > Try to install an app where dependencies are not met (must fail). > >Reverting local app-center. >File: /etc/apt/apt.conf.d/20secureapt >Traceback (most recent call last): > File "73_umc_dependency_failure", line 212, in <module> > main() > File "73_umc_dependency_failure", line 203, in main > test_install_missing_depends() > File "/usr/share/ucs-test/20_appcenter/appcentertest.py", line 624, in wrapper > function(app_center, function.__name__.replace("_", "-")) > File "73_umc_dependency_failure", line 46, in test_install_missing_depends > test.test_install(test_installed=False) > File "/usr/share/ucs-test/20_appcenter/appcentertest.py", line 510, in test_install > (install_dry, errors_dry) = self.app_center.install(self.application, only_dry_run=True) > File "/usr/share/ucs-test/20_appcenter/appcentertest.py", line 150, in install > return self.invoke(callback=callback, function="install", application=application, **options) > File "/usr/share/ucs-test/20_appcenter/appcentertest.py", line 125, in invoke > result = self.client.umc_command("appcenter/invoke", options).result > File "/usr/lib/pymodules/python2.7/univention/testing/umc.py", line 58, in umc_command > return super(Client, self).umc_command(*args, **kwargs) > File "/usr/lib/pymodules/python2.7/univention/lib/umc.py", line 272, in umc_command > return self.request('POST', 'command/%s' % (path,), data, headers) > File "/usr/lib/pymodules/python2.7/univention/testing/umc.py", line 69, in request > response = super(Client, self).request(method, path, data, headers) > File "/usr/lib/pymodules/python2.7/univention/lib/umc.py", line 297, in request > return self.send(request) > File "/usr/lib/pymodules/python2.7/univention/lib/umc.py", line 316, in send > raise HTTPError(request, response, self.hostname) >univention.lib.umc.BadRequest: 400 on member096.autotest096.local (command/appcenter/invoke): {"status": 400, "message": "Konnte http://10.210.161.153/meta-inf/4.1/index.json.gz nicht herunterladen. Das deutet auf ein Problem auf dem App Center-Server hin. Bitte versuchen Sie es sp\u00e4ter noch einmal.", "location": "https://member096.autotest096.local/univention/command"} >*** END TIME: 2017-03-22 22:12:59 *** >*** TEST DURATION (H:MM:SS.ms): 0:00:15.859160 *** >*** END *** 1 *** > >*** BEGIN *** ['/usr/bin/python', '75_umc_query_app_data'] *** >*** 20_appcenter/75_umc_query_app_data *** Check the UMC query command with a custom INI file. *** >*** START TIME: 2017-03-22 22:12:59 *** >Create appcenter/umc/update/always >Writing INI file: testapp_yfmvadjoef.ini >Writing README files: > README_EN > README_DE > README_INSTALL_EN > README_INSTALL_DE > README_POST_INSTALL_EN > README_POST_INSTALL_DE > README_UPDATE_EN > README_UPDATE_DE > README_POST_UPDATE_EN > README_POST_UPDATE_DE > README_UNINSTALL_EN > README_UNINSTALL_DE > README_POST_UNINSTALL_EN > README_POST_UNINSTALL_DE > >Testing language: EN > >*** 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 set" (None) >UMC request payload: >{'options': {'locale': 'en_US'}} >*** UMC response: >{u'message': None, u'result': None, u'status': 200} >*** > > >*** UMC request: "POST command/appcenter/query" (None) >*** UMC reponse received > > >Removing temporarily created files... >Unsetting appcenter/umc/update/always >Traceback (most recent call last): > File "75_umc_query_app_data", line 187, in <module> > test_all() > File "75_umc_query_app_data", line 165, in test_all > app = get_app_from_umc(lang) > File "75_umc_query_app_data", line 148, in get_app_from_umc > assert len(matches) > 0, 'The test app does not occur in the list of queried apps!' >AssertionError: The test app does not occur in the list of queried apps! >*** END TIME: 2017-03-22 22:13:06 *** >*** TEST DURATION (H:MM:SS.ms): 0:00:06.624794 *** >*** END *** 1 *** > >*** BEGIN *** ['/usr/bin/python', '79_umc_broken_failure_error_exit_code'] *** >*** 20_appcenter/79_umc_broken_failure_error_exit_code *** Check App-Center Operation failures with broken apps (exit 1 in {pre,post}{inst,rm}) via UMC commands within a local testing appcenter. *** >*** START TIME: 2017-03-22 22:13:06 *** >Setting up local app-center. >File: /etc/apt/apt.conf.d/20secureapt >http://10.210.161.153/meta-inf/4.2/index.json.gz could not be downloaded. This seems to be a problem with the App Center server. Please try again later. >http://10.210.161.153/meta-inf/4.2/index.json.gz could not be downloaded. This seems to be a problem with the App Center server. Please try again later. >http://10.210.161.153/meta-inf/4.1/index.json.gz could not be downloaded. This seems to be a problem with the App Center server. Please try again later. >Running test_install_preinst_error > Try to install and uninstall an app that contains an error in `preinst` > (exit 1). No traces must be left and the app must be reinstallable. > > >*** 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} >*** > >dpkg-buildpackage: Warnung: Verwendung eines root-werde-Befehls, obwohl bereits root >dpkg-buildpackage: Quellpaket test-install-preinst-error >dpkg-buildpackage: Quellversion 1.0 >dpkg-buildpackage: Quelldistribution unstable >dpkg-buildpackage: Quellen geändert durch Univention GmbH <packages@univention.de> >dpkg-buildpackage: Host-Architektur amd64 >dpkg-buildpackage: Warnung: debian/rules ist nicht ausführbar: wird korrigiert > dpkg-source --before-build test-install-preinst-error > fakeroot debian/rules clean >dh clean > dh_testdir > dh_auto_clean > dh_clean > debian/rules build >dh build > dh_testdir > dh_auto_configure > dh_auto_build > dh_auto_test > fakeroot debian/rules binary >dh binary > dh_testroot > dh_prep > dh_auto_install > dh_install > dh_installdocs > dh_installchangelogs > dh_pysupport >dh_pysupport: This program is deprecated, you should use dh_python2 instead. Migration guide: http://deb.li/dhs2p > dh_perl > dh_link > dh_compress > dh_fixperms > dh_installdeb > dh_gencontrol > dh_md5sums > dh_builddeb >dpkg-deb: Paket ûtest-install-preinst-errorë wird in û../test-install-preinst-error_1.0_all.debë gebaut. > dpkg-genchanges -b >../test-install-preinst-error_1.0_amd64.changes >dpkg-genchanges: Binärpaket(e) hochzuladen (kein Quellencode enthalten) > dpkg-source --after-build test-install-preinst-error >dpkg-buildpackage: Binärpaket(e) hochzuladen (keine Quellen enthalten) >Publishing test-install-preinst-error (code=AA, version=3.14, component-id=test-install-preinst-error_100) >http://10.210.161.153/meta-inf/4.1/index.json.gz could not be downloaded. This seems to be a problem with the App Center server. Please try again later. > >*** UMC request: "POST get/session-info" (None) >UMC request payload: >{'options': {}} >*** UMC response: >{u'message': u'', > u'result': {u'auth_type': None, > u'remaining': 28795, > u'username': u'Administrator', > u'validity': 28800}, > u'status': 200} >*** > > >*** UMC request: "POST command/appcenter/invoke" (None) >UMC request payload: >{'options': {'application': 'test-install-preinst-error', > 'function': 'install', > 'only_dry_run': True}} >UMC request failed: 400 on member096.autotest096.local (command/appcenter/invoke): {"status": 400, "message": "Konnte http://10.210.161.153/meta-inf/4.1/index.json.gz nicht herunterladen. Das deutet auf ein Problem auf dem App Center-Server hin. Bitte versuchen Sie es sp\u00e4ter noch einmal.", "location": "https://member096.autotest096.local/univention/command"} > >Error in test_install_preinst_error > Try to install and uninstall an app that contains an error in `preinst` > (exit 1). No traces must be left and the app must be reinstallable. > >Reverting local app-center. >File: /etc/apt/apt.conf.d/20secureapt >Traceback (most recent call last): > File "79_umc_broken_failure_error_exit_code", line 198, in <module> > main() > File "79_umc_broken_failure_error_exit_code", line 191, in main > test_install_preinst_error() > File "/usr/share/ucs-test/20_appcenter/appcentertest.py", line 624, in wrapper > function(app_center, function.__name__.replace("_", "-")) > File "79_umc_broken_failure_error_exit_code", line 34, in test_install_preinst_error > with test.test_install_safe(test_installed=False) as dpkg_errors: > File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__ > return self.gen.next() > File "/usr/share/ucs-test/20_appcenter/appcentertest.py", line 534, in test_install_safe > errors = self.test_install(test_installed=test_installed) > File "/usr/share/ucs-test/20_appcenter/appcentertest.py", line 510, in test_install > (install_dry, errors_dry) = self.app_center.install(self.application, only_dry_run=True) > File "/usr/share/ucs-test/20_appcenter/appcentertest.py", line 150, in install > return self.invoke(callback=callback, function="install", application=application, **options) > File "/usr/share/ucs-test/20_appcenter/appcentertest.py", line 125, in invoke > result = self.client.umc_command("appcenter/invoke", options).result > File "/usr/lib/pymodules/python2.7/univention/testing/umc.py", line 58, in umc_command > return super(Client, self).umc_command(*args, **kwargs) > File "/usr/lib/pymodules/python2.7/univention/lib/umc.py", line 272, in umc_command > return self.request('POST', 'command/%s' % (path,), data, headers) > File "/usr/lib/pymodules/python2.7/univention/testing/umc.py", line 69, in request > response = super(Client, self).request(method, path, data, headers) > File "/usr/lib/pymodules/python2.7/univention/lib/umc.py", line 297, in request > return self.send(request) > File "/usr/lib/pymodules/python2.7/univention/lib/umc.py", line 316, in send > raise HTTPError(request, response, self.hostname) >univention.lib.umc.BadRequest: 400 on member096.autotest096.local (command/appcenter/invoke): {"status": 400, "message": "Konnte http://10.210.161.153/meta-inf/4.1/index.json.gz nicht herunterladen. Das deutet auf ein Problem auf dem App Center-Server hin. Bitte versuchen Sie es sp\u00e4ter noch einmal.", "location": "https://member096.autotest096.local/univention/command"} >*** END TIME: 2017-03-22 22:13:22 *** >*** TEST DURATION (H:MM:SS.ms): 0:00:15.999985 *** >*** END *** 1 *** >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 44037
: 8624