Your message dated Fri, 28 May 2010 21:32:57 +0000
with message-id <e1oi7an-0005lm...@ries.debian.org>
and subject line Bug#582800: fixed in albatross 1.36-5.4
has caused the Debian Bug report #582800,
regarding src:albatross: Failed tests leave test server running
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 ow...@bugs.debian.org
immediately.)


-- 
582800: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=582800
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:albatross
Version: 1.36-5.3
Severity: serious
Tags: patch
Justification: Policy 4.6

Should the tests fail, one is left with a running test server, which
causes the next build to fail:
| # run the session server
| PYTHONPATH=`pwd` session-server/al-session-daemon -k $MY_DIR/sess.pid -l 
$MY_DIR/log start
| /tmp/buildd/albatross-1.36/albatross/context.py:20: DeprecationWarning: the 
sha module is deprecated; use the hashlib module instead
|   import hmac, sha
| Traceback (most recent call last):
|   File "session-server/al-session-daemon", line 134, in start
|     self.server = simpleserver.Server(self.port, self.debugfile)
|   File "/tmp/buildd/albatross-1.36/albatross/simpleserver.py", line 342, in 
__init__
|     self.listen_sock.bind(('', port))
|   File "<string>", line 1, in bind
| error: [Errno 98] Address already in use
| make: *** [test-build-stamp] Error 1
| dpkg-buildpackage: error: debian/rules build gave error exit status 2

Patch attached.

SR

-- 
Stefano Rivera
  http://tumbleweed.org.za/
  H: +27 21 465 6908 C: +27 72 419 8559  UCT: x3127
diff -u albatross-1.36/debian/rules albatross-1.36/debian/rules
--- albatross-1.36/debian/rules
+++ albatross-1.36/debian/rules
@@ -24,12 +24,15 @@
 test-build: test-build-stamp
 test-build-stamp:
 	dh_testdir
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
 	# run the session server
 	PYTHONPATH=`pwd` session-server/al-session-daemon -k $$MY_DIR/sess.pid -l $$MY_DIR/log start
-	# run the tests
-	make -C test all
-	# stop the session server
-	PYTHONPATH=`pwd` session-server/al-session-daemon -k $$MY_DIR/sess.pid -l $$MY_DIR/log stop
+	# run the tests, stop the session server
+	make -C test all; \
+		result=$$?; \
+		PYTHONPATH=`pwd` session-server/al-session-daemon -k $$MY_DIR/sess.pid -l $$MY_DIR/log stop; \
+		exit $$result
+endif
 	touch $@
 
 # Targets for building different parts of the package

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: albatross
Source-Version: 1.36-5.4

We believe that the bug you reported is fixed in the latest version of
albatross, which is due to be installed in the Debian FTP archive:

albatross_1.36-5.4.diff.gz
  to main/a/albatross/albatross_1.36-5.4.diff.gz
albatross_1.36-5.4.dsc
  to main/a/albatross/albatross_1.36-5.4.dsc
python-albatross-common_1.36-5.4_all.deb
  to main/a/albatross/python-albatross-common_1.36-5.4_all.deb
python-albatross-doc_1.36-5.4_all.deb
  to main/a/albatross/python-albatross-doc_1.36-5.4_all.deb
python-albatross_1.36-5.4_all.deb
  to main/a/albatross/python-albatross_1.36-5.4_all.deb



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 582...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Stefano Rivera <stef...@rivera.za.net> (supplier of updated albatross 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 ftpmas...@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 23 May 2010 21:04:29 +0200
Source: albatross
Binary: python-albatross python-albatross-common python-albatross-doc
Architecture: source all
Version: 1.36-5.4
Distribution: unstable
Urgency: low
Maintainer: Fabian Fagerholm <fa...@debian.org>
Changed-By: Stefano Rivera <stef...@rivera.za.net>
Description: 
 python-albatross - Toolkit for Stateful Web Applications
 python-albatross-common - Toolkit for Stateful Web Applications (common files)
 python-albatross-doc - documentation for the Albatross Web Toolkit
Closes: 582117 582800
Changes: 
 albatross (1.36-5.4) unstable; urgency=low
 .
   * Non-maintainer upload.
   * Python 2.6 support patch: __import__ now takes an optional level argument;
     account for this in SessionBase.decode_session. (Closes: #582117). Thanks
     to Colin Watson from Ubuntu for the patch.
   * Shut down test server if tests fail (Closes: #582800)
Checksums-Sha1: 
 18ca6950ff80f96ed0f807caa2c9f45d4d278442 2051 albatross_1.36-5.4.dsc
 05b7e7121589ace95323647a60d88da5daec3702 11624 albatross_1.36-5.4.diff.gz
 d2890cddd5d642c4406fbee1f8a464249c9dce8a 85604 
python-albatross_1.36-5.4_all.deb
 08ed2bb6eadf1994878a8e2774b3f23adbfd6539 53270 
python-albatross-common_1.36-5.4_all.deb
 235eb6aad0340cacf6c192fbd50312b97ffdd342 651912 
python-albatross-doc_1.36-5.4_all.deb
Checksums-Sha256: 
 f25e4233450abe279c06c437bbfce79cc555b26f88368181f9c8eaf7c0e0efac 2051 
albatross_1.36-5.4.dsc
 eeb687d7a2e20fd766ea42e15493571f6ce6ebeca56e84458886af4abcfc72e2 11624 
albatross_1.36-5.4.diff.gz
 f3ea8d316e9a59c58222479ca4160d70287afb7b2177fcfda0188228d7ada089 85604 
python-albatross_1.36-5.4_all.deb
 f9807d1f80e311de821e00ede1ae65fd71c42bc65233c8c5865e54fab2c70af4 53270 
python-albatross-common_1.36-5.4_all.deb
 1be5023e52f4306ca62f346d5ad99897978867ac382547b82cfac1d1bdb8cc00 651912 
python-albatross-doc_1.36-5.4_all.deb
Files: 
 5411c7a936255446eee5d3ccd213a636 2051 python optional albatross_1.36-5.4.dsc
 7c7a09ffcf5d7894d7bd1622aa1afba2 11624 python optional 
albatross_1.36-5.4.diff.gz
 4d95e6b158f11db758d315af42153cb0 85604 python optional 
python-albatross_1.36-5.4_all.deb
 cb42d4a9588a20171ffa823f66ab9db9 53270 python optional 
python-albatross-common_1.36-5.4_all.deb
 f12add471f6c426b74a372d2e74f9c80 651912 doc optional 
python-albatross-doc_1.36-5.4_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iQIcBAEBCAAGBQJL+YSTAAoJEC1Os6YBVHX1Z/oP/RE5XDEbIvI2d8xnv1Hbrpch
HvLx4wVL0NpDiaTxeQb5KcHAsDJZx0mxlNfqAlgf9V6fhMdZYO9pOjJgLPbm/VPn
jdE0GYO9xSeSpTO9fBAImrBHiGYE4cixSjZMjLPLCucYHVdF6qmlnWQKhUYUppvu
C9UBrOtt9gq+nHYSUAjbQvxWI4DQV2RJHZWu1ZVzqDl0FtWTs/zrtPYWCDbHvUm3
/zi3LfMCT5xdxg1zznjs6Q8k3UH1tYvgwZ7pffv9J2BQaok7cddG9C5zPg6GJDv2
drqS31z07upxYNqchiPvx48ZrK4ezH7pKMaNQdTk2jac+Hy4hbbcDy5uoad2Hf5g
Y9FPJcYW3RitMgboIc+Rgv4K0dwKl28WtIhY8YvTLjJ4iesoSBqAGKJ/oOW8xG6F
JWRQXPtK6FrPKA02o8i/B/wtna39cZBkks/Fs2QAtPwOEeGp6IRpwF8NfTY2cHak
GJ6mp2vlrPezRKSPtEpX2iSBcxLKfmwu74Uj0M5PQajSBEXZcbDM9Bb/jfdDo/vV
kSTZ78wQDwIW/XqSqUhQjg6uS+o4pTm7+CQSzQfG7UjK+uiPywjVkXxC5fE+yKUY
HTyceuXj80LUzm0OwBeDX5akaWYJvnGAeZLnyHNpeRNvJfH0y6etp/z4Bn67be+B
x6UDsP1YrQfVlmVtbgLQ
=+SLP
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to