Build: #1268 failed

Job: Spec DARFT failed

Stages & jobs

  1. Default Stage

Build log

The build generated 81 lines of output. Download or view full build log

10-Jul-2020 18:48:01 Build Specifications - BOTH Specification - Spec DARFT #1268 (SPEC-BOTH-JOB1-1268) started building on agent h2594590.stratoserver.net (2)
10-Jul-2020 18:48:01 Remote agent on host h2594590.stratoserver.net
10-Jul-2020 18:48:03 Build working directory is D:\bamboo\agent-1\xml-data\build-dir\SPEC-BOTH-JOB1
10-Jul-2020 18:48:03 Executing build Specifications - BOTH Specification - Spec DARFT #1268 (SPEC-BOTH-JOB1-1268)
10-Jul-2020 18:48:03 Starting task 'Checkout JDF Specification' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
10-Jul-2020 18:48:03 Checking out into D:\bamboo\agent-1\xml-data\build-dir\SPEC-BOTH-JOB1\spec
10-Jul-2020 18:48:03 Updating source code to revision: 4d9373963e7e134e019f01d295f40c7767a88030
10-Jul-2020 18:48:11 Fetching 'refs/heads/master' from 'ssh://git@bitbucket.cip4.org:7999/spec/jdf-specification.git'.
10-Jul-2020 18:48:12 Warning: Permanently added '[127.0.0.1]:49868' (RSA) to the list of known hosts.
10-Jul-2020 18:48:13 Checking out revision 4d9373963e7e134e019f01d295f40c7767a88030.
10-Jul-2020 18:48:18 Your branch is up-to-date with 'origin/master'.
10-Jul-2020 18:48:18 Already on 'master'
10-Jul-2020 18:48:18 Updated source code to revision: 4d9373963e7e134e019f01d295f40c7767a88030
10-Jul-2020 18:48:18 Finished task 'Checkout JDF Specification' with result: Success
10-Jul-2020 18:48:18 Starting task 'Checkout spec-builder' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
10-Jul-2020 18:48:18 Checking out into D:\bamboo\agent-1\xml-data\build-dir\SPEC-BOTH-JOB1\spec-builder
10-Jul-2020 18:48:18 Updating source code to revision: 1276cf0b9ed319df2ee2722dd4ae7ad9a24396da
10-Jul-2020 18:48:20 Fetching 'refs/heads/master' from 'ssh://git@bitbucket.cip4.org:7999/in/spec-builder.git'. Will try to do a shallow fetch.
10-Jul-2020 18:48:20 Warning: Permanently added '[127.0.0.1]:49868' (RSA) to the list of known hosts.
10-Jul-2020 18:48:21 Checking out revision 1276cf0b9ed319df2ee2722dd4ae7ad9a24396da.
10-Jul-2020 18:48:21 Already on 'master'
10-Jul-2020 18:48:21 Updated source code to revision: 1276cf0b9ed319df2ee2722dd4ae7ad9a24396da
10-Jul-2020 18:48:21 Finished task 'Checkout spec-builder' with result: Success
10-Jul-2020 18:48:21 Running pre-build action: VCS Version Collector
10-Jul-2020 18:48:21
Substituting variable: ${bamboo.build.working.directory} with D:\bamboo\agent-1\xml-data\build-dir\SPEC-BOTH-JOB1
10-Jul-2020 18:48:21
Substituting variable: ${bamboo.buildNumber} with 1268
10-Jul-2020 18:48:21
Substituting variable: ${bamboo.repository.revision.number} with 4d9373963e7e134e019f01d295f40c7767a88030
10-Jul-2020 18:48:21 Starting task 'Build JDF Specification' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
10-Jul-2020 18:48:21
Beginning to execute external process for build 'Specifications - BOTH Specification - Spec DARFT #1268 (SPEC-BOTH-JOB1-1268)'
... running command line:
D:\bamboo\agent-1\temp\SPEC-BOTH-JOB1-1268-ScriptBuildTask-2445526442759095667.bat
... in: D:\bamboo\agent-1\xml-data\build-dir\SPEC-BOTH-JOB1
... using extra environment variables:
bamboo_planRepository_1_branch=master
bamboo_planRepository_2_branch=master
bamboo_capability_operating_system_windows=Windows Server 2012 R2 Standard
bamboo_planRepository_1_branchDisplayName=master
bamboo_repository_revision_number=4d9373963e7e134e019f01d295f40c7767a88030
bamboo_resultsUrl=https://bamboo.cip4.org/browse/SPEC-BOTH-JOB1-1268
bamboo_capability_system_builder_msbuild_MSBuild_v4_0__32bit_=C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
bamboo_repository_41418762_git_branch=master
bamboo_build_working_directory=D:\bamboo\agent-1\xml-data\build-dir\SPEC-BOTH-JOB1
bamboo_planRepository_1_name=JDF Specification master
bamboo_buildKey=SPEC-BOTH-JOB1
bamboo_shortPlanName=BOTH Specification
bamboo_planRepository_2_username=
bamboo_planRepository_name=JDF Specification master
bamboo_repository_41418762_name=JDF Specification master
bamboo_buildNumber=1268
bamboo_planRepository_2_branchDisplayName=master
bamboo_shortJobName=Spec DARFT
bamboo_buildResultsUrl=https://bamboo.cip4.org/browse/SPEC-BOTH-JOB1-1268
bamboo_planRepository_repositoryUrl=ssh://git@bitbucket.cip4.org:7999/spec/jdf-specification.git
bamboo_agentId=33751043
bamboo_planName=Specifications - BOTH Specification
bamboo_shortPlanKey=BOTH
bamboo_repository_34013187_git_branch=master
bamboo_shortJobKey=JOB1
bamboo_repository_41418762_branch_name=master
bamboo_planRepository_2_name=spec-builder
bamboo_planRepository_revision=4d9373963e7e134e019f01d295f40c7767a88030
bamboo_buildTimeStamp=2020-07-10T18:48:05.518+02:00
bamboo_repository_previous_revision_number=4d9373963e7e134e019f01d295f40c7767a88030
bamboo_planRepository_previousRevision=4d9373963e7e134e019f01d295f40c7767a88030
bamboo_repository_git_branch=master
bamboo_buildResultKey=SPEC-BOTH-JOB1-1268
bamboo_repository_branch_name=master
bamboo_buildPlanName=Specifications - BOTH Specification - Spec DARFT
bamboo_capability_system_jdk_JDK_1_8_0_101=C:\Program Files\Java\jdk1.8.0_101
bamboo_planRepository_1_revision=4d9373963e7e134e019f01d295f40c7767a88030
bamboo_repository_34013187_previous_revision_number=1276cf0b9ed319df2ee2722dd4ae7ad9a24396da
bamboo_repository_name=spec-builder
bamboo_repository_41418762_git_username=
bamboo_repository_34013187_branch_name=master
bamboo_repository_34013187_name=spec-builder
bamboo_planRepository_2_previousRevision=1276cf0b9ed319df2ee2722dd4ae7ad9a24396da
bamboo_dependenciesDisabled=false
bamboo_repository_34013187_git_username=
bamboo_buildFailed=false
bamboo_planRepository_branch=master
bamboo_agentWorkingDirectory=D:\bamboo\agent-1\xml-data\build-dir
bamboo_capability_system_git_executable=C:\Program Files\Git\cmd\git.exe
bamboo_planRepository_2_revision=1276cf0b9ed319df2ee2722dd4ae7ad9a24396da
bamboo_repository_git_username=
bamboo_planRepository_1_previousRevision=4d9373963e7e134e019f01d295f40c7767a88030
bamboo_planRepository_branchDisplayName=master
bamboo_planRepository_1_type=bbserver
bamboo_planRepository_branchName=master
bamboo_repository_34013187_revision_number=1276cf0b9ed319df2ee2722dd4ae7ad9a24396da
bamboo_repository_41418762_revision_number=4d9373963e7e134e019f01d295f40c7767a88030
bamboo_repository_41418762_git_repositoryUrl=ssh://git@bitbucket.cip4.org:7999/spec/jdf-specification.git
bamboo_capability_system_builder_mvn3_Maven_3_x=C:\Program Files\apache-maven
bamboo_planRepository_2_type=bbserver
bamboo_capability_system_jdk_JDK=C:\Program Files\Java\jdk1.8.0_101
bamboo_plan_storageTag=SPEC-BOTH
bamboo_hg_cache_directory=D:\bamboo\agent-1\xml-data\build-dir\_hg-repositories-cache
bamboo_planRepository_2_repositoryUrl=ssh://git@bitbucket.cip4.org:7999/in/spec-builder.git
bamboo_planRepository_1_username=
bamboo_planRepository_type=bbserver
bamboo_git_cache_directory=D:\bamboo\agent-1\xml-data\build-dir\_git-repositories-cache
bamboo_ManualBuildTriggerReason_userName=GrahamMann
bamboo_repository_git_repositoryUrl=ssh://git@bitbucket.cip4.org:7999/spec/jdf-specification.git
bamboo_planRepository_2_branchName=master
bamboo_capability_application_framemaker=2015
bamboo_capability_system_builder_msbuild_MSBuild_v4_0__64bit_=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe
bamboo_repository_41418762_previous_revision_number=4d9373963e7e134e019f01d295f40c7767a88030
bamboo_repository_34013187_git_repositoryUrl=ssh://git@bitbucket.cip4.org:7999/in/spec-builder.git
bamboo_tmp_directory=D:\bamboo\agent-1\temp
bamboo_working_directory=D:\bamboo\agent-1\xml-data\build-dir\SPEC-BOTH-JOB1
bamboo_planKey=SPEC-BOTH
bamboo_planRepository_1_repositoryUrl=ssh://git@bitbucket.cip4.org:7999/spec/jdf-specification.git
bamboo_planRepository_username=
bamboo_capability_system_jdk_JDK_1_8=C:\Program Files\Java\jdk1.8.0_101
bamboo_planRepository_1_branchName=master
10-Jul-2020 18:48:22
10-Jul-2020 18:48:22 D:\bamboo\agent-1\xml-data\build-dir\SPEC-BOTH-JOB1>python spec-builder\spec-builder.py D:\bamboo\agent-1\xml-data\build-dir\SPEC-BOTH-JOB1\spec\FrameMaker\JDF1.book BOTH-COLORED "CIP4 Both Specification" "DRAFT-$DATE" "1268" "4d9373963e7e134e019f01d295f40c7767a88030"
10-Jul-2020 18:48:22 INFO:root:Terminate running FrameMaker.exe if exists.
10-Jul-2020 18:48:23 FEHLER: Der Prozess "FrameMaker.exe" wurde nicht gefunden.
10-Jul-2020 18:48:27 INFO:root:Start Framemaker...
10-Jul-2020 18:48:27 INFO:root:Wait for FrameMaker (60 sec.)...
10-Jul-2020 18:48:37 INFO:root:50 secs...
10-Jul-2020 18:48:47 INFO:root:40 secs...
10-Jul-2020 18:48:57 INFO:root:30 secs...
10-Jul-2020 18:49:07 INFO:root:20 secs...
10-Jul-2020 18:49:17 INFO:root:10 secs...
10-Jul-2020 18:49:27 INFO:root:0 secs...
10-Jul-2020 18:49:27 INFO:root:Start processing 'D:\bamboo\agent-1\xml-data\build-dir\SPEC-BOTH-JOB1\spec\FrameMaker\JDF1.book' ...
10-Jul-2020 18:49:27 INFO:root:PROCESS_ID: p1594399702875
10-Jul-2020 18:49:27 INFO:root:BUILD_LAYOUT: BOTH-COLORED
10-Jul-2020 18:49:27 INFO:root:BUILD_FILENAME: CIP4 Both Specification DRAFT-20200710 build-1268
10-Jul-2020 18:49:27 INFO:root:DOC_TITLE: CIP4 Both Specification
10-Jul-2020 18:49:27 Traceback (most recent call last):
10-Jul-2020 18:49:27   File "spec-builder\spec-builder.py", line 187, in <module>
10-Jul-2020 18:49:27     cleanupSources(rootDir)
10-Jul-2020 18:49:27   File "spec-builder\spec-builder.py", line 90, in cleanupSources
10-Jul-2020 18:49:27     shutil.rmtree(target)
10-Jul-2020 18:49:27   File "C:\Program Files\Python38\lib\shutil.py", line 737, in rmtree
10-Jul-2020 18:49:27     return _rmtree_unsafe(path, onerror)
10-Jul-2020 18:49:27   File "C:\Program Files\Python38\lib\shutil.py", line 619, in _rmtree_unsafe
10-Jul-2020 18:49:27     onerror(os.rmdir, path, sys.exc_info())
10-Jul-2020 18:49:27   File "C:\Program Files\Python38\lib\shutil.py", line 617, in _rmtree_unsafe
10-Jul-2020 18:49:27     os.rmdir(path)
10-Jul-2020 18:49:27 PermissionError: [WinError 32] Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird: 'D:\\bamboo\\agent-1\\xml-data\\build-dir\\SPEC-BOTH-JOB1\\spec\\FrameMaker\\target'
10-Jul-2020 18:49:28 Failing task since return code of [D:\bamboo\agent-1\temp\SPEC-BOTH-JOB1-1268-ScriptBuildTask-2445526442759095667.bat] was 1 while expected 0
10-Jul-2020 18:49:28 Finished task 'Build JDF Specification' with result: Failed
10-Jul-2020 18:49:28 Running post build plugin 'Docker Container Cleanup'
10-Jul-2020 18:49:28 Running post build plugin 'NCover Results Collector'
10-Jul-2020 18:49:28 Running post build plugin 'Clover Results Collector'
10-Jul-2020 18:49:28 Running post build plugin 'npm Cache Cleanup'
10-Jul-2020 18:49:28 Running post build plugin 'Artifact Copier'
10-Jul-2020 18:49:28 Publishing an artifact: pdf
10-Jul-2020 18:49:28 Unable to publish artifact [pdf]:
10-Jul-2020 18:49:28 The artifact hasn't been successfully published after 370,6 ms
10-Jul-2020 18:49:28 Finalising the build...
10-Jul-2020 18:49:28 Stopping timer.
10-Jul-2020 18:49:28 Build SPEC-BOTH-JOB1-1268 completed.
10-Jul-2020 18:49:35 Running on server: post build plugin 'NCover Results Collector'
10-Jul-2020 18:49:35 Running on server: post build plugin 'Build Hanging Detection Configuration'
10-Jul-2020 18:49:35 Running on server: post build plugin 'Clover Delta Calculator'
10-Jul-2020 18:49:35 Running on server: post build plugin 'Maven Dependencies Postprocessor'
10-Jul-2020 18:49:35 All post build plugins have finished
10-Jul-2020 18:49:35 Generating build results summary...
10-Jul-2020 18:49:35 Saving build results to disk...
10-Jul-2020 18:49:35 Logging substituted variables...
10-Jul-2020 18:49:35 Indexing build results...
10-Jul-2020 18:49:35 Finished building SPEC-BOTH-JOB1-1268.