Re: Michael Paquier 2018-10-12 <[email protected]>
> Do you still have the logs of the previous run for the standby?
Sorry, all I have is the (link to) the build log in the original
posting. I can run some tests on the mips porter box if you have any
ideas for things to try.
What's missing is a way to determine which .log files to show in case
of a test failure. At the moment I'm showing the latest 3 by mtime:
unset MAKELEVEL; if ! make -C build check-world
EXTRA_REGRESS_OPTS='--port=$(shell perl -le 'print 1024 + int(rand(64000))')';
then \
for l in `find build \( -name regression.diffs -o -name initdb.log
-o -name postmaster.log \) | perl -we 'print map { "$$_\n"; } sort { (stat
$$a)[9] <=> (stat $$b)[9] } map { chomp; $$_; } <>' | tail -3`; do \
echo "******** $$l ********"; \
cat $$l; \
done; \
case $(DEB_HOST_ARCH) in \
hurd-*|kfreebsd-*) exit 0 ;; \
*) exit 1 ;; \
esac; \
fi
Maybe I should change that to 10. Or just show all given it happens
only for failing builds. (In case anyone is wondering: hurd doesn't
have semaphores, and kfreebsd always fails the plperl tests.)
Christoph