ctdb porting_tests failing

Andrew Bartlett abartlet at samba.org
Wed Jul 27 04:20:35 UTC 2016


I often seen autobuilds in the Catalyst Cloud failing with:

*FAILED* tests/cunit/porting_tests_001.sh

'install' finished successfully (6.289s)
tests/tool/ctdb.continue.003.sh: 23: tests/tool/ctdb.continue.003.sh:
EOF: not found
tests/tool/ctdb.lvs.008.sh: 16: tests/tool/ctdb.lvs.008.sh: setup_ctdb:
not found
tests/tool/ctdb.stop.002.sh: 23: tests/tool/ctdb.stop.002.sh: EOF: not
found
tests/tool/ctdb.stop.003.sh: 23: tests/tool/ctdb.stop.003.sh: EOF: not
found
tests/eventscripts/60.nfs.monitor.106.sh: 1109:
tests/eventscripts/60.nfs.monitor.106.sh: arithmetic expression:
division by zero: "1 % 0"
tests/eventscripts/60.nfs.monitor.106.sh: 1109:
tests/eventscripts/60.nfs.monitor.106.sh: arithmetic expression:
division by zero: "2 % 0"
tests/cunit/porting_tests_001.sh: 14: [: -eq: unexpected operator
make: *** [autotest] Error 1

Any idea what is going on here?

I assume it is related to this:

if [ $EUID -eq 0 ] ; then
    ok "../common/system_linux.c:607 interface 'fake' not found"
else
    ok "../common/system_linux.c:601 failed to open raw socket"
fi

Is there a better way than $EUID, or is this a red herring?  (I don't
know why this would be flapping however).

Thanks,

-- 
Andrew Bartlett
https://samba.org/~abartlet/
Authentication Developer, Samba Team         https://samba.org
Samba Development and Support, Catalyst IT   
https://catalyst.net.nz/services/samba







More information about the samba-technical mailing list