Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-13656

Despite artifact publishing being successful, the artifact is not available

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 5.10.0, 5.9.7
    • None
    • Artifacts

    Description

      The job is successful but the agent failed publish the artifact (without any error message) ....

      build	22-Aug-2013 21:06:16	[install4j]   Moving media files to media directory /opt/bamboo-agent/xml-data/build-dir/JIRAMASTER-QA-JOB1/jira-distribution/jira-installer-distribution/target
      build	22-Aug-2013 21:06:16	[install4j]   The name of the media file is atlassian-jira-6.1-SNAPSHOT-x64.exe.
      build	22-Aug-2013 21:06:16	[install4j]   The size of the media file is 190.1 MB
      build	22-Aug-2013 21:06:16	[install4j]   
      build	22-Aug-2013 21:06:16	[install4j] Writing md5sums.
      build	22-Aug-2013 21:06:16	[install4j] Writing updates.xml.
      build	22-Aug-2013 21:06:16	
      build	22-Aug-2013 21:06:16	[install4j] Build completed in 98.7 seconds.
      build	22-Aug-2013 21:06:16	     [move] Moving 1 file to /opt/bamboo-agent/xml-data/build-dir/JIRAMASTER-QA-JOB1/jira-distribution/jira-installer-distribution/target
      build	22-Aug-2013 21:06:16	     [move] Moving 1 file to /opt/bamboo-agent/xml-data/build-dir/JIRAMASTER-QA-JOB1/jira-distribution/jira-installer-distribution/target
      
      ...
      
      
      simple	22-Aug-2013 21:06:19	Publishing an artifact: Windows Installer
      error	22-Aug-2013 21:11:01	Unable to publish artifact [Windows Installer]: 
      simple	22-Aug-2013 21:11:01	Finished publishing of artifact Job artifact: [Windows Installer], pattern: [atlassian-jira-*.exe] anchored at: [jira-distribution/jira-installer-distribution/target] in 281s
      

      So let's look at the server logs:

      2013-08-22 20:59:45,973 INFO [4-BAM::PlanExec:pool-7-thread-1] [ChainExecutionManagerImpl] Build JIRAMASTER-QA-JOB1-5914 has been dispatched
      2013-08-22 20:59:46,004 INFO [AtlassianEvent::0-BAM::EVENTS:pool-2-thread-5] [BuildQueueManagerImpl] Attempting to queue A3. JIRA Master - General - QA Standalone - Default Job #5914 (JIRAMASTER-QA-JOB1-5914).
      2013-08-22 20:59:46,005 INFO [AtlassianEvent::0-BAM::EVENTS:pool-2-thread-5] [ExecutionPhaseServiceImpl] A3. JIRA Master - General - QA Standalone - Default Job #5914 (JIRAMASTER-QA-JOB1-5914) queued
      2013-08-22 20:59:46,005 INFO [AtlassianEvent::0-BAM::EVENTS:pool-2-thread-5] [DefaultBuildExecutionManager] onQueuedTimingPoint for JIRAMASTER-QA-JOB1-5914
      2013-08-22 20:59:46,049 INFO [AtlassianEvent::0-BAM::EVENTS:pool-2-thread-5] [BuildQueueManagerImpl] A3. JIRA Master - General - QA Standalone - Default Job #5914 (JIRAMASTER-QA-JOB1-5914) added to queue.
      2013-08-22 20:59:46,125 INFO [bambooAgentMessageListenerConnector-1] [DefaultBuildExecutionManager] onVcsSyncStartedTimingPoint for JIRAMASTER-QA-JOB1-5914
      2013-08-22 20:59:46,131 INFO [bambooAgentMessageListenerConnector-1] [ChainExecutionManagerImpl] onVcsSyncStartedTimingPoint for JIRAMASTER-QA-JOB1-5914
      2013-08-22 20:59:58,255 INFO [bambooAgentMessageListenerConnector-1] [DefaultBuildExecutionManager] onExecutionStartedTimingPoint for JIRAMASTER-QA-JOB1-5914
      2013-08-22 20:59:58,262 INFO [bambooAgentMessageListenerConnector-1] [ChainExecutionManagerImpl] onExecutionStartedTimingPoint for JIRAMASTER-QA-JOB1-5914
      2013-08-22 21:10:08,949 INFO [qtp1234740309-183553] [ArtifactPublishMessage] Starting to publish an artifact 'Windows Installer' downloaded from the remote agent for build JIRAMASTER-QA-JOB1-5914
      2013-08-22 21:11:00,708 INFO [qtp1234740309-183555] [ArtifactPublishMessage] Starting to publish an artifact 'Windows Installer' downloaded from the remote agent for build JIRAMASTER-QA-JOB1-5914
      2013-08-22 21:11:36,034 INFO [qtp1234740309-183158] [ArtifactPublishMessage] Starting to publish an artifact 'Linux Installer' downloaded from the remote agent for build JIRAMASTER-QA-JOB1-5914
      2013-08-22 21:11:53,836 INFO [qtp1234740309-181301] [ArtifactPublishMessage] Starting to publish an artifact 'Standalone Tar' downloaded from the remote agent for build JIRAMASTER-QA-JOB1-5914
      2013-08-22 21:12:18,529 INFO [qtp1234740309-183557] [ArtifactPublishMessage] Starting to publish an artifact 'Standalone' downloaded from the remote agent for build JIRAMASTER-QA-JOB1-5914
      2013-08-22 21:12:23,022 INFO [bambooAgentMessageListenerConnector-1] [DefaultBuildExecutionManager] onExecutionFinishedTimingPoint for JIRAMASTER-QA-JOB1-5914
      2013-08-22 21:13:01,983 INFO [buildTailMessageListenerConnector-1] [LocalBuildResultProcessor] Processing build result JIRAMASTER-QA-JOB1-5914...
      2013-08-22 21:13:01,984 INFO [buildTailMessageListenerConnector-1] [ExecutionPhaseServiceImpl] A3. JIRA Master - General - QA Standalone - Default Job #5914 (JIRAMASTER-QA-JOB1-5914) execution finished
      2013-08-22 21:13:01,984 INFO [buildTailMessageListenerConnector-1] [DefaultBuildExecutionManager] onExecutionFinishedTimingPoint for JIRAMASTER-QA-JOB1-5914
      2013-08-22 21:13:01,984 INFO [buildTailMessageListenerConnector-1] [LocalBuildResultProcessor] JIRAMASTER-QA-JOB1-5914: Running on server: post build plugin 'Clover Delta Calculator'
      2013-08-22 21:13:01,994 INFO [buildTailMessageListenerConnector-1] [LocalBuildResultProcessor] JIRAMASTER-QA-JOB1-5914: Running on server: post build plugin 'Build Hanging Detection Configuration'
      2013-08-22 21:13:01,999 INFO [buildTailMessageListenerConnector-1] [LocalBuildResultProcessor] JIRAMASTER-QA-JOB1-5914: Running on server: post build plugin 'NCover Results Collector'
      2013-08-22 21:13:02,009 INFO [buildTailMessageListenerConnector-1] [LocalBuildResultProcessor] JIRAMASTER-QA-JOB1-5914: Running on server: post build plugin 'Maven Dependencies Postprocessor'
      2013-08-22 21:13:02,013 INFO [buildTailMessageListenerConnector-1] [LocalBuildResultProcessor] JIRAMASTER-QA-JOB1-5914: All post build plugins have finished
      2013-08-22 21:13:02,090 INFO [buildTailMessageListenerConnector-1] [PlanStatePersisterImpl] JIRAMASTER-QA-JOB1-5914: Generating build results summary...
      2013-08-22 21:13:03,622 INFO [buildTailMessageListenerConnector-1] [TestsManagerImpl] Test migration to BuildResultsSummary complete for JIRAMASTER-QA-JOB1-5914
      2013-08-22 21:13:03,625 INFO [buildTailMessageListenerConnector-1] [PlanStatePersisterImpl] JIRAMASTER-QA-JOB1-5914: Saving build results to disk...
      2013-08-22 21:13:03,842 INFO [buildTailMessageListenerConnector-1] [PlanStatePersisterImpl] JIRAMASTER-QA-JOB1-5914: Indexing build results...
      2013-08-22 21:13:03,897 INFO [buildTailMessageListenerConnector-1] [DefaultBuildResultsIndexer] Indexed JIRAMASTER-QA-JOB1-5914, took: < 1 second
      2013-08-22 21:13:03,898 INFO [buildTailMessageListenerConnector-1] [PlanStatePersisterImpl] Finished build: JIRAMASTER-QA-JOB1-5914
      2013-08-22 21:13:03,898 INFO [buildTailMessageListenerConnector-1] [PlanStatePersisterImpl] JIRAMASTER-QA-JOB1-5914: Finished building JIRAMASTER-QA-JOB1-5914.
      

      Looks sane ... and the artifacts are on disc, so every thing is fine.

      root@jira-bamboo:/data/bamboo-data/artifacts/JIRAMASTER-QA/JOB1/build-05914/Windows-Installer# ls -l
      total 393880
      -rw-r--r-- 1 bamboo-server bamboo-server 203992664 Aug 22 21:08 atlassian-jira-6.1-SNAPSHOT-x32.exe
      -rw-r--r-- 1 bamboo-server bamboo-server 199330904 Aug 22 21:10 atlassian-jira-6.1-SNAPSHOT-x64.exe
      

      The artifacts are slightly bigger than the previous build and slightly smaller than the next one. Hard to say if they were successfully transfered.

      But why do the artifacts not appear in the ui?

      Also considering the artifact transmission could have been failed, there should be an error message and the build should have been failed.

      Thank you

      Attachments

        Activity

          People

            pbruski Przemek Bruski
            mmeinhold Martin Meinhold
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: