Univention Bugzilla – Bug 41869
univention-upgrade: Do not fail if App Center is not reachable
Last modified: 2016-10-04 14:03:32 CEST
This breaks univention-upgrade.app_upgrade_search.call (if for example the appcenter is not reachable, which is the case in many update tests).
+++ This bug was initially created as a clone of Bug #41853 +++
We need dev Tools for working with the Test App Center / Self Service via command line.
First step: univention-app extensions.
Using call_safe() instead of call() in
ip route add prohibit "$(dig +short appcenter.software-univention.de)"
Checking for app updates: An error occurred - see "/var/log/univention/updater.log" for details
FAIL: r72203 is not merged into UCS-4.2
FYI: bad karma points for "UserCancelled": using exception for flow control is an anti-pattern!
(In reply to Philipp Hahn from comment #3)
> FAIL: r72203 is not merged into UCS-4.2
This is actually Bug#41840
The whole change is essentially:
+ except Abort:
(maybe I changed something in the import section, but this, too, is the same in 4.1-3 as in 4.2-0)
> FYI: bad karma points for "UserCancelled": using exception for flow control
> is an anti-pattern!
Fortunately, this will be reverted.
(In reply to Dirk Wiesenthal from comment #4)
> > FYI: bad karma points for "UserCancelled": using exception for flow control
> > is an anti-pattern!
> Fortunately, this will be reverted.
The "Abort"-exception is the same btw ^^
OK: errata-announce -V --only univention-updater.yaml