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

Windows scheduled_task spec failures on puppet (master)

    XMLWordPrintable

Details

    • CI Blocker
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • None
    • PUP 4.9.0
    • None
    • None
    • platform puppet-cve
    • Agent
    • 1
    • AP 2017-01-25
    • Not Needed
    • Needs Assessment

    Description

      03:07:25   1) Puppet::Type::Scheduled_task::ProviderWin32_taskscheduler Win32::TaskScheduler does not corrupt tasks when setting maximum length values for all settings
      03:07:25      Failure/Error: task.delete(name) if Win32::TaskScheduler.new.exists?(name)
      03:07:25      Puppet::Util::Windows::Error:
      03:07:25        Failed to call #<Win32::TaskScheduler::COM::TaskScheduler:0x0000001eba9870>::Delete with HRESULT: -2147024864.:  The process cannot access the file because it is being used by another process. 
      03:07:25      # ./lib/puppet/util/windows/com.rb:183:in `block (3 levels) in []'
      03:07:25      # ./lib/puppet/util/windows/taskscheduler.rb:265:in `delete'
      03:07:25      # ./spec/unit/provider/scheduled_task/win32_taskscheduler_spec.rb:2017:in `block (4 levels) in <top (required)>'
      0
      

      URL: https://jenkins-master-prod-1.delivery.puppetlabs.net/job/platform_puppet_unit-ruby-win_master/97/R=ruby-2.1.9.1-x64,S=unit-win2012/console

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              thomas.hallgren Thomas Hallgren
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Zendesk Support