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

Artifact Downloader task in dependent build fails to download artifacts from parent of its parent build when triggered by parent plan (but manual build is OK)

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Low
    • 5.0.1
    • 5.0
    • Artifacts

    Description

      Atlassian Bamboo version 5.0-beta3 build 3613

      We have 3 plans with dependencies: TBXDEV -> XRTIALL -> WORLD
      XRTIALL has 1 Artifact Downloader task which downloads shared artifact from TBXDEV
      WORLD has 2 Artifact Downloader tasks: one downloads shared artifact from TBXDEV (same as in XRTIALL), second - from XRTIALL

      When I start building WORLD manually TBX is downloaded correctly.
      Whet WORLD is triggered by parent plan XRTIALL, Artifact Downloader task is trying to download TBXDEV artifacts from XRTIALL plan, not from TBXDEV.

      Triggered by parent build:

      simple	13-июн-2013 12:12:42   Starting task 'Get XRTI' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:artifactdownloadertask'
      simple	13-июн-2013 12:12:42	Preparing to download plan result XMODEL-XRTIALL-16 artifact: Shared artifact: [XRTI bin], pattern: [*] anchored at: [bin]
      simple	13-июн-2013 12:12:43	Artifact [XRTI bin] downloaded successfully in 0s
      simple	13-июн-2013 12:12:43	Preparing to download plan result XMODEL-XRTIALL-16 artifact: Shared artifact: [XRTI install], pattern: [**] anchored at: [install]
      simple	13-июн-2013 12:12:43	Artifact [XRTI install] downloaded successfully in 0s
      simple	13-июн-2013 12:12:43	Preparing to download plan result XMODEL-XRTIALL-16 artifact: Shared artifact: [XRTI xpt], pattern: [*.pkg] anchored at: [artifacts]
      simple	13-июн-2013 12:12:43	Artifact [XRTI xpt] downloaded successfully in 0s
      simple	13-июн-2013 12:12:43	Finished task 'Get XRTI'
      simple	13-июн-2013 12:12:43	Starting task 'Try Get TBX' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:artifactdownloadertask'
      simple	13-июн-2013 12:12:43	Preparing to download plan result XMODEL-XRTIALL-16 artifact: Shared artifact: [TBX bin], pattern: [*.*] anchored at: [bin]
      error	13-июн-2013 12:12:43	D:\bamboo-home\artifacts\XMODEL-XRTIALL\shared\build-00016\TBX-bin is not a directory
      error	13-июн-2013 12:12:43	Unable to download artifact Shared artifact: [TBX bin], pattern: [*.*] anchored at: [bin]
      simple	13-июн-2013 12:12:43	Task configuration:
      simple	13-июн-2013 12:12:43	sourcePlanKey -> [XMODEL-TBXDEV]
      simple	13-июн-2013 12:12:43	artifactId_1 -> [-1]
      simple	13-июн-2013 12:12:43	localPath_1 -> [bin]
      simple	13-июн-2013 12:12:43	Task runtime configuration:
      simple	13-июн-2013 12:12:43	runtimeArtifactIds_1 -> [0,1,2]
      simple	13-июн-2013 12:12:43	securityToken -> [bc00a9a3162fb7fd1e872f244792601e88ad6494]
      simple	13-июн-2013 12:12:43	artifactName_2 -> [TBX xpt]
      simple	13-июн-2013 12:12:43	artifactPattern_0 -> [*.*]
      simple	13-июн-2013 12:12:43	localPath_0 -> [bin]
      simple	13-июн-2013 12:12:43	artifactLocation_2 -> [artifacts]
      simple	13-июн-2013 12:12:43	localPath_2 -> [bin]
      simple	13-июн-2013 12:12:43	artifactLocation_1 -> [install]
      simple	13-июн-2013 12:12:43	artifactLocation_0 -> [bin]
      simple	13-июн-2013 12:12:43	localPath_1 -> [bin]
      simple	13-июн-2013 12:12:43	resultKey -> [XMODEL-XRTIALL-16]
      simple	13-июн-2013 12:12:43	artifactPattern_2 -> [*.pkg]
      simple	13-июн-2013 12:12:43	artifactPattern_1 -> [**]
      simple	13-июн-2013 12:12:43	artifactName_1 -> [TBX install]
      simple	13-июн-2013 12:12:43	artifactName_0 -> [TBX bin]
      simple	13-июн-2013 12:12:43	artifactId_0 -> [65699841]
      simple	13-июн-2013 12:12:43	artifactId_1 -> [65699844]
      simple	13-июн-2013 12:12:43	artifactId_2 -> [65699845]
      simple	13-июн-2013 12:12:43	Finished task 'Try Get TBX'
      

      Manual build:

      simple	13-июн-2013 11:35:30   Starting task 'Get XRTI' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:artifactdownloadertask'
      simple	13-июн-2013 11:35:30	Preparing to download plan result XMODEL-XRTIALL-12 artifact: Shared artifact: [XRTI bin], pattern: [*] anchored at: [bin]
      simple	13-июн-2013 11:35:45	Artifact [XRTI bin] downloaded successfully in 14s
      simple	13-июн-2013 11:35:45	Preparing to download plan result XMODEL-XRTIALL-12 artifact: Shared artifact: [XRTI install], pattern: [**] anchored at: [install]
      simple	13-июн-2013 11:35:47	Artifact [XRTI install] downloaded successfully in 1s
      simple	13-июн-2013 11:35:47	Preparing to download plan result XMODEL-XRTIALL-12 artifact: Shared artifact: [XRTI xpt], pattern: [*.pkg] anchored at: [artifacts]
      simple	13-июн-2013 11:35:48	Artifact [XRTI xpt] downloaded successfully in 1s
      simple	13-июн-2013 11:35:48	Finished task 'Get XRTI'
      simple	13-июн-2013 11:35:48	Starting task 'Try Get TBX' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:artifactdownloadertask'
      simple	13-июн-2013 11:35:48	Preparing to download plan result XMODEL-TBXDEV-330 artifact: Shared artifact: [TBX bin], pattern: [*.*] anchored at: [bin]
      simple	13-июн-2013 11:35:48	Artifact [TBX bin] downloaded successfully in 0s
      simple	13-июн-2013 11:35:48	Preparing to download plan result XMODEL-TBXDEV-330 artifact: Shared artifact: [TBX install], pattern: [**] anchored at: [install]
      simple	13-июн-2013 11:35:49	Artifact [TBX install] downloaded successfully in 0s
      simple	13-июн-2013 11:35:49	Preparing to download plan result XMODEL-TBXDEV-330 artifact: Shared artifact: [TBX xpt], pattern: [*.pkg] anchored at: [artifacts]
      simple	13-июн-2013 11:35:49	Artifact [TBX xpt] downloaded successfully in 0s
      simple	13-июн-2013 11:35:49	Finished task 'Try Get TBX'
      

      In summary, the artifact download task tries to download from the parent plan always no matter the "source plan" settings we have added in its configuration

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              4841a095a236 Anton Tretyak
              Votes:
              3 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: