Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-5682

Repeated log spam at DEBUG level attempting to delete checksum files while running Snapshot Removal Task

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.5
    • Fix Version/s: 2.5
    • Component/s: None
    • Labels:
      None

      Description

      When deleting snapshots, every checksum file we attempt to delete generates a stacktrace at debug level.

      2013-04-18 14:52:58 DEBUG [ool-1-thread-14] - org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover - Could not delete file:
      org.sonatype.nexus.proxy.ItemNotFoundException: Item not found for request "ResourceStoreRequest{requestPath='/org/sonatype/test/1.0-SNAPSHOT/test-1.0-20130418.213921-1.pom.sha1', requestContext=RequestContext{this={DeleteOperation=MOVE_TO_TRASH, request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={moreTsSnapshotsExistsForGav=true, org.sonatype.nexus.proxy.maven.gav.Gav=org.sonatype.nexus.proxy.maven.gav.Gav@c80ae97f}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=true}, parent=RequestContext{this={}, parent=RequestContext{this={request.remoteOnly=false, request.localOnly=false}, parent=null}}}}}}}}}}}}}}}}}}, pathStack=[], processedRepositories=[], appliedMappings={}}" in repository ""Snapshots" [id=snapshots]"!
      	at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.retrieveItemFromFile(DefaultFSLocalRepositoryStorage.java:304) ~[nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
      	at org.sonatype.nexus.proxy.storage.local.fs.DefaultFSLocalRepositoryStorage.retrieveItem(DefaultFSLocalRepositoryStorage.java:327) ~[nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
      	at org.sonatype.nexus.proxy.repository.AbstractRepository.deleteItem(AbstractRepository.java:997) ~[nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
      	at org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover$SnapshotRemoverWalkerProcessor.doOnCollectionExit(DefaultSnapshotRemover.java:603) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
      	at org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover$SnapshotRemoverWalkerProcessor.onCollectionExit(DefaultSnapshotRemover.java:404) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
      	at org.sonatype.nexus.proxy.walker.DefaultWalker.onCollectionExit(DefaultWalker.java:387) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
      	at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:269) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
      	at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:256) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
      	at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:256) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
      	at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:256) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
      	at org.sonatype.nexus.proxy.walker.DefaultWalker.walkRecursive(DefaultWalker.java:256) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
      	at org.sonatype.nexus.proxy.walker.DefaultWalker.walk(DefaultWalker.java:94) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
      	at org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover.removeSnapshotsFromMavenRepository(DefaultSnapshotRemover.java:228) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
      	at org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover.process(DefaultSnapshotRemover.java:169) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
      	at org.sonatype.nexus.maven.tasks.DefaultSnapshotRemover.removeSnapshots(DefaultSnapshotRemover.java:117) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
      	at org.sonatype.nexus.maven.tasks.SnapshotRemoverTask.doRun(SnapshotRemoverTask.java:123) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
      	at org.sonatype.nexus.maven.tasks.SnapshotRemoverTask.doRun(SnapshotRemoverTask.java:27) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
      	at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:179) [nexus-core-2.5.0-SNAPSHOT.jar:2.5.0-SNAPSHOT]
      	at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:459) [sisu-task-scheduler-1.7.jar:na]
      	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [na:1.7.0_15]
      	at java.util.concurrent.FutureTask.run(FutureTask.java:166) [na:1.7.0_15]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_15]
      	at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) [na:1.7.0_15]
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_15]
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_15]
      	at java.lang.Thread.run(Thread.java:722) [na:1.7.0_15]
      

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              krobinson Kelly Robinson
              Last Updated By:
              Peter Lynch Peter Lynch
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Date of First Response:

                  tigCommentSecurity.panel-title