Carrot2 ES plugin integration

Build: #51 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Build log

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

14-Nov-2016 12:27:21 Build Misc - ES-Carrot2-plugin - Default Job #51 (MISC-ESC2-JOB1-51) started building on agent Local Agent 1
14-Nov-2016 12:27:21
14-Nov-2016 12:27:21 Build working directory is /mnt/work/bamboo-home/xml-data/build-dir/MISC-ESC2-JOB1
14-Nov-2016 12:27:21 Executing build Misc - ES-Carrot2-plugin - Default Job #51 (MISC-ESC2-JOB1-51)
14-Nov-2016 12:27:21 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
14-Nov-2016 12:27:21 Updating source code to revision: 33503371b7016bcc2dd949b810e5ad20b6134d58
14-Nov-2016 12:27:21 Fetching 'refs/heads/master' from 'git@github.com:carrot2/elasticsearch-carrot2.git'.
14-Nov-2016 12:27:22 Warning: Permanently added 'github.com,192.30.253.112' (RSA) to the list of known hosts.
14-Nov-2016 12:27:23 Checking out revision 33503371b7016bcc2dd949b810e5ad20b6134d58.
14-Nov-2016 12:27:23 Previous HEAD position was a6bd0ac... Fixes GH-53: Upgrade to C2 3.15.0 and L3G 1.15.0
14-Nov-2016 12:27:23 HEAD is now at 3350337... Added an (ignored) test that permits incremental clustering with Lingo3G.
14-Nov-2016 12:27:24 Updated source code to revision: 33503371b7016bcc2dd949b810e5ad20b6134d58
14-Nov-2016 12:27:24 Finished task 'Checkout Default Repository' with result: Success
14-Nov-2016 12:27:24 Running pre-build action: VCS Version Collector
14-Nov-2016 12:27:24 Starting task 'Verify' of type 'com.atlassian.bamboo.plugins.maven:task.builder.mvn3'
14-Nov-2016 12:27:24
Beginning to execute external process for build 'Misc - ES-Carrot2-plugin - Default Job #51 (MISC-ESC2-JOB1-51)'
... running command line:
/home/bamboo/tools/apache-maven-3.2.5/bin/mvn --batch-mode -Djava.io.tmpdir=/home/bamboo/bamboo-software/temp/MISC-ESC2-JOB1 -Dmaven.repo.local=/mnt/work/bamboo-home/.m2/AGENT-131073/repository clean verify
... in: /mnt/work/bamboo-home/xml-data/build-dir/MISC-ESC2-JOB1
... using extra environment variables:
bamboo_planRepository_1_branch=master
bamboo_repository_revision_number=33503371b7016bcc2dd949b810e5ad20b6134d58
MAVEN2_HOME=/home/bamboo/tools/apache-maven-3.2.5
bamboo_capability_persistent_dir=/home/bamboo/persistent
bamboo_resultsUrl=http://builds.carrot2.org/browse/MISC-ESC2-JOB1-51
bamboo_capability_system_jdk_JDK_1_8_0_74=/usr/lib/jvm/java-8-oracle
bamboo_capability_Linux=
bamboo_carrotsearch_labs_ssh=carrotse@get.carrotsearch.com:~/sites/labs.carrotsearch.com
bamboo_planRepository_1_name=Git
bamboo_build_working_directory=/mnt/work/bamboo-home/xml-data/build-dir/MISC-ESC2-JOB1
bamboo_buildKey=MISC-ESC2-JOB1
bamboo_capability_system_builder_command_rsync=rsync
bamboo_shortPlanName=ES-Carrot2-plugin
bamboo_planRepository_name=Git
bamboo_buildNumber=51
bamboo_shortJobName=Default Job
bamboo_buildResultsUrl=http://builds.carrot2.org/browse/MISC-ESC2-JOB1-51
bamboo_planRepository_repositoryUrl=git@github.com:carrot2/elasticsearch-carrot2.git
bamboo_repository_21102599_name=Git
bamboo_carrotsearch_secure_ssh_port=2233
bamboo_agentId=131073
bamboo_planName=Misc - ES-Carrot2-plugin
bamboo_shortPlanKey=ESC2
bamboo_capability_system_builder_command_git=git
bamboo_shortJobKey=JOB1
bamboo_planRepository_revision=33503371b7016bcc2dd949b810e5ad20b6134d58
bamboo_repository_21102599_git_username=
bamboo_repository_previous_revision_number=a6bd0acbfd67ce1b8c315ff30f0413ca1d92c36b
bamboo_buildTimeStamp=2016-11-14T12:27:21.483+01:00
bamboo_planRepository_previousRevision=a6bd0acbfd67ce1b8c315ff30f0413ca1d92c36b
bamboo_repository_21102599_branch_name=master
M2_HOME=/home/bamboo/tools/apache-maven-3.2.5
bamboo_buildResultKey=MISC-ESC2-JOB1-51
bamboo_repository_git_branch=master
bamboo_repository_branch_name=master
bamboo_buildPlanName=Misc - ES-Carrot2-plugin - Default Job
bamboo_repository_21102599_previous_revision_number=a6bd0acbfd67ce1b8c315ff30f0413ca1d92c36b
bamboo_carrotsearch_download_official_port=2233
bamboo_capability_mvn_binary=/home/bamboo/tools/apache-maven-3.2.5/bin/mvn
bamboo_planRepository_1_revision=33503371b7016bcc2dd949b810e5ad20b6134d58
bamboo_capability_system_hg_executable=/usr/bin/hg
bamboo_carrot2_website_ssh=carrotse@mdd.carrot2.org:~/sites/project.carrot2.org
bamboo_csssprites_download_path=/srv/vhosts/get.csssprites.org
bamboo_csssprites_download_host=gamma.carrotsearch.com
bamboo_carrot2_website_ssh_port=2233
bamboo_repository_name=Git
bamboo_carrotsearch_labs_ssh_port=2233
bamboo_carrot2_download_user=bamboo
JAVA_HOME=/usr/lib/jvm/jdk7
bamboo_capability_tools_dir=/home/bamboo/tools
bamboo_carrotsearch_download_staging_host=gamma.carrotsearch.com
bamboo_carrotsearch_download_official_path=~/sites/get.carrotsearch.com
bamboo_planRepository_branch=master
bamboo_carrotsearch_download_official_host=get.carrotsearch.com
bamboo_agentWorkingDirectory=/mnt/work/bamboo-home/xml-data/build-dir
bamboo_l4g_mvn_opts=-Xmx1g
bamboo_capability_system_git_executable=/usr/bin/git
bamboo_planRepository_1_previousRevision=a6bd0acbfd67ce1b8c315ff30f0413ca1d92c36b
bamboo_repository_git_username=
bamboo_carrotsearch_download_staging_path=/srv/vhosts/staging-get.carrotsearch.com
bamboo_capability_system_jdk_JDK_1_8_IBM=/usr/lib/jvm/jdk8-ibm
bamboo_carrotsearch_secure2_ssh=carrotse@get.carrotsearch.com:~/sites/secure.carrotsearch.com
bamboo_capability_corpora_dir=/home/bamboo/corpora
bamboo_planRepository_1_type=git
bamboo_planRepository_branchName=master
bamboo_csssprites_download_user=bamboo
bamboo_repository_21102599_git_branch=master
bamboo_repository_21102599_revision_number=33503371b7016bcc2dd949b810e5ad20b6134d58
bamboo_capability_system_jdk_JDK=/usr/lib/jvm/java-8-oracle
bamboo_planRepository_type=git
bamboo_planRepository_1_username=
bamboo_carrotsearch_download_staging_user=bamboo
bamboo_carrot2_download_path=/srv/vhosts/get.carrot2.org
bamboo_carrot2_download_host=gamma.carrotsearch.com
bamboo_repository_git_repositoryUrl=git@github.com:carrot2/elasticsearch-carrot2.git
bamboo_carrotsearch_download_official_user=carrotse
bamboo_repository_21102599_git_repositoryUrl=git@github.com:carrot2/elasticsearch-carrot2.git
useMavenReturnCode=false
bamboo_capability_system_builder_node_Node_js=/usr/bin/nodejs
bamboo_capability_system_builder_ant_Ant=/home/bamboo/tools/apache-ant-1.9.7
bamboo_capability_system_builder_mvn3_Maven_3=/home/bamboo/tools/apache-maven-3.2.5
bamboo_working_directory=/mnt/work/bamboo-home/xml-data/build-dir/MISC-ESC2-JOB1
bamboo_planKey=MISC-ESC2
bamboo_planRepository_1_repositoryUrl=git@github.com:carrot2/elasticsearch-carrot2.git
bamboo_planRepository_username=
bamboo_carrotsearch_website_ssh=carrotse@get.carrotsearch.com:~/sites/www.carrotsearch.com
bamboo_capability_system_jdk_JDK_1_8=/usr/lib/jvm/jdk8
bamboo_capability_system_jdk_JDK_1_9=/usr/lib/jvm/jdk9
bamboo_capability_system_builder_command_zip=zip
bamboo_capability_system_jdk_JDK_1_6=/usr/lib/jvm/jdk6
bamboo_carrotsearch_secure_ssh=carrotse@get.carrotsearch.com:~/sites/secure.carrotsearch.com
bamboo_capability_system_jdk_JDK_1_7=/usr/lib/jvm/jdk7
bamboo_carrotsearch_website_ssh_port=2233
bamboo_planRepository_1_branchName=master
PATH=/usr/lib/jvm/jdk7/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
14-Nov-2016 12:27:25 [INFO] Scanning for projects...
14-Nov-2016 12:27:25 [INFO]                                                                         
14-Nov-2016 12:27:25 [INFO] ------------------------------------------------------------------------
14-Nov-2016 12:27:25 [INFO] Building elasticsearch-carrot2 2.4.1.1
14-Nov-2016 12:27:25 [INFO] ------------------------------------------------------------------------
14-Nov-2016 12:27:26 [INFO]
14-Nov-2016 12:27:26 [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ elasticsearch-carrot2 ---
14-Nov-2016 12:27:26 [INFO] Deleting /mnt/work/bamboo-home/xml-data/build-dir/MISC-ESC2-JOB1/target
14-Nov-2016 12:27:26 [INFO]
14-Nov-2016 12:27:26 [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ elasticsearch-carrot2 ---
14-Nov-2016 12:27:27 [INFO]
14-Nov-2016 12:27:27 [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ elasticsearch-carrot2 ---
14-Nov-2016 12:27:27 [INFO]
14-Nov-2016 12:27:27 [INFO] --- maven-enforcer-plugin:1.4.1:display-info (print-versions) @ elasticsearch-carrot2 ---
14-Nov-2016 12:27:27 [INFO] Maven Version: 3.2.5
14-Nov-2016 12:27:27 [INFO] JDK Version: 1.7.0_79 normalized as: 1.7.0-79
14-Nov-2016 12:27:27 [INFO] OS Info: Arch: amd64 Family: unix Name: linux Version: 3.8.0-35-generic
14-Nov-2016 12:27:27 [INFO]
14-Nov-2016 12:27:27 [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java-home-is-set) @ elasticsearch-carrot2 ---
14-Nov-2016 12:27:27 [INFO]
14-Nov-2016 12:27:27 [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-plugin-classname) @ elasticsearch-carrot2 ---
14-Nov-2016 12:27:27 [INFO]
14-Nov-2016 12:27:27 [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ elasticsearch-carrot2 ---
14-Nov-2016 12:27:27 [INFO]
14-Nov-2016 12:27:27 [INFO] --- buildnumber-maven-plugin:1.3:create (default) @ elasticsearch-carrot2 ---
14-Nov-2016 12:27:27 [INFO] Executing: /bin/sh -c cd /mnt/work/bamboo-home/xml-data/build-dir/MISC-ESC2-JOB1 && git rev-parse --verify HEAD
14-Nov-2016 12:27:27 [INFO] Working directory: /mnt/work/bamboo-home/xml-data/build-dir/MISC-ESC2-JOB1
14-Nov-2016 12:27:27 [INFO] Storing buildNumber: 33503371b7016bcc2dd949b810e5ad20b6134d58 at timestamp: 1479122847278
14-Nov-2016 12:27:27 [WARNING] Cannot get the branch information from the git repository:
14-Nov-2016 12:27:27 Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref
14-Nov-2016 12:27:27
14-Nov-2016 12:27:27 [INFO] Executing: /bin/sh -c cd /mnt/work/bamboo-home/xml-data/build-dir/MISC-ESC2-JOB1 && git rev-parse --verify HEAD
14-Nov-2016 12:27:27 [INFO] Working directory: /mnt/work/bamboo-home/xml-data/build-dir/MISC-ESC2-JOB1
14-Nov-2016 12:27:27 [INFO] Storing buildScmBranch: UNKNOWN
14-Nov-2016 12:27:27 [INFO]
14-Nov-2016 12:27:27 [INFO] --- maven-antrun-plugin:1.8:run (set-permgen) @ elasticsearch-carrot2 ---
14-Nov-2016 12:27:27 [INFO] Executing tasks
14-Nov-2016 12:27:27
14-Nov-2016 12:27:27 main:
14-Nov-2016 12:27:27 [INFO] Executed tasks
14-Nov-2016 12:27:27 [INFO]
14-Nov-2016 12:27:27 [INFO] --- maven-antrun-plugin:1.8:run (check-invalid-patterns) @ elasticsearch-carrot2 ---
14-Nov-2016 12:27:27 [INFO] Executing tasks
14-Nov-2016 12:27:27
14-Nov-2016 12:27:27 main:
14-Nov-2016 12:27:27 [INFO] Executed tasks
14-Nov-2016 12:27:27 [INFO]
14-Nov-2016 12:27:27 [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ elasticsearch-carrot2 ---
14-Nov-2016 12:27:30 [INFO]
14-Nov-2016 12:27:30 [INFO] --- maven-resources-plugin:2.7:copy-resources (copy-resources) @ elasticsearch-carrot2 ---
14-Nov-2016 12:27:30 [INFO] Using 'UTF-8' encoding to copy filtered resources.
14-Nov-2016 12:27:30 [INFO] Copying 1 resource
14-Nov-2016 12:27:30 [INFO] Copying 2 resources
14-Nov-2016 12:27:30 [INFO]
14-Nov-2016 12:27:30 [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ elasticsearch-carrot2 ---
14-Nov-2016 12:27:30 [INFO] Using 'UTF-8' encoding to copy filtered resources.
14-Nov-2016 12:27:30 [INFO] skip non existing resourceDirectory /mnt/work/bamboo-home/xml-data/build-dir/MISC-ESC2-JOB1/src/main/resources
14-Nov-2016 12:27:30 [INFO]
14-Nov-2016 12:27:30 [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ elasticsearch-carrot2 ---
14-Nov-2016 12:27:30 [INFO] Compiling 12 source files to /mnt/work/bamboo-home/xml-data/build-dir/MISC-ESC2-JOB1/target/classes
14-Nov-2016 12:27:31 [INFO]
14-Nov-2016 12:27:31 [INFO] --- animal-sniffer-maven-plugin:1.14:check (check-java17) @ elasticsearch-carrot2 ---
14-Nov-2016 12:27:31 [INFO] Checking unresolved references to org.codehaus.mojo.signature:java17:1.0
14-Nov-2016 12:27:32 [INFO]
14-Nov-2016 12:27:32 [INFO] --- forbiddenapis:2.0:check (check-forbidden-apis) @ elasticsearch-carrot2 ---
14-Nov-2016 12:27:33 [INFO] Scanning for classes to check...
14-Nov-2016 12:27:33 [INFO] Reading bundled API signatures: jdk-unsafe-1.7
14-Nov-2016 12:27:33 [INFO] Reading bundled API signatures: jdk-deprecated-1.7
14-Nov-2016 12:27:33 [INFO] Reading bundled API signatures: jdk-system-out
14-Nov-2016 12:27:33 [INFO] Reading API signatures: /mnt/work/bamboo-home/xml-data/build-dir/MISC-ESC2-JOB1/target/dev-tools/forbidden/core-signatures.txt
14-Nov-2016 12:27:33 [INFO] Reading API signatures: /mnt/work/bamboo-home/xml-data/build-dir/MISC-ESC2-JOB1/target/dev-tools/forbidden/all-signatures.txt
14-Nov-2016 12:27:33 [INFO] Reading API signatures: /mnt/work/bamboo-home/xml-data/build-dir/MISC-ESC2-JOB1/target/dev-tools/forbidden/third-party-signatures.txt
14-Nov-2016 12:27:33 [INFO] Loading classes to check...
14-Nov-2016 12:27:33 [INFO] Scanning classes for violations...
14-Nov-2016 12:27:33 [INFO] Scanned 39 (and 426 related) class file(s) for forbidden API invocations (in 0.22s), 0 error(s).
14-Nov-2016 12:27:33 [INFO]
14-Nov-2016 12:27:33 [INFO] --- maven-antrun-plugin:1.8:run (create-heapdump-directory) @ elasticsearch-carrot2 ---
14-Nov-2016 12:27:33 [INFO] Executing tasks
14-Nov-2016 12:27:33
14-Nov-2016 12:27:33 main:
14-Nov-2016 12:27:33 [heapdump] Creating heapdump directory
14-Nov-2016 12:27:33     [mkdir] Created dir: /mnt/work/bamboo-home/xml-data/build-dir/MISC-ESC2-JOB1/target/heapdump
14-Nov-2016 12:27:33 [INFO] Executed tasks
14-Nov-2016 12:27:33 [INFO]
14-Nov-2016 12:27:33 [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ elasticsearch-carrot2 ---
14-Nov-2016 12:27:33 [INFO] Using 'UTF-8' encoding to copy filtered resources.
14-Nov-2016 12:27:33 [INFO] Copying 16 resources
14-Nov-2016 12:27:33 [INFO] Copying 22 resources to rest-api-spec
14-Nov-2016 12:27:33 [INFO] Copying 1 resource
14-Nov-2016 12:27:33 [INFO] Copying 3 resources
14-Nov-2016 12:27:33 [INFO]
14-Nov-2016 12:27:33 [INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ elasticsearch-carrot2 ---
14-Nov-2016 12:27:33 [INFO] Compiling 10 source files to /mnt/work/bamboo-home/xml-data/build-dir/MISC-ESC2-JOB1/target/test-classes
14-Nov-2016 12:27:34 [INFO]
14-Nov-2016 12:27:34 [INFO] --- forbiddenapis:2.0:testCheck (check-forbidden-test-apis) @ elasticsearch-carrot2 ---
14-Nov-2016 12:27:34 [INFO] Scanning for classes to check...
14-Nov-2016 12:27:34 [INFO] Reading bundled API signatures: jdk-unsafe-1.7
14-Nov-2016 12:27:34 [INFO] Reading bundled API signatures: jdk-deprecated-1.7
14-Nov-2016 12:27:34 [INFO] Reading API signatures: /mnt/work/bamboo-home/xml-data/build-dir/MISC-ESC2-JOB1/target/dev-tools/forbidden/test-signatures.txt
14-Nov-2016 12:27:34 [INFO] Reading API signatures: /mnt/work/bamboo-home/xml-data/build-dir/MISC-ESC2-JOB1/target/dev-tools/forbidden/all-signatures.txt
14-Nov-2016 12:27:34 [INFO] Loading classes to check...
14-Nov-2016 12:27:34 [INFO] Scanning classes for violations...
14-Nov-2016 12:27:34 [ERROR] Forbidden annotation use: org.junit.Ignore [Use AwaitsFix instead]
14-Nov-2016 12:27:34 [ERROR]   in org.carrot2.elasticsearch.ClusteringActionRestIT (ClusteringActionRestIT.java, annotation on method declaration of 'testPostWithClusters()')
14-Nov-2016 12:27:34 [ERROR] Scanned 11 (and 383 related) class file(s) for forbidden API invocations (in 0.08s), 1 error(s).
14-Nov-2016 12:27:34 [INFO] ------------------------------------------------------------------------
14-Nov-2016 12:27:34 [INFO] BUILD FAILURE
14-Nov-2016 12:27:34 [INFO] ------------------------------------------------------------------------
14-Nov-2016 12:27:34 [INFO] Total time: 9.020 s
14-Nov-2016 12:27:34 [INFO] Finished at: 2016-11-14T12:27:34+01:00
14-Nov-2016 12:27:34 [INFO] Final Memory: 50M/1199M
14-Nov-2016 12:27:34 [INFO] ------------------------------------------------------------------------
14-Nov-2016 12:27:34 [ERROR] Failed to execute goal de.thetaphi:forbiddenapis:2.0:testCheck (check-forbidden-test-apis) on project elasticsearch-carrot2: Check for forbidden API calls failed, see log. -> [Help 1]
14-Nov-2016 12:27:34 [ERROR]
14-Nov-2016 12:27:34 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
14-Nov-2016 12:27:34 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
14-Nov-2016 12:27:34 [ERROR]
14-Nov-2016 12:27:34 [ERROR] For more information about the errors and possible solutions, please read the following articles:
14-Nov-2016 12:27:34 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
14-Nov-2016 12:27:34 Failing task since return code of [/home/bamboo/tools/apache-maven-3.2.5/bin/mvn --batch-mode -Djava.io.tmpdir=/home/bamboo/bamboo-software/temp/MISC-ESC2-JOB1 -Dmaven.repo.local=/mnt/work/bamboo-home/.m2/AGENT-131073/repository clean verify] was 1 while expected 0
14-Nov-2016 12:27:34 Parsing test results under /mnt/work/bamboo-home/xml-data/build-dir/MISC-ESC2-JOB1...
14-Nov-2016 12:27:34 Finished task 'Verify' with result: Failed
14-Nov-2016 12:27:34 Running post build plugin 'npm Cache Cleanup'
14-Nov-2016 12:27:34 Running post build plugin 'NCover Results Collector'
14-Nov-2016 12:27:34 Running post build plugin 'Clover Results Collector'
14-Nov-2016 12:27:34 Running post build plugin 'Docker Container Cleanup'
14-Nov-2016 12:27:34 Running post build plugin 'Artifact Copier'
14-Nov-2016 12:27:34 Finalising the build...
14-Nov-2016 12:27:34 Stopping timer.
14-Nov-2016 12:27:34 Build MISC-ESC2-JOB1-51 completed.
14-Nov-2016 12:27:34 Running on server: post build plugin 'NCover Results Collector'
14-Nov-2016 12:27:34 Running on server: post build plugin 'Clover Delta Calculator'
14-Nov-2016 12:27:34 Running on server: post build plugin 'Maven Dependencies Postprocessor'
14-Nov-2016 12:27:34 Running on server: post build plugin 'Build Hanging Detection Configuration'
14-Nov-2016 12:27:34 All post build plugins have finished
14-Nov-2016 12:27:34 Generating build results summary...
14-Nov-2016 12:27:34 Saving build results to disk...
14-Nov-2016 12:27:34 Logging substituted variables...
14-Nov-2016 12:27:34 Indexing build results...
14-Nov-2016 12:27:34 Finished building MISC-ESC2-JOB1-51.