-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jenkins job node-test-pull-request is replacing iojs+any-pr+multi #2263
Comments
@orangemocha is there a way to specify a branch, like |
So uh, how do we test branches rather than PRs?
I strongly disagree. People may not have time to rebase, or they may not know how. I think it is very important that we are able to run CI tests even in those cases without having to make new PRs.
Should be changed to "node-test-git-branch", for reasons noted above.
Why is that? |
@brendanashworth , assuming you mean for the rebasing. You can use the underlying job node-test-commit, which is a bit more low-level and exposes additional features. Let's say you wanted to test #2085 and rebase it against next instead of master. You would pass the parameters as follows to node-test-commit:
.. leaving POST_REBASE_SHA1_CHECK, NODES_SUBSET, IGNORE_FLAKY_TESTS to their default values. Makes sense to you? I tried to make node-test-pull-request simpler to use for the common case, but if specifying the branch to rebase onto is a common scenario and if node-test-commit is a bit too obscure, we could add back the TARGET_BRANCH parameter to node-test-pull-request, with a default of |
@Fishrock123 , not exactly. The problem is that all these Jenkins jobs rely on scripts/logic in the repo, like the test-ci and run-ci makefile rules. If an older PR source branch does not contain these rules or is not up to date with the way that Jenkins expects them, the job won't work. Which is why we went for the rebasing approach.
The underlying node-test-commit allows doing this. For testing #2085 without rebasing, you could specify:
..or even (more like iojs+any-pr+multi):
We could definitely add an entry point 'node-test-branch' to invoke node-test-commit with the right arguments as shown above. It wouldn't be the old iojs+any-pr+multi renamed though. I should have mentioned in the original announcement that node-test-pull-request is just an entry point to node-test-commit, with a PR-friendly set of parameters, and that node-test-commit supports richer functionality, including that needed by the automated merge job, node-accept-pull-request (yet to become available for general consumption). Thank you for your feedback! Please keep it coming... |
FWIW, I think rebase-before-build is an excellent idea. It's going to happen anyway when the PR lands and we've had issues in the past where an old PR passed CI but broke after landing. |
What I like to see is a single page with all failures listed, across platforms. On the old CI, It's kind of time consuming having to click through all the layers to finally reach the pages listing failures. |
I think most of my concerns are alleviated by the underlying use of It's been some days notice so I'll close this. Thanks for all the work @orangemocha :) |
To all @nodejs/collaborators:
As part of the CI convergence effort, we are rolling out a new Jenkins job to replace iojs+any-pr+multi. The next time you need to test a PR in Jenkins, please use node-test-pull-request instead of iojs+any-pr+multi.
node-test-pull-request is very similar to iojs+any-pr+multi, with the following improvements:
iojs+any-pr+multi will be kept around as backup during the initial transition, and beyond that so that we can still access the logs of past runs. In a couple of weeks, barring any unforeseen issues, we are going to rename it to something like DEPRECATED-iojs+any-pr+multi.
For any questions or issues with node-test-pull-request please mention @nodejs/build
The text was updated successfully, but these errors were encountered: