Jira (PUP-11656) Investigate systemd rspec test failure and update tests
Title: Message Title Aria Li updated an issue Puppet / PUP-11656 Investigate systemd rspec test failure and update tests Change By: Aria Li The failure is caused by the ./spec/unit/provider/service/systemd_spec.rb test in puppet (specifically line 334). The failure seems to be related to the platform the tests are run on, they show up on Mac machines but not on Ubuntu based machines. It does not seem to be related to the Ruby version since the failure popped up on both Ruby 2.7.3 and 3.1.2.*Output from systemd_spec.rb test (for both Ruby 3.1.2 & 2.7.3) on macOS 12.6:*{code:java}❯ bundle exec rspec ./spec/unit/provider/service/systemd_spec.rb:334Failures: 1) Puppet::Type::Service::Provider::Systemd #enabled? should consider nonexistent services to be disabled Failure/Error: expect(provider).to receive(:execute).with(["/usr/sbin/invoke-rc.d", "--quiet", "--query", "doesnotexist", "start"], :failonfail => false) .and_return(Puppet::Util::Execution::ProcessOutput.new("", 1)) (Service[doesnotexist](provider=systemd)).execute(["/usr/sbin/invoke-rc.d", "--quiet", "--query", "doesnotexist", "start"], {:failonfail=>false}) expected: 1 time with arguments: (["/usr/sbin/invoke-rc.d", "--quiet", "--query", "doesnotexist", "start"], {:failonfail=>false}) received: 0 times # ./spec/unit/provider/service/systemd_spec.rb:338:in `block (3 levels) in ' # ./spec/spec_helper.rb:180:in `block (2 levels) in ' # ./.bundle/ruby/3.1.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in 'Finished in 1.55 seconds (files took 1.87 seconds to load)1 example, 1 failureFailed examples:rspec ./spec/unit/provider/service/systemd_spec.rb:334 # Puppet::Type::Service::Provider::Systemd #enabled? should consider nonexistent services to be disabled{code} Add Comment
Jira (PUP-11656) Investigate systemd rspec test failure and update tests
Title: Message Title Aria Li updated an issue Puppet / PUP-11656 Investigate systemd rspec test failure and update tests Change By: Aria Li The failure is caused by the ./spec/unit/provider/service/systemd_spec.rb test in puppet (specifically line 334). The failure seems to be related to the platform the tests are run on, they show up on Mac machines but not on Linux Ubuntu based machines. It does not seem to be related to the Ruby version since the failure popped up on both Ruby 2.7.3 and 3.1.2.*Output from systemd_spec.rb test (for both Ruby 3.1.2 & 2.7.3) on macOS 12.6:*{code:java}❯ bundle exec rspec ./spec/unit/provider/service/systemd_spec.rb:334Failures: 1) Puppet::Type::Service::Provider::Systemd #enabled? should consider nonexistent services to be disabled Failure/Error: expect(provider).to receive(:execute).with(["/usr/sbin/invoke-rc.d", "--quiet", "--query", "doesnotexist", "start"], :failonfail => false) .and_return(Puppet::Util::Execution::ProcessOutput.new("", 1)) (Service[doesnotexist](provider=systemd)).execute(["/usr/sbin/invoke-rc.d", "--quiet", "--query", "doesnotexist", "start"], {:failonfail=>false}) expected: 1 time with arguments: (["/usr/sbin/invoke-rc.d", "--quiet", "--query", "doesnotexist", "start"], {:failonfail=>false}) received: 0 times # ./spec/unit/provider/service/systemd_spec.rb:338:in `block (3 levels) in ' # ./spec/spec_helper.rb:180:in `block (2 levels) in ' # ./.bundle/ruby/3.1.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in 'Finished in 1.55 seconds (files took 1.87 seconds to load)1 example, 1 failureFailed examples:rspec ./spec/unit/provider/service/systemd_spec.rb:334 # Puppet::Type::Service::Provider::Systemd #enabled? should consider nonexistent services to be disabled{code} Add Comment
Jira (PUP-11656) Investigate systemd rspec test failure and update tests
Title: Message Title Aria Li updated an issue Puppet / PUP-11656 Investigate systemd rspec test failure and update tests Change By: Aria Li The failure is caused by the ./spec/unit/provider/service/systemd_spec.rb test in puppet (specifically line 334). The failure seems to be related to the platform the tests are run on, they show up on Mac machines but not on Linux based machines. It does not seem to be related to the Ruby version since the failure popped up on both Ruby 2.7.3 and 3.1.2. * Output from systemd_spec.rb test (for both Ruby 3.1.2 & 2.7.3) on macOS 12.6: * {code:java}❯ bundle exec rspec ./spec/unit/provider/service/systemd_spec.rb:334Failures: 1) Puppet::Type::Service::Provider::Systemd #enabled? should consider nonexistent services to be disabled Failure/Error: expect(provider).to receive(:execute).with(["/usr/sbin/invoke-rc.d", "--quiet", "--query", "doesnotexist", "start"], :failonfail => false) .and_return(Puppet::Util::Execution::ProcessOutput.new("", 1)) (Service[doesnotexist](provider=systemd)).execute(["/usr/sbin/invoke-rc.d", "--quiet", "--query", "doesnotexist", "start"], {:failonfail=>false}) expected: 1 time with arguments: (["/usr/sbin/invoke-rc.d", "--quiet", "--query", "doesnotexist", "start"], {:failonfail=>false}) received: 0 times # ./spec/unit/provider/service/systemd_spec.rb:338:in `block (3 levels) in ' # ./spec/spec_helper.rb:180:in `block (2 levels) in ' # ./.bundle/ruby/3.1.0/gems/webmock-3.18.1/lib/webmock/rspec.rb:37:in `block (2 levels) in 'Finished in 1.55 seconds (files took 1.87 seconds to load)1 example, 1 failureFailed examples:rspec ./spec/unit/provider/service/systemd_spec.rb:334 # Puppet::Type::Service::Provider::Systemd #enabled? should consider nonexistent services to be disabled{code} Add Comment
Jira (PUP-11656) Investigate systemd rspec test failure and update tests
Title: Message Title Aria Li created an issue Puppet / PUP-11656 Investigate systemd rspec test failure and update tests Issue Type: Task Assignee: Unassigned Created: 2022/10/14 2:37 PM Priority: Normal Reporter: Aria Li The failure is caused by the ./spec/unit/provider/service/systemd_spec.rb test in puppet (specifically line 334). The failure seems to be related to the platform the tests are run on, they show up on Mac machines but not on Linux based machines. It does not seem to be related to the Ruby version since the failure popped up on both Ruby 2.7.3 and 3.1.2. Output from systemd_spec.rb test (for both Ruby 3.1.2 & 2.7.3) on macOS 12.6: ❯ bundle exec rspec ./spec/unit/provider/service/systemd_spec.rb:334 Failures: 1) Puppet::Type::Service::Provider::Systemd #enabled? should consider nonexistent services to be disabled Failure/Error:
Jira (PUP-11655) Move more platform specific code from defaults into RunMode
Title: Message Title Ewoud Kohl van Wijngaarden created an issue Puppet / PUP-11655 Move more platform specific code from defaults into RunMode Issue Type: Task Assignee: Unassigned Created: 2022/10/14 7:06 AM Priority: Normal Reporter: Ewoud Kohl van Wijngaarden Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit
Jira (PDB-5549) PuppetDB 7.11.1: /pdb/admin/v1/archive returns 257 bytes
Title: Message Title Andreas Paul commented on PDB-5549 Re: PuppetDB 7.11.1: /pdb/admin/v1/archive returns 257 bytes I can confirm this also happens with 7.10.1 Add Comment This message was sent by Atlassian Jira (v8.20.11#820011-sha1:0629dd8) -- You received this message because you are subscribed to the Google Groups "Puppet Bugs" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-bugs+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-bugs/JIRA.470699.1665479002000.46546.1665749100031%40Atlassian.JIRA.
Jira (FACT-3160) Size calculations for AIX blockdevice and partitions
Title: Message Title Roman Aleksic created an issue Facter / FACT-3160 Size calculations for AIX blockdevice and partitions Issue Type: Bug Affects Versions: FACT 4.2.11 Assignee: Unassigned Components: Facter 4 Created: 2022/10/14 2:20 AM Environment: AIX Priority: Normal Reporter: Roman Aleksic Size calculations for AIX Facts blockdevice_hdisk*_size and partitions./dev/*.size are not calculated correctly. Issue was detected after updating Puppet PE to 2021.7 LTS from 2019.8 LTS. I wiill provide github pull request. Add Comment