simple 02-Mar-2023 16:36:23 Build OpenMRS Core - Openmrs Core 2.3.x - Deploy #101 (TRUNK-OC3-DEP-101) started building on agent yu.openmrs.org (2), bamboo version: 8.2.4 simple 02-Mar-2023 16:36:23 Remote agent on host yu.openmrs.org simple 02-Mar-2023 16:36:23 Build working directory is /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-OC3-DEP simple 02-Mar-2023 16:36:23 Executing build OpenMRS Core - Openmrs Core 2.3.x - Deploy #101 (TRUNK-OC3-DEP-101) simple 02-Mar-2023 16:36:23 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 02-Mar-2023 16:36:23 Checking out into /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-OC3-DEP simple 02-Mar-2023 16:36:23 Updating source code to revision: 6d88f818c7f7f98ed5ce1f638319e56b932a7cd5 simple 02-Mar-2023 16:36:23 Creating local git repository in '/home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-OC3-DEP/.git'. simple 02-Mar-2023 16:36:23 hint: Using 'master' as the name for the initial branch. This default branch name simple 02-Mar-2023 16:36:23 hint: is subject to change. To configure the initial branch name to use in all simple 02-Mar-2023 16:36:23 hint: of your new repositories, which will suppress this warning, call: simple 02-Mar-2023 16:36:23 hint: simple 02-Mar-2023 16:36:23 hint: git config --global init.defaultBranch simple 02-Mar-2023 16:36:23 hint: simple 02-Mar-2023 16:36:23 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and simple 02-Mar-2023 16:36:23 hint: 'development'. The just-created branch can be renamed via this command: simple 02-Mar-2023 16:36:23 hint: simple 02-Mar-2023 16:36:23 hint: git branch -m simple 02-Mar-2023 16:36:23 Initialized empty Git repository in /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-OC3-DEP/.git/ simple 02-Mar-2023 16:36:23 Fetching 'refs/heads/2.3.x' from 'https://github.com/openmrs/openmrs-core.git'. Will try to do a shallow fetch. simple 02-Mar-2023 16:36:25 From https://github.com/openmrs/openmrs-core simple 02-Mar-2023 16:36:25 * [new branch] 2.3.x -> 2.3.x simple 02-Mar-2023 16:36:25 Checking out revision 6d88f818c7f7f98ed5ce1f638319e56b932a7cd5. simple 02-Mar-2023 16:36:25 Switched to branch '2.3.x' simple 02-Mar-2023 16:36:25 Updated source code to revision: 6d88f818c7f7f98ed5ce1f638319e56b932a7cd5 simple 02-Mar-2023 16:36:25 Finished task 'Checkout Default Repository' with result: Success simple 02-Mar-2023 16:36:25 Running pre-build action: Build Log Labeller Pre Build Action simple 02-Mar-2023 16:36:25 Running pre-build action: VCS Version Collector simple 02-Mar-2023 16:36:25 Running pre-build action: Run Predator simple 02-Mar-2023 16:36:25 [PredatorPreBuildAction] Starting predator plugin, pre build agent cleaner simple 02-Mar-2023 16:36:25 [PredatorPreBuildAction] Running these commands: /opt/scripts/cleanup-before-building.sh simple 02-Mar-2023 16:36:25 [PredatorPreBuildAction] Running command '[/opt/scripts/cleanup-before-building.sh]' simple 02-Mar-2023 16:36:25 [PredatorPreBuildAction] Command '[/opt/scripts/cleanup-before-building.sh]' completed with exit code 0 simple 02-Mar-2023 16:36:25 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 2036 java 1487 bamboo-age 2978Mb 620Mb 00:31:49 /usr/lib/jvm/java-8-ope simple 02-Mar-2023 16:36:25 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1487 wrapper 1 bamboo-age 16Mb 2Mb 00:08:12 /home/bamboo-agent/bamb simple 02-Mar-2023 16:36:25 [PredatorPreBuildAction] Identifying Bamboo agent process (or parent): 1 systemd 0 root 164Mb 11Mb 00:01:23 /sbin/init simple 02-Mar-2023 16:36:25 [PredatorPreBuildAction] No processes found for (chromium|chrome|webdriver|mysql|java|mvn|node|npm) simple 02-Mar-2023 16:36:25 [PredatorPreBuildAction] Initial free space: 3.8581657 GB simple 02-Mar-2023 16:36:25 [PredatorPreBuildAction] Deleting folder /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-OC3-IT simple 02-Mar-2023 16:36:26 [PredatorPreBuildAction] Deleting 10 snapshot folders from /home/bamboo-agent/.m2/repository simple 02-Mar-2023 16:36:26 [PredatorPreBuildAction] Maven snapshot disk freed: 0 GB simple 02-Mar-2023 16:36:26 [PredatorPreBuildAction] 0 empty artifacts were found and deleted by Predator simple 02-Mar-2023 16:36:26 [PredatorPreBuildAction] Maven stable disk freed: 0.5291418 GB, deleted 148 files simple 02-Mar-2023 16:36:26 [PredatorPreBuildAction] File /home/bamboo-agent/.npmrc does not exist. simple 02-Mar-2023 16:36:26 [PredatorPreBuildAction] File /home/bamboo-agent/.docker/config.json does not exist. simple 02-Mar-2023 16:36:26 [PredatorPreBuildAction] File /home/bamboo-agent/.OpenMRS/liquibaseUpdateLogs.txt does not exist. simple 02-Mar-2023 16:36:26 [PredatorPreBuildAction] Final free space: 3.919651 GB simple 02-Mar-2023 16:36:26 [PredatorPreBuildAction] Done command 02-Mar-2023 16:36:26 Substituting variable: ${bamboo.mavenDeployGoals} with clean deploy -DskipTests simple 02-Mar-2023 16:36:26 Starting task 'Maven 3.x' of type 'com.atlassian.bamboo.plugins.maven:task.builder.mvn3' command 02-Mar-2023 16:36:26 Beginning to execute external process for build 'OpenMRS Core - Openmrs Core 2.3.x - Deploy #101 (TRUNK-OC3-DEP-101)'\n ... running command line: \n/usr/share/apache-maven-3.8.6/bin/mvn --batch-mode -Djava.io.tmpdir=/home/bamboo-agent/bamboo-agent/.agent_tmp/TRUNK-OC3-DEP clean deploy -DskipTests\n ... in: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-OC3-DEP\n build 02-Mar-2023 16:36:28 [INFO] Scanning for projects... build 02-Mar-2023 16:36:28 [INFO] ------------------------------------------------------------------------ build 02-Mar-2023 16:36:28 [INFO] Reactor Build Order: build 02-Mar-2023 16:36:28 [INFO] build 02-Mar-2023 16:36:28 [INFO] OpenMRS [pom] build 02-Mar-2023 16:36:28 [INFO] openmrs-tools [jar] build 02-Mar-2023 16:36:28 [INFO] openmrs-test [pom] build 02-Mar-2023 16:36:28 [INFO] openmrs-api [jar] build 02-Mar-2023 16:36:28 [INFO] openmrs-web [jar] build 02-Mar-2023 16:36:28 [INFO] openmrs-webapp [war] build 02-Mar-2023 16:36:28 [INFO] build 02-Mar-2023 16:36:28 [INFO] ------------------------< org.openmrs:openmrs >------------------------- build 02-Mar-2023 16:36:28 [INFO] Building OpenMRS 2.3.6-SNAPSHOT [1/6] build 02-Mar-2023 16:36:28 [INFO] --------------------------------[ pom ]--------------------------------- build 02-Mar-2023 16:36:28 [INFO] build 02-Mar-2023 16:36:28 [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs --- build 02-Mar-2023 16:36:28 [INFO] build 02-Mar-2023 16:36:28 [INFO] --- buildnumber-maven-plugin:1.1:create (default) @ openmrs --- build 02-Mar-2023 16:36:29 [INFO] Checking for local modifications: skipped. build 02-Mar-2023 16:36:29 [INFO] Updating project files from SCM: skipped. build 02-Mar-2023 16:36:29 [INFO] ShortRevision tag detected. The value is '6'. build 02-Mar-2023 16:36:29 [INFO] Executing: /bin/sh -c cd /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-OC3-DEP && git rev-parse --verify --short=6 HEAD build 02-Mar-2023 16:36:29 [INFO] Working directory: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-OC3-DEP build 02-Mar-2023 16:36:29 [INFO] Storing buildNumber: 6d88f8 at timestamp: 1677774989174 build 02-Mar-2023 16:36:29 [INFO] ShortRevision tag detected. The value is '6'. build 02-Mar-2023 16:36:29 [INFO] Executing: /bin/sh -c cd /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-OC3-DEP && git rev-parse --verify --short=6 HEAD build 02-Mar-2023 16:36:29 [INFO] Working directory: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-OC3-DEP build 02-Mar-2023 16:36:29 [INFO] Storing buildScmBranch: UNKNOWN build 02-Mar-2023 16:36:29 [INFO] build 02-Mar-2023 16:36:29 [INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs --- build 02-Mar-2023 16:36:29 [INFO] build 02-Mar-2023 16:36:29 [INFO] --- maven-jar-plugin:2.3.2:test-jar (default) @ openmrs --- build 02-Mar-2023 16:36:29 [WARNING] JAR will be empty - no content was marked for inclusion! build 02-Mar-2023 16:36:29 [INFO] Building jar: /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-OC3-DEP/target/openmrs-2.3.6-SNAPSHOT-tests.jar build 02-Mar-2023 16:36:29 [INFO] build 02-Mar-2023 16:36:29 [INFO] --- license-maven-plugin:3.0:check (default) @ openmrs --- build 02-Mar-2023 16:36:29 [INFO] Checking licenses... build 02-Mar-2023 16:36:30 [INFO] build 02-Mar-2023 16:36:30 [INFO] --- maven-install-plugin:2.4:install (default-install) @ openmrs --- build 02-Mar-2023 16:36:30 [INFO] Installing /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-OC3-DEP/pom.xml to /home/bamboo-agent/.m2/repository/org/openmrs/openmrs/2.3.6-SNAPSHOT/openmrs-2.3.6-SNAPSHOT.pom build 02-Mar-2023 16:36:30 [INFO] ------------------------------------------------------------------------ build 02-Mar-2023 16:36:30 [INFO] Reactor Summary for OpenMRS 2.3.6-SNAPSHOT: build 02-Mar-2023 16:36:30 [INFO] build 02-Mar-2023 16:36:30 [INFO] OpenMRS ............................................ FAILURE [ 1.978 s] build 02-Mar-2023 16:36:30 [INFO] openmrs-tools ...................................... SKIPPED build 02-Mar-2023 16:36:30 [INFO] openmrs-test ....................................... SKIPPED build 02-Mar-2023 16:36:30 [INFO] openmrs-api ........................................ SKIPPED build 02-Mar-2023 16:36:30 [INFO] openmrs-web ........................................ SKIPPED build 02-Mar-2023 16:36:30 [INFO] openmrs-webapp ..................................... SKIPPED build 02-Mar-2023 16:36:30 [INFO] ------------------------------------------------------------------------ build 02-Mar-2023 16:36:30 [INFO] BUILD FAILURE build 02-Mar-2023 16:36:30 [INFO] ------------------------------------------------------------------------ build 02-Mar-2023 16:36:30 [INFO] Total time: 2.219 s build 02-Mar-2023 16:36:30 [INFO] Finished at: 2023-03-02T16:36:30Z build 02-Mar-2023 16:36:30 [INFO] ------------------------------------------------------------------------ build 02-Mar-2023 16:36:30 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-install-plugin:2.4:install (default-install) on project openmrs: Failed to install metadata org.openmrs:openmrs/maven-metadata.xml: Could not write metadata /home/bamboo-agent/.m2/repository/org/openmrs/openmrs/maven-metadata-local.xml: /home/bamboo-agent/.m2/repository/org/openmrs/openmrs/maven-metadata-local.xml (Permission denied) -> [Help 1] build 02-Mar-2023 16:36:30 [ERROR] build 02-Mar-2023 16:36:30 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch. build 02-Mar-2023 16:36:30 [ERROR] Re-run Maven using the -X switch to enable full debug logging. build 02-Mar-2023 16:36:30 [ERROR] build 02-Mar-2023 16:36:30 [ERROR] For more information about the errors and possible solutions, please read the following articles: build 02-Mar-2023 16:36:30 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException simple 02-Mar-2023 16:36:30 Failing task since return code of [/usr/share/apache-maven-3.8.6/bin/mvn --batch-mode -Djava.io.tmpdir=/home/bamboo-agent/bamboo-agent/.agent_tmp/TRUNK-OC3-DEP clean deploy -DskipTests] was 1 while expected 0 simple 02-Mar-2023 16:36:30 Finished task 'Maven 3.x' with result: Failed simple 02-Mar-2023 16:36:30 Running post build plugin 'Docker Container Cleanup' simple 02-Mar-2023 16:36:30 Running post build plugin 'NCover Results Collector' simple 02-Mar-2023 16:36:30 Running post build plugin 'Build Results Label Collector' simple 02-Mar-2023 16:36:30 Running post build plugin 'Clover Results Collector' simple 02-Mar-2023 16:36:30 Running post build plugin 'npm Cache Cleanup' simple 02-Mar-2023 16:36:30 Running post build plugin 'Artifact Copier' simple 02-Mar-2023 16:36:30 Publishing an artifact: openmrs 1.11 war error 02-Mar-2023 16:36:30 Unable to publish artifact [openmrs 1.11 war]: the source directory /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-OC3-DEP/webapp/target does not exist. simple 02-Mar-2023 16:36:30 The artifact hasn't been successfully published after 306.5 μs simple 02-Mar-2023 16:36:30 Publishing an artifact: openmrs 1.11 api jar error 02-Mar-2023 16:36:30 Unable to publish artifact [openmrs 1.11 api jar]: the source directory /home/bamboo-agent/bamboo-agent/xml-data/build-dir/TRUNK-OC3-DEP/webapp/target/openmrs/WEB-INF/lib does not exist. simple 02-Mar-2023 16:36:30 The artifact hasn't been successfully published after 115.8 μs simple 02-Mar-2023 16:36:30 Finalising the build... simple 02-Mar-2023 16:36:30 Stopping timer. simple 02-Mar-2023 16:36:30 Build TRUNK-OC3-DEP-101 completed. simple 02-Mar-2023 16:36:30 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 02-Mar-2023 16:36:30 Running on server: post build plugin 'NCover Results Collector' simple 02-Mar-2023 16:36:30 Running on server: post build plugin 'Build Labeller' simple 02-Mar-2023 16:36:30 Running on server: post build plugin 'Clover Delta Calculator' simple 02-Mar-2023 16:36:30 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 02-Mar-2023 16:36:30 All post build plugins have finished simple 02-Mar-2023 16:36:30 Generating build results summary... simple 02-Mar-2023 16:36:30 Saving build results to disk... simple 02-Mar-2023 16:36:30 Store variable context... simple 02-Mar-2023 16:36:30 Finished building TRUNK-OC3-DEP-101.