-
Notifications
You must be signed in to change notification settings - Fork 166
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
ci-public: replace multijob with freestyle for custom-suites
#1436
Conversation
I've configure a new job https://ci.nodejs.org/job/node-test-commit-custom-suites-freestyle/ (job XML attached). This should replace https://ci.nodejs.org/job/node-test-commit-custom-suites/ in node-test-commit, as the current one is based on `multijob` which ignores the `PLATFORM_LABEL` parameter, which is unneccecery in this scenario. Because of its limitations the current job is recursive (the flyweight job runs on a `jenkins-workspace` node and the actual build also runs on a `jenkins-workspace` node) so when the systems under load it can lead to unexpected behavior. This is the diff from the current job https://www.diffchecker.com/MKqrFehH
If this is for use in node-test-commit, does it need to be custom-suites with all the customisation, or should it be a node-test-worker (since currently the chained job is for running with |
It was designed for running customizable tests. We are already using it in three configurations:
So IMHO the conscumizations have proven very (re)useful. |
Due to an apparent degradation of stability, I've implemented the switch, and am monitoring the situation. |
@refack I agree that customisations are very useful, especially for one off runs (e.g. like the stress job). My query is whether we want to be reusing the same job in this way as part of larger jobs/flows/pipelines? For example, it's harder to see the history of |
It's a balance of useability/reusability... This case is actually a good example, as if we had 3 seperate jobs it would have been harder to identify the issue and correct the configuration. |
To view the history of |
@maclover7 but are all of those are |
@richardlau is this still relevant? in-progress? already done some other way? Maybe its stale and should be closed, but its not immediately obvious, and it looks like you've refed it in an open issue. |
https://ci.nodejs.org/job/node-test-commit-custom-suites/ is disabled in Jenkins and has a description saying to instead use https://ci.nodejs.org/job/node-test-commit-custom-suites-freestyle/ (incidentally I've just PR'ed a change to the COLLABORATOR_GUIDE (nodejs/node#31557) in core to update the job link). I think we can just close this out. I don't know what policy (or if we have one written down) covers what is backed up to https://github.com/nodejs/build/tree/master/jenkins/xml but it's hard to tell from a glance if the XML in this PR is current (i.e. has anyone changed the job configuration since). In any case backing up Jenkins changes from test and release CI is being handled by the proposed scripts @rvagg is working on in #2133. |
I've configure a new job https://ci.nodejs.org/job/node-test-commit-custom-suites-freestyle/ (job XML attached).
This should replace https://ci.nodejs.org/job/node-test-commit-custom-suites/ in node-test-commit, as the current one is based on
multijob
which ignores thePLATFORM_LABEL
parameter, and is unneccecerly combersome in this scenario.Because of its limitations the current job is recursive (the flyweight job runs on a
jenkins-workspace
node and the actual build also runs on ajenkins-workspace
node) so when the systems under load it can lead to unexpected behavior.This is the diff from the current job https://www.diffchecker.com/MKqrFehH