-
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
No valid crumb was included in the request
error trying to save job configurations
#1852
Comments
@rvagg @jbergstroem did you setup the integration between jenkins and our github groups? Looks like there is something wrong on that front? |
Hmm, seemed to be ok for the N-API testing jobs. Will try to re-add Richard and see what happens. |
I don't seem to be able to save any changes for that job :( |
Same error even when trying to configure a copy of the job. |
Richard if I create a completely new job can you then copy over what's required for the job? |
I think I can mostly but I might need a Jenkins admin to allow the versionSelector groovy script. |
This is the new job If you can configure what you can and then let me know if I need to do something for the versionSelector groovy script |
@mhdawson I don't appear to have permission to edit the job configuration: I am in post-mortem-admins: https://github.com/orgs/nodejs/teams/post-mortem-admins/members |
I am having a similar issue with https://ci.nodejs.org/job/node-stress-single-test, I can't save configuration changes, same error about "no valid crumb". |
Sorry seems I had mispelled the post-mortem-admins group name. Can you try now. |
Took me a few tries to get it right. Hopefully good now. |
Nothing changed, still lacking crumbs on https://ci.nodejs.org/job/node-stress-single-test/configSubmit I tried to logout, just to see if I need to logout and log back in to get the new perms, but logging out seems not to work. |
I can edit and save now, but I ran once into the "no valid crumb" error on this job too (but was able to reload the page and then save which I've not been able to do for the original job). It looks like the new job isn't a matrix configuration job? It's missing the "Configuration matrix" section where we select the labels for the platforms to test on. |
https://ci.nodejs.org/job/node-stress-single-test/configure has the same problem, its like the job config got wiped, the label section that I want to add centos7-ppcle to aren't there anymore. @richardlau I hope I'm not hijacking your thread! :-) I think its the same issue. |
That's fine. I'm of the same opinion that it looks like the same issue. My suspicion is that a Jenkins update has somehow broken something. |
No valid crumb was included in the request
error trying to save job configurations
@richardlau if you need me to do something with respect to the job please reach out to me through internal slack. |
Job configuration being wiped I think is an even more serious issue. @Trott noted in #node-build on irc that the job has lost its "Build with parameters". I also appear to have lost permission to edit that job (I had it before via #1582). |
I don't know if this will make a difference but I've just upgraded and restarted Jenkins |
Unfortunately no difference. |
@nodejs/build Configuration for https://ci.nodejs.org/job/node-stress-single-test/ appears to be totally wiped. Do we have backups? |
@jbergstroem ☝️ Rumour has it you setup a jenkins backup cron job, do you know anything about it? |
We have a backup on infra-joyent-smartos15-x64-1, but I don't believe it contains anything that ci.nodejs.org doesn't already have. https://ci.nodejs.org/job/node-stress-single-test/jobConfigHistory/ should have all the information required. Most notably the first change from Refael's original to Richard's on the 25th that deleted most of the config: https://ci.nodejs.org/job/node-stress-single-test/jobConfigHistory/showDiffFiles?timestamp1=2019-05-30_20-19-21×tamp2=2019-06-25_18-22-55 I did a restore of the original one and it came back fine. But then did a save and got the crumb error. Also this: The first one with my name is the restore, the second is my save, the next "unknown"s follow the same pattern from both Richard's save and Sam's saves on this job which are also followed by "unknown"s. And now Refael's original is gone from the list. But the original, /var/lib/jenkins/config-history/jobs/node-stress-single-test/2019-05-30_20-19-21/config.xml is still on the server. So I've copied that manually back into /var/lib/jenkins/jobs/node-stress-single-test/config.xml and it's now back to original state again https://ci.nodejs.org/job/node-stress-single-test/configure but I dare not save it. I've just run plugin updates, I went through a few changelogs for the ones that needed updating but couldn't see anything interesting. The best suggestion I have is to try and manually rebuild this job from scratch and see if we can end up with a stable configuration? Perhaps there's something in the config that causes it to go bad (logs don't say anything interesting btw). |
Spoke to Michael about the new https://ci.nodejs.org/job/nodereport-continuous-integration-new/ job not being a multi-configuration job. Another new job https://ci.nodejs.org/job/nodereport-continuous-integration-latest/, which is a multi-configuration job, has been created and I've manually copied across the details from https://ci.nodejs.org/job/nodereport-continuous-integration/. Test runs are green against: I'll kick off 10 and 12 runs later but it looks like the new job (so far) is working as expected and is editable (unlike the existing https://ci.nodejs.org/job/nodereport-continuous-integration/). So recreating the job from scratch may also work for https://ci.nodejs.org/job/node-stress-single-test (the one Sam was having issues with). I've deleted the unused https://ci.nodejs.org/job/nodereport-continuous-integration-new/. |
Michael has added https://ci.nodejs.org/job/nodereport-continuous-integration-latest/ to https://ci.nodejs.org/view/post-mortem/ (🙇) and I've run the job quite a few times now on The stress job will need to be rebuilt. |
I think @sam-github had been working to get the backup so that we could restore the stress job from that. |
Isn't that what Rod attempted in #1852 (comment)? |
@mhdawson doing as Rod suggests in #1852 (comment) is definitely on my TODO list, but has not made it high enough for me to work on it yet. |
Good news:
Bad news:
I guess I'll wait a day, and then rename the original job to -old, and rename my |
@richardlau I think enough time has passed for you to do the renaming you describe in #1852 (comment) |
Thanks for the reminder. https://ci.nodejs.org/job/nodereport-continuous-integration/ is now gone! |
I think it's something new-ish (and possibly related to the issue at hand) and looks like it's what ends up in https://ci.nodejs.org/job/node-stress-single-test-sr/metadata/.
I see this as the page is loading before my entry gets replaced with I wonder if individual people being included (as opposed to teams) is a commonality between the jobs that exhibited the |
I share that suspicion, though not grounded on much. @richardlau You should just ask to join the WG, you do plenty of work on build, and the access would be useful to you, clearly. |
yeah, @richardlau you should totally join Build, you're one of the most active people here! |
fwiw, I archived the original stress-test job (and added a link from its description to here), and renamed my -sr one to the base name. |
Edit: @sam-github also reports the same error trying to edit https://ci.nodejs.org/job/node-stress-single-test/configure
Getting the following error trying to save changes to https://ci.nodejs.org/job/nodereport-continuous-integration/:
Seems to be this job -- I'm able to edit and save the
citgm-smoker-*
jobs I also have access to without errors.Probably related is that in the
configure
tab I can see the groups, e.g.nodejs*postmortem-admins
as the page is loading but once loaded they becomeERROR
:Also strangely the job configuration history page (https://ci.nodejs.org/job/nodereport-continuous-integration/jobConfigHistory/) doesn't list the edits I know I made to this job towards the end of last year (#1421):
The text was updated successfully, but these errors were encountered: