FTBFS invalid certificates

Bug #1812669 reported by Andreas Hasenack
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
ruby2.5 (Ubuntu)
Fix Released
High
Andreas Hasenack
Bionic
Fix Released
High
Unassigned
Cosmic
Fix Released
High
Unassigned

Bug Description

[Impact]

 * Expired test certificates lead to autopkgtest and test-rebuild/ftbfs failures
 * this results in false negatives when preparing security and SRU uploads of ruby, and any reverse dependencies.
 * this one is important as lots of things are sensitive to ruby2.5 failing its tests.

[Test Case]

 * Did build from source successfully

[Regression Potential]

 * the change is to the test certs only
 * no other code changes, appart from rebuild risks only

[Other Info]

 * Original bug report:

Build of 2.5.3-3ubuntu2 fails (https://launchpad.net/ubuntu/+source/ruby2.5/2.5.3-3ubuntu2):

...
OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=error: certificate verify failed (certificate has expired)

Patches located upstream by juliank:
https://github.com/ruby/ruby/commit/f234e6c3d3170f37508e214cdaef78d4b2584e5a
https://github.com/ruby/ruby/commit/1e0b49a293d3792826c67b7e05c5fcbd09c9ea6e

Related branches

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ruby2.5 - 2.5.3-3ubuntu3

---------------
ruby2.5 (2.5.3-3ubuntu3) disco; urgency=medium

  * d/p/update-cert-{1,2}.patch: update certificates to fix FTBFS
    (LP: #1812669)

 -- Andreas Hasenack <email address hidden> Mon, 21 Jan 2019 10:59:42 -0200

Changed in ruby2.5 (Ubuntu):
status: In Progress → Fix Released
Robie Basak (racb)
tags: added: ftbfs rls-bb-incoming
Changed in ruby2.5 (Ubuntu Bionic):
importance: Undecided → High
description: updated
Revision history for this message
Dimitri John Ledkov (xnox) wrote :

In unapproved

Changed in ruby2.5 (Ubuntu Bionic):
status: New → In Progress
Changed in ruby2.5 (Ubuntu Cosmic):
status: New → In Progress
Revision history for this message
Steve Langasek (vorlon) wrote : Please test proposed package

Hello Andreas, or anyone else affected,

Accepted ruby2.5 into cosmic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ruby2.5/2.5.1-5ubuntu4.2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested and change the tag from verification-needed-cosmic to verification-done-cosmic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-cosmic. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in ruby2.5 (Ubuntu Cosmic):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-cosmic
Revision history for this message
Dimitri John Ledkov (xnox) wrote :
tags: added: verification-done verification-done-cosmic
removed: verification-needed verification-needed-cosmic
Mathew Hodson (mhodson)
Changed in ruby2.5 (Ubuntu Cosmic):
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ruby2.5 - 2.5.1-5ubuntu4.2

---------------
ruby2.5 (2.5.1-5ubuntu4.2) cosmic; urgency=medium

  * d/p/update-cert-{1,2}.patch: update certificates to fix FTBFS. Patches
    prepared by Andreas Hasenack. (LP: #1812669)

 -- Dimitri John Ledkov <email address hidden> Wed, 20 Feb 2019 22:27:17 +0100

Changed in ruby2.5 (Ubuntu Cosmic):
status: Fix Committed → Fix Released
Revision history for this message
Łukasz Zemczak (sil2100) wrote : Update Released

The verification of the Stable Release Update for ruby2.5 has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Steve Langasek (vorlon) wrote : Proposed package upload rejected

An upload of ruby2.5 to bionic-proposed has been rejected from the upload queue for the following reason: "Sorry, needs rebased on ruby2.5 2.5.1-1ubuntu1.2 in the security pocket".

Revision history for this message
Dimitri John Ledkov (xnox) wrote :

i think this is done.

Changed in ruby2.5 (Ubuntu Bionic):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.