Improve yum::copr idempotency #302
Triggered via pull request
December 8, 2024 14:55
Status
Cancelled
Total duration
5m 29s
Artifacts
–
ci.yml
on: pull_request
Puppet
/
Static validations
22s
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet
/
Test suite
1s
Annotations
9 errors and 6 warnings
Puppet / 8 (Ruby 3.2):
spec/defines/copr_spec.rb#L95
yum::copr with package_provider set to dnf with ensure = disabled is expected to contain Exec[dnf -y copr disable copart/restic] with path => "/bin:/usr/bin:/sbin/:/usr/sbin", unless => "dnf copr list | egrep -q 'copart/restic (disabled)$'" and require => "Package[dnf-plugins-core]"
Failure/Error:
is_expected.to contain_exec("dnf -y copr disable #{title}").with(
'path' => '/bin:/usr/bin:/sbin/:/usr/sbin',
'unless' => "dnf copr list | egrep -q '#{title} (disabled)$'",
'require' => "Package[#{prereq_plugin}]"
)
expected that the catalogue would contain Exec[dnf -y copr disable copart/restic] with unless set to "dnf copr list | egrep -q 'copart/restic (disabled)$'" but it is set to "dnf copr list | egrep -q 'copart/restic \\(disabled\\)$'"
|
Puppet / 8 (Ruby 3.2)
Process completed with exit code 1.
|
Puppet / 7 (Ruby 2.7):
spec/defines/copr_spec.rb#L95
yum::copr with package_provider set to dnf with ensure = disabled is expected to contain Exec[dnf -y copr disable copart/restic] with path => "/bin:/usr/bin:/sbin/:/usr/sbin", unless => "dnf copr list | egrep -q 'copart/restic (disabled)$'" and require => "Package[dnf-plugins-core]"
Failure/Error:
is_expected.to contain_exec("dnf -y copr disable #{title}").with(
'path' => '/bin:/usr/bin:/sbin/:/usr/sbin',
'unless' => "dnf copr list | egrep -q '#{title} (disabled)$'",
'require' => "Package[#{prereq_plugin}]"
)
expected that the catalogue would contain Exec[dnf -y copr disable copart/restic] with unless set to "dnf copr list | egrep -q 'copart/restic (disabled)$'" but it is set to "dnf copr list | egrep -q 'copart/restic \\(disabled\\)$'"
|
Puppet / 7 (Ruby 2.7)
Process completed with exit code 1.
|
Puppet / Puppet 7 - OracleLinux 8
Canceling since a higher priority waiting request for '341/merge' exists
|
Puppet / Puppet 7 - OracleLinux 8
The operation was canceled.
|
Puppet / Puppet 8 - OracleLinux 8
Canceling since a higher priority waiting request for '341/merge' exists
|
Puppet / Puppet 8 - OracleLinux 8
The operation was canceled.
|
Puppet / Test suite
Process completed with exit code 1.
|
Puppet / Static validations:
metadata.json#L1
Skipping EOL operating system RedHat 7
|
Puppet / Static validations:
metadata.json#L1
Skipping EOL operating system CentOS 7
|
Puppet / Static validations:
metadata.json#L1
Skipping EOL operating system CentOS 8
|
Puppet / Static validations:
metadata.json#L1
Skipping EOL operating system Fedora 36
|
Puppet / Static validations:
metadata.json#L1
Skipping EOL operating system Fedora 37
|
Puppet / Static validations:
metadata.json#L1
Skipping EOL operating system Fedora 38
|