Uploaded image for project: 'Puppet'
  1. Puppet
  2. PUP-10102

Systemd provider is not correctly selected on Alpine Linux

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: PUP 6.8.0, PUP 6.9.0, PUP 6.8.1, PUP 6.10.0
    • Fix Version/s: PUP 6.11.0
    • Component/s: None
    • Template:
      PUP Bug Template
    • Team:
      Night's Watch
    • Story Points:
      2
    • Sprint:
      NW - 2019-10-30, NW - 2019-11-13
    • Method Found:
      Needs Assessment
    • Release Notes:
      Bug Fix
    • Release Notes Summary:
      Hide
      Fixed an edge-case issues that could occur when running puppet on distributions that do not have a default service provider. Puppet might try to evaluate runit and set defpath default before verifying that runit is suitable. Raising an error when setting defpath resulted in a state that should not be reached.
      Show
      Fixed an edge-case issues that could occur when running puppet on distributions that do not have a default service provider. Puppet might try to evaluate runit and set defpath default before verifying that runit is suitable. Raising an error when setting defpath resulted in a state that should not be reached.
    • QA Risk Assessment:
      Needs Assessment

      Description

      Puppet Version: 6.8.0 - 6.10.0

      Running unit tests (i.e pdk test unit) on Alpine Linux with puppet agents >= 6.8.0 fails:

       

      pdk (INFO): Using Ruby 2.4.6
      pdk (INFO): Using Puppet 6.8.0
      Run options: exclude {:bolt=>true}
       Evaluated 83 tests in 30.530483644 seconds: 1 failures, 0 pending.
      failed: rspec: ./spec/classes/common_spec.rb:9: Could not find the daemon directory (tested [/etc/sv,/var/lib/service])
       common should contain class: Ubuntu on ubuntu-18.04-x86_64 is expected to compile into a catalogue without dependency cycles
       Failure/Error:
       let(:facts) { os_facts }
      it { is_expected.to compile.with_all_deps }
       end
      

       

      This seems to be related to changes in:

      https://tickets.puppetlabs.com/browse/PUP-7312
      https://tickets.puppetlabs.com/browse/PUP-10016

        Attachments

          Activity

            jsd-sla-details-panel

              People

              • Assignee:
                gheorghe.popescu Gheorghe Popescu
                Reporter:
                wolbi Tomasz Wolbach
              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Zendesk Support