Stream: t-compiler/help

Topic: can't reproduce travis failure


tmandry (Apr 23 2019 at 01:20, on Zulip):

what's the recommended next step when I have a test failure in travis that reproduces in travis, but I can't reproduce locally?

tmandry (Apr 23 2019 at 01:20, on Zulip):

I'm running tests on linux x64, using stage 2

tmandry (Apr 23 2019 at 01:20, on Zulip):

I even checked out the exact merge commit travis was using

tmandry (Apr 23 2019 at 01:20, on Zulip):

in travis I get an ICE, and locally everything passes

tmandry (Apr 23 2019 at 01:21, on Zulip):

here's the failure: https://travis-ci.com/rust-lang/rust/jobs/194763131

tmandry (Apr 23 2019 at 01:22, on Zulip):

Is there a way to download the container Travis is using and simulate that run locally?

tmandry (Apr 23 2019 at 01:22, on Zulip):

The only other variables I can think of are using incremental compilation, and having debug assertions / logging enabled

tmandry (Apr 23 2019 at 01:24, on Zulip):

I'll try without those, I guess

Zoxc (Apr 23 2019 at 01:37, on Zulip):

You can use the same docker image as Travis

Pietro Albini (Apr 23 2019 at 07:56, on Zulip):

yeah, if you run src/ci/docker/run.sh image-name you get the exact same tests

Pietro Albini (Apr 23 2019 at 07:57, on Zulip):

beware that running the x86 linux image for the first time takes a long time

Pietro Albini (Apr 23 2019 at 07:57, on Zulip):

since it basically recompiles everything on top of centos 5

Last update: Nov 11 2019 at 23:15UTC