Skip to content

Fix rubocop offenses and failing rspecs #58

Fix rubocop offenses and failing rspecs

Fix rubocop offenses and failing rspecs #58

Triggered via pull request July 10, 2025 07:07
Status Failure
Total duration 2m 18s
Artifacts

ci.yml

on: pull_request
Spec  /  Setup Test Matrix
41s
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

20 errors and 23 warnings
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/unit/puppet_x/puppet_labs/scheduled_task/trigger_spec.rb#L1114
PuppetX::PuppetLabs::ScheduledTask::Trigger PuppetX::PuppetLabs::ScheduledTask::Trigger::V2#to_manifest_hash converts a full ITrigger type weekly to the equivalent V1 hash Failure/Error: manifest_hash['random_delay'] = i_trigger.RandomDelay || '' if i_trigger.ole_respond_to?('RandomDelay') NoMethodError: undefined method `ole_respond_to?' for #<OpenStruct Id="1", Repetition=#<OpenStruct Interval="PT20M", Duration="PT20M", StopAtDurationEnd=false>, ExecutionTimeLimit="P1M4DT2H5M", StartBoundary="2005-10-11T13:21:17+00:00", EndBoundary="2005-10-11T13:21:17Z", Enabled=true, Type=3, DaysOfWeek=127, WeeksInterval=2, RandomDelay="P2DT5S">
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/unit/puppet_x/puppet_labs/scheduled_task/trigger_spec.rb#L1114
PuppetX::PuppetLabs::ScheduledTask::Trigger PuppetX::PuppetLabs::ScheduledTask::Trigger::V2#to_manifest_hash converts a full ITrigger type daily to the equivalent V1 hash Failure/Error: manifest_hash['random_delay'] = i_trigger.RandomDelay || '' if i_trigger.ole_respond_to?('RandomDelay') NoMethodError: undefined method `ole_respond_to?' for #<OpenStruct Id="1", Repetition=#<OpenStruct Interval="PT20M", Duration="PT20M", StopAtDurationEnd=false>, ExecutionTimeLimit="P1M4DT2H5M", StartBoundary="2005-10-11T13:21:17+00:00", EndBoundary="2005-10-11T13:21:17Z", Enabled=true, Type=2, DaysInterval=2, RandomDelay="P2DT5S">
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/unit/puppet_x/puppet_labs/scheduled_task/trigger_spec.rb#L1114
PuppetX::PuppetLabs::ScheduledTask::Trigger PuppetX::PuppetLabs::ScheduledTask::Trigger::V2#to_manifest_hash converts a full ITrigger type once to the equivalent V1 hash Failure/Error: manifest_hash['random_delay'] = i_trigger.RandomDelay || '' if i_trigger.ole_respond_to?('RandomDelay') NoMethodError: undefined method `ole_respond_to?' for #<OpenStruct Id="1", Repetition=#<OpenStruct Interval="PT20M", Duration="PT20M", StopAtDurationEnd=false>, ExecutionTimeLimit="P1M4DT2H5M", StartBoundary="2005-10-11T13:21:17+00:00", EndBoundary="2005-10-11T13:21:17Z", Enabled=true, Type=1, RandomDelay="P2DT5S">
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/unit/puppet_x/puppet_labs/scheduled_task/trigger_spec.rb#L994
PuppetX::PuppetLabs::ScheduledTask::Trigger PuppetX::PuppetLabs::ScheduledTask::Trigger::V2#to_manifest_hash converts a default monthly Failure/Error: manifest_hash['random_delay'] = i_trigger.RandomDelay || '' if i_trigger.ole_respond_to?('RandomDelay') NoMethodError: undefined method `ole_respond_to?' for #<OpenStruct Id="", Repetition=#<OpenStruct Interval="", Duration="", StopAtDurationEnd=false>, ExecutionTimeLimit="", StartBoundary="", EndBoundary="", Enabled=true, Type=5, DaysOfWeek=1, WeeksOfMonth=1, MonthsOfYear=1, RunOnLastWeekOfMonth=false, RandomDelay="">
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/unit/puppet_x/puppet_labs/scheduled_task/trigger_spec.rb#L994
PuppetX::PuppetLabs::ScheduledTask::Trigger PuppetX::PuppetLabs::ScheduledTask::Trigger::V2#to_manifest_hash converts a default monthly Failure/Error: manifest_hash['random_delay'] = i_trigger.RandomDelay || '' if i_trigger.ole_respond_to?('RandomDelay') NoMethodError: undefined method `ole_respond_to?' for #<OpenStruct Id="", Repetition=#<OpenStruct Interval="", Duration="", StopAtDurationEnd=false>, ExecutionTimeLimit="", StartBoundary="", EndBoundary="", Enabled=true, Type=4, DaysOfMonth=0, MonthsOfYear=4095, RunOnLastDayOfMonth=false, RandomDelay="">
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/unit/puppet_x/puppet_labs/scheduled_task/trigger_spec.rb#L994
PuppetX::PuppetLabs::ScheduledTask::Trigger PuppetX::PuppetLabs::ScheduledTask::Trigger::V2#to_manifest_hash converts a default weekly Failure/Error: manifest_hash['random_delay'] = i_trigger.RandomDelay || '' if i_trigger.ole_respond_to?('RandomDelay') NoMethodError: undefined method `ole_respond_to?' for #<OpenStruct Id="", Repetition=#<OpenStruct Interval="", Duration="", StopAtDurationEnd=false>, ExecutionTimeLimit="", StartBoundary="", EndBoundary="", Enabled=true, Type=3, DaysOfWeek=0, WeeksInterval=1, RandomDelay="">
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/unit/puppet_x/puppet_labs/scheduled_task/trigger_spec.rb#L994
PuppetX::PuppetLabs::ScheduledTask::Trigger PuppetX::PuppetLabs::ScheduledTask::Trigger::V2#to_manifest_hash converts a default daily Failure/Error: manifest_hash['random_delay'] = i_trigger.RandomDelay || '' if i_trigger.ole_respond_to?('RandomDelay') NoMethodError: undefined method `ole_respond_to?' for #<OpenStruct Id="", Repetition=#<OpenStruct Interval="", Duration="", StopAtDurationEnd=false>, ExecutionTimeLimit="", StartBoundary="", EndBoundary="", Enabled=true, Type=2, DaysInterval=1, RandomDelay="">
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/unit/puppet_x/puppet_labs/scheduled_task/trigger_spec.rb#L994
PuppetX::PuppetLabs::ScheduledTask::Trigger PuppetX::PuppetLabs::ScheduledTask::Trigger::V2#to_manifest_hash converts a default once Failure/Error: manifest_hash['random_delay'] = i_trigger.RandomDelay || '' if i_trigger.ole_respond_to?('RandomDelay') NoMethodError: undefined method `ole_respond_to?' for #<OpenStruct Id="", Repetition=#<OpenStruct Interval="", Duration="", StopAtDurationEnd=false>, ExecutionTimeLimit="", StartBoundary="", EndBoundary="", Enabled=true, Type=1, RandomDelay="">
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/unit/puppet_x/puppet_labs/scheduled_task/trigger_spec.rb#L179
PuppetX::PuppetLabs::ScheduledTask::Trigger PuppetX::PuppetLabs::ScheduledTask::Trigger::Manifest#canonicalize_and_validate when validating delay and random_delay properties rejects invalid format for random_delay Failure/Error: expect { manifest.class.canonicalize_and_validate(daily_manifest) }.to raise_error(ArgumentError, %r{Invalid random_delay value}) expected ArgumentError with message matching /Invalid random_delay value/ but nothing was raised
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/unit/puppet_x/puppet_labs/scheduled_task/trigger_spec.rb#L169
PuppetX::PuppetLabs::ScheduledTask::Trigger PuppetX::PuppetLabs::ScheduledTask::Trigger::Manifest#canonicalize_and_validate when validating delay and random_delay properties rejects invalid format for delay Failure/Error: expect { manifest.class.canonicalize_and_validate(logon_manifest) }.to raise_error(ArgumentError, %r{Invalid delay value}) expected ArgumentError with message matching /Invalid delay value/ but nothing was raised
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/unit/puppet_x/puppet_labs/scheduled_task/trigger_spec.rb#L1114
PuppetX::PuppetLabs::ScheduledTask::Trigger PuppetX::PuppetLabs::ScheduledTask::Trigger::V2#to_manifest_hash converts a full ITrigger type weekly to the equivalent V1 hash Failure/Error: manifest_hash['random_delay'] = i_trigger.RandomDelay || '' if i_trigger.ole_respond_to?('RandomDelay') NoMethodError: undefined method `ole_respond_to?' for #<OpenStruct:0x000055eff4def8e8>
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/unit/puppet_x/puppet_labs/scheduled_task/trigger_spec.rb#L1114
PuppetX::PuppetLabs::ScheduledTask::Trigger PuppetX::PuppetLabs::ScheduledTask::Trigger::V2#to_manifest_hash converts a full ITrigger type daily to the equivalent V1 hash Failure/Error: manifest_hash['random_delay'] = i_trigger.RandomDelay || '' if i_trigger.ole_respond_to?('RandomDelay') NoMethodError: undefined method `ole_respond_to?' for #<OpenStruct:0x000055eff49657f0>
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/unit/puppet_x/puppet_labs/scheduled_task/trigger_spec.rb#L1114
PuppetX::PuppetLabs::ScheduledTask::Trigger PuppetX::PuppetLabs::ScheduledTask::Trigger::V2#to_manifest_hash converts a full ITrigger type once to the equivalent V1 hash Failure/Error: manifest_hash['random_delay'] = i_trigger.RandomDelay || '' if i_trigger.ole_respond_to?('RandomDelay') NoMethodError: undefined method `ole_respond_to?' for #<OpenStruct:0x000055eff4876790>
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/unit/puppet_x/puppet_labs/scheduled_task/trigger_spec.rb#L994
PuppetX::PuppetLabs::ScheduledTask::Trigger PuppetX::PuppetLabs::ScheduledTask::Trigger::V2#to_manifest_hash converts a default monthly Failure/Error: manifest_hash['random_delay'] = i_trigger.RandomDelay || '' if i_trigger.ole_respond_to?('RandomDelay') NoMethodError: undefined method `ole_respond_to?' for #<OpenStruct:0x000055eff50b40d8>
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/unit/puppet_x/puppet_labs/scheduled_task/trigger_spec.rb#L994
PuppetX::PuppetLabs::ScheduledTask::Trigger PuppetX::PuppetLabs::ScheduledTask::Trigger::V2#to_manifest_hash converts a default monthly Failure/Error: manifest_hash['random_delay'] = i_trigger.RandomDelay || '' if i_trigger.ole_respond_to?('RandomDelay') NoMethodError: undefined method `ole_respond_to?' for #<OpenStruct:0x000055eff51a0f00>
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/unit/puppet_x/puppet_labs/scheduled_task/trigger_spec.rb#L994
PuppetX::PuppetLabs::ScheduledTask::Trigger PuppetX::PuppetLabs::ScheduledTask::Trigger::V2#to_manifest_hash converts a default weekly Failure/Error: manifest_hash['random_delay'] = i_trigger.RandomDelay || '' if i_trigger.ole_respond_to?('RandomDelay') NoMethodError: undefined method `ole_respond_to?' for #<OpenStruct:0x000055eff5274620>
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/unit/puppet_x/puppet_labs/scheduled_task/trigger_spec.rb#L994
PuppetX::PuppetLabs::ScheduledTask::Trigger PuppetX::PuppetLabs::ScheduledTask::Trigger::V2#to_manifest_hash converts a default daily Failure/Error: manifest_hash['random_delay'] = i_trigger.RandomDelay || '' if i_trigger.ole_respond_to?('RandomDelay') NoMethodError: undefined method `ole_respond_to?' for #<OpenStruct:0x000055eff531a020>
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/unit/puppet_x/puppet_labs/scheduled_task/trigger_spec.rb#L994
PuppetX::PuppetLabs::ScheduledTask::Trigger PuppetX::PuppetLabs::ScheduledTask::Trigger::V2#to_manifest_hash converts a default once Failure/Error: manifest_hash['random_delay'] = i_trigger.RandomDelay || '' if i_trigger.ole_respond_to?('RandomDelay') NoMethodError: undefined method `ole_respond_to?' for #<OpenStruct:0x000055eff5426220>
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/unit/puppet_x/puppet_labs/scheduled_task/trigger_spec.rb#L179
PuppetX::PuppetLabs::ScheduledTask::Trigger PuppetX::PuppetLabs::ScheduledTask::Trigger::Manifest#canonicalize_and_validate when validating delay and random_delay properties rejects invalid format for random_delay Failure/Error: expect { manifest.class.canonicalize_and_validate(daily_manifest) }.to raise_error(ArgumentError, %r{Invalid random_delay value}) expected ArgumentError with message matching /Invalid random_delay value/ but nothing was raised
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/unit/puppet_x/puppet_labs/scheduled_task/trigger_spec.rb#L169
PuppetX::PuppetLabs::ScheduledTask::Trigger PuppetX::PuppetLabs::ScheduledTask::Trigger::Manifest#canonicalize_and_validate when validating delay and random_delay properties rejects invalid format for delay Failure/Error: expect { manifest.class.canonicalize_and_validate(logon_manifest) }.to raise_error(ArgumentError, %r{Invalid delay value}) expected ArgumentError with message matching /Invalid delay value/ but nothing was raised
Spec / Setup Test Matrix
Cannot find image for Windows-2012
Spec / Setup Test Matrix
Cannot find image for Windows-2012 R2
Spec / Setup Test Matrix
Cannot find image for Windows-10
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/unit/puppet/type/scheduled_task_spec.rb#L23
Puppet::Type::Scheduled_task when setting the command accepts an absolute path to the command Skipped: Not on Windows platform
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/integration/puppet_x/puppet_labs/scheduled_task/task_spec.rb#L165
Scheduled Tasks API v2 When directly calling Scheduled Tasks API v2 create a task in the root folder given a test task fixture has a single trigger Skipped: Not on Windows platform
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/unit/puppet/type/scheduled_task_spec.rb#L18
Puppet::Type::Scheduled_task uses taskscheduler_api2 as the default provider Skipped: Not on Windows platform
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/integration/puppet_x/puppet_labs/scheduled_task/task_spec.rb#L161
Scheduled Tasks API v2 When directly calling Scheduled Tasks API v2 create a task in the root folder given a test task fixture is V2 compatible Skipped: Not on Windows platform
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/unit/puppet/type/scheduled_task_spec.rb#L11
Puppet::Type::Scheduled_task uses name as the namevar Skipped: Not on Windows platform
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/unit/puppet/provider/scheduled_task/win32_taskscheduler_spec.rb#L16
Puppet::Type::Scheduled_task::ProviderTaskscheduler_api2 is the default provider Skipped: Not on Windows platform
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/integration/puppet_x/puppet_labs/scheduled_task/task_spec.rb#L157
Scheduled Tasks API v2 When directly calling Scheduled Tasks API v2 create a task in the root folder given a test task fixture is enabled by default Skipped: Not on Windows platform
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/integration/puppet_x/puppet_labs/scheduled_task/task_spec.rb#L126
Scheduled Tasks API v2 When directly calling Scheduled Tasks API v2 #enum_task_names with new task onlies return compatible tasks if specified Skipped: Not on Windows platform
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/integration/puppet_x/puppet_labs/scheduled_task/task_spec.rb#L120
Scheduled Tasks API v2 When directly calling Scheduled Tasks API v2 #enum_task_names with new task does not recurse folders if specified Skipped: Not on Windows platform
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/integration/puppet_x/puppet_labs/scheduled_task/task_spec.rb#L114
Scheduled Tasks API v2 When directly calling Scheduled Tasks API v2 #enum_task_names with new task returns all tasks by default Skipped: Not on Windows platform
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/integration/puppet_x/puppet_labs/scheduled_task/task_spec.rb#L165
Scheduled Tasks API v2 When directly calling Scheduled Tasks API v2 create a task in the root folder given a test task fixture has a single trigger Skipped: Not on Windows platform
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/unit/puppet/type/scheduled_task_spec.rb#L23
Puppet::Type::Scheduled_task when setting the command accepts an absolute path to the command Skipped: Not on Windows platform
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/unit/puppet/type/scheduled_task_spec.rb#L18
Puppet::Type::Scheduled_task uses taskscheduler_api2 as the default provider Skipped: Not on Windows platform
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/integration/puppet_x/puppet_labs/scheduled_task/task_spec.rb#L161
Scheduled Tasks API v2 When directly calling Scheduled Tasks API v2 create a task in the root folder given a test task fixture is V2 compatible Skipped: Not on Windows platform
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/unit/puppet/type/scheduled_task_spec.rb#L11
Puppet::Type::Scheduled_task uses name as the namevar Skipped: Not on Windows platform
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/integration/puppet_x/puppet_labs/scheduled_task/task_spec.rb#L157
Scheduled Tasks API v2 When directly calling Scheduled Tasks API v2 create a task in the root folder given a test task fixture is enabled by default Skipped: Not on Windows platform
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/unit/puppet/provider/scheduled_task/win32_taskscheduler_spec.rb#L16
Puppet::Type::Scheduled_task::ProviderTaskscheduler_api2 is the default provider Skipped: Not on Windows platform
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/integration/puppet_x/puppet_labs/scheduled_task/task_spec.rb#L126
Scheduled Tasks API v2 When directly calling Scheduled Tasks API v2 #enum_task_names with new task onlies return compatible tasks if specified Skipped: Not on Windows platform
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/integration/puppet_x/puppet_labs/scheduled_task/task_spec.rb#L120
Scheduled Tasks API v2 When directly calling Scheduled Tasks API v2 #enum_task_names with new task does not recurse folders if specified Skipped: Not on Windows platform
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/integration/puppet_x/puppet_labs/scheduled_task/task_spec.rb#L114
Scheduled Tasks API v2 When directly calling Scheduled Tasks API v2 #enum_task_names with new task returns all tasks by default Skipped: Not on Windows platform