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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove Jenkins caching #3594

Merged
merged 1 commit into from
Apr 14, 2022
Merged

remove Jenkins caching #3594

merged 1 commit into from
Apr 14, 2022

Conversation

tersec
Copy link
Contributor

@tersec tersec commented Apr 14, 2022

Since Jenkins was updated to incorporate https://issues.jenkins.io/browse/JENKINS-67173 in version 2.326, it's been showing

Failed to deserialize response to UserRequest:hudson.FilePath$Exists@582d9fa5: java.lang.SecurityException: Sending hudson.FilePath$Exists from agent to controller is prohibited.

See https://www.jenkins.io/redirect/security-144 for more details

In general, Jenkins plugins need to have been updated to this. However, https://plugins.jenkins.io/jobcacher/ hasn't been updated in 5 years, and certainly not for a security fix from a few months ago. This incompatibility between the post-security-fix Jenkins and the non-updated Job Cacher plugin means that the workaround that https://www.jenkins.io/redirect/security-144 suggests doesn't exist anymore.

There might be an alternative caching plugin, or approach, but in the meantime, disable Jenkins caching for the Nim compiler.

@tersec tersec enabled auto-merge (squash) April 14, 2022 13:35
@tersec tersec merged commit bacc1ff into unstable Apr 14, 2022
@tersec tersec deleted the UWB branch April 14, 2022 15:56
Copy link
Member

@jakubgs jakubgs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks.

jakubgs added a commit to status-im/status-desktop that referenced this pull request Apr 15, 2022
Upgrade of Jenkins to `2.343` has introduced a security fix that breaks
caching plugin when it's configured to store cache on Master host:
https://issues.jenkins.io/browse/JENKINS-67173

Sine the [Caching plugin](https://plugins.jenkins.io/jobcacher/) hasn't
been upgraded in 5 years the only good temporary workaround is just drop
caching of dependencies like Nim compiler entirely.

In the future we can try some other caching methods.

Related: status-im/nimbus-eth2#3594

Signed-off-by: Jakub Sokołowski <jakub@status.im>
0x-r4bbit pushed a commit to status-im/status-desktop that referenced this pull request Apr 15, 2022
Upgrade of Jenkins to `2.343` has introduced a security fix that breaks
caching plugin when it's configured to store cache on Master host:
https://issues.jenkins.io/browse/JENKINS-67173

Sine the [Caching plugin](https://plugins.jenkins.io/jobcacher/) hasn't
been upgraded in 5 years the only good temporary workaround is just drop
caching of dependencies like Nim compiler entirely.

In the future we can try some other caching methods.

Related: status-im/nimbus-eth2#3594

Signed-off-by: Jakub Sokołowski <jakub@status.im>
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

Successfully merging this pull request may close these issues.

None yet

3 participants