autobuild[sn-devel-144]: intermittent test failure detected
autobuild
autobuild at samba.org
Sat May 6 04:33:26 UTC 2017
The autobuild test system (on sn-devel-144) has detected an intermittent failing test in
the current master tree.
The autobuild log of the failure is available here:
http://git.samba.org/autobuild.flakey.sn-devel-144/2017-05-06-0633/flakey.log
The samba build logs are available here:
http://git.samba.org/autobuild.flakey.sn-devel-144/2017-05-06-0633/samba.stderr
http://git.samba.org/autobuild.flakey.sn-devel-144/2017-05-06-0633/samba.stdout
The top commit at the time of the failure was:
commit 0b1ba00b007802932d501dbb315616f6d5c4306f
Author: Christof Schmitt <cs at samba.org>
Date: Fri May 5 01:10:56 2017 +0200
testprogs: Ignore escape characters when printing test name
Long story: This was triggered by the addition of the test_trust_ntlm.sh
script in commits 3caca9b and 2de1994. test_trust_ntlm.sh creates a
variable CREDS="$REALM\\$USERNAME%$PASSWORD" that is then used as part
of the test name. subunit.sh uses echo to print the name that is then
picked up by subunithelper.py. test_trust_ntlm.sh also uses /bin/sh as
shell which can be a POSIX compliant shell like dash.
This combination broke 'make test' for any username starting with the
letter c. In this case CREDS contains the escape sequence \c that is
defined to stop producing further output at this point. dash implements
this feature and the echo in subunit.sh as a result skips the output
after \c, including skipping the newline. This means that the data
received by subunithelper.py contains the timestamp from the next line
in the test name, which then breaks the testcase tracking.
Fix this by replacing the echo in subunit.sh with a printf that does not
trigger the special handling of escape characters.
Signed-off-by: Christof Schmitt <cs at samba.org>
Reviewed-by: Volker Lendecke <vl at samba.org>
Autobuild-User(master): Volker Lendecke <vl at samba.org>
Autobuild-Date(master): Fri May 5 23:44:16 CEST 2017 on sn-devel-144
More information about the samba-cvs
mailing list