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

installer_mac issue with file permission issue. #1879

Closed
archanaNogriya opened this issue Jun 3, 2020 · 9 comments · Fixed by #1871
Closed

installer_mac issue with file permission issue. #1879

archanaNogriya opened this issue Jun 3, 2020 · 9 comments · Fixed by #1871
Assignees
Labels
buildbreak High priority issues that cause build breaks in jenkins or build scripts
Milestone

Comments

@archanaNogriya
Copy link
Contributor

jdk11u-mac-x64-openj9
https://ci.adoptopenjdk.net/view/Failing%20Builds/job/build-scripts/job/jobs/job/jdk11u/job/jdk11u-mac-x64-openj9/622/console

04:47:56 Starting building: build-scripts » release » create_installer_mac #3352
[Pipeline] copyArtifacts
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] echo
05:04:38 Execution error: Unable to get file permissions
[Pipeline] }
looks like something went wrong in overwriting file ?, there is no other error or explanation I can see. Might require cleaning machine if it is not done auto clearing before build.

@Haroon-Khel Haroon-Khel self-assigned this Jun 3, 2020
@Haroon-Khel
Copy link
Contributor

Its odd, as the stage view says the installer job has failed, but the status page of that installer job says its passed https://ci.adoptopenjdk.net/job/build-scripts/job/release/job/create_installer_mac/3352/

@Haroon-Khel
Copy link
Contributor

Ahh, the Copy artifacts from another project part of the installer stage failed. The failure log isnt helpful

@Haroon-Khel
Copy link
Contributor

https://ci.adoptopenjdk.net/view/Failing%20Builds/job/build-scripts/job/jobs/job/jdk11u/job/jdk11u-mac-x64-openj9/623/
On the same machine, the latest build does not fail, so im putting this down to an intermittent failure.
Will keep an eye on it

@M-Davies
Copy link

M-Davies commented Jun 9, 2020

@karianna I'm still seeing this on a few builds except the installer are passing this time (in the case of the windows job below anyway, I don't have the perms to view the mac ones). Do the installers need the same change you made with George yesterday?

Only the artifacts are failing to be copied across for JRE job. FYI @douph1

23:18:39  Scheduling project: build-scripts » release » create_installer_windows
23:18:48  Starting building: build-scripts » release » create_installer_windows #4502
[Pipeline] copyArtifacts
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] echo
23:22:10  Execution error: Unable to get file permissions

@karianna
Copy link
Contributor

karianna commented Jun 9, 2020

@karianna I'm still seeing this on a few builds except the installer are passing this time (in the case of the windows job below anyway, I don't have the perms to view the mac ones). Do the installers need the same change you made with George yesterday?

Only the artifacts are failing to be copied across for JRE job. FYI @douph1

23:18:39  Scheduling project: build-scripts » release » create_installer_windows
23:18:48  Starting building: build-scripts » release » create_installer_windows #4502
[Pipeline] copyArtifacts
[Pipeline] }
[Pipeline] // stage
[Pipeline] }
[Pipeline] // node
[Pipeline] echo
23:22:10  Execution error: Unable to get file permissions

We updated all of the jobs that were impacted (mac install, win installer, and sign release). Will need to do some more digging on this one. Let's meet up on slack

@M-Davies
Copy link

Seen again on https://ci.adoptopenjdk.net/view/Failing%20Builds/job/build-scripts/job/jobs/job/jdk11u/job/jdk11u-windows-x64-openj9/630/console
@Haroon-Khel @archanaNogriya Can this be reopened?

@karianna We never managed to meet up the other day to discuss this. Is today better for you?

@karianna karianna reopened this Jun 11, 2020
@M-Davies
Copy link

From https://plugins.jenkins.io/copyartifact/

Specify projects who can copy artifacts

  • Scripted pipeline
properties([
    copyArtifactPermission('job1,job2,...'),
]);
node {
    ...
}
  • You can specify multiple jobs separated by commas.
  • You can use wildcard character ('*') to specify name patterns.

After a quick search, we only seem to use,

copyArtifactPermissionProperty {
  projectNames('*')
}

not copyArtifactPermission. Is it possible that copyArtifactPermission is deprecated now that we've switched to Production mode @karianna ?

@karianna
Copy link
Contributor

@M-Davies - It could well be, worth trying I reckon if you're happy to submit a PR?

@sxa sxa transferred this issue from adoptium/infrastructure Jun 12, 2020
@sxa sxa added the buildbreak High priority issues that cause build breaks in jenkins or build scripts label Jun 12, 2020
@sxa sxa added this to the June 2020 milestone Jun 12, 2020
@sxa sxa closed this as completed in #1871 Jun 12, 2020
@M-Davies
Copy link

Mac looks ok now. Windows is still having issues with this #1878 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
buildbreak High priority issues that cause build breaks in jenkins or build scripts
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants