Your message dated Tue, 27 May 2014 21:37:57 +0000
with message-id <[email protected]>
and subject line Bug#747466: fixed in json-schema-validator 2.3.1-3
has caused the Debian Bug report #747466,
regarding autopkgtest fails due to stderr, and does not test installed package
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.)


-- 
747466: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=747466
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: json-schema-validator
Version: 2.3.1-2
User: [email protected]
Usertags: autopkgtest

Hello,

thanks for adding an autopkgtest to json-schema-validator!

However, it fails [1] because of Python unittest's unfortunate habit
of writing all the test output to stderr by default. (It will also
fail on http://ci.debian.net, but that hasn't picked it up yet). This
can easily be rectified by adding "Restrictions: allow-stderr" to
debian/tests/control, or by redirecting the test stderr to stdout with
2>&1.

However, the deeper problem with that new test is that it runs tests
against the build tree, not the installed package. The test does not
even depend on python-json-schema-validator. So this achieves nothing
to prove that the built python-json-schema-validator package is
actually working.

One way is to find an easy way to run the upstream test suite (from
the source tree) against the installed package. A common trick is to
copy just the tests directory to e. g. $ADTTMP and run it there, so
that any $PYTHONPATH that the test suite may set will be rendered
ineffective.

If that turns out to be too hard, I suggest to just write a simple
smoketest which imports the module and call a simple function from it.
This proves that the package has the right contents, the dh_* magic
worked, and there is no crash on import. The fine details on the inner
workings can be left to running the upstream tests against the build
tree during package build.

Thanks for considering,

Martin

[1] 
https://jenkins.qa.ubuntu.com/job/utopic-adt-json-schema-validator/ARCH=amd64,label=adt/1/console
-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: json-schema-validator
Source-Version: 2.3.1-3

We believe that the bug you reported is fixed in the latest version of
json-schema-validator, 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.
Neil Williams <[email protected]> (supplier of updated json-schema-validator 
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: Tue, 27 May 2014 21:57:02 +0100
Source: json-schema-validator
Binary: python-json-schema-validator python-json-schema-validator-doc
Architecture: source all
Version: 2.3.1-3
Distribution: unstable
Urgency: medium
Maintainer: Neil Williams <[email protected]>
Changed-By: Neil Williams <[email protected]>
Description: 
 python-json-schema-validator - JSON schema validation utility
 python-json-schema-validator-doc - JSON schema validation utility
Closes: 747466
Changes: 
 json-schema-validator (2.3.1-3) unstable; urgency=medium
 .
   * Allow stderr and test the installed package using
     autopkgtest (Closes: #747466)
Checksums-Sha1: 
 d85a0c2abe0b30ca19c04149b8431d7d76aecaab 2427 json-schema-validator_2.3.1-3.dsc
 8c9f96e24fdf8a66d6b35e0d5fb518f03b878037 3420 
json-schema-validator_2.3.1-3.debian.tar.xz
 dda87c00b77cfd5a5b0ac29994022b6d31e0a88b 17024 
python-json-schema-validator_2.3.1-3_all.deb
 1ceacff1de1916ff47f88d42a4d22f828230da0e 26498 
python-json-schema-validator-doc_2.3.1-3_all.deb
Checksums-Sha256: 
 7f11018f2bf79f2ee911cc9344501ec6a8581a9fd7ea79ab8af92089d48590e5 2427 
json-schema-validator_2.3.1-3.dsc
 a9f1be239ba12bb1e5455b97a112b282d24c38bba7c78e6e35d16892a3fabbff 3420 
json-schema-validator_2.3.1-3.debian.tar.xz
 2eb4d9a2d7adc7896453b621047a8027018ecab386fe49fc1b6e2869c204c4a9 17024 
python-json-schema-validator_2.3.1-3_all.deb
 d36120f16357805e3ebb47db4a4d83232b6c999e36b52de3998356d849c8b284 26498 
python-json-schema-validator-doc_2.3.1-3_all.deb
Files: 
 14acdd3f94245f9b64b5a8e14e8e204b 17024 python optional 
python-json-schema-validator_2.3.1-3_all.deb
 00e9d4c287ac8eae2b89303964899fd6 26498 doc optional 
python-json-schema-validator-doc_2.3.1-3_all.deb
 385ca28f2340b7411f992e2b65a2f46e 2427 python optional 
json-schema-validator_2.3.1-3.dsc
 650577bdd92110dafd641b9ddf1fd557 3420 python optional 
json-schema-validator_2.3.1-3.debian.tar.xz

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQIcBAEBCAAGBQJThPyPAAoJEPFn5DyBQ7aC+eYP/11PDdD/aph1geeMY2ButVrV
QIAVMOvjVYxOqlcXZnVzKRe/Hm/+JSZf7aOfckABGSw1ViFljchP2JOdaQsHqGCq
PH4gkCAN4gPHi72Vb/sa5ZoQ+sUcpBBuhE10OjjqLai7Ld90rshZxezgXiJecBOY
bDv3RG0KaqyKVpehnjm2ywYQZQys8GswlKAqunEmCSnjrULvcHaI1A2dZF74y5FH
m666WlbRxdRyh0A4OgjgtclY8IvhNrt7gA0c1faV960AhFzXFWZ7NAvA3x58Z0fS
+XLBWHNJ0dmIIpUoN4i76QB2E8q+kCx6h97+Q8/yt/n+nGaKu7mTitLsS1cj2fx7
ovN0JVZVy4XNUxQxeNwO9fvDJAq5AAWKHBSYeVOKE5oeDylgL/oyR9c7B7wGLAIW
OPfqVZZOsjrlKlKBCpi5Ed2ZekUAk6BHfVunIssbLWoVqg92NNBCPhO/5B22m8kY
KDni6kGxFvErRJ8peTHGyvtTzq9NrztZs0OJy3AyluJQf/mRXQ43WfKp8+6oeRtM
fzzu7KrwzjYqeyHufI5Wau17CXfGFbD7qvKjnBDx0qhZV3XbzHiisWJbZWZ5BA5H
aHBdIEnIzvivXEgg/Fy6iNiPVXVvqUR8lbAZAv7uuOagxwhNsa77QfzFJkv22+M8
KT1f+FGHV7H2p7aumpoZ
=5qsJ
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to