how to replicate test results in cf-bot on travis

Started by Dave Cramerover 5 years ago8 messageshackers
Jump to latest
#1Dave Cramer
pg@fastcrypt.com

For my patch https://commitfest.postgresql.org/30/2522/

When I run

make -j4 all contrib && make check-world
locally

I see 2 errors.

When cf-bot runs this it sees
35 out of 93 failed.

How can I see the same errors?

Dave Cramer

#2Thomas Munro
thomas.munro@gmail.com
In reply to: Dave Cramer (#1)
Re: how to replicate test results in cf-bot on travis

On Mon, Nov 2, 2020 at 1:58 AM Dave Cramer <davecramer@gmail.com> wrote:

For my patch https://commitfest.postgresql.org/30/2522/

When I run

make -j4 all contrib && make check-world
locally

I see 2 errors.

When cf-bot runs this it sees
35 out of 93 failed.

How can I see the same errors?

Hi Dave,
I applied your patch here and see the same 35 errors from
src/test/isolation, make check as cfbot reports. Is it possible that
you forgot to add the changes under that directory when posting the
patch to the list?

#3Dave Cramer
pg@fastcrypt.com
In reply to: Thomas Munro (#2)
Re: how to replicate test results in cf-bot on travis

On Sun., Nov. 1, 2020, 1:41 p.m. Thomas Munro, <thomas.munro@gmail.com>
wrote:

On Mon, Nov 2, 2020 at 1:58 AM Dave Cramer <davecramer@gmail.com> wrote:

For my patch https://commitfest.postgresql.org/30/2522/

When I run

make -j4 all contrib && make check-world
locally

I see 2 errors.

When cf-bot runs this it sees
35 out of 93 failed.

How can I see the same errors?

Hi Dave,
I applied your patch here and see the same 35 errors from
src/test/isolation, make check as cfbot reports. Is it possible that
you forgot to add the changes under that directory when posting the
patch to the list?

I rebased my branch and tried it. I'll try again

Thx

Show quoted text
#4Dave Cramer
pg@fastcrypt.com
In reply to: Dave Cramer (#3)
Re: how to replicate test results in cf-bot on travis

On Sun, 1 Nov 2020 at 13:46, Dave Cramer <davecramer@gmail.com> wrote:

On Sun., Nov. 1, 2020, 1:41 p.m. Thomas Munro, <thomas.munro@gmail.com>
wrote:

On Mon, Nov 2, 2020 at 1:58 AM Dave Cramer <davecramer@gmail.com> wrote:

For my patch https://commitfest.postgresql.org/30/2522/

When I run

make -j4 all contrib && make check-world
locally

I see 2 errors.

When cf-bot runs this it sees
35 out of 93 failed.

How can I see the same errors?

Hi Dave,
I applied your patch here and see the same 35 errors from
src/test/isolation, make check as cfbot reports. Is it possible that
you forgot to add the changes under that directory when posting the
patch to the list?

I rebased my branch and tried it. I'll try again

Thx

OK, checked and I definitely have the changes. I don't think the isolation
test is running. Is there some configuration that enables it?

Dave

#5Tom Lane
tgl@sss.pgh.pa.us
In reply to: Dave Cramer (#4)
Re: how to replicate test results in cf-bot on travis

Dave Cramer <davecramer@gmail.com> writes:

OK, checked and I definitely have the changes. I don't think the isolation
test is running. Is there some configuration that enables it?

No, top-level "check-world" should invoke that ... but if you're unsure,
you could cd to src/test/isolation and run check or installcheck there.

regards, tom lane

#6Dave Cramer
pg@fastcrypt.com
In reply to: Tom Lane (#5)
Re: how to replicate test results in cf-bot on travis

On Sun, 1 Nov 2020 at 18:15, Tom Lane <tgl@sss.pgh.pa.us> wrote:

Dave Cramer <davecramer@gmail.com> writes:

OK, checked and I definitely have the changes. I don't think the

isolation

test is running. Is there some configuration that enables it?

No, top-level "check-world" should invoke that ... but if you're unsure,
you could cd to src/test/isolation and run check or installcheck there.

For some reason it is not running on my machine but the above works. Thanks

Dave Cramer

#7Andres Freund
andres@anarazel.de
In reply to: Dave Cramer (#6)
Re: how to replicate test results in cf-bot on travis

Hi,

On 2020-11-02 11:18:03 -0500, Dave Cramer wrote:

On Sun, 1 Nov 2020 at 18:15, Tom Lane <tgl@sss.pgh.pa.us> wrote:

Dave Cramer <davecramer@gmail.com> writes:

OK, checked and I definitely have the changes. I don't think the

isolation

test is running. Is there some configuration that enables it?

No, top-level "check-world" should invoke that ... but if you're unsure,
you could cd to src/test/isolation and run check or installcheck there.

For some reason it is not running on my machine but the above works. Thanks

If there are failures - you mentioned that there are some - check-world
will not even start the isolation tests. You could use -k, to contuniue
after failures, but that makes it harder to see the erors.

With -j xx it'll be a bit scheduling dependant whether you'd e.g. see
the isolation test results if e.g. the "main" tests fail.

Greetings,

Andres Freund

#8Dave Cramer
pg@fastcrypt.com
In reply to: Andres Freund (#7)
Re: how to replicate test results in cf-bot on travis

On Mon, 2 Nov 2020 at 14:47, Andres Freund <andres@anarazel.de> wrote:

Hi,

On 2020-11-02 11:18:03 -0500, Dave Cramer wrote:

On Sun, 1 Nov 2020 at 18:15, Tom Lane <tgl@sss.pgh.pa.us> wrote:

Dave Cramer <davecramer@gmail.com> writes:

OK, checked and I definitely have the changes. I don't think the

isolation

test is running. Is there some configuration that enables it?

No, top-level "check-world" should invoke that ... but if you're

unsure,

you could cd to src/test/isolation and run check or installcheck there.

For some reason it is not running on my machine but the above works.

Thanks

If there are failures - you mentioned that there are some - check-world
will not even start the isolation tests. You could use -k, to contuniue
after failures, but that makes it harder to see the erors.

With -j xx it'll be a bit scheduling dependant whether you'd e.g. see
the isolation test results if e.g. the "main" tests fail.

Ah, that makes sense now.

Thanks,

Dave Cramer