[Bug 1066351] Re: upstart ftbfs in quantal on arm*
Andy Whitcroft
apw at canonical.com
Thu Oct 25 12:49:21 UTC 2012
@James -- ok I can trigger this error from the test program as well on
amd64. However after some poking I think this test case is flawed. I
made the read retry if it did not see a 14 long string and in the tests
I have run all failures show the newline is there:
loop 39225 of 99999
ret = 14
loop 39226 of 99999
ret = 12
ret = 2
ret = -1
So I suspect that the pty newline mangling is allowing this single write
at the dash end to be split into two read at your consumer.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to upstart in Ubuntu.
https://bugs.launchpad.net/bugs/1066351
Title:
upstart ftbfs in quantal on arm*
Status in “linux” package in Ubuntu:
Confirmed
Status in “upstart” package in Ubuntu:
Confirmed
Status in “linux” source package in Quantal:
Confirmed
Status in “upstart” source package in Quantal:
Confirmed
Bug description:
Testing job_process_run()
...with simple command
...with shell command
...with small script
...with small script and trailing newlines
...with script that will fail
...with environment of unnamed instance
...with environment of named instance
...with environment for pre-stop
...with environment for post-stop
...with long script
...with non-daemon job
...with script for daemon job
...with daemon job
...with forking job
...with no such file
...ensure sane fds with no console, no script
...ensure sane fds with no console, and script
...ensure sane fds with console log, no script
...ensure sane fds with console log, and script
...ensure that no log file written for single-line no-output script
...ensure that no log file written for single-line no-output command
...ensure that no log file written for CONSOLE_NONE
...ensure that no log file written for multi-line no-output script
...with single-line script that writes 1 line to stdout
...with single-line script that is killed
BAD: wrong content in file 0x4065d168 (output), expected 'hello world
' got 'hello world'
at tests/test_job_process.c:1683 (test_run).
/bin/bash: line 5: 17382 Aborted ${dir}$tst
FAIL: test_job_process
[...]
===============================================
1 of 14 tests failed
Please report to upstart-devel at lists.ubuntu.com
===============================================
make[4]: *** [check-TESTS] Error 1
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1066351/+subscriptions
More information about the foundations-bugs
mailing list