Build: #12 failed

Job: samples failed

Stages & jobs

  1. Default Stage

Build log

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

10-Aug-2019 15:59:30 Build Schemes - PrintTalk Schema - samples #12 (SCHEMES-PTKS-SAM-12) started building on agent h2594590.stratoserver.net
10-Aug-2019 15:59:30 Remote agent on host h2594590.stratoserver.net
10-Aug-2019 15:59:31 Build working directory is D:\bamboo\agent-2\xml-data\build-dir\SCHEMES-PTKS-SAM
10-Aug-2019 15:59:31 Executing build Schemes - PrintTalk Schema - samples #12 (SCHEMES-PTKS-SAM-12)
10-Aug-2019 15:59:32 Starting task 'Source Code Checkout' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
10-Aug-2019 15:59:32 Build always requires a clean checkout
10-Aug-2019 15:59:32 Cleaning build directory 'D:\bamboo\agent-2\xml-data\build-dir\SCHEMES-PTKS-SAM\schema'
10-Aug-2019 15:59:33 Build always requires a clean checkout
10-Aug-2019 15:59:33 Cleaning build directory 'D:\bamboo\agent-2\xml-data\build-dir\SCHEMES-PTKS-SAM\sample-builder'
10-Aug-2019 15:59:34 Build always requires a clean checkout
10-Aug-2019 15:59:34 Cleaning build directory 'D:\bamboo\agent-2\xml-data\build-dir\SCHEMES-PTKS-SAM\spec'
10-Aug-2019 15:59:34 Updating source code to revision: 0cb53db5d79eb59b149209511cf740161534319f
10-Aug-2019 15:59:37 Creating local git repository in 'D:\bamboo\agent-2\xml-data\build-dir\SCHEMES-PTKS-SAM\schema\.git'.
10-Aug-2019 15:59:37 Initialized empty Git repository in D:/bamboo/agent-2/xml-data/build-dir/SCHEMES-PTKS-SAM/schema/.git/
10-Aug-2019 15:59:41 Fetching 'refs/heads/master' from 'ssh://git@bitbucket.cip4.org:7999/schema/printtalk-schema.git'. Will try to do a shallow fetch.
10-Aug-2019 15:59:41 Warning: Permanently added '[127.0.0.1]:49293' (RSA) to the list of known hosts.
10-Aug-2019 15:59:42 From ssh://127.0.0.1:49293/schema/printtalk-schema
10-Aug-2019 15:59:42 * [new branch]      master     -> master
10-Aug-2019 15:59:42 Checking out revision 0cb53db5d79eb59b149209511cf740161534319f.
10-Aug-2019 15:59:42 fatal: reference is not a tree: 0cb53db5d79eb59b149209511cf740161534319f
10-Aug-2019 15:59:42 Checkout to revision 0cb53db5d79eb59b149209511cf740161534319f has failed.
10-Aug-2019 15:59:42 Warning: failed to checkout source code to directory 'D:\bamboo\agent-2\xml-data\build-dir\SCHEMES-PTKS-SAM\schema', trying to recover...
10-Aug-2019 15:59:42 Cleaned source directory 'D:\bamboo\agent-2\xml-data\build-dir\SCHEMES-PTKS-SAM\schema'...
10-Aug-2019 15:59:42 Creating local git repository in 'D:\bamboo\agent-2\xml-data\build-dir\SCHEMES-PTKS-SAM\schema\.git'.
10-Aug-2019 15:59:42 Initialized empty Git repository in D:/bamboo/agent-2/xml-data/build-dir/SCHEMES-PTKS-SAM/schema/.git/
10-Aug-2019 15:59:42 Fetching 'refs/heads/master' from 'ssh://git@bitbucket.cip4.org:7999/schema/printtalk-schema.git'.
10-Aug-2019 15:59:43 Warning: Permanently added '[127.0.0.1]:49293' (RSA) to the list of known hosts.
10-Aug-2019 15:59:44 From ssh://127.0.0.1:49293/schema/printtalk-schema
10-Aug-2019 15:59:44 * [new branch]      master     -> master
10-Aug-2019 15:59:44 Fetching to source directory 'D:\bamboo\agent-2\xml-data\build-dir\SCHEMES-PTKS-SAM\schema' completed, proceeding with checkout...
10-Aug-2019 15:59:44 Checking out revision 0cb53db5d79eb59b149209511cf740161534319f.
10-Aug-2019 15:59:44 Note: checking out '0cb53db5d79eb59b149209511cf740161534319f'.
10-Aug-2019 15:59:44
10-Aug-2019 15:59:44 You are in 'detached HEAD' state. You can look around, make experimental
10-Aug-2019 15:59:44 changes and commit them, and you can discard any commits you make in this
10-Aug-2019 15:59:44 state without impacting any branches by performing another checkout.
10-Aug-2019 15:59:44
10-Aug-2019 15:59:44 If you want to create a new branch to retain commits you create, you may
10-Aug-2019 15:59:44 do so (now or later) by using -b with the checkout command again. Example:
10-Aug-2019 15:59:44
10-Aug-2019 15:59:44   git checkout -b <new-branch-name>
10-Aug-2019 15:59:44
10-Aug-2019 15:59:44 HEAD is now at 0cb53db... PTK-218
10-Aug-2019 15:59:44 Checkout completed, recover successful.
10-Aug-2019 15:59:44 Updated source code to revision: 0cb53db5d79eb59b149209511cf740161534319f
10-Aug-2019 15:59:44 Updating source code to revision: 2a18aae1377e56419abbd9f753cd0190230bdb29
10-Aug-2019 15:59:46 Fetching 'refs/heads/master' from 'ssh://git@bitbucket.cip4.org:7999/spec/sample-builder.git'.
10-Aug-2019 15:59:46 Warning: Permanently added '[127.0.0.1]:49293' (RSA) to the list of known hosts.
10-Aug-2019 15:59:47 Checking out revision 2a18aae1377e56419abbd9f753cd0190230bdb29.
10-Aug-2019 15:59:47 Creating local git repository in 'D:\bamboo\agent-2\xml-data\build-dir\SCHEMES-PTKS-SAM\sample-builder\.git'.
10-Aug-2019 15:59:47 Cloning into 'D:\bamboo\agent-2\xml-data\build-dir\SCHEMES-PTKS-SAM\sample-builder'...
10-Aug-2019 15:59:47 done.
10-Aug-2019 15:59:47 Your branch is up-to-date with 'origin/master'.
10-Aug-2019 15:59:47 Already on 'master'
10-Aug-2019 15:59:47 Updated source code to revision: 2a18aae1377e56419abbd9f753cd0190230bdb29
10-Aug-2019 15:59:47 Updating source code to revision: ca251c0e0545bba0e99fa61918c1db75a21db498
10-Aug-2019 15:59:48 Fetching 'refs/heads/master' from 'ssh://git@bitbucket.cip4.org:7999/spec/printtalk-specification.git'.
10-Aug-2019 15:59:48 Warning: Permanently added '[127.0.0.1]:49293' (RSA) to the list of known hosts.
10-Aug-2019 15:59:51 From ssh://127.0.0.1:49293/spec/printtalk-specification
10-Aug-2019 15:59:51    319ac11..ca251c0  master     -> master
10-Aug-2019 15:59:51 Checking out revision ca251c0e0545bba0e99fa61918c1db75a21db498.
10-Aug-2019 15:59:51 Creating local git repository in 'D:\bamboo\agent-2\xml-data\build-dir\SCHEMES-PTKS-SAM\spec\.git'.
10-Aug-2019 15:59:51 Cloning into 'D:\bamboo\agent-2\xml-data\build-dir\SCHEMES-PTKS-SAM\spec'...
10-Aug-2019 15:59:51 done.
10-Aug-2019 15:59:53 Already on 'master'
10-Aug-2019 15:59:53 Your branch is up-to-date with 'origin/master'.
10-Aug-2019 15:59:53 Updated source code to revision: ca251c0e0545bba0e99fa61918c1db75a21db498
10-Aug-2019 15:59:53 Finished task 'Source Code Checkout' with result: Success
10-Aug-2019 15:59:53 Running pre-build action: VCS Version Collector
10-Aug-2019 15:59:54 Starting task 'publish samples' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
10-Aug-2019 15:59:54
Beginning to execute external process for build 'Schemes - PrintTalk Schema - samples #12 (SCHEMES-PTKS-SAM-12)'
... running command line:
D:\bamboo\agent-2\temp\SCHEMES-PTKS-SAM-12-ScriptBuildTask-6817642786068310003.bat
... in: D:\bamboo\agent-2\xml-data\build-dir\SCHEMES-PTKS-SAM\schema
... 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_55672840_revision_number=0cb53db5d79eb59b149209511cf740161534319f
bamboo_repository_revision_number=0cb53db5d79eb59b149209511cf740161534319f
bamboo_repository_55672837_previous_revision_number=2a18aae1377e56419abbd9f753cd0190230bdb29
bamboo_planRepository_3_type=bbserver
bamboo_resultsUrl=https://bamboo.cip4.org/browse/SCHEMES-PTKS-SAM-12
bamboo_capability_system_builder_msbuild_MSBuild_v4_0__32bit_=C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
bamboo_repository_55672837_name=Sample Builder
bamboo_planRepository_1_name=PrintTalk Schema
bamboo_build_working_directory=D:\bamboo\agent-2\xml-data\build-dir\SCHEMES-PTKS-SAM
bamboo_planRepository_3_revision=ca251c0e0545bba0e99fa61918c1db75a21db498
bamboo_buildKey=SCHEMES-PTKS-SAM
bamboo_shortPlanName=PrintTalk Schema
bamboo_repository_55672837_git_username=
bamboo_planRepository_2_username=
bamboo_planRepository_name=PrintTalk Schema
bamboo_repository_55672840_git_repositoryUrl=ssh://git@bitbucket.cip4.org:7999/schema/printtalk-schema.git
bamboo_buildNumber=12
bamboo_planRepository_3_branch=master
bamboo_repository_55672840_git_username=
bamboo_repository_55672840_previous_revision_number=1309dccef5f65512ae098b754b0504a36808e3b9
bamboo_planRepository_2_branchDisplayName=master
bamboo_shortJobName=samples
bamboo_buildResultsUrl=https://bamboo.cip4.org/browse/SCHEMES-PTKS-SAM-12
bamboo_planRepository_repositoryUrl=ssh://git@bitbucket.cip4.org:7999/schema/printtalk-schema.git
bamboo_repository_55672840_git_branch=master
bamboo_repository_55672840_branch_name=master
bamboo_agentId=33751042
bamboo_planName=Schemes - PrintTalk Schema
bamboo_shortPlanKey=PTKS
bamboo_shortJobKey=SAM
bamboo_planRepository_2_name=Sample Builder
bamboo_repository_55672840_name=PrintTalk Schema
bamboo_planRepository_revision=0cb53db5d79eb59b149209511cf740161534319f
bamboo_repository_55672837_revision_number=2a18aae1377e56419abbd9f753cd0190230bdb29
bamboo_repository_previous_revision_number=1309dccef5f65512ae098b754b0504a36808e3b9
bamboo_buildTimeStamp=2019-08-08T23:41:13.010+02:00
bamboo_planRepository_previousRevision=1309dccef5f65512ae098b754b0504a36808e3b9
bamboo_buildResultKey=SCHEMES-PTKS-SAM-12
bamboo_repository_git_branch=master
bamboo_repository_branch_name=master
bamboo_buildPlanName=Schemes - PrintTalk Schema - samples
bamboo_repository_55672838_name=Specification
bamboo_capability_system_jdk_JDK_1_8_0_101=C:\Program Files\Java\jdk1.8.0_101
bamboo_planRepository_1_revision=0cb53db5d79eb59b149209511cf740161534319f
bamboo_planRepository_3_username=
bamboo_planRepository_3_previousRevision=093dc712deb290ccd33bd2a99cdb92580c91353a
bamboo_repository_name=Specification
bamboo_repository_55672837_git_repositoryUrl=ssh://git@bitbucket.cip4.org:7999/spec/sample-builder.git
bamboo_planRepository_2_previousRevision=2a18aae1377e56419abbd9f753cd0190230bdb29
bamboo_repository_55672838_previous_revision_number=093dc712deb290ccd33bd2a99cdb92580c91353a
bamboo_buildFailed=false
bamboo_planRepository_3_repositoryUrl=ssh://git@bitbucket.cip4.org:7999/spec/printtalk-specification.git
bamboo_repository_55672838_git_username=
bamboo_planRepository_branch=master
bamboo_repository_55672838_branch_name=master
bamboo_repository_55672837_branch_name=master
bamboo_repository_55672838_git_branch=master
bamboo_agentWorkingDirectory=D:\bamboo\agent-2\xml-data\build-dir
bamboo_planRepository_2_revision=2a18aae1377e56419abbd9f753cd0190230bdb29
bamboo_capability_system_git_executable=C:\Program Files\Git\cmd\git.exe
bamboo_planRepository_1_previousRevision=1309dccef5f65512ae098b754b0504a36808e3b9
bamboo_repository_git_username=
bamboo_planRepository_3_branchName=master
bamboo_planRepository_branchDisplayName=master
bamboo_planRepository_1_type=bbserver
bamboo_planRepository_branchName=master
bamboo_repository_55672838_revision_number=ca251c0e0545bba0e99fa61918c1db75a21db498
bamboo_planRepository_2_type=bbserver
bamboo_capability_system_builder_mvn3_Maven_3_x=C:\Program Files\apache-maven
bamboo_repository_55672837_git_branch=master
bamboo_planRepository_3_name=Specification
bamboo_capability_system_jdk_JDK=C:\Program Files\Java\jdk1.8.0_101
bamboo_plan_storageTag=plan-55771138
bamboo_planRepository_2_repositoryUrl=ssh://git@bitbucket.cip4.org:7999/spec/sample-builder.git
bamboo_planRepository_type=bbserver
bamboo_planRepository_1_username=
bamboo_repository_git_repositoryUrl=ssh://git@bitbucket.cip4.org:7999/schema/printtalk-schema.git
bamboo_planRepository_2_branchName=master
bamboo_capability_system_builder_msbuild_MSBuild_v4_0__64bit_=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe
bamboo_planRepository_3_branchDisplayName=master
bamboo_working_directory=D:\bamboo\agent-2\xml-data\build-dir\SCHEMES-PTKS-SAM
bamboo_planKey=SCHEMES-PTKS
bamboo_planRepository_1_repositoryUrl=ssh://git@bitbucket.cip4.org:7999/schema/printtalk-schema.git
bamboo_planRepository_username=
bamboo_capability_system_jdk_JDK_1_8=C:\Program Files\Java\jdk1.8.0_101
bamboo_planRepository_1_branchName=master
bamboo_repository_55672838_git_repositoryUrl=ssh://git@bitbucket.cip4.org:7999/spec/printtalk-specification.git
10-Aug-2019 15:59:54
10-Aug-2019 15:59:54 D:\bamboo\agent-2\xml-data\build-dir\SCHEMES-PTKS-SAM\schema>./gradlew --include-build ../sample-builder clean gitPublish
10-Aug-2019 16:01:41 > Task :sample-builder:buildSrc:compileJava NO-SOURCE
10-Aug-2019 16:01:41 > Task :sample-builder:buildSrc:compileGroovy NO-SOURCE
10-Aug-2019 16:01:41 > Task :sample-builder:buildSrc:processResources NO-SOURCE
10-Aug-2019 16:01:41 > Task :sample-builder:buildSrc:classes UP-TO-DATE
10-Aug-2019 16:01:42 > Task :sample-builder:buildSrc:jar
10-Aug-2019 16:01:42 > Task :sample-builder:buildSrc:assemble
10-Aug-2019 16:01:42 > Task :sample-builder:buildSrc:compileTestJava NO-SOURCE
10-Aug-2019 16:01:42 > Task :sample-builder:buildSrc:compileTestGroovy NO-SOURCE
10-Aug-2019 16:01:42 > Task :sample-builder:buildSrc:processTestResources NO-SOURCE
10-Aug-2019 16:01:42 > Task :sample-builder:buildSrc:testClasses UP-TO-DATE
10-Aug-2019 16:01:42 > Task :sample-builder:buildSrc:test NO-SOURCE
10-Aug-2019 16:01:42 > Task :sample-builder:buildSrc:check UP-TO-DATE
10-Aug-2019 16:01:42 > Task :sample-builder:buildSrc:build
10-Aug-2019 16:02:15 > Task :sample-builder:generateGrammarSource
10-Aug-2019 16:02:26 > Task :sample-builder:compileJava
10-Aug-2019 16:02:45
10-Aug-2019 16:02:45 > Task :sample-builder:compileGroovy
10-Aug-2019 16:02:45 Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
10-Aug-2019 16:02:46
10-Aug-2019 16:02:46 > Task :sample-builder:pluginDescriptors
10-Aug-2019 16:02:46 > Task :sample-builder:processResources
10-Aug-2019 16:02:46 > Task :sample-builder:classes
10-Aug-2019 16:02:46 > Task :sample-builder:jar
10-Aug-2019 16:02:47 > Task :clean UP-TO-DATE
10-Aug-2019 16:02:47 > Task :compileJava NO-SOURCE
10-Aug-2019 16:02:48 > Task :compileGroovy NO-SOURCE
10-Aug-2019 16:02:48 > Task :processResources NO-SOURCE
10-Aug-2019 16:02:48 > Task :classes UP-TO-DATE
10-Aug-2019 16:02:48 > Task :compileTestJava NO-SOURCE
10-Aug-2019 16:02:48 > Task :compileTestGroovy NO-SOURCE
10-Aug-2019 16:02:48 > Task :processTestResources NO-SOURCE
10-Aug-2019 16:02:48 > Task :testClasses UP-TO-DATE
10-Aug-2019 16:02:48 > Task :test NO-SOURCE
10-Aug-2019 16:02:52
10-Aug-2019 16:02:52 > Task :buildSamples
10-Aug-2019 16:02:52 line 1:6 no viable alternative at input 'version'
10-Aug-2019 16:02:52 line 1:0 no viable alternative at input '<EOF>'
10-Aug-2019 16:02:54
10-Aug-2019 16:02:54 > Task :gitPublish
10-Aug-2019 16:02:54 publish...
10-Aug-2019 16:07:25
10-Aug-2019 16:07:25 > Task :gitPublish FAILED
10-Aug-2019 16:07:25 3 actionable tasks: 2 executed, 1 up-to-date
10-Aug-2019 16:07:25
10-Aug-2019 16:07:25 FAILURE: Build failed with an exception.
10-Aug-2019 16:07:25
10-Aug-2019 16:07:25 * What went wrong:
10-Aug-2019 16:07:25 Execution failed for task ':gitPublish'.
10-Aug-2019 16:07:25 > org.eclipse.jgit.api.errors.TransportException: ssh://git@bitbucket.cip4.org:7999/spec/printtalk-specification.git: Session.connect: java.io.IOException: End of IO Stream Read
10-Aug-2019 16:07:25
10-Aug-2019 16:07:25 * Try:
10-Aug-2019 16:07:25 Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
10-Aug-2019 16:07:25
10-Aug-2019 16:07:25 * Get more help at https://help.gradle.org
10-Aug-2019 16:07:25
10-Aug-2019 16:07:25 BUILD FAILED in 7m 29s
10-Aug-2019 16:07:34 Failing task since return code of [D:\bamboo\agent-2\temp\SCHEMES-PTKS-SAM-12-ScriptBuildTask-6817642786068310003.bat] was 1 while expected 0
10-Aug-2019 16:07:34 Finished task 'publish samples' with result: Failed
10-Aug-2019 16:07:36 Running post build plugin 'Docker Container Cleanup'
10-Aug-2019 16:07:39 Running post build plugin 'NCover Results Collector'
10-Aug-2019 16:07:43 Running post build plugin 'Clover Results Collector'
10-Aug-2019 16:07:45 Running post build plugin 'npm Cache Cleanup'
10-Aug-2019 16:07:45 Running post build plugin 'Artifact Copier'
10-Aug-2019 16:07:46 Finalising the build...
10-Aug-2019 16:07:46 Stopping timer.
10-Aug-2019 16:07:46 Build SCHEMES-PTKS-SAM-12 completed.
10-Aug-2019 16:07:56 Running on server: post build plugin 'NCover Results Collector'
10-Aug-2019 16:07:56 Running on server: post build plugin 'Build Hanging Detection Configuration'
10-Aug-2019 16:07:56 Running on server: post build plugin 'Clover Delta Calculator'
10-Aug-2019 16:07:56 Running on server: post build plugin 'Maven Dependencies Postprocessor'
10-Aug-2019 16:07:56 All post build plugins have finished
10-Aug-2019 16:07:56 Generating build results summary...
10-Aug-2019 16:07:56 Saving build results to disk...
10-Aug-2019 16:07:56 Logging substituted variables...
10-Aug-2019 16:07:56 Indexing build results...
10-Aug-2019 16:07:56 Finished building SCHEMES-PTKS-SAM-12.