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

Gosu sometimes cant be installed correctly #108

Closed
gustawdaniel opened this issue Jul 5, 2018 · 6 comments
Closed

Gosu sometimes cant be installed correctly #108

gustawdaniel opened this issue Jul 5, 2018 · 6 comments

Comments

@gustawdaniel
Copy link
Contributor

Sometimes I observe the following error. Unfortunately it is not reproducible because I see it in only some percent of builds. But it is not one depart case. I have seen this errors some times.

Processing triggers for libc-bin (2.19-18+deb8u10) ...

converted 'https://github.com/tianon/gosu/releases/download/1.10/gosu-amd64' (ANSI_X3.4-1968) -> 'https://github.com/tianon/gosu/releases/download/1.10/gosu-amd64' (UTF-8)
--2018-07-05 20:51:31--  https://github.com/tianon/gosu/releases/download/1.10/gosu-amd64
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/19708981/0afb9a88-8591-11e6-9802-291a1e7e3b2b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180705%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20180705T205131Z&X-Amz-Expires=300&X-Amz-Signature=1a241d5fa1671c09f0288ddd71a3a08cc0817217efecb64540175ee01efe0592&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dgosu-amd64&response-content-type=application%2Foctet-stream [following]
converted 'https://github-production-release-asset-2e65be.s3.amazonaws.com/19708981/0afb9a88-8591-11e6-9802-291a1e7e3b2b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180705%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20180705T205131Z&X-Amz-Expires=300&X-Amz-Signature=1a241d5fa1671c09f0288ddd71a3a08cc0817217efecb64540175ee01efe0592&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dgosu-amd64&response-content-type=application%2Foctet-stream' (ANSI_X3.4-1968) -> 'https://github-production-release-asset-2e65be.s3.amazonaws.com/19708981/0afb9a88-8591-11e6-9802-291a1e7e3b2b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A/20180705/us-east-1/s3/aws4_request&X-Amz-Date=20180705T205131Z&X-Amz-Expires=300&X-Amz-Signature=1a241d5fa1671c09f0288ddd71a3a08cc0817217efecb64540175ee01efe0592&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment; filename=gosu-amd64&response-content-type=application/octet-stream' (UTF-8)
--2018-07-05 20:51:31--  https://github-production-release-asset-2e65be.s3.amazonaws.com/19708981/0afb9a88-8591-11e6-9802-291a1e7e3b2b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A/20180705/us-east-1/s3/aws4_request&X-Amz-Date=20180705T205131Z&X-Amz-Expires=300&X-Amz-Signature=1a241d5fa1671c09f0288ddd71a3a08cc0817217efecb64540175ee01efe0592&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment;%20filename=gosu-amd64&response-content-type=application/octet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.227.232
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.227.232|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1286720 (1.2M) [application/octet-stream]
Saving to: '/usr/local/bin/gosu'

     0K .......... .......... .......... .......... ..........  3% 1.22M 1s
    50K .......... .......... .......... .......... ..........  7% 3.62M 1s
   100K .......... .......... .......... .......... .......... 11% 3.64M 0s
   150K .......... .......... .......... .......... .......... 15% 3.63M 0s
   200K .......... .......... .......... .......... .......... 19% 3.66M 0s
   250K .......... .......... .......... .......... .......... 23% 3.64M 0s
   300K .......... .......... .......... .......... .......... 27% 3.81M 0s
   350K .......... .......... .......... .......... .......... 31% 51.7M 0s
   400K .......... .......... .......... .......... .......... 35% 3.85M 0s
   450K .......... .......... .......... .......... .......... 39% 66.3M 0s
   500K .......... .......... .......... .......... .......... 43% 3.91M 0s
   550K .......... .......... .......... .......... .......... 47% 82.8M 0s
   600K .......... .......... .......... .......... .......... 51% 3.98M 0s
   650K .......... .......... .......... .......... .......... 55% 88.0M 0s
   700K .......... .......... .......... .......... .......... 59% 65.0M 0s
   750K .......... .......... .......... .......... .......... 63% 3.98M 0s
   800K .......... .......... .......... .......... .......... 67% 89.5M 0s
   850K .......... .......... .......... .......... .......... 71%  123M 0s
   900K .......... .......... .......... .......... .......... 75% 4.09M 0s
   950K .......... .......... .......... .......... .......... 79% 69.8M 0s
  1000K .......... .......... .......... .......... .......... 83% 85.5M 0s
  1050K .......... .......... .......... .......... .......... 87% 70.9M 0s
  1100K .......... .......... .......... .......... .......... 91% 4.19M 0s
  1150K .......... .......... .......... .......... .......... 95% 76.0M 0s
  1200K .......... .......... .......... .......... .......... 99% 68.4M 0s
  1250K ......                                                100%  106M=0.2s

2018-07-05 20:51:31 (6.10 MB/s) - '/usr/local/bin/gosu' saved [1286720/1286720]

converted 'https://github.com/tianon/gosu/releases/download/1.10/gosu-amd64.asc' (ANSI_X3.4-1968) -> 'https://github.com/tianon/gosu/releases/download/1.10/gosu-amd64.asc' (UTF-8)
--2018-07-05 20:51:31--  https://github.com/tianon/gosu/releases/download/1.10/gosu-amd64.asc
Resolving github.com (github.com)... 192.30.253.112, 192.30.253.113
Connecting to github.com (github.com)|192.30.253.112|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/19708981/0afb862e-8591-11e6-8c1a-503ca4b54c7c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180705%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20180705T205131Z&X-Amz-Expires=300&X-Amz-Signature=4bbb5d994930e49d9e1119e1c6fe57871647744cb4afe76671a06ba3d7b7033d&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dgosu-amd64.asc&response-content-type=application%2Foctet-stream [following]
converted 'https://github-production-release-asset-2e65be.s3.amazonaws.com/19708981/0afb862e-8591-11e6-8c1a-503ca4b54c7c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20180705%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20180705T205131Z&X-Amz-Expires=300&X-Amz-Signature=4bbb5d994930e49d9e1119e1c6fe57871647744cb4afe76671a06ba3d7b7033d&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dgosu-amd64.asc&response-content-type=application%2Foctet-stream' (ANSI_X3.4-1968) -> 'https://github-production-release-asset-2e65be.s3.amazonaws.com/19708981/0afb862e-8591-11e6-8c1a-503ca4b54c7c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A/20180705/us-east-1/s3/aws4_request&X-Amz-Date=20180705T205131Z&X-Amz-Expires=300&X-Amz-Signature=4bbb5d994930e49d9e1119e1c6fe57871647744cb4afe76671a06ba3d7b7033d&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment; filename=gosu-amd64.asc&response-content-type=application/octet-stream' (UTF-8)
--2018-07-05 20:51:31--  https://github-production-release-asset-2e65be.s3.amazonaws.com/19708981/0afb862e-8591-11e6-8c1a-503ca4b54c7c?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A/20180705/us-east-1/s3/aws4_request&X-Amz-Date=20180705T205131Z&X-Amz-Expires=300&X-Amz-Signature=4bbb5d994930e49d9e1119e1c6fe57871647744cb4afe76671a06ba3d7b7033d&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment;%20filename=gosu-amd64.asc&response-content-type=application/octet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... 52.216.227.232
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|52.216.227.232|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 543 [application/octet-stream]
Saving to: '/usr/local/bin/gosu.asc'

     0K                                                       100% 16.7M=0s

2018-07-05 20:51:32 (16.7 MB/s) - '/usr/local/bin/gosu.asc' saved [543/543]

gpg: keyring `/tmp/tmp.masltKEI65/secring.gpg' created
gpg: keyring `/tmp/tmp.masltKEI65/pubring.gpg' created
gpg: requesting key BF357DD4 from hkp server p80.pool.sks-keyservers.net
gpgkeys: key B42F6819007F00F88E364FD4036A9C25BF357DD4 can't be retrieved
gpg: no valid OpenPGP data found.
gpg: Total number processed: 0
The command '/bin/sh -c cd $APP_SOURCE_DIR &&   $BUILD_SCRIPTS_DIR/install-deps.sh &&   $BUILD_SCRIPTS_DIR/install-node.sh &&   $BUILD_SCRIPTS_DIR/install-phantom.sh &&   $BUILD_SCRIPTS_DIR/install-graphicsmagick.sh &&   $BUILD_SCRIPTS_DIR/install-mongo.sh &&   $BUILD_SCRIPTS_DIR/install-meteor.sh &&   $BUILD_SCRIPTS_DIR/build-meteor.sh &&   $BUILD_SCRIPTS_DIR/post-build-cleanup.sh' returned a non-zero code: 2
Exited with code 2

What can we do to avoid this error?

@gustawdaniel
Copy link
Contributor Author

I had the same error again using Circle Ci. Has anyone seen this bug too?

@hellogerard
Copy link

Experiencing this intermittently when building the image also. GPG servers seem to be known to be flaky [1]. There are some workarounds [2]. Would love get this remedied and pushed!

  1. Guidance on GPG best practices docker-library/official-images#4252
  2. https://github.com/tianon/pgp-happy-eyeballs

@imhazige
Copy link

imhazige commented Feb 11, 2019

Mark, deploy the same meteor application many many times, today suddenly encounter this problem, now I know it is such a problem.

@timbaas
Copy link

timbaas commented Mar 8, 2019

I've just switched to the following fork which fixed it for me: https://github.com/gbhrdt/meteor-launchpad

@gustawdaniel
Copy link
Contributor Author

There is connected issue with proposed fix:

tianon/gosu#35

@gustawdaniel
Copy link
Contributor Author

Closed as related with #138

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

No branches or pull requests

4 participants