[Pkg-puppet-devel] Bug#1052722: ruby-puppetserver-ca-cli: FTBFS: ERROR: Test "ruby3.1" failed: Failure/Error: csr.add_attribute(extension_attribute(extensions))

Lucas Nussbaum lucas at debian.org
Tue Sep 26 13:40:54 BST 2023


Source: ruby-puppetserver-ca-cli
Version: 2.4.0-4
Severity: serious
Justification: FTBFS
Tags: trixie sid ftbfs
User: lucas at debian.org
Usertags: ftbfs-20230925 ftbfs-trixie

Hi,

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


Relevant part (hopefully):
>      Failure/Error: csr.add_attribute(extension_attribute(extensions))
> 
>      OpenSSL::X509::RequestError:
>        duplicate attribute
>      # ./lib/puppetserver/ca/host.rb:155:in `add_attribute'
>      # ./lib/puppetserver/ca/host.rb:155:in `add_csr_extensions'
>      # ./lib/puppetserver/ca/host.rb:89:in `create_csr'
>      # ./lib/puppetserver/ca/action/generate.rb:275:in `generate_key_csr'
>      # ./spec/puppetserver/ca/action/generate_spec.rb:294:in `block (4 levels) in <top (required)>'
> 
> Finished in 1.96 seconds (files took 0.48529 seconds to load)
> 209 examples, 1 failure
> 
> Failed examples:
> 
> rspec ./spec/puppetserver/ca/action/generate_spec.rb:291 # Puppetserver::Ca::Action::Generate downloading with a csr_attributes file return nil for csr if attribute name provided is private
> 
> /usr/bin/ruby3.1 -I/usr/share/rubygems-integration/all/gems/rspec-support-3.12.0/lib:/usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/lib /usr/share/rubygems-integration/all/gems/rspec-core-3.12.0/exe/rspec --pattern ./spec/\*\*/\*_spec.rb --format documentation failed
> ERROR: Test "ruby3.1" failed: 


The full build log is available from:
http://qa-logs.debian.net/2023/09/25/ruby-puppetserver-ca-cli_2.4.0-4_unstable.log

All bugs filed during this archive rebuild are listed at:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=ftbfs-20230925;users=lucas@debian.org
or:
https://udd.debian.org/bugs/?release=na&merged=ign&fnewerval=7&flastmodval=7&fusertag=only&fusertagtag=ftbfs-20230925&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 mark 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.



More information about the Pkg-puppet-devel mailing list