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

Broken release build osx1015-release-tar #2816

Closed
targos opened this issue Nov 30, 2021 · 12 comments
Closed

Broken release build osx1015-release-tar #2816

targos opened this issue Nov 30, 2021 · 12 comments

Comments

@targos
Copy link
Member

targos commented Nov 30, 2021

All runs have failed for the last seven days:

07:08:12 SIGN="Developer ID Application: Node.js Foundation" PKGDIR="node-v18.0.0-nightly20211128265a47d680-darwin-x64" sh tools/osx-codesign.sh
07:08:12 + set -e
07:08:12 + '[' -z 'Developer ID Application: Node.js Foundation' ']'
07:08:12 + codesign --sign 'Developer ID Application: Node.js Foundation' --entitlements tools/osx-entitlements.plist --options runtime --timestamp node-v18.0.0-nightly20211128265a47d680-darwin-x64/bin/node
07:08:12 node-v18.0.0-nightly20211128265a47d680-darwin-x64/bin/node: timestamps differ by 186 seconds - check your system clock
07:08:14 make: *** [node-v18.0.0-nightly20211128265a47d680-darwin-x64.tar] Error 1

@nodejs/jenkins-release-admins

@targos
Copy link
Member Author

targos commented Nov 30, 2021

@richardlau
Copy link
Member

I poked around in the command history on release-orka-macos10.15-x64-1 and found a sudo sntp -sS time.apple.com command. I ran it and it appears to have set the time back a few minutes.

administrator@release-orka-macos10 ~ % date
Tue Nov 30 06:16:32 PST 2021
administrator@release-orka-macos10 ~ % sudo sntp -sS time.apple.com
sntp 4.2.8p10@1.3728-o Tue Mar 21 14:36:42 UTC 2017 (139~6322)
kod_init_kod_db(): Cannot open KoD db file /var/db/ntp-kod: No such file or directory
2021-11-30 06:16:39.359527 (+0800) -187.79954 +/- 125.199938 time.apple.com 17.253.6.125 s1 no-leap
administrator@release-orka-macos10 ~ % date
Tue Nov 30 06:13:37 PST 2021
administrator@release-orka-macos10 ~ %

Rerunning a failed macOS build 🤞: https://ci-release.nodejs.org/job/iojs+release/8108/nodes=osx1015-release-pkg/console

@targos
Copy link
Member Author

targos commented Dec 1, 2021

Thanks, the incident is resolved, but I think there are two things that could improve this for the future:

  • Could we enable automatic time sync on the macOS hosts?
  • This issue was only noticed when we actually tried to do a manual release. Should we setup some sort of monitoring on the release job so we know as soon as possible when there is an problem?

@mhdawson
Copy link
Member

mhdawson commented Dec 3, 2021

@sxa do you know if we have automatic time sync setup on the macOS hosts for OpenJDK? If so maybe we can pull over what's done there.

@targos
Copy link
Member Author

targos commented Aug 16, 2022

Happened againg today: https://ci-release.nodejs.org/job/iojs+release/8681/nodes=osx1015-release-tar/console

Please fix ASAP, I have a release to promote today.

@richardlau
Copy link
Member

Synced with Apple's time server again:

administrator@release-orka-macos10 ~ % date
Tue Aug 16 01:33:03 PDT 2022
administrator@release-orka-macos10 ~ % sudo sntp -sS time.apple.com
sntp 4.2.8p10@1.3728-o Tue Mar 21 14:36:42 UTC 2017 (139~6322)
kod_init_kod_db(): Cannot open KoD db file /var/db/ntp-kod: No such file or directory
2022-08-16 01:33:09.323310 (+0700) -209.268495 +/- 139.512559 time.apple.com 17.253.6.253 s1 no-leap
administrator@release-orka-macos10 ~ % date
Tue Aug 16 01:29:46 PDT 2022
administrator@release-orka-macos10 ~ %

@targos
Copy link
Member Author

targos commented Aug 16, 2022

Thank you. Rebuild: https://ci-release.nodejs.org/job/iojs+release/8683/

@Trott
Copy link
Member

Trott commented Aug 21, 2022

Optimistically closing this, but if that's not the right thing to do, please re-open.

@Trott Trott closed this as completed Aug 21, 2022
@targos targos reopened this Aug 29, 2022
@targos
Copy link
Member Author

targos commented Aug 29, 2022

I think the source of the problem is still here.

@github-actions
Copy link

This issue is stale because it has been open many days with no activity. It will be closed soon unless the stale label is removed or a comment is made.

@github-actions github-actions bot added the stale label Jun 26, 2023
@targos targos closed this as completed Jun 26, 2023
@targos
Copy link
Member Author

targos commented Oct 17, 2023

I'm trying to fix release-orka-macos11-x64-1 but it doesn't seem to work:

administrator@release-orka-macos11-x64-1 ~ % date
Tue Oct 17 00:17:59 PDT 2023
administrator@release-orka-macos11-x64-1 ~ % sudo sntp -sS time.apple.com
+186.054062 +/- 0.000137 time.apple.com 17.253.6.253
administrator@release-orka-macos11-x64-1 ~ % date
Tue Oct 17 00:18:04 PDT 2023

@targos targos reopened this Oct 17, 2023
@targos
Copy link
Member Author

targos commented Oct 17, 2023

Fixed after a reboot.

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

No branches or pull requests

4 participants