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

Error: couldn't open node-v9.7.0.pkg #19074

Closed
davidfekke opened this issue Mar 1, 2018 · 27 comments
Closed

Error: couldn't open node-v9.7.0.pkg #19074

davidfekke opened this issue Mar 1, 2018 · 27 comments
Labels
confirmed-bug Issues with confirmed bugs. install Issues and PRs related to the installers. macos Issues and PRs related to the macOS platform / OSX.

Comments

@davidfekke
Copy link

9.7.0:
macOS:
https://nodejs.org/dist/v9.7.0/node-v9.7.0.pkg

I am receiving the following error when I try to run the macOS installer for Node.js 9.7.0.

The operation couldn’t be completed. (com.apple.installer.pagecontroller error -1.)

couldn't open node-v9.7.0.pkg
@yashwa7
Copy link

yashwa7 commented Mar 1, 2018

I do as well!

@IamMille
Copy link

IamMille commented Mar 1, 2018

+1

@richardlau
Copy link
Member

cc @nodejs/platform-macos

@rongreen
Copy link

rongreen commented Mar 1, 2018

+1

@bnoordhuis
Copy link
Member

Don't +1, that sends email to 100+ people. Use the upvote button.

@rongreen
Copy link

rongreen commented Mar 1, 2018

Sorry

@joyeecheung joyeecheung added install Issues and PRs related to the installers. macos Issues and PRs related to the macOS platform / OSX. labels Mar 1, 2018
@leihuagh
Copy link

leihuagh commented Mar 1, 2018

+1

@gibfahn gibfahn added the confirmed-bug Issues with confirmed bugs. label Mar 1, 2018
@gibfahn
Copy link
Member

gibfahn commented Mar 1, 2018

cc/ @rvagg

So I think this is what happened:

scp -p node-v9.7.0.pkg node-www:nodejs/release/v9.7.0/node-v9.7.0.pkg
Killed by signal 15.
lost connection
make: *** [pkg-upload] Error 1
Build was aborted

I'd assume the easiest way to fix is to manually push the right pkg file to the server, @rvagg resigns and promotes it, and it's done.

Alternately we could rerun the build just for that job.

@gibfahn
Copy link
Member

gibfahn commented Mar 1, 2018

cc/ @nodejs/release , not sure what we should do here

@rvagg
Copy link
Member

rvagg commented Mar 1, 2018

doh!
I think we can justify pushing a fixed .pkg for just this one, the shasum will only change for that file, any objections @nodejs/release?

@gibfahn
Copy link
Member

gibfahn commented Mar 1, 2018

@rvagg
Copy link
Member

rvagg commented Mar 1, 2018

yeah, OK, I could manually put that into staging and promote it, will stage it now and wait a little while to see if there are any objections

@richardlau
Copy link
Member

As an aside, I thought we added download tests to catch this sort of thing?

@mhdawson
Copy link
Member

mhdawson commented Mar 1, 2018

STGM

@mhdawson
Copy link
Member

mhdawson commented Mar 1, 2018

The download test validates the non-installer packages https://ci.nodejs.org/view/Node.js%20Daily/job/validate-downloads/

It would be good to validate the installers too, but that would be more complex as it would require jobs to run each of the target platforms.

@MylesBorins
Copy link
Contributor

I'm ok with it. Lmk when this is ready to go and I'll promote and sign the new .pkg

@MylesBorins
Copy link
Contributor

Oh wait 9.7.0 that was released by @addaleax, they would likely need to promote / sign

@rvagg
Copy link
Member

rvagg commented Mar 2, 2018

@MylesBorins no, @addaleax prepared it, I released it, I also did the screw-up with the second build which I started because it looked like one of the Windows builders had stalled, but I cancelled the second build when the Windows builder righted itself.

@MylesBorins
Copy link
Contributor

Was it released with the bad .PKG? Does the signed Sha match the corrupted pkg?

If not do we have the original .PKG anywhere that we could republish?

I'm almost inclined to say we should published 9.7.1 rather than edit the sha

@gibfahn
Copy link
Member

gibfahn commented Mar 2, 2018

Was it released with the bad .PKG? Does the signed Sha match the corrupted pkg?

Yes

If not do we have the original .PKG anywhere that we could republish?

Yes, it's here: https://ci-release.nodejs.org/job/iojs+release/3130/nodes=osx1010-release-pkg/artifact/node-v9.7.0.pkg.

c11d128c923c09d2cf63789f4d03d3347345c934901301604fce95fee80fc6ab  node-v9.7.0-ci-release.pkg
5247a2467c4722bd8697ede7e4aa2b26be3b77a92c51243451252753f61a6482  node-v9.7.0-dist.pkg

@richardlau
Copy link
Member

AFAICT https://ci.nodejs.org/view/Node.js%20Daily/job/validate-downloads/ does look at the installer packages, but all it does is validate that it matches the SHA (so in this case does not catch the problem as the published SHA was for the corrupted pkg).

@richardlau
Copy link
Member

richardlau commented Mar 2, 2018

I'm almost inclined to say we should published 9.7.1 rather than edit the sha

Come to think of it, I have a vague recollection that we tried to update the sha once in the past and it caused problems resulting in a new patch release.

Edit: It was v6.9.3/v6.9.4 #10640

@MylesBorins
Copy link
Contributor

We accidentally published over assets in the past and didn't have backups. So we opted to do a new release rather than replace Shas.

@rvagg
Copy link
Member

rvagg commented Mar 2, 2018

ok, I'll push a new release now then

@rvagg
Copy link
Member

rvagg commented Mar 2, 2018

#19081

rvagg added a commit that referenced this issue Mar 2, 2018
No additional commits. New version published due to a bad
node-v9.7.0.pkg file that was published to nodejs.org in the previous
release.

Ref: #19074
PR-URL: #19081
rvagg added a commit that referenced this issue Mar 2, 2018
No additional commits. New version published due to a bad
node-v9.7.0.pkg file that was published to nodejs.org in the previous
release.

Ref: #19074
PR-URL: #19081
@rvagg
Copy link
Member

rvagg commented Mar 2, 2018

released, if you have this problem with 9.7.1 then .. well ... (I did check the .pkg prior to publishing btw!)

@rvagg rvagg closed this as completed Mar 2, 2018
@glemiere
Copy link

glemiere commented Mar 2, 2018

Thank you very much @rvagg for this quick fix!

MayaLekova pushed a commit to MayaLekova/node that referenced this issue May 8, 2018
No additional commits. New version published due to a bad
node-v9.7.0.pkg file that was published to nodejs.org in the previous
release.

Ref: nodejs#19074
PR-URL: nodejs#19081
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
confirmed-bug Issues with confirmed bugs. install Issues and PRs related to the installers. macos Issues and PRs related to the macOS platform / OSX.
Projects
None yet
Development

No branches or pull requests