[Pkg-cups-devel] Bug#670878: cups: FTBFS on armel (version 1.5.2-10): failed command test 5.4-lpstat.sh

Steve McIntyre steve at einval.com
Sat May 12 14:57:22 UTC 2012


On Sat, May 12, 2012 at 02:46:38PM +0100, Steve McIntyre wrote:
>On Sun, Apr 29, 2012 at 10:34:13PM +0100, Julian Gilbey wrote:
>>Package: src:cups
>>Version: 1.5.2-10
>>Severity: serious
>>Justification: FTBFS on armel
>>
>>Just in case you haven't seen the failure, cups 1.5.2-10 barfed out on
>>the armel build:
>>https://buildd.debian.org/status/fetch.php?pkg=cups&arch=armel&ver=1.5.2-10&stamp=1334046792
>>
>>The failure point was during the tests:
>>
>>Running command tests...
>>Performing 5.1-lpadmin.sh: PASS
>>Performing 5.2-lpc.sh: PASS
>>Performing 5.3-lpq.sh: PASS
>>Performing 5.4-lpstat.sh: FAIL
>>Performing 5.5-lp.sh: PASS
>>Performing 5.6-lpr.sh: PASS
>>Performing 5.7-lprm.sh: PASS
>>Performing 5.8-cancel.sh: PASS
>>Performing 5.9-lpinfo.sh: PASS
>>Test Summary
>>
>>It's blocking cups-filters from building on armel as well....
>
>Looking at this...
>
>lpstat is returning what looks to be the right answer in its test
>script, but *also* the fact that a job is currently running on
>Printer1. That's confusing the test. So... either that job should not
>be there and there is another bug (timing? should the job have been
>removed earlier?) or the test is too strict here.
>
>LPSTAT Test
>
>    lpstat -H
>    FAILED (localhost:8631
>Test1-4                 93sam           280576   Sat 12 May 2012 12:24:25 PM UTC)
>
>Looking some more...

And yes, I think it's a timing bug. Earlier in the test suite (4.3)
there are a set of ops including printing, cancelling etc. It looks
like the issue in 5.4 on armel is that the cupsd itself hasn't had
time to finish cancelling a job. Adding a trivial "sleep 10" at the
top of 5.4-lpstat.sh makes things work fine for me. There should be a
better way to do things, but I'm not an expert here.

I'm surprised that the calls to ipptool in 4.3 don't pick this up
directly themselves...

Pitti?

-- 
Steve McIntyre, Cambridge, UK.                                steve at einval.com
You lock the door
And throw away the key
There's someone in my head but it's not me 






More information about the Pkg-cups-devel mailing list