#1009079 mdtraj: autopkgtest timeout on arm64 (downloading pdb file?)

Package:
src:mdtraj
Source:
mdtraj
Submitter:
Stuart Prescott
Date:
2022-06-01 16:51:03 UTC
Severity:
serious
Tags:
#1009079#5
Date:
2022-04-07 00:46:43 UTC
From:
To:
Dear Maintainer,

The autopkgtest tets for mdtraj attempts to download a pdb file and then use
that in calculations. This is failing (either all the time or intermittently)
with a timeout:

https://ci.debian.net/data/autopkgtest/unstable/arm64/m/mdtraj/20581005/log.gz

           except Empty:
E               traj = md.load_pdb('http://www.rcsb.org/pdb/files/2MI7.pdb')
E
E               # just for example, use the first frame as the 'native' conformation
E               q = best_hummer_q(traj, traj[0])"

rscb.org is not fast to serve up the pdb files, but I'm not sure if that is
the cause, whether the download is failing entirely, or whether the computation
that follows is just slow.

If this is an isolated use of a single pdb file in the tests, perhaps the
Debian package could carry that pdb file as some test data and patch the test
to use the local file instead.

An internest using test should also be marked as "needs-internet".

regards
Stuart

#1009079#10
Date:
2022-05-02 05:30:56 UTC
From:
To:
Hi,

I looked at the results of the autopkgtest of you package because it was
showing up as a regression for the upload of gcc-12.

Because the unstable-to-testing migration software now blocks on
regressions in testing, flaky tests, i.e. tests that flip between
passing and failing without changes to the list of installed packages,
are causing people unrelated to your package to spend time on these
tests.

Don't hesitate to reach out if you need help and some more information
from our infrastructure. Our arm64 workers are located in China, I
wouldn't be surprised if the required connection isn't optimal, so I
suspect increasing the timeout sufficiently is going to solve the issue,
although making it more robust against connection issues would be smart
too (e.g. retrying a small number of times in case of failure).

Also, as the autopkgtest spec says [1], please mark your test with the
"needs-internet" restriction.

Paul

[1]
https://salsa.debian.org/ci-team/autopkgtest/-/blob/master/doc/README.package-tests.rst

#1009079#17
Date:
2022-05-11 22:06:57 UTC
From:
To:
Dear maintainer,

I've prepared an NMU for mdtraj (versioned as 1.9.7-3.1) and
uploaded it to DELAYED/14. Please feel free to tell me if I
should cancel it.

cu
Adrian

#1009079#26
Date:
2022-05-26 11:05:13 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
mdtraj, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1009079@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Adrian Bunk <bunk@debian.org> (supplier of updated mdtraj package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 11 May 2022 23:49:37 +0300
Source: mdtraj
Architecture: source
Version: 1.9.7-3.1
Distribution: unstable
Urgency: medium
Maintainer: Debichem Team <debichem-devel@lists.alioth.debian.org>
Changed-By: Adrian Bunk <bunk@debian.org>
Closes: 1009079
Changes:
 mdtraj (1.9.7-3.1) unstable; urgency=medium
 .
   * Non-maintainer upload.
   * debian/tests/control: Add Restrictions: needs-internet
     (Closes: #1009079)
Checksums-Sha1:
 ec04c36652df3c0d11550c944a374772dd28ba68 2605 mdtraj_1.9.7-3.1.dsc
 d3cdd0818b7ce38af7ff367903faecc7d88eee20 298568 mdtraj_1.9.7-3.1.debian.tar.xz
Checksums-Sha256:
 359d1dda4050b265fa3c00baa9d229129843668a3ffb838de692f8e9cfc61f56 2605 mdtraj_1.9.7-3.1.dsc
 bdcdd99ca96c7c994f9cf94217c933a3c7ddbc6ebb7f2af93e7004f8d58cebfe 298568 mdtraj_1.9.7-3.1.debian.tar.xz
Files:
 762304962e2c2e5dec5474e970187ace 2605 python optional mdtraj_1.9.7-3.1.dsc
 be341981f22c83499e1f129ae54d58c4 298568 python optional mdtraj_1.9.7-3.1.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEOvp1f6xuoR0v9F3wiNJCh6LYmLEFAmJ8L+AACgkQiNJCh6LY
mLFcKg/8DkK1KBVtkDNycgt+8OM25GNpL7v2ODH8G6Ae74bSLYpDQrEe6+XgYRiI
2yHNvCEAC903d6mdNK4uLgFqFraMZ55d7At1v3mRUPxAWkgEhi7rC5Hx5U/JZQAQ
86miRXeB3GMvBB+HUMJerbaTfzVe2hfIAFbTSOyl4Pn0Sal645smdWm3cdadM06y
F3nNXUJN+TaFnAsWjsI7dgH27bIEpMO5ci5tgxt+HSRiDM6kPDFPsl9f3S8UTS3t
BKV4dXuqRhW5zwqUwvmI/ZrgGEqA7DT37u1GT3sL0qZ63t2a0tarsZwBZAWRqWCx
olnVMCQUWQZsULh8IgdzjbOPQpg1UJOwvIBOFcJ7OrXJlnduuG4WCKgUy9dVGy26
j0l2vPPsJ7cKs9Pp07mPKsjPSEZTM/AHWV44jSMNDx0t3bjzjPhV/any2n9r/v58
rsfyswZd79hAarBJtdUzfuQCDLEbDKSa3H9cSIofUDSSPl5nuJWEBAgAj9OG0ikh
oy99a0gSJG46OU9U66ZdPBHXP1Jd4RJu16bietdqyDdfeZDLvvrO5Nmkx8P1xKfb
5Uz8VeAJouQ+qdLorBm4bf6m2dt8lQ6H5s6HTVs7MDf0pKmVAbPn+jfE8UBhzzbr
qSah8hv6Nve2nmxwjdhZNZ/Rdi3TdZwddCsf/gDzzi4lVRq+vMM=
=bZt2
-----END PGP SIGNATURE-----

#1009079#31
Date:
2022-06-01 16:49:06 UTC
From:
To:
We believe that the bug you reported is fixed in the latest version of
mdtraj, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1009079@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Drew Parsons <dparsons@debian.org> (supplier of updated mdtraj package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
Format: 1.8
Date: Wed, 01 Jun 2022 18:02:27 +0200
Source: mdtraj
Architecture: source
Version: 1.9.7-4
Distribution: unstable
Urgency: medium
Maintainer: Debichem Team <debichem-devel@lists.alioth.debian.org>
Changed-By: Drew Parsons <dparsons@debian.org>
Closes: 1009079
Changes:
 mdtraj (1.9.7-4) unstable; urgency=medium
 .
   * debian/tests: add Restrictions: needs-internet
     (test_examples.py pulls a random PDB sample file from www.rcsb.org)
   * debian patch test_increase_timeout.patch increases TIMEOUT to
     180 sec in test_examples.py to allow for poor internet connections.
     Closes: #1009079.
   * Standards-Version: 4.6.1
Checksums-Sha1:
 559f78858b471735fe17b263e63c3d3291b4a5d6 2597 mdtraj_1.9.7-4.dsc
 3094912f23d87f6e99fa412f0161e0054569ff1d 299324 mdtraj_1.9.7-4.debian.tar.xz
Checksums-Sha256:
 c0532349b037525293715448027ef200b15a3f6e1eb633478efeeff125c00f07 2597 mdtraj_1.9.7-4.dsc
 1c1d4e8c1cb12f9d39ad26f092fd3130b7f8fe16cd8b816344a7e7699613c5df 299324 mdtraj_1.9.7-4.debian.tar.xz
Files:
 6d9979f167acfd2745e3b97702e96fa1 2597 python optional mdtraj_1.9.7-4.dsc
 c9b97788be223353f493d315cb85e19d 299324 python optional mdtraj_1.9.7-4.debian.tar.xz
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEEI8mpPlhYGekSbQo2Vz7x5L1aAfoFAmKXkvoACgkQVz7x5L1a
AfrwPw//afjm5QXTRHn9UgWUZxSfkNYJ3lrIV10I/5m119yBujo868Mtr5+I8bep
iBl0iIf19kmiWZPxhmgjas9vLamtHAeZCfUeXgnv4lW9DgFewU2tb/pVWiPIYyFn
w+c78dSqYXNwGZlfdNoSUtRDeiKjHWmPiTV5ncJdb5B41+DoIPUCg+F7wYU+3NfQ
ci7w0QpQur6P39yzywm/XhDVlGjTQ8vyJm+d/L9rRy98dO7VV83j5jWbADDW72sE
Li4uhFey1uAKDPIaKoOW8cP8I3U6T0x6kNX60ucxjwVu71xbEUFiM8FL94jTiAzB
mpxQWfvBoP3AKz84D9AHDumjOEQYq/EHLkYU3WQXdeusKpfZcnG1vc8KcGR73Bu+
9LDbs6cSFVZKpOTKTjQpfTHkP7gcNyQE01HUwot4gHM3NA3h3LMR+B/Ts4y2+2M/
w7jjQ9lG0o3hWSIX9p1ta59CfLjbD6e4i5XS5W8S4mjTlyRJ3Zd46fz84dS2Sibk
VQoqmNyI9zqnbBvGrPUd5znQNk5b3/9Zq/HJp/NrBpSwJIhZkF6N7g8MenC1xtgO
PrbT1PDJ+/ScNWerRBSOKvbr1WpoFvV43H5t2U8s4NwkXge2aeSuC/LkZ9ZK47MC
UzbllT0Ec/IlzuRV6IHJr/Fs6SxbK/hxoQD7tTA5GuPVTDycR4o=
=UUYE
-----END PGP SIGNATURE-----