Your message dated Fri, 09 Feb 2024 14:34:36 +0000
with message-id <[email protected]>
and subject line Bug#1063341: fixed in dgit 11.6
has caused the Debian Bug report #1063341,
regarding dgit test suite stunt http server mishandles HEAD
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1063341: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1063341
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: dgit
Version: 11.5
Severrity: serious
dgit's autopkgtest is failing and this is (at leasat one of the
reasons) preventing src:curl from migrating. I have investigated one
of the failing tests, dgits `clone-nogit` test case.
This failing test sets up a dummy HTTP server using
libhttp-server-simple-static-perl. It then runs a dgit operation
which involves dgit using libcurl (via libwww-curl-perl) to access
that server.
The failing HTTP transaction unfolds as follows: dgit asks for a
resource which the test case wants to reply to with 404.
libhttp-server-simple-static-perl doesn't handle that very nicely, so
dgit's stunt HTTP server perl script has ad-hoc code so make a
suitable 404 response.
For simplicity, the stunt server responds using HTTP/1.0. I straced
it so I could see the actual response (see below).
Observe that the httpd is responding to a HEAD request but it is
supplying a body. Apparently libcurl treats that as an error now.
The test ought to be fixed. But I will file a separate bug against
curl in case this is felt to be a compatibility hazard.
(The stunt http server is in src:dgit as tests/http-static-server.)
Ian.
30178 read(7, "H", 1) = 1
| 00000 48 H |
30178 read(7, "E", 1) = 1
| 00000 45 E |
30178 read(7, "A", 1) = 1
| 00000 41 A |
30178 read(7, "D", 1) = 1
| 00000 44 D |
30178 read(7, " ", 1) = 1
| 00000 20 |
30178 read(7, "/", 1) = 1
| 00000 2f / |
30178 read(7, "p", 1) = 1
| 00000 70 p |
...
30178 write(7, "HTTP/1.0 404 Not found\r\nContent-Type: text/html;
charset=ISO-8859-1\r\n\r\n<!DOCTYPE html\n\tPUBLIC \"-//W3C//DTD XHTML 1.0
Transitional//EN\"\n\t
\"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\">\n<html
xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"en-US\"
xml:lang=\"en-US\">\n<head>\n<title>Not found</title>\n<meta
http-equiv=\"Content-Type\" content=\"text/html; charset=iso-8859-1\"
/>\n</head>\n<body>\n<h1>Not found</h1>\n</body>\n</html>", 426) = 426
| 00000 48 54 54 50 2f 31 2e 30 20 34 30 34 20 4e 6f 74 HTTP/1.0 404 Not |
| 00010 20 66 6f 75 6e 64 0d 0a 43 6f 6e 74 65 6e 74 2d found..Content- |
| 00020 54 79 70 65 3a 20 74 65 78 74 2f 68 74 6d 6c 3b Type: text/html; |
| 00030 20 63 68 61 72 73 65 74 3d 49 53 4f 2d 38 38 35 charset=ISO-885 |
| 00040 39 2d 31 0d 0a 0d 0a 3c 21 44 4f 43 54 59 50 45 9-1....<!DOCTYPE |
| 00050 20 68 74 6d 6c 0a 09 50 55 42 4c 49 43 20 22 2d html..PUBLIC "- |
| 00060 2f 2f 57 33 43 2f 2f 44 54 44 20 58 48 54 4d 4c //W3C//DTD XHTML |
| 00070 20 31 2e 30 20 54 72 61 6e 73 69 74 69 6f 6e 61 1.0 Transitiona |
| 00080 6c 2f 2f 45 4e 22 0a 09 20 22 68 74 74 70 3a 2f l//EN".. "http:/ |
| 00090 2f 77 77 77 2e 77 33 2e 6f 72 67 2f 54 52 2f 78 /www.w3.org/TR/x |
| 000a0 68 74 6d 6c 31 2f 44 54 44 2f 78 68 74 6d 6c 31 html1/DTD/xhtml1 |
| 000b0 2d 74 72 61 6e 73 69 74 69 6f 6e 61 6c 2e 64 74 -transitional.dt |
| 000c0 64 22 3e 0a 3c 68 74 6d 6c 20 78 6d 6c 6e 73 3d d">.<html xmlns= |
| 000d0 22 68 74 74 70 3a 2f 2f 77 77 77 2e 77 33 2e 6f "http://www.w3.o |
| 000e0 72 67 2f 31 39 39 39 2f 78 68 74 6d 6c 22 20 6c rg/1999/xhtml" l |
| 000f0 61 6e 67 3d 22 65 6e 2d 55 53 22 20 78 6d 6c 3a ang="en-US" xml: |
| 00100 6c 61 6e 67 3d 22 65 6e 2d 55 53 22 3e 0a 3c 68 lang="en-US">.<h |
| 00110 65 61 64 3e 0a 3c 74 69 74 6c 65 3e 4e 6f 74 20 ead>.<title>Not |
| 00120 66 6f 75 6e 64 3c 2f 74 69 74 6c 65 3e 0a 3c 6d found</title>.<m |
| 00130 65 74 61 20 68 74 74 70 2d 65 71 75 69 76 3d 22 eta http-equiv=" |
| 00140 43 6f 6e 74 65 6e 74 2d 54 79 70 65 22 20 63 6f Content-Type" co |
| 00150 6e 74 65 6e 74 3d 22 74 65 78 74 2f 68 74 6d 6c ntent="text/html |
| 00160 3b 20 63 68 61 72 73 65 74 3d 69 73 6f 2d 38 38 ; charset=iso-88 |
| 00170 35 39 2d 31 22 20 2f 3e 0a 3c 2f 68 65 61 64 3e 59-1" />.</head> |
| 00180 0a 3c 62 6f 64 79 3e 0a 3c 68 31 3e 4e 6f 74 20 .<body>.<h1>Not |
| 00190 66 6f 75 6e 64 3c 2f 68 31 3e 0a 3c 2f 62 6f 64 found</h1>.</bod |
| 001a0 79 3e 0a 3c 2f 68 74 6d 6c 3e y>.</html> |
30178 close(7) = 0
--
Ian Jackson <[email protected]> These opinions are my own.
Pronouns: they/he. If I emailed you from @fyvzl.net or @evade.org.uk,
that is a private address which bypasses my fierce spamfilter.
--- End Message ---
--- Begin Message ---
Source: dgit
Source-Version: 11.6
Done: Ian Jackson <[email protected]>
We believe that the bug you reported is fixed in the latest version of
dgit, 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 [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Ian Jackson <[email protected]> (supplier of updated dgit 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 [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Fri, 09 Feb 2024 12:05:39 +0000
Source: dgit
Architecture: source
Version: 11.6
Distribution: unstable
Urgency: medium
Maintainer: Ian Jackson <[email protected]>
Changed-By: Ian Jackson <[email protected]>
Closes: 1056103 1063341
Changes:
dgit (11.6) unstable; urgency=medium
.
Improved behaviour:
* dgit: Delete the playground on success, by default.
[Report from gregor herrmann] Closes: #1056103.
.
Documentation:
* dgit(7): Don't falsely assert that *.dgit.d.o is usually `origin`.
* dgit-user(7): Deprioritise information about jessie.
.
Tests:
* autopkgtests: Install locales-all for i18n-messages test.
* Stunt httpd: don't respond to HEAD with 404+body. Closes: #1063341.
* autopkgtests: Reduce primary log size when running under autopkgtest:
Save the stderr/stdout to a file which appears (compressed) in
the artifacts, and is only printed if the test fails.
* Add comment about benchmarking of the gzip -1 flag on artifacts.
Checksums-Sha1:
33363f8dc098d45ef5ea699be62040cedb37aa18 1869 dgit_11.6.dsc
a58dc600e620eb9e80ea74c19c49890052e92ea5 686466 dgit_11.6.tar.gz
Checksums-Sha256:
9085e47035f6fa0c44cfef9b8b6d7181bf59c1dfeaa473362a9410c6615a84bc 1869
dgit_11.6.dsc
d57dedc49d42c3d23efa6506df124f4a4a2b0b77e9e4b2e83b2e29ca8e94ce74 686466
dgit_11.6.tar.gz
Files:
2acc1020517e3a4aa8505ae7e8df2f19 1869 devel optional dgit_11.6.dsc
d82e35b20d70812b73e47d40ae780785 686466 devel optional dgit_11.6.tar.gz
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEVZrkbC1rbTJl58uh4+M5I0i1DTkFAmXGL0wACgkQ4+M5I0i1
DTl/egf/XvoikfB7QB/niPraxsEnDUqn9CRO7aa6ECMIL9cR97U6bKo1D50BjPsy
TgLjrCQHpTsILuFUGBFOg4GFbQK8dLBeK5QKaMPan8fpmDLumAKKdKGkc4DcdUPg
SFghlDoTX4VV+AzGqB6RI+l5gyYaTBgktBUDofB4hljJULF2kY3s1C047uEcic/p
4aB2PKIRxCe43hHgHl9PTXWUVmPNS3R03LqWYPfbkimlbleayQPVJ9oAXfbDRA3+
d+yntpEQZxiWRrLulW+MDDxoZbi0X9wkdTolHbB2lirU1PgxiENBTOzE2V7kOuaZ
J4Qfaz9q3xBTASeyf70g0jNJX7kHHA==
=NyT2
-----END PGP SIGNATURE-----
--- End Message ---