Skip to content

backports: pin using codename on Debian #264

backports: pin using codename on Debian

backports: pin using codename on Debian #264

Re-run triggered June 10, 2024 20:47
Status Failure
Total duration 1m 57s
Artifacts

ci.yml

on: pull_request
Spec  /  Setup Test Matrix
32s
Spec / Setup Test Matrix
Matrix: Spec / spec
Acceptance  /  Setup Test Matrix
Acceptance / Setup Test Matrix
Matrix: Acceptance / acceptance
Waiting for pending jobs
Fit to window
Zoom out
Zoom in

Annotations

6 errors
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/classes/apt_backports_spec.rb#L28
apt::backports debian/ubuntu tests with defaults on debian is expected to contain Apt::Source[backports] with location => "http://deb.debian.org/debian", repos => "main contrib non-free", release => "bullseye-backports", pin => {"priority"=>200, "release"=>"bullseye-backports"} and keyring => "/usr/share/keyrings/debian-archive-keyring.gpg" Failure/Error: expect(subject).to contain_apt__source('backports').with( location: 'http://deb.debian.org/debian', repos: 'main contrib non-free', release: 'bullseye-backports', pin: { 'priority' => 200, 'release' => 'bullseye-backports' }, keyring: '/usr/share/keyrings/debian-archive-keyring.gpg', ) expected that the catalogue would contain Apt::Source[backports] with pin set to {"priority"=>200, "release"=>"bullseye-backports"} but it is set to {"priority"=>200, "codename"=>"bullseye-backports"}
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/classes/apt_backports_spec.rb#L177
apt::backports linuxmint tests with all the needed things set is expected to contain Apt::Source[backports] with location => "http://archive.ubuntu.com/ubuntu", key => "630239CC130E1A7FD81A27B140976EAF437D05B5", repos => "main universe multiverse restricted", release => "trusty-backports" and pin => {"priority"=>200, "release"=>"trusty-backports"} Failure/Error: expect(subject).to contain_apt__source('backports').with( location: 'http://archive.ubuntu.com/ubuntu', key: '630239CC130E1A7FD81A27B140976EAF437D05B5', repos: 'main universe multiverse restricted', release: 'trusty-backports', pin: { 'priority' => 200, 'release' => 'trusty-backports' }, ) Puppet::PreformattedError: Evaluation Error: No matching entry for selector parameter with value 'LinuxMint' (file: /home/runner/work/puppetlabs-apt/puppetlabs-apt/spec/fixtures/modules/apt/manifests/backports.pp, line: 97, column: 17) on node fv-az777-308.lfui0zr1uqperkldaumeavowed.bx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2)
Process completed with exit code 1.
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/classes/apt_backports_spec.rb#L28
apt::backports debian/ubuntu tests with defaults on debian is expected to contain Apt::Source[backports] with location => "http://deb.debian.org/debian", repos => "main contrib non-free", release => "bullseye-backports", pin => {"priority"=>200, "release"=>"bullseye-backports"} and keyring => "/usr/share/keyrings/debian-archive-keyring.gpg" Failure/Error: expect(subject).to contain_apt__source('backports').with( location: 'http://deb.debian.org/debian', repos: 'main contrib non-free', release: 'bullseye-backports', pin: { 'priority' => 200, 'release' => 'bullseye-backports' }, keyring: '/usr/share/keyrings/debian-archive-keyring.gpg', ) expected that the catalogue would contain Apt::Source[backports] with pin set to {"priority"=>200, "release"=>"bullseye-backports"} but it is set to {"priority"=>200, "codename"=>"bullseye-backports"}
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/classes/apt_backports_spec.rb#L177
apt::backports linuxmint tests with all the needed things set is expected to contain Apt::Source[backports] with location => "http://archive.ubuntu.com/ubuntu", key => "630239CC130E1A7FD81A27B140976EAF437D05B5", repos => "main universe multiverse restricted", release => "trusty-backports" and pin => {"priority"=>200, "release"=>"trusty-backports"} Failure/Error: expect(subject).to contain_apt__source('backports').with( location: 'http://archive.ubuntu.com/ubuntu', key: '630239CC130E1A7FD81A27B140976EAF437D05B5', repos: 'main universe multiverse restricted', release: 'trusty-backports', pin: { 'priority' => 200, 'release' => 'trusty-backports' }, ) Puppet::PreformattedError: Evaluation Error: No matching entry for selector parameter with value 'LinuxMint' (file: /home/runner/work/puppetlabs-apt/puppetlabs-apt/spec/fixtures/modules/apt/manifests/backports.pp, line: 97, column: 17) on node fv-az1014-583.g5zmczjqftsu5l4z5fcxzjac5g.ex.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7)
Process completed with exit code 1.