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

Remove sourceforge build dependency #316

Closed
rHorsey opened this issue Mar 20, 2018 · 1 comment
Closed

Remove sourceforge build dependency #316

rHorsey opened this issue Mar 20, 2018 · 1 comment

Comments

@rHorsey
Copy link
Contributor

rHorsey commented Mar 20, 2018

General Issue / Feature Information

Description

Every now and again, all our circle builds crash and fail because of sourceforge availability or authentication issues for the mozilla release. This is very frustrating and annoying. There should be a better (less prone to downtime or whatever) option for mozilla releases.

Reproduction steps:

  1. Run circle tests a lot
  2. Download and read the log when the build step fails
  3. Retry in an hour, and watch it work
  4. Regard sourceforge with deep resentment

Actual outcome:
This is off of a 241-develop build, but everything but the step number is basically always the same.

Step 18 : RUN if [ "$RAILS_ENV" = "docker-test" ]; then         echo "Running in testing environment - Installing Firefox and Gecko Driver" &&         echo "deb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main" | tee -a /etc/apt/sources.list > /dev/null &&         apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C1289A29 &&         apt-get update &&         apt-get install -y xvfb             x11-xkb-utils             xfonts-100dpi             xfonts-75dpi             xfonts-scalable             xfonts-cyrillic             firefox &&         rm -rf /var/lib/apt/lists/* &&         cd /usr/local/bin &&         wget http://github.com/mozilla/geckodriver/releases/download/$GECKODRIVER_VERSION/geckodriver-$GECKODRIVER_VERSION-linux64.tar.gz &&         tar -xvzf geckodriver-$GECKODRIVER_VERSION-linux64.tar.gz &&         rm geckodriver-$GECKODRIVER_VERSION-linux64.tar.gz &&         chmod +x geckodriver;     else         echo "Not Running in testing environment";     fi
 ---> Running in 3b78fdf51ff4
Running in testing environment - Installing Firefox and Gecko Driver
Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.LMQ2Gg7d5M --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --recv-keys --keyserver keyserver.ubuntu.com C1289A29
gpg: requesting key C1289A29 from hkp server keyserver.ubuntu.com
gpg: key C1289A29: public key "Daniel Folkinshteyn (Ubuntuzilla signing key) <nanotube@users.sourceforge.net>" imported
gpg: key C1289A29: public key "Daniel Folkinshteyn (Ubuntuzilla signing key) <nanotube@users.sourceforge.net>" imported
gpg: Total number processed: 2
gpg:               imported: 2  (RSA: 1)
Ign http://repo.mongodb.org trusty/mongodb-org/3.0 InRelease
Get:1 http://repo.mongodb.org trusty/mongodb-org/3.0 Release.gpg [455 B]
Get:2 http://repo.mongodb.org trusty/mongodb-org/3.0 Release [3462 B]
Ign http://archive.ubuntu.com trusty InRelease
Get:3 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]
Get:4 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
Get:5 http://archive.ubuntu.com trusty-backports InRelease [65.9 kB]
Get:6 http://repo.mongodb.org trusty/mongodb-org/3.0/multiverse amd64 Packages [11.3 kB]
Get:7 http://downloads.sourceforge.net all InRelease
Get:8 http://archive.ubuntu.com trusty Release.gpg [933 B]
Get:9 http://archive.ubuntu.com trusty-updates/universe Sources [248 kB]
Get:10 http://security.ubuntu.com trusty-security/universe Sources [83.2 kB]
Get:11 http://archive.ubuntu.com trusty-updates/main amd64 Packages [1323 kB]
Get:12 http://security.ubuntu.com trusty-security/main amd64 Packages [900 kB]
Get:13 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [21.4 kB]
Get:14 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [577 kB]
Get:15 http://security.ubuntu.com trusty-security/restricted amd64 Packages [18.1 kB]
Get:16 http://security.ubuntu.com trusty-security/universe amd64 Packages [268 kB]
Get:17 http://security.ubuntu.com trusty-security/multiverse amd64 Packages [4717 B]
Get:18 http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages [16.0 kB]
Err http://downloads.sourceforge.net all/main amd64 Packages
  
Get:19 http://archive.ubuntu.com trusty Release [58.5 kB]
Get:20 http://archive.ubuntu.com trusty-backports/main amd64 Packages [14.7 kB]
Get:21 http://archive.ubuntu.com trusty-backports/restricted amd64 Packages [40 B]
Err http://downloads.sourceforge.net all/main amd64 Packages
  gnutls_handshake() failed: Handshake failed
Get:22 http://archive.ubuntu.com trusty-backports/universe amd64 Packages [52.5 kB]
Get:23 http://archive.ubuntu.com trusty-backports/multiverse amd64 Packages [1392 B]
Get:24 http://archive.ubuntu.com trusty/universe Sources [7926 kB]
Get:25 http://archive.ubuntu.com trusty/main amd64 Packages [1743 kB]
Get:26 http://archive.ubuntu.com trusty/restricted amd64 Packages [16.0 kB]
Get:27 http://archive.ubuntu.com trusty/universe amd64 Packages [7589 kB]
Get:28 http://archive.ubuntu.com trusty/multiverse amd64 Packages [169 kB]
Fetched 21.2 MB in 10s (2094 kB/s)
W: There is no public key available for the following key IDs:
B7B9C16F2667CA5C
W: Failed to fetch http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt/dists/all/main/binary-amd64/Packages  gnutls_handshake() failed: Handshake failed

E: Some index files failed to download. They have been ignored, or old ones used instead.
ERROR: Service 'web' failed to build: The command '/bin/sh -c if [ "$RAILS_ENV" = "docker-test" ]; then         echo "Running in testing environment - Installing Firefox and Gecko Driver" &&         echo "deb http://downloads.sourceforge.net/project/ubuntuzilla/mozilla/apt all main" | tee -a /etc/apt/sources.list > /dev/null &&         apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C1289A29 &&         apt-get update &&         apt-get install -y xvfb             x11-xkb-utils             xfonts-100dpi             xfonts-75dpi             xfonts-scalable             xfonts-cyrillic             firefox &&         rm -rf /var/lib/apt/lists/* &&         cd /usr/local/bin &&         wget http://github.com/mozilla/geckodriver/releases/download/$GECKODRIVER_VERSION/geckodriver-$GECKODRIVER_VERSION-linux64.tar.gz &&         tar -xvzf geckodriver-$GECKODRIVER_VERSION-linux64.tar.gz &&         rm geckodriver-$GECKODRIVER_VERSION-linux64.tar.gz &&         chmod +x geckodriver;     else         echo "Not Running in testing environment";     fi' returned a non-zero code: 100

docker-compose -f docker-compose.test.yml build --pull returned exit code 1

Action failed: docker-compose -f docker-compose.test.yml build --pull

Expected outcome:

Not that 
#nostacktrace

Other information (i.e. issue is intermittent):

This issue is profoundly intermittent.

@nllong
Copy link
Member

nllong commented Jun 21, 2018

The sourceforge repo is the problem. Moved container builds and tests to Travis... let's see if it gets better.

@rHorsey rHorsey self-assigned this Jul 26, 2018
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

3 participants