-
Bug
-
Resolution: Obsolete
-
Low
-
None
-
None
-
None
-
None
-
Severity 3 - Minor
-
COV-UNIT-JOB1 seems to:
- Pull to cache
- Clone to working dir . The directory exists, it's already checked out -> failure
- Remove working directory
- Clone to working dir again.
Why doesn't it just pull to cache and then from cache? Maybe the EBS contains a faulty working dir?
13-Sep-2011 05:53:17 Build COV-UNIT-JOB1-13980 started building on agent Elastic Agent on i-62fc2702 13-Sep-2011 05:53:18 Build working directory is /media/ephemeral0/bamboo-working-dir/COV-UNIT-JOB1 13-Sep-2011 05:53:18 Cleaning directory /media/ephemeral0/bamboo-working-dir/COV-UNIT-JOB1 13-Sep-2011 05:53:18 Executing build COV-UNIT-JOB1-13980 13-Sep-2011 05:53:18 Running pre-build action: VCS Version Collector 13-Sep-2011 05:53:18 Running pre-build action: Pre Command Agent Runner 13-Sep-2011 05:53:18 running pre command on agent 13-Sep-2011 05:53:18 Running pre-build action: Sandbox Environment Setup 13-Sep-2011 05:53:18 Running pre-build action: Build Number Stamper 13-Sep-2011 05:53:18 Running pre-build action: Clover Grails PreBuild Action 13-Sep-2011 05:53:18 Running pre-build action: Repository Isolation Enabler Action 13-Sep-2011 05:53:18 Running pre-build action: Maven Settings Prebuild Action 13-Sep-2011 05:53:19 Starting task com.atlassian.bamboo.plugins.vcs:task.vcs.checkout Checkout Default Repository 13-Sep-2011 05:53:19 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' 13-Sep-2011 05:53:19 Updating source code to revision: 800f5662feb038424905126e2e741964a65653f8 13-Sep-2011 05:53:19 Obtaining remote repository to agent's cache directory '/media/ephemeral0/bamboo-working-dir/_hg-repositories-cache/9cee785ad1f048fab1b720cd5b450124e86f04e1'... 13-Sep-2011 05:53:19 Pulling from repository `https://mchai:***@code.atlassian.com/hg/bamboo' to directory '/media/ephemeral0/bamboo-working-dir/_hg-repositories-cache/9cee785ad1f048fab1b720cd5b450124e86f04e1' 13-Sep-2011 05:53:20 pulling from https://mchai:***@code.atlassian.com/hg/bamboo 13-Sep-2011 05:53:20 searching for changes 13-Sep-2011 05:54:18 adding changesets 13-Sep-2011 05:54:18 adding manifests 13-Sep-2011 05:54:18 adding file changes 13-Sep-2011 05:54:18 added 2702 changesets with 22773 changes to 2133 files 13-Sep-2011 05:54:18 (run 'hg update' to get a working copy) 13-Sep-2011 05:54:19 Copying repository from cache directory to source directory... 13-Sep-2011 05:54:19 Cloning repository `/media/ephemeral0/bamboo-working-dir/_hg-repositories-cache/9cee785ad1f048fab1b720cd5b450124e86f04e1' to directory '/media/ephemeral0/bamboo-working-dir/COV-UNIT-JOB1' 13-Sep-2011 05:54:19 Warning: failed to copy repository from cache directory (com.atlassian.bamboo.plugins.hg.HgCommandException: command [/usr/bin/hg, clone, --noupdate, --config, ui.ssh=ssh -o StrictHostKeyChecking=no -o BatchMode=yes, /media/ephemeral0/bamboo-working-dir/_hg-repositories-cache/9cee785ad1f048fab1b720cd5b450124e86f04e1, /media/ephemeral0/bamboo-working-dir/COV-UNIT-JOB1] failed. Working directory was `/media/ephemeral0/bamboo-working-dir/COV-UNIT-JOB1'. stderr: abort: destination '/media/ephemeral0/bamboo-working-dir/COV-UNIT-JOB1' is not empty stdout: ), trying to recover... 13-Sep-2011 05:54:19 Cleaned `/media/ephemeral0/bamboo-working-dir/COV-UNIT-JOB1' directory. 13-Sep-2011 05:54:19 Cloning repository `/media/ephemeral0/bamboo-working-dir/_hg-repositories-cache/9cee785ad1f048fab1b720cd5b450124e86f04e1' to directory '/media/ephemeral0/bamboo-working-dir/COV-UNIT-JOB1' 13-Sep-2011 05:54:34 Running update command again... 13-Sep-2011 05:54:50 5602 files updated, 0 files merged, 0 files removed, 0 files unresolved 13-Sep-2011 05:54:50 Recover finished. 13-Sep-2011 05:54:50 Updated source code to revision: 800f5662feb038424905126e2e741964a65653f8
[BAM-9753] Mercurial: Clone into a non-empty directory where pull -u would be expected
Workflow | Original: Bamboo Workflow 2016 v1 - Restricted [ 1436516 ] | New: JAC Bug Workflow v3 [ 3385265 ] |
Status | Original: Resolved [ 5 ] | New: Closed [ 6 ] |
Symptom Severity | Original: Minor [ 14432 ] | New: Severity 3 - Minor [ 15832 ] |
Resolution | New: Obsolete [ 11 ] | |
Status | Original: Open [ 1 ] | New: Resolved [ 5 ] |
Symptom Severity | New: Minor [ 14432 ] |
Workflow | Original: Bamboo Workflow 2016 v1 [ 1418054 ] | New: Bamboo Workflow 2016 v1 - Restricted [ 1436516 ] |
Workflow | Original: Bamboo Workflow 2014 v2 [ 609115 ] | New: Bamboo Workflow 2016 v1 [ 1418054 ] |
Workflow | Original: Bamboo Workflow 2014 [ 600217 ] | New: Bamboo Workflow 2014 v2 [ 609115 ] |
Workflow | Original: Bamboo Workflow 2010 [ 344378 ] | New: Bamboo Workflow 2014 [ 600217 ] |
Description |
Original:
COV-UNIT-JOB1 seems to:
# Pull to cache # Clone to working dir . The directory exists, it's already checked out -> failure # Remove working directory # Clone to working dir again. Why doesn't it just pull to cache and then from cache? {noformat} 13-Sep-2011 05:53:17 Build COV-UNIT-JOB1-13980 started building on agent Elastic Agent on i-62fc2702 13-Sep-2011 05:53:18 Build working directory is /media/ephemeral0/bamboo-working-dir/COV-UNIT-JOB1 13-Sep-2011 05:53:18 Cleaning directory /media/ephemeral0/bamboo-working-dir/COV-UNIT-JOB1 13-Sep-2011 05:53:18 Executing build COV-UNIT-JOB1-13980 13-Sep-2011 05:53:18 Running pre-build action: VCS Version Collector 13-Sep-2011 05:53:18 Running pre-build action: Pre Command Agent Runner 13-Sep-2011 05:53:18 running pre command on agent 13-Sep-2011 05:53:18 Running pre-build action: Sandbox Environment Setup 13-Sep-2011 05:53:18 Running pre-build action: Build Number Stamper 13-Sep-2011 05:53:18 Running pre-build action: Clover Grails PreBuild Action 13-Sep-2011 05:53:18 Running pre-build action: Repository Isolation Enabler Action 13-Sep-2011 05:53:18 Running pre-build action: Maven Settings Prebuild Action 13-Sep-2011 05:53:19 Starting task com.atlassian.bamboo.plugins.vcs:task.vcs.checkout Checkout Default Repository 13-Sep-2011 05:53:19 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' 13-Sep-2011 05:53:19 Updating source code to revision: 800f5662feb038424905126e2e741964a65653f8 13-Sep-2011 05:53:19 Obtaining remote repository to agent's cache directory '/media/ephemeral0/bamboo-working-dir/_hg-repositories-cache/9cee785ad1f048fab1b720cd5b450124e86f04e1'... 13-Sep-2011 05:53:19 Pulling from repository `https://mchai:***@code.atlassian.com/hg/bamboo' to directory '/media/ephemeral0/bamboo-working-dir/_hg-repositories-cache/9cee785ad1f048fab1b720cd5b450124e86f04e1' 13-Sep-2011 05:53:20 pulling from https://mchai:***@code.atlassian.com/hg/bamboo 13-Sep-2011 05:53:20 searching for changes 13-Sep-2011 05:54:18 adding changesets 13-Sep-2011 05:54:18 adding manifests 13-Sep-2011 05:54:18 adding file changes 13-Sep-2011 05:54:18 added 2702 changesets with 22773 changes to 2133 files 13-Sep-2011 05:54:18 (run 'hg update' to get a working copy) 13-Sep-2011 05:54:19 Copying repository from cache directory to source directory... 13-Sep-2011 05:54:19 Cloning repository `/media/ephemeral0/bamboo-working-dir/_hg-repositories-cache/9cee785ad1f048fab1b720cd5b450124e86f04e1' to directory '/media/ephemeral0/bamboo-working-dir/COV-UNIT-JOB1' 13-Sep-2011 05:54:19 Warning: failed to copy repository from cache directory (com.atlassian.bamboo.plugins.hg.HgCommandException: command [/usr/bin/hg, clone, --noupdate, --config, ui.ssh=ssh -o StrictHostKeyChecking=no -o BatchMode=yes, /media/ephemeral0/bamboo-working-dir/_hg-repositories-cache/9cee785ad1f048fab1b720cd5b450124e86f04e1, /media/ephemeral0/bamboo-working-dir/COV-UNIT-JOB1] failed. Working directory was `/media/ephemeral0/bamboo-working-dir/COV-UNIT-JOB1'. stderr: abort: destination '/media/ephemeral0/bamboo-working-dir/COV-UNIT-JOB1' is not empty stdout: ), trying to recover... 13-Sep-2011 05:54:19 Cleaned `/media/ephemeral0/bamboo-working-dir/COV-UNIT-JOB1' directory. 13-Sep-2011 05:54:19 Cloning repository `/media/ephemeral0/bamboo-working-dir/_hg-repositories-cache/9cee785ad1f048fab1b720cd5b450124e86f04e1' to directory '/media/ephemeral0/bamboo-working-dir/COV-UNIT-JOB1' 13-Sep-2011 05:54:34 Running update command again... 13-Sep-2011 05:54:50 5602 files updated, 0 files merged, 0 files removed, 0 files unresolved 13-Sep-2011 05:54:50 Recover finished. 13-Sep-2011 05:54:50 Updated source code to revision: 800f5662feb038424905126e2e741964a65653f8 {noformat} |
New:
COV-UNIT-JOB1 seems to:
# Pull to cache # Clone to working dir . The directory exists, it's already checked out -> failure # Remove working directory # Clone to working dir again. Why doesn't it just pull to cache and then from cache? Maybe the EBS contains a faulty working dir? {noformat} 13-Sep-2011 05:53:17 Build COV-UNIT-JOB1-13980 started building on agent Elastic Agent on i-62fc2702 13-Sep-2011 05:53:18 Build working directory is /media/ephemeral0/bamboo-working-dir/COV-UNIT-JOB1 13-Sep-2011 05:53:18 Cleaning directory /media/ephemeral0/bamboo-working-dir/COV-UNIT-JOB1 13-Sep-2011 05:53:18 Executing build COV-UNIT-JOB1-13980 13-Sep-2011 05:53:18 Running pre-build action: VCS Version Collector 13-Sep-2011 05:53:18 Running pre-build action: Pre Command Agent Runner 13-Sep-2011 05:53:18 running pre command on agent 13-Sep-2011 05:53:18 Running pre-build action: Sandbox Environment Setup 13-Sep-2011 05:53:18 Running pre-build action: Build Number Stamper 13-Sep-2011 05:53:18 Running pre-build action: Clover Grails PreBuild Action 13-Sep-2011 05:53:18 Running pre-build action: Repository Isolation Enabler Action 13-Sep-2011 05:53:18 Running pre-build action: Maven Settings Prebuild Action 13-Sep-2011 05:53:19 Starting task com.atlassian.bamboo.plugins.vcs:task.vcs.checkout Checkout Default Repository 13-Sep-2011 05:53:19 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' 13-Sep-2011 05:53:19 Updating source code to revision: 800f5662feb038424905126e2e741964a65653f8 13-Sep-2011 05:53:19 Obtaining remote repository to agent's cache directory '/media/ephemeral0/bamboo-working-dir/_hg-repositories-cache/9cee785ad1f048fab1b720cd5b450124e86f04e1'... 13-Sep-2011 05:53:19 Pulling from repository `https://mchai:***@code.atlassian.com/hg/bamboo' to directory '/media/ephemeral0/bamboo-working-dir/_hg-repositories-cache/9cee785ad1f048fab1b720cd5b450124e86f04e1' 13-Sep-2011 05:53:20 pulling from https://mchai:***@code.atlassian.com/hg/bamboo 13-Sep-2011 05:53:20 searching for changes 13-Sep-2011 05:54:18 adding changesets 13-Sep-2011 05:54:18 adding manifests 13-Sep-2011 05:54:18 adding file changes 13-Sep-2011 05:54:18 added 2702 changesets with 22773 changes to 2133 files 13-Sep-2011 05:54:18 (run 'hg update' to get a working copy) 13-Sep-2011 05:54:19 Copying repository from cache directory to source directory... 13-Sep-2011 05:54:19 Cloning repository `/media/ephemeral0/bamboo-working-dir/_hg-repositories-cache/9cee785ad1f048fab1b720cd5b450124e86f04e1' to directory '/media/ephemeral0/bamboo-working-dir/COV-UNIT-JOB1' 13-Sep-2011 05:54:19 Warning: failed to copy repository from cache directory (com.atlassian.bamboo.plugins.hg.HgCommandException: command [/usr/bin/hg, clone, --noupdate, --config, ui.ssh=ssh -o StrictHostKeyChecking=no -o BatchMode=yes, /media/ephemeral0/bamboo-working-dir/_hg-repositories-cache/9cee785ad1f048fab1b720cd5b450124e86f04e1, /media/ephemeral0/bamboo-working-dir/COV-UNIT-JOB1] failed. Working directory was `/media/ephemeral0/bamboo-working-dir/COV-UNIT-JOB1'. stderr: abort: destination '/media/ephemeral0/bamboo-working-dir/COV-UNIT-JOB1' is not empty stdout: ), trying to recover... 13-Sep-2011 05:54:19 Cleaned `/media/ephemeral0/bamboo-working-dir/COV-UNIT-JOB1' directory. 13-Sep-2011 05:54:19 Cloning repository `/media/ephemeral0/bamboo-working-dir/_hg-repositories-cache/9cee785ad1f048fab1b720cd5b450124e86f04e1' to directory '/media/ephemeral0/bamboo-working-dir/COV-UNIT-JOB1' 13-Sep-2011 05:54:34 Running update command again... 13-Sep-2011 05:54:50 5602 files updated, 0 files merged, 0 files removed, 0 files unresolved 13-Sep-2011 05:54:50 Recover finished. 13-Sep-2011 05:54:50 Updated source code to revision: 800f5662feb038424905126e2e741964a65653f8 {noformat} |