Hi,

Anyway, I've got a draft change in pbuilder git tree to avoid using
cowbuilder; hopefully this will fix the symptom.

It's an interesting problem that some tests don't pass when cowdancer
is loaded, but we are overriding some system calls in unnatural ways
that it can fail.

It would be interesting to see how the test case gets reduced to a
smaller case though, because the failing test case looks like a large
test to me.


At Tue, 20 Sep 2011 12:06:40 +0200,
Arno T$(D+S(Bll wrote:
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hello Junichi,
> 
> On 20.09.2011 07:25, Junichi Uekawa wrote:
> > That said, what's the testcase that's failing and how do I reproduce it?
> > I assume it should be a very small testcase?
> 
> try to rebuild the latest upload of Lighttpd which is available in Sid
> and Testing in cowbuilder. It should fail. If you try the same in a pure
> pbuilder environment the build should run through.
> 
> The culprit are the regression checks after the build which fail in
> cowbuilder (although it could also be possible, gcc produces faulty
> binaries in the cowbuilder environment). Those checks test several
> components of Lighttpd, including but not limited to some socket
> operations, file retrieval etc. Unfortunately I can't limit this any
> further, as several test runs yield different results.
> 
> To reproduce do as follows (presuming you are on Sid):
> 
> $ apt-get source lighttpd
> ...
> dpkg-source: info: extracting lighttpd in lighttpd-1.4.29
> dpkg-source: info: unpacking lighttpd_1.4.29.orig.tar.gz
> dpkg-source: info: unpacking lighttpd_1.4.29-1.debian.tar.gz
> $ cowbuilder --build lighttpd_1.4.29-1.dsc
> ...
> make  check-TESTS
> make[4]: Entering directory `/tmp/buildd/lighttpd-1.4.29/tests'
> preparing infrastructure                PASS: prepare.sh
> ./cachable.t .......... ok
> ./core-404-handler.t .. 1/8 #
> # status failed: expected '200', got '500'
> ...
> dh_auto_test: make -j1 check returned exit code 2
> make: *** [build] Error 29
> dpkg-buildpackage: error: debian/rules build gave error exit status 2
> E: Failed autobuilding of package
> I: unmounting /var/cache/pbuilder/ccache filesystem
> I: unmounting dev/pts filesystem
> I: unmounting proc filesystem
>  -> Cleaning COW directory
>   forking: rm -rf /var/cache/pbuilder/build//cow.1280
> 
> Doing the very same in pbuilder should not have the problem:
> 
> 
> # pbuilder --build lighttpd_1.4.29-1.dsc
> ...
> make[4]: Entering directory `/tmp/buildd/lighttpd-1.4.29/tests'
> preparing infrastructure                PASS: prepare.sh
> ./cachable.t .......... ok
> ./core-404-handler.t .. ok
> ./core-condition.t .... ok
> ./core-keepalive.t .... ok
> ./core-request.t ...... ok
> ./core-response.t ..... ok
> ./core-var-include.t .. ok
> ./core.t .............. ok
> ./lowercase.t ......... ok
> ./mod-access.t ........ ok
> ./mod-auth.t .......... ok
> ./mod-cgi.t ........... ok
> ./mod-compress.t ...... ok
> ./mod-fastcgi.t ....... ok
> ./mod-proxy.t ......... ok
> ./mod-redirect.t ...... ok
> ./mod-rewrite.t ....... ok
> ./mod-secdownload.t ... ok
> ./mod-setenv.t ........ ok
> ./mod-ssi.t ........... ok
> ./mod-userdir.t ....... ok
> ./request.t ........... ok
> ./symlink.t ........... ok
> All tests successful.
> Files=23, Tests=346,  9 wallclock secs ( 0.35 usr  0.36 sys +  3.62 cusr
>  3.17 csys =  7.50 CPU)
> Result: PASS
> PASS: run-tests.pl
> cleaning up                             PASS: cleanup.sh
> ==================
> All 3 tests passed
> ==================
> 
> 
> 
> - -- 
> with kind regards,
> Arno T$(D+S(Bll
> IRC: daemonkeeper on Freenode/OFTC
> GnuPG Key-ID: 0x9D80F36D
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.11 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
> 
> iQIcBAEBAgAGBQJOeGWvAAoJEMcrUe6dgPNtCWMQAI/uHMjzLyS9+op8xT16xFd7
> 6fFr5F6r0iukUfZVPRJIcWzKGSs7Ke8941Zrak5D0+aurNmGiYHiMhc879M72QRf
> VrqtKwY91PBzWQP4/rYICxUaaXsdXsm6CCGd7u1GEO2O3EhzEFji2ZDijU1R4SEa
> P5V6T8cs33HvjojGP4BZanpg6RFw1xZsTQaSPQAejmR9p+t3Ap6fQLiqO22IgG/W
> M02Gl7u+KfhTIYrH9v2L97vVweh00LSku6f+XZ7ung00iREjqeuhmm1AUhCkOWj1
> ejTF/vNgy+Qppo6zfAkiCySCj0ZrWGDNG2uHm/b7jF74gnuHYlMJ6MTgtW8xga4G
> rv5OnrH3wIu5UAguXG0896OLXXfveWHqRhpkRoviAXbD6KwUyQ+z0k9Z5T2pYxrM
> yDoqC307o8Nl2Tx8q5kvEYnR4MtyEW+Pr1hR3TBWf9pjA/VlQ9eV6WA9yQ6KOQq5
> 3i5lvXaGFGaGK0tJdfGRHa/rWdunbDr5DzU2WDTrsgTR8u14jGq3buJtv3Xbukd2
> JSzf+3rxZiFvKC6zE7Nph5AlYYrVZ7/3LLc93L/vsYlHFn9Y71KHXnLMnGutjQKr
> h+tRiz8FpDQtikc1crF2W6syYpYe6rmiiwNF2XZCS97nZPzxdynyHnDScQtdCrPy
> sfj+OsQI3Nc9e/o3RCjP
> =ifsP
> -----END PGP SIGNATURE-----
> 



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to