Skip to content

fix idempotency for empty environment #54

fix idempotency for empty environment

fix idempotency for empty environment #54

Re-run triggered September 23, 2024 17:09
Status Failure
Total duration 1m 6s
Artifacts

unit_tests.yaml

on: pull_request
Matrix: Nightly / unit_tests_with_nightly_puppet_gem
Matrix: Released / unit_tests_with_released_puppet_gem
Fit to window
Zoom out
Zoom in

Annotations

26 errors
Nightly / Puppet8 gem on Ruby 3.1 on Linux: spec/unit/provider/cron/parsed_spec.rb#L207
Puppet::Type::Cron::ProviderCrontab.instances on linux is able to create records from not-managed records Failure/Error: expect(parameters[0][:environment]).to eq(:absent) expected: :absent got: [] (compared using ==) Diff: @@ -1 +1 @@ -:absent +[]
Nightly / Puppet8 gem on Ruby 3.1 on Linux: spec/unit/provider/cron/parsed_spec.rb#L243
Puppet::Type::Cron::ProviderCrontab.instances on linux is able to parse puppet managed cronjobs Failure/Error: expect(described_class.instances.map do |p| h = { name: p.get(:name) } Puppet::Type.type(:cron).validproperties.each do |property| h[property] = p.get(property) end h end).to eq([ { name: 'real_job', minute: :absent, expected: [{:command=>"/bin/true", :ensure=>:present, :environment=>:absent, :hour=>:absent, :minute=>:absent, ...nt, :name=>"complex_job", :special=>"reboot", :target=>"foobar", :user=>:absent, :weekday=>:absent}] got: [{:command=>"/bin/true", :ensure=>:present, :environment=>[], :hour=>:absent, :minute=>:absent, :mont...nt, :name=>"complex_job", :special=>"reboot", :target=>"foobar", :user=>:absent, :weekday=>:absent}] (compared using ==) Diff: @@ -1,6 +1,6 @@ [{:command=>"/bin/true", :ensure=>:present, - :environment=>:absent, + :environment=>[], :hour=>:absent, :minute=>:absent, :month=>:absent,
Nightly / Puppet8 gem on Ruby 3.1 on Linux
Process completed with exit code 1.
Nightly / Puppet8 gem on Ruby 3.1 on Windows
The job was canceled because "ubuntu-20_04_8" failed.
Nightly / Puppet8 gem on Ruby 3.1 on Windows
The operation was canceled.
Nightly / Puppet7 gem on Ruby 2.7 on macOS
The job was canceled because "ubuntu-20_04_8" failed.
Nightly / Puppet7 gem on Ruby 2.7 on macOS
The operation was canceled.
Nightly / Puppet7 gem on Ruby 2.7 on Windows
The job was canceled because "ubuntu-20_04_8" failed.
Nightly / Puppet7 gem on Ruby 2.7 on Windows
The operation was canceled.
Released / Puppet8 gem on Ruby 3.1 on Linux: spec/unit/provider/cron/parsed_spec.rb#L207
Puppet::Type::Cron::ProviderCrontab.instances on linux is able to create records from not-managed records Failure/Error: expect(parameters[0][:environment]).to eq(:absent) expected: :absent got: [] (compared using ==) Diff: @@ -1 +1 @@ -:absent +[]
Released / Puppet8 gem on Ruby 3.1 on Linux: spec/unit/provider/cron/parsed_spec.rb#L243
Puppet::Type::Cron::ProviderCrontab.instances on linux is able to parse puppet managed cronjobs Failure/Error: expect(described_class.instances.map do |p| h = { name: p.get(:name) } Puppet::Type.type(:cron).validproperties.each do |property| h[property] = p.get(property) end h end).to eq([ { name: 'real_job', minute: :absent, expected: [{:command=>"/bin/true", :ensure=>:present, :environment=>:absent, :hour=>:absent, :minute=>:absent, ...nt, :name=>"complex_job", :special=>"reboot", :target=>"foobar", :user=>:absent, :weekday=>:absent}] got: [{:command=>"/bin/true", :ensure=>:present, :environment=>[], :hour=>:absent, :minute=>:absent, :mont...nt, :name=>"complex_job", :special=>"reboot", :target=>"foobar", :user=>:absent, :weekday=>:absent}] (compared using ==) Diff: @@ -1,6 +1,6 @@ [{:command=>"/bin/true", :ensure=>:present, - :environment=>:absent, + :environment=>[], :hour=>:absent, :minute=>:absent, :month=>:absent,
Released / Puppet8 gem on Ruby 3.1 on Linux
Process completed with exit code 1.
Released / Puppet8 gem on Ruby 3.1 on Windows
The job was canceled because "ubuntu-20_04_8" failed.
Released / Puppet8 gem on Ruby 3.1 on Windows
The operation was canceled.
Released / Puppet7 gem on Ruby 2.7 on Linux
The job was canceled because "ubuntu-20_04_8" failed.
Released / Puppet7 gem on Ruby 2.7 on Linux
The operation was canceled.
Released / Puppet7 gem on Ruby 2.7 on macOS
The job was canceled because "ubuntu-20_04_8" failed.
Released / Puppet7 gem on Ruby 2.7 on macOS
The operation was canceled.
Released / Puppet7 gem on Ruby 2.7 on Windows
The job was canceled because "ubuntu-20_04_8" failed.
Released / Puppet7 gem on Ruby 2.7 on Windows
The operation was canceled.
Nightly / Puppet7 gem on Ruby 2.7 on Linux
The job was canceled because "ubuntu-20_04_8" failed.
Nightly / Puppet7 gem on Ruby 2.7 on Linux
The operation was canceled.
Released / Puppet8 gem on Ruby 3.1 on macOS
The job was canceled because "ubuntu-20_04_8" failed.
Released / Puppet8 gem on Ruby 3.1 on macOS
The operation was canceled.
Nightly / Puppet8 gem on Ruby 3.1 on macOS
The job was canceled because "ubuntu-20_04_8" failed.
Nightly / Puppet8 gem on Ruby 3.1 on macOS
The operation was canceled.