Bug#954395: fdroidserver: autopkgtest needs update
Source: fdroidserver
Version: 1.1.4-1
X-Debbugs-CC: debian-ci@lists.debian.org
Severity: serious
User: debian-ci@lists.debian.org
Usertags: needs-update
Hi Maintainer
The autopkgtests of fdoidserver started to fail in testing some time
around 2019-09-21 [1], where they passed previously.
I've copied what I hope is the relevant part of the log below.
Regards
Graham
[1] https://ci.debian.net/packages/f/fdroidserver/testing/amd64/
======================================================================
ERROR: test_sign_apk (__main__.CommonTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autopkgtest-lxc.s1kd71lv/downtmp/build.f5O/src/tests/common.TestCase",
line 592, in test_sign_apk
self.assertFalse(fdroidserver.common.verify_apk_signature(unsigned))
File "/tmp/autopkgtest-lxc.s1kd71lv/downtmp/build.f5O/src/fdroidserver/common.py",
line 2867, in verify_apk_signature
output = subprocess.check_output(args + [apk])
File "/usr/lib/python3.7/subprocess.py", line 411, in check_output
**kwargs).stdout
File "/usr/lib/python3.7/subprocess.py", line 488, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib/python3.7/subprocess.py", line 800, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1551, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 8] Exec format error: '/usr/bin/apksigner'
======================================================================
ERROR: test_verify_apk_signature (__main__.CommonTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autopkgtest-lxc.s1kd71lv/downtmp/build.f5O/src/tests/common.TestCase",
line 342, in test_verify_apk_signature
self.assertTrue(fdroidserver.common.verify_apk_signature('bad-unicode-πÇÇ现代通用字-български-عربي1.apk'))
File "/tmp/autopkgtest-lxc.s1kd71lv/downtmp/build.f5O/src/fdroidserver/common.py",
line 2867, in verify_apk_signature
output = subprocess.check_output(args + [apk])
File "/usr/lib/python3.7/subprocess.py", line 411, in check_output
**kwargs).stdout
File "/usr/lib/python3.7/subprocess.py", line 488, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib/python3.7/subprocess.py", line 800, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1551, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 8] Exec format error: '/usr/bin/apksigner'
======================================================================
ERROR: test_verify_apks (__main__.CommonTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/autopkgtest-lxc.s1kd71lv/downtmp/build.f5O/src/tests/common.TestCase",
line 411, in test_verify_apks
self.assertTrue(fdroidserver.common.verify_apk_signature(copyapk))
File "/tmp/autopkgtest-lxc.s1kd71lv/downtmp/build.f5O/src/fdroidserver/common.py",
line 2867, in verify_apk_signature
output = subprocess.check_output(args + [apk])
File "/usr/lib/python3.7/subprocess.py", line 411, in check_output
**kwargs).stdout
File "/usr/lib/python3.7/subprocess.py", line 488, in run
with Popen(*popenargs, **kwargs) as process:
File "/usr/lib/python3.7/subprocess.py", line 800, in __init__
restore_signals, start_new_session)
File "/usr/lib/python3.7/subprocess.py", line 1551, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
OSError: [Errno 8] Exec format error: '/usr/bin/apksigner'
----------------------------------------------------------------------
Ran 33 tests in 23.562s
FAILED (errors=3)
localmodule: /tmp/autopkgtest-lxc.s1kd71lv/downtmp/build.f5O/src
testdir /tmp/autopkgtest-lxc.s1kd71lv/downtmp/build.f5O/src/.testfiles/test_prepare_sources_refresh9imthzf4
testdir /tmp/autopkgtest-lxc.s1kd71lv/downtmp/build.f5O/src/.testfiles/test_verify_apksaz89f5kw
autopkgtest [14:00:31]: test command2: -----------------------]
autopkgtest [14:00:31]: test command2: - - - - - - - - - - results -
- - - - - - - - -
command2 FAIL non-zero exit status 1
autopkgtest [14:00:31]: @@@@@@@@@@@@@@@@@@@@ summary
command1 PASS
command2 FAIL non-zero exit status 1
Reply to: