Build #257

Build: #257 failed

Job: JDK 1.8 failed

Stages & jobs

  1. Compile and test

  2. Package

  3. Upload

Build log

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

03-Nov-2017 13:33:07 Build Carrot2 - Software - JDK 1.8 #257 (C2-SOFTWARE-JDK18-257) started building on agent WINDEX 2
03-Nov-2017 13:33:07 Remote Agent
03-Nov-2017 13:33:08 Build working directory is E:\xml-data\build-dir\C2-SOFTWARE-JDK18
03-Nov-2017 13:33:08 Executing build Carrot2 - Software - JDK 1.8 #257 (C2-SOFTWARE-JDK18-257)
03-Nov-2017 13:33:08 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
03-Nov-2017 13:33:08 Updating source code to revision: 1b9786c09f5070b3953188ef57667c26f160086b
03-Nov-2017 13:33:09 Fetching 'refs/heads/master' from 'https://github.com/carrot2/carrot2.git'. Will try to do a shallow fetch.
03-Nov-2017 13:33:17 From https://github.com/carrot2/carrot2
03-Nov-2017 13:33:17 + 4ed4a65...1b9786c master     -> master  (forced update)
03-Nov-2017 13:33:17 Checking out revision 1b9786c09f5070b3953188ef57667c26f160086b.
03-Nov-2017 13:33:22 Already on 'master'
03-Nov-2017 13:33:22 Updated source code to revision: 1b9786c09f5070b3953188ef57667c26f160086b
03-Nov-2017 13:33:22 Finished task 'Checkout Default Repository' with result: Success
03-Nov-2017 13:33:22 Running pre-build action: VCS Version Collector
03-Nov-2017 13:33:23 Starting task 'Ant' of type 'com.atlassian.bamboo.plugins.ant:task.builder.ant'
03-Nov-2017 13:33:23
Beginning to execute external process for build 'Carrot2 - Software - JDK 1.8 #257 (C2-SOFTWARE-JDK18-257)'
... running command line:
d:\bamboo\tools\apache-ant-1.9.7\bin\ant.bat -Djava.io.tmpdir=e:\bamboo-home-2\temp\C2-SOFTWARE-JDK18 clean test
... in: E:\xml-data\build-dir\C2-SOFTWARE-JDK18
... using extra environment variables:
bamboo_capability_system_jdk_JDK_1_8=d:\dev\java\jdk\jdk1.8
bamboo_capability_system_jdk_JDK_1_9=d:\dev\java\jdk\jdk1.9
bamboo_carrotsearch_download_official_path=~/sites/get.carrotsearch.com
bamboo_capability_system_jdk_JDK_1_7=d:\dev\java\jdk\jdk1.7
JAVA_HOME=d:\dev\java\jdk\jdk1.8
bamboo_carrot2_download_path=/srv/vhosts/get.carrot2.org
bamboo_capability_corpora_dir=d:\bamboo\corpora
bamboo_planKey=C2-SOFTWARE
bamboo_carrotsearch_download_official_host=get.carrotsearch.com
bamboo_capability_system_jdk_JDK_1_8_0_131=d:\dev\java\jdk\jdk
bamboo_repository_git_repositoryUrl=https://github.com/carrot2/carrot2.git
bamboo_capability_system_builder_command_rsync=rsync
bamboo_shortJobKey=JDK18
bamboo_dist_suffix=
bamboo_carrotsearch_download_official_user=carrotse
bamboo_planRepository_1_branch=master
bamboo_repository_revision_number=1b9786c09f5070b3953188ef57667c26f160086b
bamboo_capability_system_builder_msbuild_MSBuild_v4_0__64bit_=C:\Windows\Microsoft.NET\Framework64\v4.0.30319\MSBuild.exe
bamboo_carrotsearch_secure_ssh=carrotse@get.carrotsearch.com:~/sites/secure.carrotsearch.com
bamboo_capability_system_builder_mvn3_Maven_3=d:\bamboo\tools\apache-maven-3.5.0
bamboo_repository_5210113_git_branch=master
bamboo_planName=Carrot2 - Software
bamboo_buildResultsUrl=http://builds.carrot2.org/browse/C2-SOFTWARE-JDK18-257
bamboo_buildResultKey=C2-SOFTWARE-JDK18-257
bamboo_carrotsearch_download_staging_host=gamma.carrotsearch.com
bamboo_buildKey=C2-SOFTWARE-JDK18
bamboo_repository_5210113_previous_revision_number=1b9786c09f5070b3953188ef57667c26f160086b
bamboo_repository_previous_revision_number=1b9786c09f5070b3953188ef57667c26f160086b
bamboo_carrot2_website_ssh_port=2233
bamboo_working_directory=E:\xml-data\build-dir\C2-SOFTWARE-JDK18
bamboo_repository_5210113_name=Carrot2
bamboo_repository_name=Carrot2
bamboo_carrotsearch_download_official_port=2233
bamboo_capability_tools_dir=d:\bamboo\tools
bamboo_repository_git_branch=master
bamboo_ManualBuildTriggerReason_userName=dawid.weiss
bamboo_planRepository_1_type=gh
bamboo_csssprites_download_host=gamma.carrotsearch.com
bamboo_capability_system_jdk_JDK=d:\dev\java\jdk\jdk
bamboo_repository_branch_name=master
bamboo_agentId=2752516
bamboo_carrotsearch_download_staging_user=bamboo
bamboo_repository_5210113_git_username=stanislawosinski
bamboo_capability_system_jdk_JDK_1_7_0_80__JRE_=C:\Program Files\Java\jre7
bamboo_csssprites_download_user=bamboo
bamboo_carrot2_download_user=bamboo
bamboo_repository_5210113_revision_number=1b9786c09f5070b3953188ef57667c26f160086b
bamboo_planRepository_1_username=stanislawosinski
bamboo_buildNumber=257
bamboo_carrotsearch_secure2_ssh=carrotse@get.carrotsearch.com:~/sites/secure.carrotsearch.com
bamboo_capability_system_builder_ant_Ant=d:\bamboo\tools\apache-ant-1.9.7
bamboo_buildTimeStamp=2017-11-03T13:33:51.596+01:00
bamboo_carrot2_download_host=gamma.carrotsearch.com
bamboo_carrotsearch_labs_ssh=carrotse@get.carrotsearch.com:~/sites/labs.carrotsearch.com
bamboo_planRepository_type=gh
bamboo_shortPlanName=Software
bamboo_capability_system_builder_msbuild_MSBuild_v3_5__32bit_=C:\Windows\Microsoft.NET\Framework\v3.5\MSBuild.exe
bamboo_planRepository_1_branchName=master
bamboo_carrotsearch_website_ssh=carrotse@get.carrotsearch.com:~/sites/www.carrotsearch.com
bamboo_shortPlanKey=SOFTWARE
bamboo_l4g_mvn_opts=-Xmx1g
bamboo_build_working_directory=E:\xml-data\build-dir\C2-SOFTWARE-JDK18
bamboo_capability_system_builder_command_zip=zip
bamboo_capability__NET=
bamboo_carrotsearch_download_staging_path=/srv/vhosts/staging-get.carrotsearch.com
bamboo_carrotsearch_website_ssh_port=2233
bamboo_carrot2_website_ssh=carrotse@mdd.carrot2.org:~/sites/project.carrot2.org
bamboo_planRepository_revision=1b9786c09f5070b3953188ef57667c26f160086b
bamboo_capability_system_builder_msbuild_MSBuild_v2_0__64bit_=C:\Windows\Microsoft.NET\Framework64\v2.0.50727\MSBuild.exe
bamboo_csssprites_download_path=/srv/vhosts/get.csssprites.org
bamboo_lingo3g_branch=master
bamboo_capability_system_builder_msbuild_MSBuild_v2_0__32bit_=C:\Windows\Microsoft.NET\Framework\v2.0.50727\MSBuild.exe
bamboo_carrotsearch_secure_ssh_port=2233
bamboo_repository_git_username=stanislawosinski
bamboo_capability_system_git_executable=d:\dev\scm\git\cmd\git.exe
bamboo_capability_system_builder_command_git=git
bamboo_carrotsearch_labs_ssh_port=2233
bamboo_agentWorkingDirectory=E:\xml-data\build-dir
bamboo_capability_Windows=
bamboo_buildPlanName=Carrot2 - Software - JDK 1.8
bamboo_resultsUrl=http://builds.carrot2.org/browse/C2-SOFTWARE-JDK18-257
bamboo_repository_5210113_branch_name=master
bamboo_planRepository_1_revision=1b9786c09f5070b3953188ef57667c26f160086b
bamboo_planRepository_1_previousRevision=1b9786c09f5070b3953188ef57667c26f160086b
bamboo_capability_system_jdk_JDK_1_8_IBM=d:\dev\java\jdk\jdk1.8-ibm
bamboo_planRepository_1_name=Carrot2
bamboo_planRepository_branch=master
bamboo_planRepository_username=stanislawosinski
bamboo_capability_system_builder_msbuild_MSBuild_v3_5__64bit_=C:\Windows\Microsoft.NET\Framework64\v3.5\MSBuild.exe
bamboo_planRepository_branchName=master
bamboo_shortJobName=JDK 1.8
bamboo_planRepository_previousRevision=1b9786c09f5070b3953188ef57667c26f160086b
bamboo_repository_5210113_git_repositoryUrl=https://github.com/carrot2/carrot2.git
bamboo_planRepository_repositoryUrl=https://github.com/carrot2/carrot2.git
bamboo_planRepository_1_repositoryUrl=https://github.com/carrot2/carrot2.git
ANT_HOME=d:\bamboo\tools\apache-ant-1.9.7
bamboo_dependenciesDisabled=false
bamboo_planRepository_name=Carrot2
bamboo_capability_system_builder_msbuild_MSBuild_v4_0__32bit_=C:\Windows\Microsoft.NET\Framework\v4.0.30319\MSBuild.exe
Path=d:\dev\java\jdk\jdk1.8\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;d:\dev\scm\git\cmd;d:\bamboo\tools\apache-ant-1.9.7\bin;d:\dev\java\jdk\jdk\bin;d:\tools\bin;d:\dev\scm\git\bin
03-Nov-2017 13:33:23 Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre7\lib\tools.jar
03-Nov-2017 13:33:23 Buildfile: E:\xml-data\build-dir\C2-SOFTWARE-JDK18\build.xml
03-Nov-2017 13:33:24 Trying to override old definition of task javac
03-Nov-2017 13:33:24
03-Nov-2017 13:33:24 clover.tasks:
03-Nov-2017 13:33:24
03-Nov-2017 13:33:24 coverage.clean:
03-Nov-2017 13:33:24
03-Nov-2017 13:33:24 clean:
03-Nov-2017 13:33:24    [delete] Deleting directory E:\xml-data\build-dir\C2-SOFTWARE-JDK18\tmp
03-Nov-2017 13:33:24
03-Nov-2017 13:33:24 compile:
03-Nov-2017 13:33:24     [mkdir] Created dir: E:\xml-data\build-dir\C2-SOFTWARE-JDK18\tmp\classes
03-Nov-2017 13:33:24
03-Nov-2017 13:33:24 BUILD FAILED
03-Nov-2017 13:33:24 E:\xml-data\build-dir\C2-SOFTWARE-JDK18\build.xml:261: Unable to find a javac compiler;
03-Nov-2017 13:33:24 com.sun.tools.javac.Main is not on the classpath.
03-Nov-2017 13:33:24 Perhaps JAVA_HOME does not point to the JDK.
03-Nov-2017 13:33:24 It is currently set to "C:\Program Files\Java\jre7"
03-Nov-2017 13:33:24
03-Nov-2017 13:33:24 Total time: 1 second
03-Nov-2017 13:33:24 Failing task since return code of [d:\bamboo\tools\apache-ant-1.9.7\bin\ant.bat -Djava.io.tmpdir=e:\bamboo-home-2\temp\C2-SOFTWARE-JDK18 clean test] was 1 while expected 0
03-Nov-2017 13:33:24 Parsing test results under E:\xml-data\build-dir\C2-SOFTWARE-JDK18...
03-Nov-2017 13:33:25 Finished task 'Ant' with result: Failed
03-Nov-2017 13:33:25 Running post build plugin 'Artifact Copier'
03-Nov-2017 13:33:25 Running post build plugin 'npm Cache Cleanup'
03-Nov-2017 13:33:25 Running post build plugin 'NCover Results Collector'
03-Nov-2017 13:33:25 Running post build plugin 'Clover Results Collector'
03-Nov-2017 13:33:25 Running post build plugin 'Docker Container Cleanup'
03-Nov-2017 13:33:25 Finalising the build...
03-Nov-2017 13:33:25 Stopping timer.
03-Nov-2017 13:33:25 Build C2-SOFTWARE-JDK18-257 completed.
03-Nov-2017 13:34:12 Running on server: post build plugin 'NCover Results Collector'
03-Nov-2017 13:34:12 Running on server: post build plugin 'Clover Delta Calculator'
03-Nov-2017 13:34:12 Running on server: post build plugin 'Maven Dependencies Postprocessor'
03-Nov-2017 13:34:12 Running on server: post build plugin 'Build Hanging Detection Configuration'
03-Nov-2017 13:34:12 All post build plugins have finished
03-Nov-2017 13:34:12 Generating build results summary...
03-Nov-2017 13:34:12 Saving build results to disk...
03-Nov-2017 13:34:12 Logging substituted variables...
03-Nov-2017 13:34:12 Indexing build results...
03-Nov-2017 13:34:12 Finished building C2-SOFTWARE-JDK18-257.