Bug#687402: beanstalkd: FTBFS: tests failed

2012-10-08 Thread Keith Rarick
Small update: I've reproduced this myself. It seems to be
because of a difference in FIU from 0.14 to 0.90.


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



Bug#687402: beanstalkd: FTBFS: tests failed

2012-10-08 Thread Keith Rarick
Indeed, the command line flags for fiu-ctrl have changed.
The old flags (-e and -d) are still accepted but sliently
ignored; instead of a proper error message, it simply
produced incorrect behavior.

I updated the tests that use FIU and now all tests pass
for me. You can see the change at

https://github.com/kr/beanstalkd/compare/fiu

I'm set to make a bugfix release (1.4.7) but that's, ironically,
a more laborious process than actually fixing the bug. Or,
if it's not hard, feel free to include this as a debian-specific
patch. The diff is tiny and I don't expect this situation to
impact anyone who's not packaging beanstalkd in debian
or a debian-derived environment.


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



Bug#687402: beanstalkd: FTBFS: tests failed

2012-10-08 Thread Keith Rarick
On Mon, Oct 8, 2012 at 12:15 AM, Keith Rarick k...@xph.us wrote:
 You can see the change at

 https://github.com/kr/beanstalkd/compare/fiu

Just to be really explicit, the only relevant change right
now is https://github.com/kr/beanstalkd/commit/3176e28.

That compare view also lists another patch, for dprintf,
which was made in beanstalkd after 1.4.6 and I believe is
already being applied by debian.


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



Bug#687402: beanstalkd: FTBFS: tests failed

2012-10-08 Thread Serafeim Zanikolas
On Mon, Oct 08, 2012 at 12:20:11AM -0700, Keith Rarick wrote:
 On Mon, Oct 8, 2012 at 12:15 AM, Keith Rarick k...@xph.us wrote:
  You can see the change at
 
  https://github.com/kr/beanstalkd/compare/fiu

Thanks. No need for an upstream release.

I'll also drop -i from the fiu-ctrl invocation (it's silently ignored too).

-- 
Every great idea is worthless without someone to do the work. --Neil Williams


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



Bug#687402: beanstalkd: FTBFS: tests failed

2012-09-26 Thread Serafeim Zanikolas
That's fine Keith. Let me know please when you have something ready.

-- 
Every great idea is worthless without someone to do the work. --Neil Williams


signature.asc
Description: Digital signature


Bug#687402: beanstalkd: FTBFS: tests failed

2012-09-25 Thread Serafeim Zanikolas
Keith,

On Mon, Sep 24, 2012 at 05:03:45PM -0700, Keith Rarick wrote:
 If libevent 1.4 is not an option, I'll get the 1.4.x series of beanstalkd
 working with libevent 2 and make a bugfix release.

Not, it's not an option.

 Should I do that?

Your previous email sort of implied that you wouldn't do that.

If that's not the case, and you don't mind supporting 1.4.x for some years to
come, then by all means. But please, whatever you choose, stick to that.

If you confirm, I'll close #688244 (see bugs.debian.org/688244)

-- 
Every great idea is worthless without someone to do the work. --Neil Williams


signature.asc
Description: Digital signature


Bug#687402: beanstalkd: FTBFS: tests failed

2012-09-25 Thread Keith Rarick
Hey, sorry, I didn't mean to imply that I wouldn't make a
fix. I said before I'm happy to maintain 1.4.x for several
years and that's still true.

As part of my responsibility maintaining 1.4.x, I was just
trying to start with the most expedient reasonable option,
which would have been to use libevent 1.4 if that were
possible. Since it's not possible, I'll absolutely make sure
that beanstalkd 1.4.x works with libevent 2.


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



Bug#687402: beanstalkd: FTBFS: tests failed

2012-09-24 Thread Keith Rarick
If libevent 1.4 is not an option, I'll get the 1.4.x series of beanstalkd
working with libevent 2 and make a bugfix release.

Should I do that?


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



Bug#687402: beanstalkd: FTBFS: tests failed

2012-09-19 Thread Serafeim Zanikolas
Hi Keith,

beanstalkd 1.4.6 does not pass anymore the test binlog-diskfull-delete.sh.
(Just a reminder: 1.4.6 is the version intended for the upcoming Debian
stable, since 1.5  1.6 had failing tests and were not fixed before the Debian
freeze deadline.)

On Wed, Sep 12, 2012 at 03:07:51PM +0200, Lucas Nussbaum wrote:
 Source: beanstalkd
 Version: 1.4.6-3
 Severity: serious
 Tags: wheezy sid
 User: debian...@lists.debian.org
 Usertags: qa-ftbfs-20120912 qa-ftbfs
 Justification: FTBFS in wheezy on amd64
 
 Hi,
 
 During a rebuild of all packages in *wheezy*, your package failed to
 build on amd64.
 
 Relevant part:
  make[1]: Entering directory `/«PKGBUILDDIR»'
  gcc -DHAVE_CONFIG_H -I. -g -O2  -Wall -Werror -I/usr/include -c -o 
  cutgen.o cutgen.c
  gcc  -g -O2  -Wall -Werror -I/usr/include  -L/usr/lib -o cutgen cutgen.o  
  -levent -levent  -levent
  mkdir -p tests
  ./cutgen -o tests/cutcheck.c ./tests/test_job.c ./tests/test_pq.c
- parsing './tests/test_job.c'... done.
- parsing './tests/test_pq.c'... done.
  gcc -DHAVE_CONFIG_H -I. -g -O2  -Wall -Werror -I/usr/include -c -o 
  tests/cutcheck.o tests/cutcheck.c
  gcc -DHAVE_CONFIG_H -I. -g -O2  -Wall -Werror -I/usr/include -c -o 
  cut.o cut.c
  gcc -DHAVE_CONFIG_H -I. -g -O2  -Wall -Werror -I/usr/include -c -o 
  tests/test_job.o tests/test_job.c
  gcc -DHAVE_CONFIG_H -I. -g -O2  -Wall -Werror -I/usr/include -c -o 
  tests/test_pq.o tests/test_pq.c
  gcc  -g -O2  -Wall -Werror -I/usr/include  -L/usr/lib -o tests/cutcheck 
  tests/cutcheck.o cut.o binlog.o conn.o job.o ms.o net.o port.o pq.o 
  primes.o prot.o tube.o util.o tests/test_job.o tests/test_pq.o  -levent 
  -levent  -levent
  tests/cutcheck
  
  0..   10...
  
  13 tests; 0 failures; 0 errors.
  SRCDIR=. ./check.sh ./sh-tests/*.commands sh-tests/*.sh
  loopback interface is configured, getting on with tests
  ./sh-tests/allow-underscore.commands
   ./beanstalkd -l 127.0.0.1 -p 40874 -z 10 
  Started beanstalkd (pid: 14488), listening on port 40874
[..]
  Started beanstalkd (pid: 14595), listening on port 41544
  sh-tests/binlog-diskfull-delete.sh
  fiu-run -x ./beanstalkd -l 127.0.0.1 -p 32452 -b /tmp/bnch14602.d -s 1000 
  Started beanstalkd (pid: 14605), listening on port 32452
  4,5c4,5
   OUT_OF_MEMORY
 
   OUT_OF_MEMORY
 
  ---
   INSERTED 9
 
   INSERTED 10
 
  FAIL: sh-tests/binlog-diskfull-delete.sh
  make[1]: *** [check-shell] Error 1

1.4.6 used to pass over a year ago (1.4.6 is what was shipped in the current
Debian stable) but it now fails with an OOM protocol error.

The failure is reproducible on amd64 and i686 (I'd guess in all arches).
Since there's been no code changes in the meantime, I'd guess this might be
due to changes in dependencies.

You can compare the list of dependencies from the failing and the latest
successful builds on amd64 from the pages below (libevent stands out; changed
from libevent-core-1.4-2 to libevent-core-2.0-5).

failing build log:
http://people.debian.org/~lucas/logs/2012/09/12/beanstalkd_1.4.6-3_wheezy.log

latest successful build log:
https://buildd.debian.org/status/fetch.php?pkg=beanstalkdarch=amd64ver=1.4.6-3stamp=1313331895

In replies, please keep the bug report in CC.

cheers,
sez

-- 
Every great idea is worthless without someone to do the work. --Neil Williams


signature.asc
Description: Digital signature


Bug#687402: beanstalkd: FTBFS: tests failed

2012-09-19 Thread Keith Rarick
A number of people have reported problems using libevent 2.
I'd suggest sticking to libevent 1.4; that is the version that
beanstalkd was developed and tested with.


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



Bug#687402: beanstalkd: FTBFS: tests failed

2012-09-12 Thread Lucas Nussbaum
Source: beanstalkd
Version: 1.4.6-3
Severity: serious
Tags: wheezy sid
User: debian...@lists.debian.org
Usertags: qa-ftbfs-20120912 qa-ftbfs
Justification: FTBFS in wheezy on amd64

Hi,

During a rebuild of all packages in *wheezy*, your package failed to
build on amd64.

Relevant part:
 make[1]: Entering directory `/«PKGBUILDDIR»'
 gcc -DHAVE_CONFIG_H -I. -g -O2  -Wall -Werror -I/usr/include -c -o 
 cutgen.o cutgen.c
 gcc  -g -O2  -Wall -Werror -I/usr/include  -L/usr/lib -o cutgen cutgen.o  
 -levent -levent  -levent
 mkdir -p tests
 ./cutgen -o tests/cutcheck.c ./tests/test_job.c ./tests/test_pq.c
   - parsing './tests/test_job.c'... done.
   - parsing './tests/test_pq.c'... done.
 gcc -DHAVE_CONFIG_H -I. -g -O2  -Wall -Werror -I/usr/include -c -o 
 tests/cutcheck.o tests/cutcheck.c
 gcc -DHAVE_CONFIG_H -I. -g -O2  -Wall -Werror -I/usr/include -c -o cut.o 
 cut.c
 gcc -DHAVE_CONFIG_H -I. -g -O2  -Wall -Werror -I/usr/include -c -o 
 tests/test_job.o tests/test_job.c
 gcc -DHAVE_CONFIG_H -I. -g -O2  -Wall -Werror -I/usr/include -c -o 
 tests/test_pq.o tests/test_pq.c
 gcc  -g -O2  -Wall -Werror -I/usr/include  -L/usr/lib -o tests/cutcheck 
 tests/cutcheck.o cut.o binlog.o conn.o job.o ms.o net.o port.o pq.o primes.o 
 prot.o tube.o util.o tests/test_job.o tests/test_pq.o  -levent -levent  
 -levent
 tests/cutcheck
 
 0..   10...
 
 13 tests; 0 failures; 0 errors.
 SRCDIR=. ./check.sh ./sh-tests/*.commands sh-tests/*.sh
 loopback interface is configured, getting on with tests
 ./sh-tests/allow-underscore.commands
  ./beanstalkd -l 127.0.0.1 -p 40874 -z 10 
 Started beanstalkd (pid: 14488), listening on port 40874
 ./sh-tests/delete_ready.commands
  ./beanstalkd -l 127.0.0.1 -p 13945 -z 10 
 Started beanstalkd (pid: 14496), listening on port 13945
 ./sh-tests/multi-tube.commands
  ./beanstalkd -l 127.0.0.1 -p 43557 -z 10 
 Started beanstalkd (pid: 14504), listening on port 43557
 ./sh-tests/no_negative_delays.commands
  ./beanstalkd -l 127.0.0.1 -p 15031 -z 10 
 Started beanstalkd (pid: 14512), listening on port 15031
 ./sh-tests/omit-time-left.commands
  ./beanstalkd -l 127.0.0.1 -p 29365 -z 10 
 Started beanstalkd (pid: 14520), listening on port 29365
 ./sh-tests/pause-tube.commands
  ./beanstalkd -l 127.0.0.1 -p 19063 -z 10 
 Started beanstalkd (pid: 14528), listening on port 19063
 ./sh-tests/small_delay.commands
  ./beanstalkd -l 127.0.0.1 -p 17319 -z 10 
 Started beanstalkd (pid: 14536), listening on port 17319
 ./sh-tests/too-big.commands
  ./beanstalkd -l 127.0.0.1 -p 39171 -z 10 
 Started beanstalkd (pid: 14544), listening on port 39171
 ./sh-tests/ttr-large.commands
  ./beanstalkd -l 127.0.0.1 -p 21893 -z 10 
 Started beanstalkd (pid: 14552), listening on port 21893
 ./sh-tests/zero_delay.commands
  ./beanstalkd -l 127.0.0.1 -p 27048 -z 10 
 Started beanstalkd (pid: 14560), listening on port 27048
 sh-tests/binlog-allocation.sh
  ./beanstalkd -l 127.0.0.1 -p 35190 -b /tmp/bnch14567.d -s 601 
 Started beanstalkd (pid: 14569), listening on port 35190
 sh-tests/binlog-basic.sh
  ./beanstalkd -l 127.0.0.1 -p 31443 -b /tmp/bnch14576.d  
 Started beanstalkd (pid: 14578), listening on port 31443
  ./beanstalkd -l 127.0.0.1 -p 23412 -b /tmp/bnch14576.d  
 Started beanstalkd (pid: 14586), listening on port 23412
 sh-tests/binlog-bury.sh
  ./beanstalkd -l 127.0.0.1 -p 41544 -b /tmp/bnch14593.d  
 Started beanstalkd (pid: 14595), listening on port 41544
 sh-tests/binlog-diskfull-delete.sh
 fiu-run -x ./beanstalkd -l 127.0.0.1 -p 32452 -b /tmp/bnch14602.d -s 1000 
 Started beanstalkd (pid: 14605), listening on port 32452
 4,5c4,5
  OUT_OF_MEMORY

  OUT_OF_MEMORY

 ---
  INSERTED 9

  INSERTED 10

 FAIL: sh-tests/binlog-diskfull-delete.sh
 make[1]: *** [check-shell] Error 1

The full build log is available from:
   http://people.debian.org/~lucas/logs/2012/09/12/beanstalkd_1.4.6-3_wheezy.log

A list of current common problems and possible solutions is available at 
http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

About the archive rebuild: The rebuild was done on EC2 VM instances from
Amazon Web Services, using a clean, minimal and up-to-date chroot. Every
failed build was retried once to eliminate random failures.


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