Univention Bugzilla – Bug 36223
Re-enable 20_appcenter/20_can_apps_be_installed test case for app tests
Last modified: 2015-08-06 18:01:49 CEST
The test case 20_appcenter/20_can_apps_be_installed failed with the pre test App Center. I've removed the app test flag. The flag should be re-enabled: 15.10.14 22:25:45.884 MODULE ( PROCESS ) : Downloading "https://appcenter.test.software-univention.de/meta-inf/4.0/index.json.gz"... 15.10.14 22:25:46.027 MODULE ( PROCESS ) : 0 file(s) are new 15.10.14 22:25:46.183 MODULE ( PROCESS ) : Starting dry_run for tine20 on localhost Exception in thread Thread-1: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 505, in run self.__target(*self.__args, **self.__kwargs) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/appcenter/app_center.py", line 1227, in _check_local_host package_changes = package_manager.mark(to_install, [], dry_run=True) File "/usr/lib/pymodules/python2.7/univention/lib/package_manager.py", line 536, in mark pkg.mark_delete() File "/usr/lib/python2.7/dist-packages/apt/package.py", line 1270, in mark_delete fix.resolve() SystemError: E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. Traceback (most recent call last): File "20_can_apps_be_installed", line 87, in <module> if result['broken']: KeyError: 'broken'
Still fails as of 2015-01-28
Currently it fails for sugarcrm: http://jenkins.knut.univention.de:8080/job/UCS-4.0/job/UCS-4.0-0/job/Autotest%20MultiEnv/SambaVersion=s4,Systemrolle=member/133/testReport/20_appcenter/20_can_apps_be_installed/test/ 03.02.15 19:16:06.282 MODULE ( WARN ) : master097.autotest097.local: master097.autotest097.local: Authentication failed: {"status": "411 Length Required", "message": "The authentication has failed, please login again"} 03.02.15 19:16:06.282 MODULE ( PROCESS ) : Finished dry_run for sugarcrm on master097.autotest097.local Exception in thread Thread-32: Traceback (most recent call last): File "/usr/lib/python2.7/threading.py", line 552, in __bootstrap_inner self.run() File "/usr/lib/python2.7/threading.py", line 505, in run self.__target(*self.__args, **self.__kwargs) File "/usr/lib/pymodules/python2.7/univention/management/console/modules/appcenter/app_center.py", line 1233, in _check_local_host package_changes = package_manager.mark(to_install, [], dry_run=True) File "/usr/lib/pymodules/python2.7/univention/lib/package_manager.py", line 539, in mark pkg.mark_delete() File "/usr/lib/python2.7/dist-packages/apt/package.py", line 1270, in mark_delete fix.resolve() SystemError: E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. Traceback (most recent call last): File "20_can_apps_be_installed", line 87, in <module> if result['broken']: KeyError: 'broken'
already fixed and enabled
added tag apptest and build package in errata4.0-2
OK, code review (re-adding the tag) okay. Also run it once, the traceback does not occur anymore.