Build: #236 failed

Job: Build failed

Stages & jobs

  1. Compile and test

Build log

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

12-Jan-2021 11:48:52 Build Carrot2 - 4.0.x - dcs.carrot2.org - Build #236 (C2-C2DCS-J9L-236) started building on agent Local Agent 1
12-Jan-2021 11:48:52
12-Jan-2021 11:48:52 Build working directory is /var/atlassian/application-data/bamboo/xml-data/build-dir/C2-C2DCS-J9L
12-Jan-2021 11:48:52 Executing build Carrot2 - 4.0.x - dcs.carrot2.org - Build #236 (C2-C2DCS-J9L-236)
12-Jan-2021 11:48:52 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
12-Jan-2021 11:48:52 Checking out into /var/atlassian/application-data/bamboo/xml-data/build-dir/C2-C2DCS-J9L
12-Jan-2021 11:48:52 Updating source code to revision: d1322f580a81e09d4744da1b7482fbe02b36f54e
12-Jan-2021 11:48:52 Fetching 'refs/heads/master' from 'https://github.com/carrot2/carrot2.git'.
12-Jan-2021 11:48:52 Checking out revision d1322f580a81e09d4744da1b7482fbe02b36f54e.
12-Jan-2021 11:48:52 From file:///var/atlassian/application-data/bamboo/xml-data/build-dir/_git-repositories-cache/aab75aae8437dbcf777127c696a13981dc26f38c
12-Jan-2021 11:48:52    76604afae..d1322f580  master     -> origin/master
12-Jan-2021 11:48:52 Already on 'master'
12-Jan-2021 11:48:52 Your branch is behind 'origin/master' by 2 commits, and can be fast-forwarded.
12-Jan-2021 11:48:52   (use "git pull" to update your local branch)
12-Jan-2021 11:48:52 HEAD is now at d1322f580 Moved some more stuff to opts.
12-Jan-2021 11:48:52 Updated source code to revision: d1322f580a81e09d4744da1b7482fbe02b36f54e
12-Jan-2021 11:48:52 Finished task 'Checkout Default Repository' with result: Success
12-Jan-2021 11:48:52 Running pre-build action: VCS Version Collector
12-Jan-2021 11:48:52
Substituting variable: ${bamboo.capability.system.jdk.JDK 11} with /home/bamboo/jvms/jdk11
12-Jan-2021 11:48:52
Substituting variable: ${bamboo.buildNumber} with 236
12-Jan-2021 11:48:52
Substituting variable: ${bamboo.buildKey} with C2-C2DCS-J9L
12-Jan-2021 11:48:52 Starting task 'Assemble DCS distribution' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
12-Jan-2021 11:48:52
Beginning to execute external process for build 'Carrot2 - 4.0.x - dcs.carrot2.org - Build #236 (C2-C2DCS-J9L-236)'
... running command line:
/bin/sh /var/atlassian/application-data/bamboo/temp/C2-C2DCS-J9L-236-ScriptBuildTask-7270188727713013337.sh
... in: /var/atlassian/application-data/bamboo/xml-data/build-dir/C2-C2DCS-J9L
... using extra environment variables:
bamboo_planRepository_1_branch=master
bamboo_carrotsearch_secure_staging_user=bamboo
bamboo_planRepository_1_branchDisplayName=master
bamboo_repository_revision_number=d1322f580a81e09d4744da1b7482fbe02b36f54e
bamboo_capability_persistent_dir=/home/bamboo/persistent
bamboo_buildKey=C2-C2DCS-J9L
bamboo_capability_system_builder_command_rsync=rsync
bamboo_shortJobName=Build
bamboo_buildResultsUrl=https://builds.carrot2.org/browse/C2-C2DCS-J9L-236
bamboo_planRepository_repositoryUrl=https://github.com/carrot2/carrot2.git
bamboo_agentId=131073
bamboo_carrotsearch_secure_staging_host=kappa.carrotsearch.com
bamboo_capability_system_jdk_JDK_9=/home/bamboo/jvms/jdk9
bamboo_planRepository_revision=d1322f580a81e09d4744da1b7482fbe02b36f54e
bamboo_planRepository_previousRevision=76604afaeadc09dbf0085fdc40817fc7aeb22995
bamboo_repository_branch_name=master
bamboo_carrotsearch_download_official_port=2233
bamboo_capability_system_jdk_JDK_10=/home/bamboo/jvms/jdk10
bamboo_carrot2_website_ssh=carrotse@get.carrotsearch.com:~/sites/project.carrot2.org
bamboo_csssprites_download_path=/srv/vhosts/get.csssprites.org
bamboo_carrotsearch_labs_ssh_port=2233
bamboo_carrot2_download_user=bamboo
bamboo_capability_tools_dir=/home/bamboo/tools
bamboo_repository_91226123_branch_name=master
bamboo_carrotsearch_download_staging_host=kappa.carrotsearch.com
bamboo_carrotsearch_download_official_path=~/sites/get.carrotsearch.com
bamboo_repository_91226123_previous_revision_number=76604afaeadc09dbf0085fdc40817fc7aeb22995
bamboo_planRepository_branch=master
bamboo_carrotsearch_secure2_ssh=carrotse@get.carrotsearch.com:~/sites/secure.carrotsearch.com
bamboo_capability_system_jdk_JDK_13=/home/bamboo/jvms/jdk13
bamboo_capability_system_jdk_JDK_14=/home/bamboo/jvms/jdk14
bamboo_capability_system_jdk_JDK_11=/home/bamboo/jvms/jdk11
bamboo_planRepository_1_type=gitv2
bamboo_planRepository_branchName=master
bamboo_capability_system_jdk_JDK_12=/home/bamboo/jvms/jdk12
bamboo_capability_system_jdk_JDK_11_J9=/home/bamboo/jvms/jdk11-j9
bamboo_repository_91226123_name=github/carrot2/carrot2/master
bamboo_capability_system_jdk_JDK=/home/bamboo/jvms/jdk8
bamboo_hg_cache_directory=/var/atlassian/application-data/bamboo/xml-data/build-dir/_hg-repositories-cache
bamboo_planRepository_1_username=
bamboo_planRepository_type=gitv2
bamboo_carrot2_download_host=kappa.carrotsearch.com
bamboo_git_cache_directory=/var/atlassian/application-data/bamboo/xml-data/build-dir/_git-repositories-cache
bamboo_carrotsearch_download_staging_user=bamboo
bamboo_capability_system_builder_node_Node_js=/usr/bin/nodejs
bamboo_capability_system_builder_ant_Ant=/home/bamboo/jvms/ant1.9
bamboo_capability_system_builder_mvn3_Maven_3=/home/bamboo/jvms/maven
bamboo_tmp_directory=/var/atlassian/application-data/bamboo/temp
bamboo_repository_91226123_git_username=
bamboo_planKey=C2-C2DCS
bamboo_planRepository_username=
bamboo_carrotsearch_website_ssh=carrotse@get.carrotsearch.com:~/sites/www.carrotsearch.com
bamboo_capability_system_builder_command_yarn=/usr/bin/yarn
bamboo_planRepository_1_branchName=master
bamboo_repository_91226123_git_branch=master
bamboo_resultsUrl=https://builds.carrot2.org/browse/C2-C2DCS-J9L-236
bamboo_capability_Linux=
bamboo_carrotsearch_labs_ssh=carrotse@get.carrotsearch.com:~/sites/labs.carrotsearch.com
bamboo_build_working_directory=/var/atlassian/application-data/bamboo/xml-data/build-dir/C2-C2DCS-J9L
bamboo_planRepository_1_name=github/carrot2/carrot2/master
bamboo_repository_91226123_revision_number=d1322f580a81e09d4744da1b7482fbe02b36f54e
bamboo_shortPlanName=4.0.x - dcs.carrot2.org
bamboo_planRepository_name=github/carrot2/carrot2/master
bamboo_buildNumber=236
bamboo_npm_authToken=ce5f381d-7f24-4a22-96d8-62af04f484bf
bamboo_carrotsearch_secure_staging_path=/srv/vhosts/staging-secure.carrotsearch.com
bamboo_carrotsearch_secure_ssh_port=2233
bamboo_planName=Carrot2 - 4.0.x - dcs.carrot2.org
bamboo_capability_system_builder_command_git=git
bamboo_shortPlanKey=C2DCS
bamboo_shortJobKey=J9L
bamboo_buildTimeStamp=2021-01-12T11:48:51.968+01:00
bamboo_repository_previous_revision_number=76604afaeadc09dbf0085fdc40817fc7aeb22995
bamboo_repository_git_branch=master
bamboo_buildResultKey=C2-C2DCS-J9L-236
bamboo_buildPlanName=Carrot2 - 4.0.x - dcs.carrot2.org - Build
bamboo_planRepository_1_revision=d1322f580a81e09d4744da1b7482fbe02b36f54e
bamboo_repository_name=github/carrot2/carrot2/master
bamboo_carrot2_website_ssh_port=2233
bamboo_csssprites_download_host=kappa.carrotsearch.com
bamboo_buildFailed=false
bamboo_agentWorkingDirectory=/var/atlassian/application-data/bamboo/xml-data/build-dir
bamboo_carrotsearch_download_official_host=get.carrotsearch.com
bamboo_capability_system_git_executable=/usr/bin/git
bamboo_l4g_mvn_opts=-Xmx1g
bamboo_repository_git_username=
bamboo_planRepository_1_previousRevision=76604afaeadc09dbf0085fdc40817fc7aeb22995
bamboo_carrotsearch_download_staging_path=/srv/vhosts/staging-get.carrotsearch.com
bamboo_planRepository_branchDisplayName=master
bamboo_capability_corpora_dir=/home/bamboo/corpora
bamboo_repository_91226123_git_repositoryUrl=https://github.com/carrot2/carrot2.git
bamboo_csssprites_download_user=bamboo
bamboo_plan_storageTag=plan-90898455
bamboo_carrot2_download_path=/srv/vhosts/get.carrot2.org
bamboo_repository_git_repositoryUrl=https://github.com/carrot2/carrot2.git
bamboo_carrotsearch_download_official_user=carrotse
bamboo_working_directory=/var/atlassian/application-data/bamboo/xml-data/build-dir/C2-C2DCS-J9L
bamboo_planRepository_1_repositoryUrl=https://github.com/carrot2/carrot2.git
bamboo_capability_system_jdk_JDK_1_8=/home/bamboo/jvms/jdk8
bamboo_capability_system_builder_command_zip=zip
bamboo_capability_system_jdk_JDK_1_9=/home/bamboo/jvms/jdk9
bamboo_capability_system_jdk_JDK_1_7=/home/bamboo/jvms/jdk7
bamboo_carrotsearch_secure_ssh=carrotse@get.carrotsearch.com:~/sites/secure.carrotsearch.com
bamboo_carrotsearch_website_ssh_port=2233
12-Jan-2021 11:48:55 > Task :buildSrc:compileJava UP-TO-DATE
12-Jan-2021 11:48:57
12-Jan-2021 11:48:57 > Task :buildSrc:compileGroovy
12-Jan-2021 11:48:57 WARNING: An illegal reflective access operation has occurred
12-Jan-2021 11:48:57 WARNING: Illegal reflective access by org.codehaus.groovy.reflection.CachedClass (file:/home/bamboo/.gradle/wrapper/dists/gradle-6.6.1-all/ejrtlte9hlw8v6ii20a9584rs/gradle-6.6.1/lib/groovy-all-1.3-2.5.12.jar) to method java.util.AbstractCollection.hugeCapacity(int)
12-Jan-2021 11:48:57 WARNING: Please consider reporting this to the maintainers of org.codehaus.groovy.reflection.CachedClass
12-Jan-2021 11:48:57 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
12-Jan-2021 11:48:57 WARNING: All illegal access operations will be denied in a future release
12-Jan-2021 11:48:57
12-Jan-2021 11:48:57 > Task :buildSrc:pluginDescriptors UP-TO-DATE
12-Jan-2021 11:48:57 > Task :buildSrc:processResources UP-TO-DATE
12-Jan-2021 11:48:57 > Task :buildSrc:classes
12-Jan-2021 11:48:57 > Task :buildSrc:jar
12-Jan-2021 11:48:57 > Task :buildSrc:assemble
12-Jan-2021 11:48:57 > Task :buildSrc:pluginUnderTestMetadata
12-Jan-2021 11:48:57 > Task :buildSrc:compileTestJava NO-SOURCE
12-Jan-2021 11:48:57 > Task :buildSrc:compileTestGroovy NO-SOURCE
12-Jan-2021 11:48:57 > Task :buildSrc:processTestResources NO-SOURCE
12-Jan-2021 11:48:57 > Task :buildSrc:testClasses UP-TO-DATE
12-Jan-2021 11:48:57 > Task :buildSrc:test NO-SOURCE
12-Jan-2021 11:48:57 > Task :buildSrc:validatePlugins
12-Jan-2021 11:48:57 > Task :buildSrc:check
12-Jan-2021 11:48:57 > Task :buildSrc:build
12-Jan-2021 11:49:02 > Task :distribution:clean
12-Jan-2021 11:49:02 > Task :clean
12-Jan-2021 11:49:02 > Task :core-examples:clean
12-Jan-2021 11:49:02 > Task :gradle:clean
12-Jan-2021 11:49:02 > Task :dcs:examples:clean
12-Jan-2021 11:49:02 > Task :dcs:model:clean
12-Jan-2021 11:49:02 > Task :dcs:tests:clean
12-Jan-2021 11:49:02 > Task :infra:docattrs:clean
12-Jan-2021 11:49:02 > Task :infra:jsondoclet:clean
12-Jan-2021 11:49:02 > Task :infra:jsondoclet-model:clean
12-Jan-2021 11:49:02 > Task :infra:tests:clean
12-Jan-2021 11:49:02 > Task :core:clean
12-Jan-2021 11:49:02 > Task :lang:lucene:clean
12-Jan-2021 11:49:02 > Task :lang:lucene-chinese:clean
12-Jan-2021 11:49:02 > Task :lang:lucene-japanese:clean
12-Jan-2021 11:49:02 > Task :lang:lucene-korean:clean
12-Jan-2021 11:49:02 > Task :lang:polish:clean
12-Jan-2021 11:49:02 > Task :dcs:contexts:javadoc:clean
12-Jan-2021 11:49:02 > Task :dcs:distribution:clean
12-Jan-2021 11:49:02 > Task :dcs:contexts:root:clean
12-Jan-2021 11:49:02 > Task :dcs:contexts:service:clean
12-Jan-2021 11:49:02
12-Jan-2021 11:49:02 > Task :doc:clean
12-Jan-2021 11:49:02 Cleaned .cache/public on :doc, remaining:
12-Jan-2021 11:49:02   static
12-Jan-2021 11:49:02   .gradle
12-Jan-2021 11:49:02   .gitignore
12-Jan-2021 11:49:02   yarn.lock
12-Jan-2021 11:49:02   gatsby-config.js
12-Jan-2021 11:49:02   .htmlvalidate.json
12-Jan-2021 11:49:02   package.json
12-Jan-2021 11:49:02   build.gradle
12-Jan-2021 11:49:02   node_modules
12-Jan-2021 11:49:02   gatsby-browser.js
12-Jan-2021 11:49:02   src
12-Jan-2021 11:49:02
12-Jan-2021 11:49:02 > Task :dcs:contexts:frontend:clean
12-Jan-2021 11:49:02 Cleaned /var/atlassian/application-data/bamboo/xml-data/build-dir/C2-C2DCS-J9L/dcs/contexts/frontend/build, remaining:
12-Jan-2021 11:49:02   customizers
12-Jan-2021 11:49:02   TODO.txt
12-Jan-2021 11:49:02   .gradle
12-Jan-2021 11:49:02   .gitignore
12-Jan-2021 11:49:02   yarn.lock
12-Jan-2021 11:49:02   .eslintcache
12-Jan-2021 11:49:02   .prettierignore
12-Jan-2021 11:49:02   package.json
12-Jan-2021 11:49:02   craco.config.js
12-Jan-2021 11:49:02   build.gradle
12-Jan-2021 11:49:02   node_modules
12-Jan-2021 11:49:02   .env
12-Jan-2021 11:49:02   .prettierrc.json
12-Jan-2021 11:49:02   public
12-Jan-2021 11:49:02   .npmrc
12-Jan-2021 11:49:02   src
12-Jan-2021 11:49:02
12-Jan-2021 11:49:02 > Task :distribution:bambooProps
12-Jan-2021 11:49:02 > Task :infra:jsondoclet:processResources NO-SOURCE
12-Jan-2021 11:49:02 > Task :infra:docattrs:processResources
12-Jan-2021 11:49:03 > Task :infra:jsondoclet-model:compileJava FAILED
12-Jan-2021 11:49:03 > Task :core:compileJava FAILED
12-Jan-2021 11:49:04
12-Jan-2021 11:49:04 FAILURE: Build completed with 2 failures.
12-Jan-2021 11:49:04
12-Jan-2021 11:49:04 1: Task failed with an exception.
12-Jan-2021 11:49:04 -----------
12-Jan-2021 11:49:04 * What went wrong:
12-Jan-2021 11:49:04 Execution failed for task ':infra:jsondoclet-model:compileJava'.
12-Jan-2021 11:49:04 > java.lang.IllegalAccessError: class org.gradle.internal.compiler.java.ClassNameCollector (in unnamed module @0x5feae3ff) cannot access class com.sun.tools.javac.code.Symbol$TypeSymbol (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.code to unnamed module @0x5feae3ff
12-Jan-2021 11:49:04
12-Jan-2021 11:49:04 * Try:
12-Jan-2021 11:49:04 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.
12-Jan-2021 11:49:04 ==============================================================================
12-Jan-2021 11:49:04
12-Jan-2021 11:49:04 2: Task failed with an exception.
12-Jan-2021 11:49:04 -----------
12-Jan-2021 11:49:04 * What went wrong:
12-Jan-2021 11:49:04 Execution failed for task ':core:compileJava'.
12-Jan-2021 11:49:04 > java.lang.IllegalAccessError: class org.gradle.internal.compiler.java.ClassNameCollector (in unnamed module @0x5feae3ff) cannot access class com.sun.tools.javac.code.Symbol$TypeSymbol (in module jdk.compiler) because module jdk.compiler does not export com.sun.tools.javac.code to unnamed module @0x5feae3ff
12-Jan-2021 11:49:04
12-Jan-2021 11:49:04 > Task :doc:nodeSetup
12-Jan-2021 11:49:04 > Task :dcs:contexts:frontend:nodeSetup
12-Jan-2021 11:49:04 * Try:
12-Jan-2021 11:49:04 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.
12-Jan-2021 11:49:04 ==============================================================================
12-Jan-2021 11:49:04
12-Jan-2021 11:49:04 * Get more help at https://help.gradle.org
12-Jan-2021 11:49:04
12-Jan-2021 11:49:04 BUILD FAILED in 11s
12-Jan-2021 11:49:04 29 actionable tasks: 29 executed
12-Jan-2021 11:49:04 Failing task since return code of [/bin/sh /var/atlassian/application-data/bamboo/temp/C2-C2DCS-J9L-236-ScriptBuildTask-7270188727713013337.sh] was 1 while expected 0
12-Jan-2021 11:49:04 Finished task 'Assemble DCS distribution' with result: Failed
12-Jan-2021 11:49:04 Running post build plugin 'NCover Results Collector'
12-Jan-2021 11:49:04 Running post build plugin 'Artifact Copier'
12-Jan-2021 11:49:04 Publishing an artifact: Frontend customizer
12-Jan-2021 11:49:04 Finished publishing of artifact Required shared artifact: [Frontend customizer], pattern: [plausible-analytics.js] anchored at: [dcs/contexts/frontend/customizers/] in 2.314 ms
12-Jan-2021 11:49:04 Publishing an artifact: Frontend
12-Jan-2021 11:49:04 Unable to publish artifact [Frontend]: the source directory /var/atlassian/application-data/bamboo/xml-data/build-dir/C2-C2DCS-J9L/dcs/distribution/build/dist/web/frontend does not exist.
12-Jan-2021 11:49:04 The artifact is required, build will now fail.
12-Jan-2021 11:49:04 The artifact hasn't been successfully published after 994.1 μs
12-Jan-2021 11:49:04 Publishing an artifact: Service
12-Jan-2021 11:49:04 Unable to publish artifact [Service]: the source directory /var/atlassian/application-data/bamboo/xml-data/build-dir/C2-C2DCS-J9L/dcs/distribution/build/dist does not exist.
12-Jan-2021 11:49:04 The artifact is required, build will now fail.
12-Jan-2021 11:49:04 The artifact hasn't been successfully published after 50.87 μs
12-Jan-2021 11:49:04 Publishing an artifact: BuildProps
12-Jan-2021 11:49:04 Finished publishing of artifact Required shared artifact: [BuildProps], pattern: [build.properties] anchored at: [distribution/build] in 1.446 ms
12-Jan-2021 11:49:04 Running post build plugin 'npm Cache Cleanup'
12-Jan-2021 11:49:04 Running post build plugin 'Clover Results Collector'
12-Jan-2021 11:49:04 Running post build plugin 'Docker Container Cleanup'
12-Jan-2021 11:49:04 Finalising the build...
12-Jan-2021 11:49:04 Stopping timer.
12-Jan-2021 11:49:04 Build C2-C2DCS-J9L-236 completed.
12-Jan-2021 11:49:04 Running on server: post build plugin 'NCover Results Collector'
12-Jan-2021 11:49:04 Running on server: post build plugin 'Build Hanging Detection Configuration'
12-Jan-2021 11:49:04 Running on server: post build plugin 'Clover Delta Calculator'
12-Jan-2021 11:49:04 Running on server: post build plugin 'Maven Dependencies Postprocessor'
12-Jan-2021 11:49:04 All post build plugins have finished
12-Jan-2021 11:49:04 Generating build results summary...
12-Jan-2021 11:49:04 Saving build results to disk...
12-Jan-2021 11:49:04 Logging substituted variables...
12-Jan-2021 11:49:04 Indexing build results...
12-Jan-2021 11:49:04 Finished building C2-C2DCS-J9L-236.