Bug#830500: redis: FTBFS: Test failure
forwarded 830500 https://github.com/antirez/redis/issues/2789 tags 830500 + pending thanks Ah, this was filed upstream :) https://github.com/antirez/redis/issues/2789 Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
Bug#830500: redis: FTBFS: Test failure
> Hmm, I wonder if this might be a failure that only occurs randomly, > based on timing or something like that. Could you try the attached patch? Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `- diff --git a/tests/integration/replication-psync.tcl b/tests/integration/replication-psync.tcl index 3a41ceb..02da6a5 100644 --- a/tests/integration/replication-psync.tcl +++ b/tests/integration/replication-psync.tcl @@ -37,7 +37,7 @@ proc test_psync {descr duration backlog_size backlog_ttl delay cond diskless rec test {Slave should be able to synchronize with the master} { $slave slaveof $master_host $master_port -wait_for_condition 50 100 { +wait_for_condition 1000 100 { [lindex [r role] 0] eq {slave} && [lindex [r role] 3] eq {connected} } else {
Bug#830500: redis: FTBFS: Test failure
> Hmm, I wonder if this might be a failure that only occurs randomly, > based on timing or something like that. This could be right - there seems to be some "sleep" and "delay" calls in there. Will try building a few times.. Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
Bug#830500: redis: FTBFS: Test failure
On Sat, Jul 9, 2016 at 1:47 PM, Chris Lamb wrote: > Interestingly, it fails on i386's 2nd build on the reproducible > testing framework.. but only in testing (!). Hmm, I wonder if this might be a failure that only occurs randomly, based on timing or something like that. -- Daniel Schepler
Bug#830500: redis: FTBFS: Test failure
> Hm, still cannot reproduce. :) I would be tempted to think it's something > about it starting a server (networking, ports, blah, etc.), but a lot > of the tests do that - ie. the question why does only *this* one fail.. Interestingly, it fails on i386's 2nd build on the reproducible testing framework.. but only in testing (!). https://tests.reproducible-builds.org/debian/logs/testing/amd64/redis_3.2.1-1.build2.log.gz Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
Bug#830500: redis: FTBFS: Test failure
> > Interesting. Can't seem to reproduce here in latest sid. Do you > > have limited memory or something like that..? Concurrency..? > > No, the machine has 8 GB of RAM. I also don't recall the machine > being heavily loaded when I reran the test build to confirm. The > first time, I used DEB_BUILD_OPTIONS="parallel=8" but the second time > I think I forgot to set that. Hm, still cannot reproduce. :) I would be tempted to think it's something about it starting a server (networking, ports, blah, etc.), but a lot of the tests do that - ie. the question why does only *this* one fail.. Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
Bug#830500: redis: FTBFS: Test failure
On Fri, Jul 8, 2016 at 2:36 PM, Chris Lamb wrote: > Interesting. Can't seem to reproduce here in latest sid. Do you have limited > memory or something like that..? Concurrency..? No, the machine has 8 GB of RAM. I also don't recall the machine being heavily loaded when I reran the test build to confirm. The first time, I used DEB_BUILD_OPTIONS="parallel=8" but the second time I think I forgot to set that. -- Daniel Schepler
Bug#830500: redis: FTBFS: Test failure
tags 830500 + unreproducible thanks Daniel Schepler wrote: > [err]: Test replication partial resync: ok psync (diskless: yes, > reconnect: 1) in tests/integration/replication-psync.tcl > Expected condition '[s -1 sync_partial_ok] > 0' to be true ([s -1 > sync_partial_ok] > 0) Interesting. Can't seem to reproduce here in latest sid. Do you have limited memory or something like that..? Concurrency..? Regards, -- ,''`. : :' : Chris Lamb `. `'` la...@debian.org / chris-lamb.co.uk `-
Processed: Re: Bug#830500: redis: FTBFS: Test failure
Processing commands for cont...@bugs.debian.org: > tags 830500 + unreproducible Bug #830500 [src:redis] redis: FTBFS: Test failure Added tag(s) unreproducible. > thanks Stopping processing here. Please contact me if you need assistance. -- 830500: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=830500 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems
Bug#830500: redis: FTBFS: Test failure
Source: redis Version: 2:3.2.1-1 Severity: serious >From my pbuilder build log (on amd64): ... [38/41 done]: integration/replication-3 (37 seconds) [ok]: Client output buffer hard limit is enforced [ok]: Test replication partial resync: ok after delay (diskless: no, reconnect: 1) [ok]: Connect multiple slaves at the same time (issue #141), diskless=no [ok]: Slave should be able to synchronize with the master [ok]: Detect write load to master [ok]: Test replication partial resync: backlog expired (diskless: no, reconnect: 1) [ok]: Slave should be able to synchronize with the master [ok]: Detect write load to master [ok]: Test replication partial resync: no reconnection, just sync (diskless: yes, reconnect: 0) [ok]: Slave should be able to synchronize with the master [ok]: Detect write load to master [ok]: Client output buffer soft limit is not enforced if time is not overreached [err]: Test replication partial resync: ok psync (diskless: yes, reconnect: 1) in tests/integration/replication-psync.tcl Expected condition '[s -1 sync_partial_ok] > 0' to be true ([s -1 sync_partial_ok] > 0) [ok]: Slave should be able to synchronize with the master [ok]: Detect write load to master [ok]: Client output buffer soft limit is enforced if time is overreached [39/41 done]: unit/obuf-limits (68 seconds) ... !!! WARNING The following tests failed: *** [err]: Test replication partial resync: ok psync (diskless: yes, reconnect: 1) in tests/integration/replication-psync.tcl Expected condition '[s -1 sync_partial_ok] > 0' to be true ([s -1 sync_partial_ok] > 0) Cleanup: may take some time... OK debian/rules:29: recipe for target 'override_dh_auto_test' failed make[1]: *** [override_dh_auto_test] Error 1 make[1]: Leaving directory '/build/redis-3.2.1' debian/rules:19: recipe for target 'build' failed make: *** [build] Error 2 dpkg-buildpackage: error: debian/rules build gave error exit status 2 -- Daniel Schepler