Project

Profile

Help

Issue #5189

closed

2-master Travis builds failing, need to pin distro in .travis.yml

Added by ggainey over 4 years ago. Updated over 4 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
2.21.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Travis build failing with

2.6 is not installed; attempting download
Downloading archive: https://storage.googleapis.com/travis-ci-language-archives/python/binaries/ubuntu/16.04/x86_64/python-2.6.tar.bz2
0.12s$ curl -sSf -o python-2.6.tar.bz2 ${archive_url}
curl: (22) The requested URL returned error: 404 Not Found
Unable to download 2.6 archive. The archive may not exist. Please consider a different version.

Cause is https://travis-ci.community/t/issue-with-python-2-6-on-linux/3861

We need to pin the distro to trusty if we want to continue building for py2.6

Actions #1

Updated by ggainey over 4 years ago

Some discussion about why builds aren't failing every time currently:

<ggainey> daviddavis: ok, I am now very confuse - why did https://github.com/pulp/pulp_rpm/pull/1412 NOT fail?
<ggainey> I swear I'm using the same .travis.yml in my fork, but clearly something is different
<daviddavis> ggainey: it's running on trusty https://travis-ci.org/pulp/pulp_rpm/jobs/564038284#L9
<daviddavis> the default just changed to xenial
<daviddavis> weird that it switched like 9 min ago. maybe some travis servers are still using trusty or something?
<daviddavis> ah yea, if you don't specify dist, you could be routed to either xenial or trusty it looks like
<ggainey> ah kk - so it may continue to work, but 'soon', it will start to fail

Actions #2

Updated by ggainey over 4 years ago

  • Triaged changed from No to Yes

flake8 is version-specific, and we want to continue to support py2.6 installs. This suggests that pinning to trusty is the way to go.

NOTE: make other pulp/* projects' 2-master branches consistent as part of addressing this issue

Added by dalley over 4 years ago

Revision 88372dc4 | View on GitHub

Fix travis distro to "trusty"

Travis recently changed their default from Trusty to Xenial, which no longer supports Python 2.6.

[noissue]

Actions #3

Updated by dalley over 4 years ago

  • Status changed from NEW to MODIFIED
  • Assignee set to dalley
Actions #4

Updated by dalley over 4 years ago

  • Platform Release set to 2.21.0
Actions #5

Updated by dalley over 4 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF