-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Low
-
Affects Version/s: 5.5, 5.6.0, 5.6.1
-
Component/s: Agents, Build Queues
A build went gray and failed with a
notification.
Build GH-FPUBLISH2-CRT-6 had to be cancelled: it was marked as in progress in DB but no agents were assigned to it.
Details
But looking at the logs, everything was allright on the agents
simple 04-Sep-2014 05:01:18 Finalising the build... simple 04-Sep-2014 05:01:18 Stopping timer. simple 04-Sep-2014 05:01:18 Build GH-FPUBLISH2-CRT-6 completed.
Looking at the server logs, I can see the following happening
2014-09-04 04:04:12,656 INFO [AtlassianEvent::0-BAM::EVENTS:pool-2-thread-8] [BuildQueueManagerImpl] Attempting to queue jiraagile - Freezer - Publish jiraagile artifacts to Nexus - jirastudio-dog - Create Artifacts #6 (GH-FPUBLISH2-CRT-6). 2014-09-04 04:04:12,656 INFO [AtlassianEvent::0-BAM::EVENTS:pool-2-thread-8] [ExecutionPhaseServiceImpl] jiraagile - Freezer - Publish jiraagile artifacts to Nexus - jirastudio-dog - Create Artifacts #6 (GH-FPUBLISH2-CRT-6) queued 2014-09-04 04:04:12,834 INFO [ActiveMQ Session Task-1466] [BuildQueueManagerImpl] Sending GH-FPUBLISH2-CRT-6 to agent 359958076 2014-09-04 04:04:12,866 INFO [bambooAgentMessageListenerConnector-1] [CurrentlyBuildingContainer] startBuildingOnAgent called for [GH-FPUBLISH2-CRT-6], agent 359958076 2014-09-04 05:01:11,614 INFO [http-bio-8085-exec-210] [ArtifactPublishMessage] Starting to publish an artifact 'jiraagile' downloaded from the remote agent for build GH-FPUBLISH2-CRT-6 2014-09-04 05:01:31,950 INFO [bambooAgentMessageListenerConnector-1] [CurrentlyBuildingContainer] Agent 359958076 finished building GH-FPUBLISH2-CRT-6, but the build is still processed by the server. Detaching it from the agent 2014-09-04 05:15:32,420 INFO [QuartzScheduler_Worker-10] [OrphanedBuildMonitorJob] GH-FPUBLISH2-CRT-6 marked as InProgress but not present in CBC since Thu Sep 04 05:02:34 UTC 2014 2014-09-04 05:15:32,421 ERROR [QuartzScheduler_Worker-10] [OrphanedBuildMonitorJob] Build GH-FPUBLISH2-CRT-6 had to be cancelled: it was marked as in progress in DB but no agents were assigned to it. 2014-09-04 05:15:32,424 INFO [QuartzScheduler_Worker-10] [DefaultErrorHandler] Recording an error: Build GH-FPUBLISH2-CRT-6 had to be cancelled: it was marked as in progress in DB but no agents were assigned to it. : GH-FPUBLISH2-CRT 2014-09-04 05:15:32,716 INFO [QuartzScheduler_Worker-10] [CurrentlyBuildingContainer] removeCurrentlyBuilding called for [GH-FPUBLISH2-CRT-6] 2014-09-04 05:16:09,439 INFO [buildTailMessageListenerConnector-1] [CurrentlyBuildingContainer] removeCurrentlyBuilding called for [GH-FPUBLISH2-CRT-6] 2014-09-04 05:16:09,439 INFO [buildTailMessageListenerConnector-1] [CurrentlyBuildingContainer] removeCurrentlyBuilding called for [GH-FPUBLISH2-CRT-6] but the plan did not exist in CBC 2014-09-04 05:16:09,440 INFO [buildTailMessageListenerConnector-1] [DefaultBuildExecutionManager] Did not remove GH-FPUBLISH2-CRT-6 from CBC
But no network issues or other problems. Hence I would have expected that the build is successful.
Note: version 5.6.0 build 4409 - 22 Jul 14