Package: aria2 Version: 1.32.0-1 Hello,
I've been investigating an issue with the autopkgtest failing on armhf [1] and I suspect it is due to the python3 http server being too slow to start on that arch. The attached patch changes the behavior to wait for the HTTP socket to be listening or up to 30s. Regards, Simon [1] http://autopkgtest.ubuntu.com/packages/aria2
--- debian/tests/httpfile.orig 2017-10-11 17:06:18.711662102 +0000 +++ debian/tests/httpfile 2017-10-11 17:08:03.917484633 +0000 @@ -8,7 +8,10 @@ HTTP_PID=$! trap "kill $HTTP_PID" EXIT TERM INT # let the http server settle down -sleep 2 +for i in $(seq 30); do + ss -nlt | grep -qF :$PORT && break + sleep 1 +done aria2c -d $ADTTMP http://localhost:$PORT/debian/control
signature.asc
Description: OpenPGP digital signature