Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-2212

[Windows] Fix pytest_cache folder removal

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: 4.4.2
    • Fix Version/s: 4.4.4
    • Component/s: Tests
    • Environment:
      Windows

      Description

      Sometimes tests are not starting because of that error:

      17:10:43  Remove-Item : Object reference not set to an instance of an object.
      17:10:43  At C:\Jenkins\workspace\Drive\Drive-test-volume-specific\tools\windows\deploy_j
      17:10:43  enkins_slave.ps1:391 char:3
      17:10:43  +         Remove-Item -Path ".pytest_cache" -Verbose
      17:10:43  +         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
      17:10:43      + CategoryInfo          : NotSpecified: (:) [Remove-Item], NullReferenceEx 
      17:10:43     ception
      17:10:43      + FullyQualifiedErrorId : System.NullReferenceException,Microsoft.PowerShe 
      17:10:43     ll.Commands.RemoveItemCommand
      

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h