Uploaded image for project: 'Maven Surefire'
  1. Maven Surefire
  2. SUREFIRE-2017

Unstable build with ParallelParameterized

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.0.0-M6
    • None
    • None

    Description

      The process cannot access the file because it is being used by another process(.part.lock).

      Caused by: org.eclipse.aether.resolution.ArtifactResolutionException: Could not transfer artifact io.cucumber:messages:pom:14.1.2 from/to central (https://repo.maven.apache.org/maven2): C:\Users\jenkins\AppData\Local\Temp\jenkins-Maven-maven-github-maven-surefire-master-23\.m2\io\cucumber\messages\14.1.2\messages-14.1.2.pom.part.lock (Access is denied)
      	at org.eclipse.aether.internal.impl.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:444)
      ...
      Caused by: java.io.FileNotFoundException: C:\Users\jenkins\AppData\Local\Temp\jenkins-Maven-maven-github-maven-surefire-master-23\.m2\io\cucumber\messages\14.1.2\messages-14.1.2.pom.part.lock (Access is denied)
      	at java.base/java.io.RandomAccessFile.open0(Native Method)
      	at java.base/java.io.RandomAccessFile.open(RandomAccessFile.java:346)
      	at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:260)
      	at java.base/java.io.RandomAccessFile.<init>(RandomAccessFile.java:215)
      	at org.eclipse.aether.connector.basic.PartialFile$LockFile.tryLock(PartialFile.java:123)
      

      Attachments

        Activity

          People

            tibordigana Tibor Digana
            tibordigana Tibor Digana
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: