Maven Snapshot Dependencies Trigger fails to find existing artifact in Nexus - not consistently

Hi Team,

I am experiencing an issue where TeamCity shows "Problem with Maven Snapshot Dependencies Trigger" every once in a while.
This message appears and disappears every couple of minutes.

We are using Nexus Pro 2.8.1 and the problem started after we have upgraded to TeamCity 9.0.2

This error is non deterministic - the message appears every couple of minutes, then disappears.
I made sure the dependency that's "not found" is actually in the Nexus repository.

Did someone experience such an error?

The error stack is:

Repository repo-SNAPSHOTS: File: http://nexuspro:8081/nexus/content/repositories/repo-SNAPSHOTS/com/company/project/common/project-common/1.0.0-SNAPSHOT/project-common-1.0.0-SNAPSHOT.jar , ReasonPhrase:Not Found. Repository repo-CATALOG: File: http://nexuspro:8081/nexus/content/repositories/repo-CATALOG/com/company/project/common/project-common/1.0.0-SNAPSHOT/project-common-1.0.0-SNAPSHOT.jar , ReasonPhrase:Not Found. at jetbrains.buildServer.maven.trigger.MavenArtifactTriggerBase.makeTriggerException(MavenArtifactTriggerBase.java:25) at jetbrains.buildServer.buildTriggers.async.impl.AsyncPolledBuildTrigger.processJobResults(AsyncPolledBuildTrigger.java:145) at jetbrains.buildServer.buildTriggers.async.impl.AsyncPolledBuildTrigger.triggerBuild(AsyncPolledBuildTrigger.java:59) at jetbrains.buildServer.serverSide.impl.BuildTriggersChecker$4.run(BuildTriggersChecker.java:2) at jetbrains.buildServer.util.NamedThreadFactory.executeWithNewThreadName(NamedThreadFactory.java:89) at jetbrains.buildServer.serverSide.impl.BuildTriggersChecker.callTrigger(BuildTriggersChecker.java:67) at jetbrains.buildServer.serverSide.impl.BuildTriggersChecker.access$900(BuildTriggersChecker.java:71) at jetbrains.buildServer.serverSide.impl.BuildTriggersChecker$BuildTriggersGroup.processTriggers(BuildTriggersChecker.java:30) at jetbrains.buildServer.serverSide.impl.BuildTriggersChecker.triggerBuilds(BuildTriggersChecker.java:75) at jetbrains.buildServer.serverSide.impl.BuildServerRunner$4.doSomething(BuildServerRunner.java:2) at jetbrains.buildServer.serverSide.impl.BuildServerRunner$BuildServerWorker.runAction(BuildServerRunner.java:23) at jetbrains.buildServer.serverSide.impl.BuildServerRunner$BuildServerWorker.run(BuildServerRunner.java:44) at java.lang.Thread.run(Thread.java:724) Caused by: jetbrains.buildServer.buildTriggers.async.DetectionException: Couldn't find information about com.company.project.common:project-common:jar:1.0.0-SNAPSHOT in any of the available repositories: Repository repo-RELEASES: File: http://nexuspro:8081/nexus/content/repositories/repo-RELEASES/com/company/project/common/project-common/1.0.0-SNAPSHOT/project-common-1.0.0-SNAPSHOT.jar , ReasonPhrase:Not Found. Repository repo-INTERNAL: File: http://nexuspro:8081/nexus/content/repositories/repo-INTERNAL/com/company/project/common/project-common/1.0.0-SNAPSHOT/project-common-1.0.0-SNAPSHOT.jar , ReasonPhrase:Not Found. Repository project-Staging-group: File: http://nexuspro:8081/nexus/content/groups/project-Staging-group/com/company/project/common/project-common/1.0.0-SNAPSHOT/project-common-1.0.0-SNAPSHOT.jar , ReasonPhrase:Not Found. Repository nexus: File: http://nexuspro:8081/nexus/content/groups/public/com/company/project/common/project-common/1.0.0-SNAPSHOT/project-common-1.0.0-SNAPSHOT.jar , ReasonPhrase:Not Found. Repository repo-SNAPSHOTS: File: http://nexuspro:8081/nexus/content/repositories/repo-SNAPSHOTS/com/company/project/common/project-common/1.0.0-SNAPSHOT/project-common-1.0.0-SNAPSHOT.jar , ReasonPhrase:Not Found. Repository repo-CATALOG: File: http://nexuspro:8081/nexus/content/repositories/repo-CATALOG/com/company/project/common/project-common/1.0.0-SNAPSHOT/project-common-1.0.0-SNAPSHOT.jar , ReasonPhrase:Not Found. at jetbrains.buildServer.maven.acd.Checker.check(Checker.java:59) at jetbrains.buildServer.maven.acd.MavenArtifactChangeDetectorImpl.doCheckForChanges(MavenArtifactChangeDetectorImpl.java:180) at jetbrains.buildServer.maven.acd.MavenArtifactChangeDetectorImpl.checkForChanges(MavenArtifactChangeDetectorImpl.java:138) at jetbrains.buildServer.maven.trigger.SnapshotsCheckJob.perform(SnapshotsCheckJob.java:111) at jetbrains.buildServer.maven.trigger.SnapshotsCheckJob.perform(SnapshotsCheckJob.java:24) at jetbrains.buildServer.buildTriggers.async.impl.AsyncPolledBuildTrigger$2.run(AsyncPolledBuildTrigger.java:171) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) ... 1 more Caused by: jetbrains.buildServer.maven.acd.DigestRetrievalException: Couldn't find information about com.company.project.common:project-common:jar:1.0.0-SNAPSHOT in any of the available repositories: Repository repo-RELEASES: File: http://nexuspro:8081/nexus/content/repositories/repo-RELEASES/com/company/project/common/project-common/1.0.0-SNAPSHOT/project-common-1.0.0-SNAPSHOT.jar , ReasonPhrase:Not Found. Repository repo-INTERNAL: File: http://nexuspro:8081/nexus/content/repositories/repo-INTERNAL/com/company/project/common/project-common/1.0.0-SNAPSHOT/project-common-1.0.0-SNAPSHOT.jar , ReasonPhrase:Not Found. Repository project-Staging-group: File: http://nexuspro:8081/nexus/content/groups/project-Staging-group/com/company/project/common/project-common/1.0.0-SNAPSHOT/project-common-1.0.0-SNAPSHOT.jar , ReasonPhrase:Not Found. Repository nexus: File: http://nexuspro:8081/nexus/content/groups/public/com/company/project/common/project-common/1.0.0-SNAPSHOT/project-common-1.0.0-SNAPSHOT.jar , ReasonPhrase:Not Found. Repository repo-SNAPSHOTS: File: http://nexuspro:8081/nexus/content/repositories/repo-SNAPSHOTS/com/company/project/common/project-common/1.0.0-SNAPSHOT/project-common-1.0.0-SNAPSHOT.jar , ReasonPhrase:Not Found. Repository repo-CATALOG: File: http://nexuspro:8081/nexus/content/repositories/repo-CATALOG/com/company/project/common/project-common/1.0.0-SNAPSHOT/project-common-1.0.0-SNAPSHOT.jar , ReasonPhrase:Not Found. at jetbrains.buildServer.maven.acd.WagonDigestRetriever.doRetrieveDigest(WagonDigestRetriever.java:90) at jetbrains.buildServer.maven.acd.WagonDigestRetriever.retrieveDigest(WagonDigestRetriever.java:45) at jetbrains.buildServer.maven.acd.Checker.check(Checker.java:33) ... 8 more


Thanks,
Eyal

1 comment
Comment actions Permalink

Hello Eyal,

You are facing https://youtrack.jetbrains.com/issue/TW-40028

The issue is fixed in recently released TeamCity 9.0.3

0

Please sign in to leave a comment.