Expired certificate used for tests causes failures

Bug #2051380 reported by Adrien Nader
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ruby3.0 (Ubuntu)
Invalid
Undecided
Unassigned
Jammy
Fix Released
Undecided
Lucas Kanashiro
Mantic
Invalid
Undecided
Unassigned
ruby3.1 (Ubuntu)
Fix Released
Undecided
Adrien Nader
Jammy
Invalid
Undecided
Unassigned
Mantic
Fix Released
Undecided
Lucas Kanashiro

Bug Description

[Impact]

This is causing a FTBFS, so rubyx.y cannot be rebuilt.

[Test Plan]

Build the package in the targeted releases. No test failure is expected.

[Where Problems could occur]

The test certificates were renewed, to be honest I fail to foresee any issue with the proposed change. The only change is the removal of '-text' from the openssl call, which does not ring any bell for me.

[Origin Description]

Ruby uses a x590 certificate for some of its tests. It expired at the beginning of the year and this has been causing tests to fail.

There is a fix upstream: https://github.com/ruby/ruby/pull/9420/commits/844672256e8e843a7e3a52b7e3c9bb8ea4c328b4

Related branches

Adrien Nader (adrien)
Changed in ruby3.1 (Ubuntu):
status: New → In Progress
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ruby3.1 - 3.1.2-7ubuntu4

---------------
ruby3.1 (3.1.2-7ubuntu4) noble; urgency=medium

  * Replace expired certificate in tests with upstream patch (LP: #2051380)
    - renew-test-certificates-d3933fc753187a055a4904af82f5f3794c88c416.patch

 -- Adrien Nader <email address hidden> Fri, 26 Jan 2024 18:00:42 +0100

Changed in ruby3.1 (Ubuntu):
status: In Progress → Fix Released
Changed in ruby3.0 (Ubuntu Mantic):
status: New → Invalid
Changed in ruby3.0 (Ubuntu Jammy):
status: New → In Progress
Changed in ruby3.0 (Ubuntu):
status: New → Invalid
Changed in ruby3.0 (Ubuntu Jammy):
assignee: nobody → Lucas Kanashiro (lucaskanashiro)
Changed in ruby3.1 (Ubuntu Jammy):
status: New → Invalid
Changed in ruby3.1 (Ubuntu Mantic):
status: New → In Progress
assignee: nobody → Lucas Kanashiro (lucaskanashiro)
tags: added: server-todo
description: updated
Revision history for this message
Timo Aaltonen (tjaalton) wrote : Please test proposed package

Hello Adrien, or anyone else affected,

Accepted ruby3.1 into mantic-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ruby3.1/3.1.2-7ubuntu3.1 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, what testing has been performed on the package and change the tag from verification-needed-mantic to verification-done-mantic. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-mantic. 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 ruby3.1 (Ubuntu Mantic):
status: In Progress → Fix Committed
tags: added: verification-needed verification-needed-mantic
Revision history for this message
Timo Aaltonen (tjaalton) wrote :

Hello Adrien, or anyone else affected,

Accepted ruby3.0 into jammy-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/ruby3.0/3.0.2-7ubuntu2.5 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, what testing has been performed on the package and change the tag from verification-needed-jammy to verification-done-jammy. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-jammy. 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 ruby3.0 (Ubuntu Jammy):
status: In Progress → Fix Committed
tags: added: verification-needed-jammy
Revision history for this message
Ubuntu SRU Bot (ubuntu-sru-bot) wrote : Autopkgtest regression report (ruby3.1/3.1.2-7ubuntu3.1)

All autopkgtests for the newly accepted ruby3.1 (3.1.2-7ubuntu3.1) for mantic have finished running.
The following regressions have been reported in tests triggered by the package:

passenger/6.0.17+ds-1build1 (arm64)
ruby-defaults/1:3.1 (i386)
ruby-rblineprof/0.3.7-2build5 (s390x)
ruby3.1/3.1.2-7ubuntu3.1 (i386)

Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].

https://people.canonical.com/~ubuntu-archive/proposed-migration/mantic/update_excuses.html#ruby3.1

[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions

Thank you!

Revision history for this message
Ubuntu SRU Bot (ubuntu-sru-bot) wrote : Autopkgtest regression report (ruby3.0/3.0.2-7ubuntu2.5)

All autopkgtests for the newly accepted ruby3.0 (3.0.2-7ubuntu2.5) for jammy have finished running.
The following regressions have been reported in tests triggered by the package:

passenger/6.0.10-3build2 (amd64)
puma/5.5.2-2ubuntu2 (ppc64el)
ruby-commonmarker/0.23.2-2 (ppc64el)
ruby-kyotocabinet/1.34-0.1build1 (armhf)
ruby-prof/1.3.1-2build2 (arm64)

Please visit the excuses page listed below and investigate the failures, proceeding afterwards as per the StableReleaseUpdates policy regarding autopkgtest regressions [1].

https://people.canonical.com/~ubuntu-archive/proposed-migration/jammy/update_excuses.html#ruby3.0

[1] https://wiki.ubuntu.com/StableReleaseUpdates#Autopkgtest_Regressions

Thank you!

Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

The packages built fine in all supported architectures, satisfying the Test Plan section.

tags: added: verification-done verification-done-jammy verification-done-mantic
removed: verification-needed verification-needed-jammy verification-needed-mantic
Revision history for this message
Lucas Kanashiro (lucaskanashiro) wrote :

FWIW there is no autopkgtest regression now.

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

This bug was fixed in the package ruby3.1 - 3.1.2-7ubuntu3.1

---------------
ruby3.1 (3.1.2-7ubuntu3.1) mantic; urgency=medium

  * d/p/fix-ruby_xfree-segfault.patch: fix occasional segfault (LP: #2049197).
  * Replace expired certificate in tests with upstream patch (LP: #2051380).
    - d/p/renew-test-certificates-d3933fc753187a055a4904af82f5f3794c88c416.patch

 -- Lucas Kanashiro <email address hidden> Wed, 20 Mar 2024 17:39:43 -0300

Changed in ruby3.1 (Ubuntu Mantic):
status: Fix Committed → Fix Released
Revision history for this message
Andreas Hasenack (ahasenack) wrote : Update Released

The verification of the Stable Release Update for ruby3.1 has completed successfully and the package is now being 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
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ruby3.0 - 3.0.2-7ubuntu2.5

---------------
ruby3.0 (3.0.2-7ubuntu2.5) jammy; urgency=medium

  * d/p/fix-ruby_xfree-segfault.patch: fix occasional segfault (LP: #2049197).
  * Replace expired certificate in tests with upstream patch (LP: #2051380).
    - d/p/renew-test-certificates-d3933fc753187a055a4904af82f5f3794c88c416.patch

 -- Lucas Kanashiro <email address hidden> Wed, 20 Mar 2024 17:50:02 -0300

Changed in ruby3.0 (Ubuntu Jammy):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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