Source: unattended-upgrades
Version: 0.95
Severity: serious

https://buildd.debian.org/status/fetch.php?pkg=unattended-upgrades&arch=all&ver=0.95&stamp=1503510785&raw=0

...
Running ./test_remove_unused.py with python3
/<<PKGBUILDDIR>>/test/unattended_upgrade.py:1254: ResourceWarning: unclosed 
file <_io.TextIOWrapper name=7 mode='r' encoding='ANSI_X3.4-1968'>
  res, error = cache_commit(cache, logfile_dpkg, verbose)
/<<PKGBUILDDIR>>/test/unattended_upgrade.py:1254: ResourceWarning: unclosed 
file <_io.TextIOWrapper name=8 mode='w' encoding='ANSI_X3.4-1968'>
  res, error = cache_commit(cache, logfile_dpkg, verbose)
FF
======================================================================
FAIL: test_remove_unused_dependencies (__main__.TestRemoveUnused)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./test_remove_unused.py", line 105, in test_remove_unused_dependencies
    "Can not find '%s' in '%s'" % (needle, haystack))
AssertionError: False is not true : Can not find 'Packages that are auto 
removed: 'old-unused-dependency test-package-dependency'' in '2017-08-23 
17:53:00,093 INFO Initial blacklisted packages: 
2017-08-23 17:53:00,094 INFO Initial whitelisted packages: 
2017-08-23 17:53:00,094 INFO Starting unattended upgrades script
2017-08-23 17:53:00,094 INFO Allowed origins are: ['o=Ubuntu,a=lucid-security']
2017-08-23 17:53:00,149 INFO Packages that will be upgraded: 
2017-08-23 17:53:00,171 INFO Packages that are auto removed: 
'old-unused-dependency'
2017-08-23 17:53:00,470 INFO Packages were successfully auto-removed
'

======================================================================
FAIL: test_remove_unused_dependencies_new_unused_only 
(__main__.TestRemoveUnused)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "./test_remove_unused.py", line 127, in 
test_remove_unused_dependencies_new_unused_only
    "Can not find '%s' in '%s'" % (needle, haystack))
AssertionError: False is not true : Can not find 'Packages that are auto 
removed: 'test-package-dependency'' in '2017-08-23 17:53:00,481 INFO Initial 
blacklisted packages: 
2017-08-23 17:53:00,481 INFO Initial whitelisted packages: 
2017-08-23 17:53:00,481 INFO Starting unattended upgrades script
2017-08-23 17:53:00,481 INFO Allowed origins are: ['o=Ubuntu,a=lucid-security']
2017-08-23 17:53:00,504 INFO No packages found that can be upgraded unattended 
and no pending auto-removals
'

----------------------------------------------------------------------
Ran 2 tests in 0.422s

FAILED (failures=2)
Makefile:6: recipe for target 'check' failed
make[2]: *** [check] Error 1
make[2]: Leaving directory '/<<PKGBUILDDIR>>/test'
debian/rules:15: recipe for target 'override_dh_auto_test' failed
make[1]: *** [override_dh_auto_test] Error 2

Reply via email to