Bug#914488: git breaks xandikos autopkgtest

2018-11-23 Thread Jonathan Nieder
Jelmer Vernooij wrote:

> Add patch 01_sigterm_handler: don't install broken sigterm handler.
> Closes: #903854, #914488

Thanks!  That was fast.



Bug#914488: git breaks xandikos autopkgtest

2018-11-23 Thread Jelmer Vernooij
On Fri, Nov 23, 2018 at 12:34:24PM -0800, jrnie...@gmail.com wrote:
> The xandikos autopkgtest is either flaky or is experiencing a regression
> with the Git update 2.19.1 -> 2.19.2.  The litmus test times out[1].
> 
> Known issue?  Anything I can do to help track it down?

I'd be very surprised if this is related to the Git update.

Digging a little bit further, this appears to be due to the wonky way
that signals are handled in python and so in some cases SIGTERM just
appears to end up printing the SystemExit traceback rather than
actually exiting.

Fix coming up.

-- 
Jelmer Vernooij 
PGP Key: https://www.jelmer.uk/D729A457.asc


signature.asc
Description: PGP signature


Bug#914488: git breaks xandikos autopkgtest

2018-11-23 Thread jrnieder
Package: xandikos
Version: 0.0.11-1
X-Debbugs-Cc: debian...@lists.debian.org, g...@packages.debian.org
User: debian...@lists.debian.org
Usertags: breaks needs-update

The xandikos autopkgtest is either flaky or is experiencing a regression
with the Git update 2.19.1 -> 2.19.2.  The litmus test times out[1].

Known issue?  Anything I can do to help track it down?

[1] 
https://ci.debian.net/data/autopkgtest/testing/amd64/x/xandikos/1365618/log.gz:
127.0.0.1 - - [23/Nov/2018 06:27:41] "MKCOL /litmus/mkcolbody HTTP/1.1" 415 40
Traceback (most recent call last):
  File "/usr/lib/python3.6/wsgiref/handlers.py", line 138, in run
self.finish_response()
  File "/usr/lib/python3.6/wsgiref/handlers.py", line 180, in finish_response
self.write(data)
  File "/usr/lib/python3.6/wsgiref/handlers.py", line 279, in write
self._write(data)
  File "/usr/lib/python3.6/wsgiref/handlers.py", line 453, in _write
result = self.stdout.write(data)
  File "/usr/lib/python3.6/socketserver.py", line 800, in write
self._sock.sendall(b)
  File "/usr/lib/python3/dist-packages/xandikos/web.py", line 1062, in 
handle_sigterm
sys.exit(0)
SystemExit: 0
+ cat /tmp/tmp.eLbieYSHTl
+ wait 4050
autopkgtest [09:14:20]: ERROR: timed out on command "su -s /bin/bash debci -c 
set -e; export USER=`id -nu`; . /etc/profile >/dev/null 2>&1 || true;  . 
~/.profile >/dev/null 2>&1 || true; 
buildtree="/tmp/autopkgtest-lxc.cvzz263o/downtmp/build.xi9/src"; mkdir -p -m 
1777 -- "/tmp/autopkgtest-lxc.cvzz263o/downtmp/litmus-artifacts"; export 
AUTOPKGTEST_ARTIFACTS="/tmp/autopkgtest-lxc.cvzz263o/downtmp/litmus-artifacts"; 
export ADT_ARTIFACTS="$AUTOPKGTEST_ARTIFACTS"; mkdir -p -m 755 
"/tmp/autopkgtest-lxc.cvzz263o/downtmp/autopkgtest_tmp"; export 
AUTOPKGTEST_TMP="/tmp/autopkgtest-lxc.cvzz263o/downtmp/autopkgtest_tmp"; export 
ADTTMP="$AUTOPKGTEST_TMP"; export DEBIAN_FRONTEND=noninteractive; export 
LANG=C.UTF-8; export DEB_BUILD_OPTIONS=parallel=2; unset LANGUAGE LC_CTYPE 
LC_NUMERIC LC_TIME LC_COLLATE   LC_MONETARY LC_MESSAGES LC_PAPER LC_NAME 
LC_ADDRESS   LC_TELEPHONE LC_MEASUREMENT LC_IDENTIFICATION LC_ALL;rm -f 
/tmp/autopkgtest_script_pid; set -C; echo $$ > /tmp/autopkgtest_script_pid; set 
+C; trap "rm -f /tmp/autopkgtest_script_pid" EXIT INT QUIT PIPE; cd 
"$buildtree"; chmod +x 
/tmp/autopkgtest-lxc.cvzz263o/downtmp/build.xi9/src/debian/tests/litmus; touch 
/tmp/autopkgtest-lxc.cvzz263o/downtmp/litmus-stdout 
/tmp/autopkgtest-lxc.cvzz263o/downtmp/litmus-stderr; 
/tmp/autopkgtest-lxc.cvzz263o/downtmp/build.xi9/src/debian/tests/litmus 2> 
>(tee -a /tmp/autopkgtest-lxc.cvzz263o/downtmp/litmus-stderr >&2) > >(tee -a 
/tmp/autopkgtest-lxc.cvzz263o/downtmp/litmus-stdout);" (kind: test)
autopkgtest [09:14:20]: test litmus: ---]
autopkgtest [09:14:20]: test litmus:  - - - - - - - - - - results - - - - - - - 
- - -
litmus   FAIL timed out