Skip to content
This repository has been archived by the owner on Jul 8, 2022. It is now read-only.

Travis build failing on Debian 7 #546

Closed
bourtemb opened this issue Mar 25, 2019 · 5 comments
Closed

Travis build failing on Debian 7 #546

bourtemb opened this issue Mar 25, 2019 · 5 comments

Comments

@bourtemb
Copy link
Member

bourtemb commented Mar 25, 2019

The recent Travis builds are all failing on Debian 7:


Step 5/19 : RUN apt-get update && apt-get install -y apt-utils
 ---> Running in 74161e0792e0
Ign http://deb.debian.org wheezy Release.gpg
Ign http://deb.debian.org wheezy-updates Release.gpg
Ign http://deb.debian.org wheezy-backports Release.gpg
Ign http://deb.debian.org wheezy Release
Ign http://deb.debian.org wheezy-updates Release
Ign http://deb.debian.org wheezy-backports Release
Get:1 http://security.debian.org wheezy/updates Release.gpg [1601 B]
Get:2 http://security.debian.org wheezy/updates Release [52.3 kB]
Err http://deb.debian.org wheezy/main amd64 Packages
  404  Not Found
Err http://deb.debian.org wheezy-updates/main amd64 Packages
  404  Not Found
Get:3 http://security.debian.org wheezy/updates/main amd64 Packages [743 kB]
Err http://deb.debian.org wheezy-backports/main amd64 Packages
  404  Not Found
Fetched 797 kB in 0s (931 kB/s)
W: Failed to fetch http://deb.debian.org/debian/dists/wheezy/main/binary-amd64/Packages  404  Not Found
W: Failed to fetch http://deb.debian.org/debian/dists/wheezy-updates/main/binary-amd64/Packages  404  Not Found
W: Failed to fetch http://deb.debian.org/debian/dists/wheezy-backports/main/binary-amd64/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
The command '/bin/sh -c apt-get update && apt-get install -y apt-utils' returned a non-zero code: 100
The command "docker build --build-arg APP_UID=$(id -u) --build-arg APP_GID=$(id -g) -t cpp_tango .travis/${OS_TYPE}" failed and exited with 100 during .

This seems to be due to Debian Wheezy end of life.
There are no longer wheezy related directories under https://deb.debian.org/debian/dists/

@bourtemb
Copy link
Member Author

Unless somebody knows a way to make the Debian 7 Travis builds work again, I propose to disable/remove them.

bourtemb added a commit that referenced this issue Mar 25, 2019
... after Debian Wheezy end of life (#546)
@bourtemb
Copy link
Member Author

Closed with #547

@bourtemb
Copy link
Member Author

I found this announce on a Debian mailing list:
https://lists.debian.org/debian-devel-announce/2019/03/msg00006.html

Hello,

as Wheezy and Jessie have been integrated into the archive.debian.org
structure recently, we are now removing all of Wheezy and all non-LTS
architectures of Jessie from the mirror network starting today.
That is, only Jessie i386, amd64, armel and armhf will continue to be
hosted on the normal mirrors.

The data is, of course, not lost - the whole of it is synced
to archive.debian.org, so if you still need it you will be able to get
it from there.[1]

[1] Keep in mind that they have no security support at all!

The data is still available on archive.debian.org.
So, in theory, if debian:wheezy-backports docker base image is updated to point to archive.debian.org, it can still work...

We could also update the apt source configuration on our Debian 7 Docker file to point to archive.debian.org.
A bit like this example showing how to do for Debian squeeze:

https://gist.github.com/ricsiga/e8c35ba06715b86215a9da2613eafc28

@bourtemb bourtemb reopened this Mar 25, 2019
@bourtemb
Copy link
Member Author

There is already an issue created for the docker base image we are using:
debuerreotype/docker-debian-artifacts#65
So this will probably be fixed soon.

bourtemb added a commit to bourtemb/cppTango that referenced this issue Mar 26, 2019
Update Travis Debian 7 Dockerfile since wheezy has reached end of life and its
packages have been moved to archive.debian.org
bourtemb added a commit to bourtemb/cppTango that referenced this issue Mar 26, 2019
Use archive.debian.org to get wheezy packages since wheezy has reached end of
life and its packages have been moved to archive.debian.org
Remove duplicated curl installation
bourtemb added a commit that referenced this issue Mar 26, 2019
* Revert "Remove Debian 7 Travis builds... (#547)"
This reverts commit eaec2a0.
* Update Debian 7 Travis Docker file (#546) ...
Use archive.debian.org to get wheezy packages since wheezy has reached end of
life and its packages have been moved to archive.debian.org
Remove duplicated curl installation
* Update Travis Debian 8 Docker file
Work-around while waiting for upstream debian:jessie docker file to be updated
after jessie-updates have been removed from Debian mirrors
Remove duplicated curl installation
@bourtemb
Copy link
Member Author

The Debian Docker base images we are using will be updated or renamed soon.
We will keep an eye on them.
In the mean time, #549 fixed the Debian 7 & Debian 8 Travis build issues.

Ingvord pushed a commit that referenced this issue Mar 29, 2019
* Added CHANGELOG.md
This file is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
List changes since cppTango 9.2.5.
Changes with potential compatibility issues are documented as suggested in #509 and are in bold.

* Add links to issues and PRs in CHANGELOG.md

* Update CHANGELOG.md
with references to #508,#516,#518,#520,#521,#522,#523,#529,#531,#533,#537

* Update CHANGELOG.md with #517

* Update CHANGELOG.md. Add link for issue 395

* Moved 2 items from Fixed to Changed section
Added a warning about the event subscription change sleep reduction

* First version of the release notes for cppTango 9.3.3
Rename RELEASE_NOTES in RELEASE_NOTES.md.
The previous RELEASE_NOTES content has been moved to CHANGELOG.md file.

* Added reference to cppTango#539
Preparation for cppTango 9.3.3 release

* Update CHANGELOG and RELEASE_NOTES with #541 and #542

* Reword one item in CHANGELOG.md and RELEASE_NOTES.md

* Update CHANGELOG.md with #544, #546 and #549

* Add reference to #532
Add 9.3.3 release date

* Add 9.3.3 release date
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant