Public bug reported:

Full log: https://autopkgtest.ubuntu.com/results/autopkgtest-
stonking/stonking/amd64/p/puppet-agent/20260801_005003_30fa0@/log.gz

Relevant part:

[ ... ]

295s   19) Command "puppet apply --debug --detailed-exitcodes -e "service { 
'dep8-sysv-only' : ensure => stopped, enable => false, provider => 'systemd' 
}"" exit_status is expected to eq 2
295s       Failure/Error: its(:exit_status) { should eq 2 }
295s         
295s         expected: 2
295s              got: 0
295s         
295s         (compared using ==)
295s         
295s       # ./spec/service-systemd/systemd_spec.rb:42:in `block (4 levels) in 
<top (required)>'
295s 
295s   20) Command "systemctl is-enabled dep8-sysv-only" stdout is expected to 
match /^disabled/
295s       Failure/Error: its(:stdout) { should match /^disabled/ }
295s         expected "not-found\n" to match /^disabled/
295s         Diff:
295s         @@ -1 +1 @@
295s         -/^disabled/
295s         +not-found
295s         /bin/sh -c systemctl\ is-enabled\ dep8-sysv-only
295s         not-found
295s 
295s       # ./spec/service-systemd/systemd_spec.rb:51:in `block (4 levels) in 
<top (required)>'
295s 
295s Finished in 1 minute 5.68 seconds (files took 0.44102 seconds to load)
295s 85 examples, 20 failures
295s 
295s Failed examples:
295s 
295s rspec ./spec/service-systemd/systemd_spec.rb[22:1:1] # Command "puppet 
apply --debug --detailed-exitcodes -e "service { 'dep8-sysv-only' : ensure => 
running, enable => true, provider => undef }"" stdout is expected to match 
/systemctl enable/
295s rspec ./spec/service-systemd/systemd_spec.rb[22:3:1] # Command "puppet 
apply --debug --detailed-exitcodes -e "service { 'dep8-sysv-only' : ensure => 
running, enable => true, provider => undef }"" exit_status is expected to eq 2
295s rspec ./spec/service-systemd/systemd_spec.rb[23:1:1] # Command "puppet 
apply --debug --detailed-exitcodes -e "service { 'dep8-sysv-only' : ensure => 
running, enable => true, provider => undef }"" exit_status is expected to eq 0
295s rspec ./spec/service-systemd/systemd_spec.rb[24:1:1] # Command "systemctl 
is-enabled dep8-sysv-only" stdout is expected to match /^enabled/
295s rspec ./spec/service-systemd/systemd_spec.rb[25:1:1] # Command "systemctl 
is-active dep8-sysv-only" stdout is expected to match /^active/
295s rspec ./spec/service-systemd/systemd_spec.rb[26:1] # File 
"/tmp/dep8-sysv-only.status" is expected to exist
295s rspec ./spec/service-systemd/systemd_spec.rb[27:1:1] # Command "puppet 
apply --debug --detailed-exitcodes -e "service { 'dep8-sysv-only' : ensure => 
stopped, enable => false, provider => undef }"" stdout is expected to match 
/systemctl disable/
295s rspec ./spec/service-systemd/systemd_spec.rb[27:2:1] # Command "puppet 
apply --debug --detailed-exitcodes -e "service { 'dep8-sysv-only' : ensure => 
stopped, enable => false, provider => undef }"" stdout is expected to match 
/(systemctl|service).* stop/
295s rspec ./spec/service-systemd/systemd_spec.rb[27:3:1] # Command "puppet 
apply --debug --detailed-exitcodes -e "service { 'dep8-sysv-only' : ensure => 
stopped, enable => false, provider => undef }"" exit_status is expected to eq 2
295s rspec ./spec/service-systemd/systemd_spec.rb[29:1:1] # Command "systemctl 
is-enabled dep8-sysv-only" stdout is expected to match /^disabled/
295s rspec ./spec/service-systemd/systemd_spec.rb[52:1:1] # Command "puppet 
apply --debug --detailed-exitcodes -e "service { 'dep8-sysv-only' : ensure => 
running, enable => true, provider => 'systemd' }"" stdout is expected to match 
/systemctl enable/
295s rspec ./spec/service-systemd/systemd_spec.rb[52:3:1] # Command "puppet 
apply --debug --detailed-exitcodes -e "service { 'dep8-sysv-only' : ensure => 
running, enable => true, provider => 'systemd' }"" exit_status is expected to 
eq 2
295s rspec ./spec/service-systemd/systemd_spec.rb[53:1:1] # Command "puppet 
apply --debug --detailed-exitcodes -e "service { 'dep8-sysv-only' : ensure => 
running, enable => true, provider => 'systemd' }"" exit_status is expected to 
eq 0
295s rspec ./spec/service-systemd/systemd_spec.rb[54:1:1] # Command "systemctl 
is-enabled dep8-sysv-only" stdout is expected to match /^enabled/
295s rspec ./spec/service-systemd/systemd_spec.rb[55:1:1] # Command "systemctl 
is-active dep8-sysv-only" stdout is expected to match /^active/
295s rspec ./spec/service-systemd/systemd_spec.rb[56:1] # File 
"/tmp/dep8-sysv-only.status" is expected to exist
295s rspec ./spec/service-systemd/systemd_spec.rb[57:1:1] # Command "puppet 
apply --debug --detailed-exitcodes -e "service { 'dep8-sysv-only' : ensure => 
stopped, enable => false, provider => 'systemd' }"" stdout is expected to match 
/systemctl disable/
295s rspec ./spec/service-systemd/systemd_spec.rb[57:2:1] # Command "puppet 
apply --debug --detailed-exitcodes -e "service { 'dep8-sysv-only' : ensure => 
stopped, enable => false, provider => 'systemd' }"" stdout is expected to match 
/(systemctl|service).* stop/
295s rspec ./spec/service-systemd/systemd_spec.rb[57:3:1] # Command "puppet 
apply --debug --detailed-exitcodes -e "service { 'dep8-sysv-only' : ensure => 
stopped, enable => false, provider => 'systemd' }"" exit_status is expected to 
eq 2
295s rspec ./spec/service-systemd/systemd_spec.rb[59:1:1] # Command "systemctl 
is-enabled dep8-sysv-only" stdout is expected to match /^disabled/

This is blocking systemd migration.

** Affects: puppet-agent (Ubuntu)
     Importance: Medium
     Assignee: Nick Rosbrook (enr0n)
         Status: In Progress

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: systemd (Debian)
     Importance: Unknown
         Status: Unknown


** Tags: update-excuse

** Also affects: systemd (Ubuntu)
   Importance: Undecided
       Status: New

** Tags added: update-excuse

** Changed in: puppet-agent (Ubuntu)
   Importance: Undecided => Medium

** Changed in: puppet-agent (Ubuntu)
       Status: New => In Progress

** Changed in: puppet-agent (Ubuntu)
     Assignee: (unassigned) => Nick Rosbrook (enr0n)

** Bug watch added: Debian Bug tracker #1129078
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1129078

** Also affects: systemd (Debian) via
   https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1129078
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2164903

Title:
  puppet-agent: spec-service-systemd test still expects generated
  service

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/puppet-agent/+bug/2164903/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to