[Bug 1981458] Re: ruby-certificate-authority: FTBFS: ERROR: Test "ruby3.0" failed: Failure/Error: expect(@cert_with_extensions.extensions["authorityKeyIdentifier"]).to eq(expected_authorityKeyIdentifier)

Launchpad Bug Tracker 1981458 at bugs.launchpad.net
Fri Jul 15 23:58:35 UTC 2022


This bug was fixed in the package ruby-certificate-authority -
1.0.0-1ubuntu1

---------------
ruby-certificate-authority (1.0.0-1ubuntu1) kinetic; urgency=medium

  * debian/patches/0004-remove-keyid-prefix-from-test-string.patch:
    Remove 'keyid:' prefix from test string to fix build with openssl >= 3.0.
    (LP: #1981458)

 -- Nick Rosbrook <nick.rosbrook at canonical.com>  Tue, 12 Jul 2022
11:00:53 -0400

** Changed in: ruby-certificate-authority (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1981458

Title:
  ruby-certificate-authority: FTBFS: ERROR: Test "ruby3.0" failed:
  Failure/Error:
  expect(@cert_with_extensions.extensions["authorityKeyIdentifier"]).to
  eq(expected_authorityKeyIdentifier)

Status in ruby-certificate-authority package in Ubuntu:
  Fix Released
Status in ruby-certificate-authority package in Debian:
  New

Bug description:
  Imported from Debian bug http://bugs.debian.org/1011734:

  Source: ruby-certificate-authority
  Version: 1.0.0-1
  Severity: serious
  Justification: FTBFS
  Tags: bookworm sid ftbfs
  User: lucas at debian.org
  Usertags: ftbfs-20220525 ftbfs-bookworm

  Hi,

  During a rebuild of all packages in sid, your package failed to build
  on amd64.

  
  Relevant part (hopefully):
  >      Failure/Error: expect(@cert_with_extensions.extensions["authorityKeyIdentifier"]).to eq(expected_authorityKeyIdentifier)
  > 
  >        expected: #<CertificateAuthority::Extensions::AuthorityKeyIdentifier:0x00005627020ac628 @critical=false, @identifier="keyid:4C:58:CB:25:F0:41:4F:52:F4:28:C8:81:43:9B:A6:A8:A0:E6:92:E5">
  >             got: #<CertificateAuthority::Extensions::AuthorityKeyIdentifier:0x00005627020afe18 @critical=false, @identifier="4C:58:CB:25:F0:41:4F:52:F4:28:C8:81:43:9B:A6:A8:A0:E6:92:E5">
  > 
  >        (compared using ==)
  > 
  >        Diff:
  > 
  >        @@ -1,5 +1,4 @@
  >        -#<CertificateAuthority::Extensions::AuthorityKeyIdentifier:0x00005627020ac628
  >        +#<CertificateAuthority::Extensions::AuthorityKeyIdentifier:0x00005627020afe18
  >          @critical=false,
  >        - @identifier=
  >        -  "keyid:4C:58:CB:25:F0:41:4F:52:F4:28:C8:81:43:9B:A6:A8:A0:E6:92:E5">
  >        + @identifier="4C:58:CB:25:F0:41:4F:52:F4:28:C8:81:43:9B:A6:A8:A0:E6:92:E5">
  >      # ./spec/units/certificate_spec.rb:427:in `block (3 levels) in <top (required)>'
  > 
  > Finished in 1.66 seconds (files took 0.55042 seconds to load)
  > 189 examples, 1 failure, 1 pending
  > 
  > Failed examples:
  > 
  > rspec ./spec/units/certificate_spec.rb:403 # CertificateAuthority::Certificate from_openssl should check to make sure that if a certificate had extensions they were imported
  > 
  > [Coveralls] Outside the CI environment, not sending data.
  > Stopped processing SimpleCov as a previous error not related to SimpleCov has been detected
  > /usr/bin/ruby3.0 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.10.3/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.10.1/exe/rspec --pattern ./spec/\*\*/\*_spec.rb  --exclude-pattern ./spec/units/pkcs11_key_material_spec.rb --format documentation failed
  > mv ./.gem2deb.Gemfile.lock Gemfile.lock
  > ERROR: Test "ruby3.0" failed: 

  
  The full build log is available from:
  http://qa-logs.debian.net/2022/05/25/ruby-certificate-authority_1.0.0-1_unstable.log

  All bugs filed during this archive rebuild are listed at:
  https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20220525;users=lucas@debian.org
  or:
  https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20220525&fusertaguser=lucas@debian.org&allbugs=1&cseverity=1&ctags=1&caffected=1#results

  A list of current common problems and possible solutions is available at
  http://wiki.debian.org/qa.debian.org/FTBFS . You're welcome to contribute!

  If you reassign this bug to another package, please marking it as 'affects'-ing
  this package. See https://www.debian.org/Bugs/server-control#affects

  If you fail to reproduce this, please provide a build log and diff it with mine
  so that we can identify if something relevant changed in the meantime.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ruby-certificate-authority/+bug/1981458/+subscriptions




More information about the Ubuntu-sponsors mailing list