Carrot2 ES plugin integration

Build: #52 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:48:59 Build Misc - ES-Carrot2-plugin - Default Job #52 (MISC-ESC2-JOB1-52) started building on agent Local Agent 1
14-Nov-2016 12:48:59
14-Nov-2016 12:48:59 Build working directory is /mnt/work/bamboo-home/xml-data/build-dir/MISC-ESC2-JOB1
14-Nov-2016 12:48:59 Executing build Misc - ES-Carrot2-plugin - Default Job #52 (MISC-ESC2-JOB1-52)
14-Nov-2016 12:48:59 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
14-Nov-2016 12:48:59 Updating source code to revision: e2f9f6992009d9f2354d68eac1ff41b5e711419b
14-Nov-2016 12:48:59 Fetching 'refs/heads/master' from 'git@github.com:carrot2/elasticsearch-carrot2.git'.
14-Nov-2016 12:49:00 Warning: Permanently added 'github.com,192.30.253.112' (RSA) to the list of known hosts.
14-Nov-2016 12:49:01 Checking out revision e2f9f6992009d9f2354d68eac1ff41b5e711419b.
14-Nov-2016 12:49:01 Previous HEAD position was 3350337... Added an (ignored) test that permits incremental clustering with Lingo3G.
14-Nov-2016 12:49:01 HEAD is now at e2f9f69... Make forbidden apis checker happier.
14-Nov-2016 12:49:01 Updated source code to revision: e2f9f6992009d9f2354d68eac1ff41b5e711419b
14-Nov-2016 12:49:01 Finished task 'Checkout Default Repository' with result: Success
14-Nov-2016 12:49:01 Running pre-build action: VCS Version Collector
14-Nov-2016 12:49:02 Starting task 'Verify' of type 'com.atlassian.bamboo.plugins.maven:task.builder.mvn3'
14-Nov-2016 12:49:02
Beginning to execute external process for build 'Misc - ES-Carrot2-plugin - Default Job #52 (MISC-ESC2-JOB1-52)'
... 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=e2f9f6992009d9f2354d68eac1ff41b5e711419b
MAVEN2_HOME=/home/bamboo/tools/apache-maven-3.2.5
bamboo_capability_persistent_dir=/home/bamboo/persistent
bamboo_buildKey=MISC-ESC2-JOB1
bamboo_capability_system_builder_command_rsync=rsync
bamboo_shortJobName=Default Job
bamboo_buildResultsUrl=http://builds.carrot2.org/browse/MISC-ESC2-JOB1-52
bamboo_planRepository_repositoryUrl=git@github.com:carrot2/elasticsearch-carrot2.git
bamboo_repository_21102599_name=Git
bamboo_agentId=131073
bamboo_planRepository_revision=e2f9f6992009d9f2354d68eac1ff41b5e711419b
bamboo_planRepository_previousRevision=33503371b7016bcc2dd949b810e5ad20b6134d58
bamboo_repository_branch_name=master
bamboo_repository_21102599_previous_revision_number=33503371b7016bcc2dd949b810e5ad20b6134d58
bamboo_carrotsearch_download_official_port=2233
bamboo_carrot2_website_ssh=carrotse@mdd.carrot2.org:~/sites/project.carrot2.org
bamboo_csssprites_download_path=/srv/vhosts/get.csssprites.org
bamboo_carrotsearch_labs_ssh_port=2233
bamboo_carrot2_download_user=bamboo
JAVA_HOME=/usr/lib/jvm/jdk7
bamboo_dependenciesDisabled=false
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_secure2_ssh=carrotse@get.carrotsearch.com:~/sites/secure.carrotsearch.com
bamboo_planRepository_1_type=git
bamboo_planRepository_branchName=master
bamboo_repository_21102599_revision_number=e2f9f6992009d9f2354d68eac1ff41b5e711419b
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_host=gamma.carrotsearch.com
bamboo_ManualBuildTriggerReason_userName=dawid.weiss
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_planKey=MISC-ESC2
bamboo_planRepository_username=
bamboo_carrotsearch_website_ssh=carrotse@get.carrotsearch.com:~/sites/www.carrotsearch.com
bamboo_planRepository_1_branchName=master
bamboo_resultsUrl=http://builds.carrot2.org/browse/MISC-ESC2-JOB1-52
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_shortPlanName=ES-Carrot2-plugin
bamboo_planRepository_name=Git
bamboo_buildNumber=52
bamboo_carrotsearch_secure_ssh_port=2233
bamboo_planName=Misc - ES-Carrot2-plugin
bamboo_shortPlanKey=ESC2
bamboo_capability_system_builder_command_git=git
bamboo_shortJobKey=JOB1
bamboo_repository_21102599_git_username=
bamboo_repository_previous_revision_number=33503371b7016bcc2dd949b810e5ad20b6134d58
bamboo_buildTimeStamp=2016-11-14T12:48:59.410+01:00
bamboo_repository_21102599_branch_name=master
M2_HOME=/home/bamboo/tools/apache-maven-3.2.5
bamboo_buildResultKey=MISC-ESC2-JOB1-52
bamboo_repository_git_branch=master
bamboo_buildPlanName=Misc - ES-Carrot2-plugin - Default Job
bamboo_capability_mvn_binary=/home/bamboo/tools/apache-maven-3.2.5/bin/mvn
bamboo_planRepository_1_revision=e2f9f6992009d9f2354d68eac1ff41b5e711419b
bamboo_capability_system_hg_executable=/usr/bin/hg
bamboo_csssprites_download_host=gamma.carrotsearch.com
bamboo_carrot2_website_ssh_port=2233
bamboo_repository_name=Git
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=33503371b7016bcc2dd949b810e5ad20b6134d58
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_capability_corpora_dir=/home/bamboo/corpora
bamboo_csssprites_download_user=bamboo
bamboo_repository_21102599_git_branch=master
bamboo_carrot2_download_path=/srv/vhosts/get.carrot2.org
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
bamboo_working_directory=/mnt/work/bamboo-home/xml-data/build-dir/MISC-ESC2-JOB1
bamboo_planRepository_1_repositoryUrl=git@github.com:carrot2/elasticsearch-carrot2.git
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
PATH=/usr/lib/jvm/jdk7/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
14-Nov-2016 12:49:03 [INFO] Scanning for projects...
14-Nov-2016 12:49:03 [INFO]                                                                         
14-Nov-2016 12:49:03 [INFO] ------------------------------------------------------------------------
14-Nov-2016 12:49:03 [INFO] Building elasticsearch-carrot2 2.4.1.1
14-Nov-2016 12:49:03 [INFO] ------------------------------------------------------------------------
14-Nov-2016 12:49:04 [INFO]
14-Nov-2016 12:49:04 [INFO] --- maven-clean-plugin:3.0.0:clean (default-clean) @ elasticsearch-carrot2 ---
14-Nov-2016 12:49:04 [INFO] Deleting /mnt/work/bamboo-home/xml-data/build-dir/MISC-ESC2-JOB1/target
14-Nov-2016 12:49:04 [INFO]
14-Nov-2016 12:49:04 [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ elasticsearch-carrot2 ---
14-Nov-2016 12:49:04 [INFO]
14-Nov-2016 12:49:04 [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven-version) @ elasticsearch-carrot2 ---
14-Nov-2016 12:49:04 [INFO]
14-Nov-2016 12:49:04 [INFO] --- maven-enforcer-plugin:1.4.1:display-info (print-versions) @ elasticsearch-carrot2 ---
14-Nov-2016 12:49:04 [INFO] Maven Version: 3.2.5
14-Nov-2016 12:49:04 [INFO] JDK Version: 1.7.0_79 normalized as: 1.7.0-79
14-Nov-2016 12:49:04 [INFO] OS Info: Arch: amd64 Family: unix Name: linux Version: 3.8.0-35-generic
14-Nov-2016 12:49:04 [INFO]
14-Nov-2016 12:49:04 [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-java-home-is-set) @ elasticsearch-carrot2 ---
14-Nov-2016 12:49:04 [INFO]
14-Nov-2016 12:49:04 [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-plugin-classname) @ elasticsearch-carrot2 ---
14-Nov-2016 12:49:04 [INFO]
14-Nov-2016 12:49:04 [INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-maven) @ elasticsearch-carrot2 ---
14-Nov-2016 12:49:04 [INFO]
14-Nov-2016 12:49:04 [INFO] --- buildnumber-maven-plugin:1.3:create (default) @ elasticsearch-carrot2 ---
14-Nov-2016 12:49:04 [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:49:04 [INFO] Working directory: /mnt/work/bamboo-home/xml-data/build-dir/MISC-ESC2-JOB1
14-Nov-2016 12:49:04 [INFO] Storing buildNumber: e2f9f6992009d9f2354d68eac1ff41b5e711419b at timestamp: 1479124144791
14-Nov-2016 12:49:04 [WARNING] Cannot get the branch information from the git repository:
14-Nov-2016 12:49:04 Detecting the current branch failed: fatal: ref HEAD is not a symbolic ref
14-Nov-2016 12:49:04
14-Nov-2016 12:49:04 [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:49:04 [INFO] Working directory: /mnt/work/bamboo-home/xml-data/build-dir/MISC-ESC2-JOB1
14-Nov-2016 12:49:04 [INFO] Storing buildScmBranch: UNKNOWN
14-Nov-2016 12:49:04 [INFO]
14-Nov-2016 12:49:04 [INFO] --- maven-antrun-plugin:1.8:run (set-permgen) @ elasticsearch-carrot2 ---
14-Nov-2016 12:49:05 [INFO] Executing tasks
14-Nov-2016 12:49:05
14-Nov-2016 12:49:05 main:
14-Nov-2016 12:49:05 [INFO] Executed tasks
14-Nov-2016 12:49:05 [INFO]
14-Nov-2016 12:49:05 [INFO] --- maven-antrun-plugin:1.8:run (check-invalid-patterns) @ elasticsearch-carrot2 ---
14-Nov-2016 12:49:05 [INFO] Executing tasks
14-Nov-2016 12:49:05
14-Nov-2016 12:49:05 main:
14-Nov-2016 12:49:05 [INFO] Executed tasks
14-Nov-2016 12:49:05 [INFO]
14-Nov-2016 12:49:05 [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ elasticsearch-carrot2 ---
14-Nov-2016 12:49:07 [INFO]
14-Nov-2016 12:49:07 [INFO] --- maven-resources-plugin:2.7:copy-resources (copy-resources) @ elasticsearch-carrot2 ---
14-Nov-2016 12:49:07 [INFO] Using 'UTF-8' encoding to copy filtered resources.
14-Nov-2016 12:49:07 [INFO] Copying 1 resource
14-Nov-2016 12:49:07 [INFO] Copying 2 resources
14-Nov-2016 12:49:07 [INFO]
14-Nov-2016 12:49:07 [INFO] --- maven-resources-plugin:2.7:resources (default-resources) @ elasticsearch-carrot2 ---
14-Nov-2016 12:49:07 [INFO] Using 'UTF-8' encoding to copy filtered resources.
14-Nov-2016 12:49:07 [INFO] skip non existing resourceDirectory /mnt/work/bamboo-home/xml-data/build-dir/MISC-ESC2-JOB1/src/main/resources
14-Nov-2016 12:49:07 [INFO]
14-Nov-2016 12:49:07 [INFO] --- maven-compiler-plugin:3.3:compile (default-compile) @ elasticsearch-carrot2 ---
14-Nov-2016 12:49:07 [INFO] Compiling 12 source files to /mnt/work/bamboo-home/xml-data/build-dir/MISC-ESC2-JOB1/target/classes
14-Nov-2016 12:49:09 [INFO]
14-Nov-2016 12:49:09 [INFO] --- animal-sniffer-maven-plugin:1.14:check (check-java17) @ elasticsearch-carrot2 ---
14-Nov-2016 12:49:09 [INFO] Checking unresolved references to org.codehaus.mojo.signature:java17:1.0
14-Nov-2016 12:49:10 [INFO]
14-Nov-2016 12:49:10 [INFO] --- forbiddenapis:2.0:check (check-forbidden-apis) @ elasticsearch-carrot2 ---
14-Nov-2016 12:49:10 [INFO] Scanning for classes to check...
14-Nov-2016 12:49:10 [INFO] Reading bundled API signatures: jdk-unsafe-1.7
14-Nov-2016 12:49:10 [INFO] Reading bundled API signatures: jdk-deprecated-1.7
14-Nov-2016 12:49:10 [INFO] Reading bundled API signatures: jdk-system-out
14-Nov-2016 12:49:10 [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:49:10 [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:49:10 [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:49:10 [INFO] Loading classes to check...
14-Nov-2016 12:49:10 [INFO] Scanning classes for violations...
14-Nov-2016 12:49:10 [INFO] Scanned 39 (and 426 related) class file(s) for forbidden API invocations (in 0.22s), 0 error(s).
14-Nov-2016 12:49:10 [INFO]
14-Nov-2016 12:49:10 [INFO] --- maven-antrun-plugin:1.8:run (create-heapdump-directory) @ elasticsearch-carrot2 ---
14-Nov-2016 12:49:10 [INFO] Executing tasks
14-Nov-2016 12:49:10
14-Nov-2016 12:49:10 main:
14-Nov-2016 12:49:10 [heapdump] Creating heapdump directory
14-Nov-2016 12:49:10     [mkdir] Created dir: /mnt/work/bamboo-home/xml-data/build-dir/MISC-ESC2-JOB1/target/heapdump
14-Nov-2016 12:49:10 [INFO] Executed tasks
14-Nov-2016 12:49:10 [INFO]
14-Nov-2016 12:49:10 [INFO] --- maven-resources-plugin:2.7:testResources (default-testResources) @ elasticsearch-carrot2 ---
14-Nov-2016 12:49:10 [INFO] Using 'UTF-8' encoding to copy filtered resources.
14-Nov-2016 12:49:10 [INFO] Copying 16 resources
14-Nov-2016 12:49:10 [INFO] Copying 22 resources to rest-api-spec
14-Nov-2016 12:49:10 [INFO] Copying 1 resource
14-Nov-2016 12:49:10 [INFO] Copying 3 resources
14-Nov-2016 12:49:10 [INFO]
14-Nov-2016 12:49:10 [INFO] --- maven-compiler-plugin:3.3:testCompile (default-testCompile) @ elasticsearch-carrot2 ---
14-Nov-2016 12:49:10 [INFO] Compiling 11 source files to /mnt/work/bamboo-home/xml-data/build-dir/MISC-ESC2-JOB1/target/test-classes
14-Nov-2016 12:49:11 [INFO]
14-Nov-2016 12:49:11 [INFO] --- forbiddenapis:2.0:testCheck (check-forbidden-test-apis) @ elasticsearch-carrot2 ---
14-Nov-2016 12:49:11 [INFO] Scanning for classes to check...
14-Nov-2016 12:49:11 [INFO] Reading bundled API signatures: jdk-unsafe-1.7
14-Nov-2016 12:49:11 [INFO] Reading bundled API signatures: jdk-deprecated-1.7
14-Nov-2016 12:49:11 [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:49:11 [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:49:11 [INFO] Loading classes to check...
14-Nov-2016 12:49:11 [INFO] Scanning classes for violations...
14-Nov-2016 12:49:11 [ERROR] Forbidden annotation use: org.junit.Ignore [Use AwaitsFix instead]
14-Nov-2016 12:49:11 [ERROR]   in org.carrot2.elasticsearch.ClusteringActionRestIT (ClusteringActionRestIT.java, annotation on method declaration of 'testPostWithClusters()')
14-Nov-2016 12:49:11 [ERROR] Scanned 12 (and 384 related) class file(s) for forbidden API invocations (in 0.08s), 1 error(s).
14-Nov-2016 12:49:11 [INFO] ------------------------------------------------------------------------
14-Nov-2016 12:49:11 [INFO] BUILD FAILURE
14-Nov-2016 12:49:11 [INFO] ------------------------------------------------------------------------
14-Nov-2016 12:49:11 [INFO] Total time: 8.707 s
14-Nov-2016 12:49:11 [INFO] Finished at: 2016-11-14T12:49:11+01:00
14-Nov-2016 12:49:11 [INFO] Final Memory: 114M/1358M
14-Nov-2016 12:49:11 [INFO] ------------------------------------------------------------------------
14-Nov-2016 12:49:11 [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:49:11 [ERROR]
14-Nov-2016 12:49:11 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
14-Nov-2016 12:49:11 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
14-Nov-2016 12:49:11 [ERROR]
14-Nov-2016 12:49:11 [ERROR] For more information about the errors and possible solutions, please read the following articles:
14-Nov-2016 12:49:11 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
14-Nov-2016 12:49:12 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:49:12 Parsing test results under /mnt/work/bamboo-home/xml-data/build-dir/MISC-ESC2-JOB1...
14-Nov-2016 12:49:12 Finished task 'Verify' with result: Failed
14-Nov-2016 12:49:12 Running post build plugin 'npm Cache Cleanup'
14-Nov-2016 12:49:12 Running post build plugin 'NCover Results Collector'
14-Nov-2016 12:49:12 Running post build plugin 'Clover Results Collector'
14-Nov-2016 12:49:12 Running post build plugin 'Docker Container Cleanup'
14-Nov-2016 12:49:12 Running post build plugin 'Artifact Copier'
14-Nov-2016 12:49:12 Finalising the build...
14-Nov-2016 12:49:12 Stopping timer.
14-Nov-2016 12:49:12 Build MISC-ESC2-JOB1-52 completed.
14-Nov-2016 12:49:12 Running on server: post build plugin 'NCover Results Collector'
14-Nov-2016 12:49:12 Running on server: post build plugin 'Clover Delta Calculator'
14-Nov-2016 12:49:12 Running on server: post build plugin 'Maven Dependencies Postprocessor'
14-Nov-2016 12:49:12 Running on server: post build plugin 'Build Hanging Detection Configuration'
14-Nov-2016 12:49:12 All post build plugins have finished
14-Nov-2016 12:49:12 Generating build results summary...
14-Nov-2016 12:49:12 Saving build results to disk...
14-Nov-2016 12:49:12 Logging substituted variables...
14-Nov-2016 12:49:12 Indexing build results...
14-Nov-2016 12:49:12 Finished building MISC-ESC2-JOB1-52.