Build: #22 failed

Job: Default Job failed

Stages & jobs

  1. Default Stage

Build log

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

06-Jul-2023 11:03:18 Build Atlassian - Atlassian Agent - Default Job #22 (AA-AA-JOB1-22) is being prepared for building on agent bamboo-agent-cb875cc4-qcpqj, bamboo version: 9.3.0
06-Jul-2023 11:03:19 Remote agent on host bamboo-agent-cb875cc4-qcpqj
06-Jul-2023 11:03:22 Build working directory is /var/atlassian/application-data/bamboo-agent/xml-data/build-dir/AA-AA-JOB1
06-Jul-2023 11:03:24 Executing build Atlassian - Atlassian Agent - Default Job #22 (AA-AA-JOB1-22)
06-Jul-2023 11:03:24 Starting task 'Source Code Checkout' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
06-Jul-2023 11:03:24 Build always requires a clean checkout
06-Jul-2023 11:03:24 Cleaning build directory '/var/atlassian/application-data/bamboo-agent/xml-data/build-dir/AA-AA-JOB1'
06-Jul-2023 11:03:24 Checking out into /var/atlassian/application-data/bamboo-agent/xml-data/build-dir/AA-AA-JOB1
06-Jul-2023 11:03:24 Updating source code to revision: 6f7a402d48b582cb585eff0460effc10af8d37da
06-Jul-2023 11:03:26 Fetching 'refs/heads/master' from 'ssh://git@bitbucket:7999/at/atlassian-agent.git'.
06-Jul-2023 11:03:26 Warning: Permanently added '[127.0.0.1]:40821' (RSA) to the list of known hosts.
06-Jul-2023 11:03:27 Checking out revision 6f7a402d48b582cb585eff0460effc10af8d37da.
06-Jul-2023 11:03:27 Creating local git repository in '/var/atlassian/application-data/bamboo-agent/xml-data/build-dir/AA-AA-JOB1/.git'.
06-Jul-2023 11:03:27 Cloning into '/var/atlassian/application-data/bamboo-agent/xml-data/build-dir/AA-AA-JOB1'...
06-Jul-2023 11:03:27 done.
06-Jul-2023 11:03:27 Already on 'master'
06-Jul-2023 11:03:27 Your branch is up to date with 'origin/master'.
06-Jul-2023 11:03:27 Updated source code to revision: 6f7a402d48b582cb585eff0460effc10af8d37da
06-Jul-2023 11:03:27 Finished task 'Source Code Checkout' with result: Success
06-Jul-2023 11:03:27 Running pre-build action: Build Log Labeller Pre Build Action
06-Jul-2023 11:03:27 Running pre-build action: VCS Version Collector
06-Jul-2023 11:03:27 Build Atlassian - Atlassian Agent - Default Job #22 (AA-AA-JOB1-22) started building on agent 'bamboo-agent-cb875cc4-qcpqj' (Remote agent on host bamboo-agent-cb875cc4-qcpqj)
06-Jul-2023 11:03:31 Starting task 'Maven 3.x' of type 'com.atlassian.bamboo.plugins.maven:task.builder.mvn3'
06-Jul-2023 11:03:31
Beginning to execute external process for build 'Atlassian - Atlassian Agent - Default Job #22 (AA-AA-JOB1-22)'
... running command line:
/opt/maven/bin/mvn --batch-mode -Djava.io.tmpdir=/tmp/AA-AA-JOB1 package
... in: /var/atlassian/application-data/bamboo-agent/xml-data/build-dir/AA-AA-JOB1
06-Jul-2023 11:03:34 [INFO] Scanning for projects...
06-Jul-2023 11:03:35 [INFO]
06-Jul-2023 11:03:35 [INFO] --------------< io.zhile.crack.atlassian:atlassian-agent >--------------
06-Jul-2023 11:03:35 [INFO] Building atlassian-agent 1.0
06-Jul-2023 11:03:35 [INFO] --------------------------------[ jar ]---------------------------------
06-Jul-2023 11:03:35 [INFO]
06-Jul-2023 11:03:35 [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ atlassian-agent ---
06-Jul-2023 11:03:36 [INFO] Using 'UTF-8' encoding to copy filtered resources.
06-Jul-2023 11:03:36 [INFO] skip non existing resourceDirectory /var/atlassian/application-data/bamboo-agent/xml-data/build-dir/AA-AA-JOB1/src/main/resources
06-Jul-2023 11:03:36 [INFO]
06-Jul-2023 11:03:36 [INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ atlassian-agent ---
06-Jul-2023 11:03:37 [INFO] Changes detected - recompiling the module!
06-Jul-2023 11:03:37 [INFO] Compiling 24 source files to /var/atlassian/application-data/bamboo-agent/xml-data/build-dir/AA-AA-JOB1/target/classes
06-Jul-2023 11:03:40 [INFO] -------------------------------------------------------------
06-Jul-2023 11:03:40 [ERROR] COMPILATION ERROR :
06-Jul-2023 11:03:40 [INFO] -------------------------------------------------------------
06-Jul-2023 11:03:40 [ERROR] /var/atlassian/application-data/bamboo-agent/xml-data/build-dir/AA-AA-JOB1/src/main/java/io/zhile/crack/atlassian/license/products/ThirdPlugin.java:[28,35] cannot find symbol
06-Jul-2023 11:03:40   symbol:   variable DATA_CENTER
06-Jul-2023 11:03:40   location: class io.zhile.crack.atlassian.license.LicenseType
06-Jul-2023 11:03:40 [INFO] 1 error
06-Jul-2023 11:03:40 [INFO] -------------------------------------------------------------
06-Jul-2023 11:03:40 [INFO] ------------------------------------------------------------------------
06-Jul-2023 11:03:40 [INFO] BUILD FAILURE
06-Jul-2023 11:03:40 [INFO] ------------------------------------------------------------------------
06-Jul-2023 11:03:40 [INFO] Total time:  5.249 s
06-Jul-2023 11:03:40 [INFO] Finished at: 2023-07-06T11:03:40Z
06-Jul-2023 11:03:40 [INFO] ------------------------------------------------------------------------
06-Jul-2023 11:03:40 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile (default-compile) on project atlassian-agent: Compilation failure
06-Jul-2023 11:03:40 [ERROR] /var/atlassian/application-data/bamboo-agent/xml-data/build-dir/AA-AA-JOB1/src/main/java/io/zhile/crack/atlassian/license/products/ThirdPlugin.java:[28,35] cannot find symbol
06-Jul-2023 11:03:40 [ERROR]   symbol:   variable DATA_CENTER
06-Jul-2023 11:03:40 [ERROR]   location: class io.zhile.crack.atlassian.license.LicenseType
06-Jul-2023 11:03:40 [ERROR] -> [Help 1]
06-Jul-2023 11:03:40 [ERROR]
06-Jul-2023 11:03:40 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
06-Jul-2023 11:03:40 [ERROR] Re-run Maven using the -X switch to enable full debug logging.
06-Jul-2023 11:03:40 [ERROR]
06-Jul-2023 11:03:40 [ERROR] For more information about the errors and possible solutions, please read the following articles:
06-Jul-2023 11:03:40 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
06-Jul-2023 11:03:40 Failing task since return code of [/opt/maven/bin/mvn --batch-mode -Djava.io.tmpdir=/tmp/AA-AA-JOB1 package] was 1 while expected 0
06-Jul-2023 11:03:40 Finished task 'Maven 3.x' with result: Failed
06-Jul-2023 11:03:40 Running post build plugin 'Docker Container Cleanup'
06-Jul-2023 11:03:40 Running post build plugin 'NCover Results Collector'
06-Jul-2023 11:03:40 Running post build plugin 'Build Results Label Collector'
06-Jul-2023 11:03:40 Running post build plugin 'Clover Results Collector'
06-Jul-2023 11:03:40 Running post build plugin 'npm Cache Cleanup'
06-Jul-2023 11:03:40 Running post build plugin 'Artifact Copier'
06-Jul-2023 11:03:40 Publishing an artifact: jar
06-Jul-2023 11:03:41 Failing as no matching files has been found and empty artifacts are not allowed.
06-Jul-2023 11:03:41 Unable to publish artifact [jar]:
06-Jul-2023 11:03:41 The artifact is required, build will now fail.
06-Jul-2023 11:03:41 The artifact hasn't been successfully published after 752.6 ms
06-Jul-2023 11:03:41 Finalising the build...
06-Jul-2023 11:03:41 Stopping timer.
06-Jul-2023 11:03:41 Build AA-AA-JOB1-22 completed.
06-Jul-2023 11:03:43 Running on server: post build plugin 'Build Hanging Detection Configuration'
06-Jul-2023 11:03:44 Running on server: post build plugin 'Bamboo project link creator'
06-Jul-2023 11:03:44 Running on server: post build plugin 'NCover Results Collector'
06-Jul-2023 11:03:44 Running on server: post build plugin 'Build Labeller'
06-Jul-2023 11:03:44 Running on server: post build plugin 'Clover Delta Calculator'
06-Jul-2023 11:03:44 Running on server: post build plugin 'Maven Dependencies Postprocessor'
06-Jul-2023 11:03:44 All post build plugins have finished
06-Jul-2023 11:03:44 Generating build results summary...
06-Jul-2023 11:03:44 Saving build results to disk...
06-Jul-2023 11:03:44 Store variable context...
06-Jul-2023 11:03:47 Finished building AA-AA-JOB1-22.