Channelling the experts for advice on travis. After being absent for a couple of weeks my travis builds have started failing The problem is seems to be related to this message in the failing builds
3.5 is not installed; attempting download
this is later followed by
Downloading archive: https://storage.googleapis.com/travis-ci-language-archives/python/binaries/u... 0.48s$ curl -sSf -o python-3.5.tar.bz2 ${archive_url} 13.65s$ sudo tar xjf python-3.5.tar.bz2 --directory /
my base python in .travis.yml is
python: 3.5
and in the matrix I have this
matrix: exclude: # Exclude the default Python 3.5 build - python: 3.5 include: - os: linux env: - UNICODE_WIDTH=16 - MB_PYTHON_VERSION=2.7 - os: linux env: ........ ...............
I see no pattern in which are failing and which succeed -- Robin Becker
This is not related to Python packaging per se, but I'll bite. I'm not seeing difficulties but then again I am using the Xenial images in all my projects. Could you try upgrading from Trusty to Xenial in your Travis configuration? Robin Becker kirjoitti 16.9.2019 klo 19.08:
Channelling the experts for advice on travis. After being absent for a couple of weeks my travis builds have started failing
The problem is seems to be related to this message in the failing builds
3.5 is not installed; attempting download
this is later followed by
Downloading archive: https://storage.googleapis.com/travis-ci-language-archives/python/binaries/u... 0.48s$ curl -sSf -o python-3.5.tar.bz2 ${archive_url} 13.65s$ sudo tar xjf python-3.5.tar.bz2 --directory /
my base python in .travis.yml is
python: 3.5
and in the matrix I have this
matrix: exclude: # Exclude the default Python 3.5 build - python: 3.5 include: - os: linux env: - UNICODE_WIDTH=16 - MB_PYTHON_VERSION=2.7 - os: linux env: ........ ...............
I see no pattern in which are failing and which succeed
On 16/09/2019 18:42, Alex Grönholm wrote:
This is not related to Python packaging per se, but I'll bite.
I'm not seeing difficulties but then again I am using the Xenial images in all my projects. Could you try upgrading from Trusty to Xenial in your Travis configuration?
........ In fact I was totally wrong regarding the real cause of the problem, probably because I looked at copied logs and not the ones from travis itself. I am using matthew Brett's multibuild stuff manylinux (https://github.com/matthew-brett/multibuild) to build the reportlab manylinux builds. It seems the problem is intermittent inability to download some component. Working version
Installed: zlib-devel.i386 0:1.2.3-7.el5 Complete! % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 412 100 412 0 0 1471 0 --:--:-- --:--:-- --:--:-- 1466 100 399 100 399 0 0 729 0 --:--:-- --:--:-- --:--:-- 729 100 1469k 100 1469k 0 0 910k 0 0:00:01 0:00:01 --:--:-- 2823k Setting up Install Process Resolving Dependencies --> Running transaction check ---> Package rsync.i386 0:3.0.6-6.el5_11 set to be updated --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: rsync i386 3.0.6-6.el5_11 updates 338 k
failing
Installed: zlib-devel.i386 0:1.2.3-7.el5 Complete! % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 412 100 412 0 0 1455 0 --:--:-- --:--:-- --:--:-- 1450 0 0 0 0 0 0 0 0 --:--:-- 0:00:55 --:--:-- 0Still building... 0 0 0 0 0 0 0 0 --:--:-- 0:01:55 --:--:-- 0Still building... 0 0 0 0 0 0 0 0 --:--:-- 0:02:07 --:--:-- 0 curl: (7) Failed to connect to downloads.sourceforge.net port 443: Connection timed out
so I guess this might have something to do with installing rsync in the multibuild setup. It's still not clear why the builds that fail sometimes work and sometimes not. My latest attempt had 4 successes and 10 failures. Over the last twelve hours I tried 3 times and have 10 completed builds so the failures are not always happening. -- Robin Becker
Matthew Brett, suggests this is probably caused by libpng download which comes from sourceforge. By spacing out my test builds I am able to complete the matrix by re-running at decent intervals. I have no idea if SF is throttling in some way, but libpng is downloaded a lot. -- Robin Becker
participants (2)
-
Alex Grönholm
-
Robin Becker