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

Improve resilience of MacOS Code Signing Step #751

Merged
merged 6 commits into from
Jul 7, 2023

Conversation

steelhead31
Copy link
Contributor

Fixes Issue #596

Implements a check for each file signed in the code signing step, validates the results, and has 20 attempts with a minor pause to allow and reduce flooding the code signing service with requests.

@github-actions
Copy link

github-actions bot commented Jul 5, 2023

Thank you for creating a pull request!

Please check out the information below if you have not made a pull request here before (or if you need a reminder how things work).

Code Quality and Contributing Guidelines

If you have not done so already, please familiarise yourself with our Contributing Guidelines and Code Of Conduct, even if you have contributed before.

Tests

Github actions will run a set of jobs against your PR that will lint and unit test your changes. Keep an eye out for the results from these on the latest commit you submitted. For more information, please see our testing documentation.

In order to run the advanced pipeline tests (executing a set of mock pipelines), it requires an admin to post run tests on this PR.
If you are not an admin, please ask for one's attention in #infrastructure on Slack or ping one here.
To run full set of tests, use "run tests"; a subset of tests on specific jdk version, use "run tests quick 11,20"

@andrew-m-leonard
Copy link
Contributor

run tests

@eclipse-temurin-bot
Copy link
Collaborator

 PR TESTER RESULT 

❎ Some pipelines failed or the job was aborted! ❎
See the pipeline-build-check below for more information...

@steelhead31 steelhead31 marked this pull request as ready for review July 5, 2023 12:08
Copy link
Contributor

@andrew-m-leonard andrew-m-leonard left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Contributor

@adamfarley adamfarley left a comment

Choose a reason for hiding this comment

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

LGTM, well done Scott. :)

@adamfarley
Copy link
Contributor

The Windows jdk20 job has failed here, but the error (pasted below) appears identical to one seen 2 weeks ago here, so even if this wasn't on a totally different platform, I don't think this failure is related to this PR.

11:43:28  fatal: packfile .git/objects/pack/pack-251e1dcc24630754c55ba307bc330d3298caf56a.pack cannot be mapped: Resource temporarily unavailable
11:43:28  fatal: fetch-pack: invalid index-pack output

@steelhead31
Copy link
Contributor Author

The Windows jdk20 job has failed here, but the error (pasted below) appears identical to one seen 2 weeks ago here, so even if this wasn't on a totally different platform, I don't think this failure is related to this PR.

11:43:28  fatal: packfile .git/objects/pack/pack-251e1dcc24630754c55ba307bc330d3298caf56a.pack cannot be mapped: Resource temporarily unavailable
11:43:28  fatal: fetch-pack: invalid index-pack output

Yes, it looks like a transient network or disk issue.. I'll try rerunning that check, but Im happy that this isn't related to this PR, as the other Mac builds worked ok.

Convert grep string to constant, and echo max iterations
Add fail switch to curl
@steelhead31 steelhead31 requested a review from karianna July 6, 2023 07:29
@karianna karianna merged commit 0e6bb70 into adoptium:master Jul 7, 2023
6 checks passed
@steelhead31 steelhead31 deleted the fix_issue_596 branch July 7, 2023 07:48
@steelhead31 steelhead31 restored the fix_issue_596 branch July 12, 2023 11:26
luhenry pushed a commit to luhenry/adoptium-ci-jenkins-pipelines that referenced this pull request Feb 3, 2024
* Add check for codesigning process.

* Add looping signing attempts

* Fix extra space

* Review fixes

Convert grep string to constant, and echo max iterations

* Add fail switch to curl

Add fail switch to curl

* Use constant for signing string.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants