Re: Debian mips: Failed test 'Check expected t_009_tbl data onstandby' - Mailing list pgsql-hackers

From Christoph Berg
Subject Re: Debian mips: Failed test 'Check expected t_009_tbl data onstandby'
Date
Msg-id 20181012074750.GA12078@msg.df7cb.de
Whole thread Raw
In response to Re: Debian mips: Failed test 'Check expected t_009_tbl data onstandby'  (Michael Paquier <michael@paquier.xyz>)
List pgsql-hackers
Re: Michael Paquier 2018-10-12 <20181012002520.GB26424@paquier.xyz>
> 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
'printmap { "$$_\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


pgsql-hackers by date:

Previous
From: Richard Guo
Date:
Subject: Re: Restore CurrentUserId only if 'prevUser' is valid when abort transaction
Next
From: Andrey Klychkov
Date:
Subject: [PATCH] Change simple_heap_insert() to a macro