Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resume Build will sometimes (often?) test on the wrong branch/checkout 馃槺 #1636

Closed
Trott opened this issue Dec 12, 2018 · 1 comment
Closed

Comments

@Trott
Copy link
Member

Trott commented Dec 12, 2018

So, something weird happens with Jenkins sometimes and it can cause incorrect test results and I have no idea what's going on.

But I think it might be kind of important?

Seems to happen with Resume Build CI runs only, or at least that's what I've noticed.

Here's one: https://ci.nodejs.org/job/node-test-pull-request/19458/

Parameters say the PR is nodejs/node#24922 (which is what I wanted) and it should be rebased against master, although Resume Builds don't rebase. But I would expect it to use the same code checkout from the previous run.

Instead, it's using some weird code checkout (maybe from the recent 10.x release or something?) with over 1000 commits showing up, but only once you drill into the re-run job. The main job is fine. See https://ci.nodejs.org/job/node-test-commit-aix/nodes=aix61-ppc64/19642/.

I don't even know if my change is in there! But it's running tests that were moved out of test/parallel and into test/benchmark weeks and weeks ago! Console is showing test/parallel/test-benchmark-*tests galore. There are none of those anymore.

So my code is not being tested correctly. It's being tested against something other than the code that I wrote it for.

Is this a known issue? Is there a way to avoid it?

@Trott Trott changed the title Resume Build will sometimes (often) test on the wrong branch/checkout 馃槺 Resume Build will sometimes (often?) test on the wrong branch/checkout 馃槺 Dec 12, 2018
@Trott
Copy link
Member Author

Trott commented Dec 12, 2018

Argh! Rookie error! My job hasn't started yet so the link is to a previous job. Never mind!

@Trott Trott closed this as completed Dec 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant