Build: #154 failed

Job: Build Application failed

Stages & jobs

  1. Build Application

  2. Tests

  3. Build Distro

  4. Create Docs

    Requires a user to start manually

Build log

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

03-May-2021 23:36:27 Build Goma - Goma - Build Application #154 (GOMA-GOMA-JOB1-154) started building on agent MilkyWay Build Agent Slave, bamboo version: 7.1.4
03-May-2021 23:36:27
03-May-2021 23:36:27 Build working directory is /var/atlassian/application-data/bamboo/xml-data/build-dir/30048257/GOMA-GOMA-JOB1
03-May-2021 23:36:27 Executing build Goma - Goma - Build Application #154 (GOMA-GOMA-JOB1-154)
03-May-2021 23:36:27 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
03-May-2021 23:36:27 Checking out into /var/atlassian/application-data/bamboo/xml-data/build-dir/30048257/GOMA-GOMA-JOB1
03-May-2021 23:36:27 Updating source code to revision: ac80a632bb9b77f324679a088d23561ac3139ebb
03-May-2021 23:36:27 Fetching 'refs/heads/develop' from 'ssh://git@repo.goma-cms.org:7999/goma/goma.git'.
03-May-2021 23:36:27 Warning: Permanently added '[127.0.0.1]:45441' (RSA) to the list of known hosts.
03-May-2021 23:36:27 From ssh://127.0.0.1:45441/goma/goma
03-May-2021 23:36:27    313abb2f..ac80a632  develop    -> develop
03-May-2021 23:36:27 Checking out revision ac80a632bb9b77f324679a088d23561ac3139ebb.
03-May-2021 23:36:27 Already on 'develop'
03-May-2021 23:36:27 Updated source code to revision: ac80a632bb9b77f324679a088d23561ac3139ebb
03-May-2021 23:36:27 Finished task 'Checkout Default Repository' with result: Success
03-May-2021 23:36:27 Running pre-build action: VCS Version Collector
03-May-2021 23:36:27 Starting task 'Build Application' of type 'com.atlassian.bamboo.plugins.scripttask:task.builder.script'
03-May-2021 23:36:27
Beginning to execute external process for build 'Goma - Goma - Build Application #154 (GOMA-GOMA-JOB1-154)'
... running command line:
/bin/sh /var/atlassian/application-data/bamboo/temp/GOMA-GOMA-JOB1-154-ScriptBuildTask-4257631021722105042.sh
... in: /var/atlassian/application-data/bamboo/xml-data/build-dir/30048257/GOMA-GOMA-JOB1
... using extra environment variables:
bamboo_planRepository_1_branch=develop
bamboo_planRepository_1_branchDisplayName=develop
bamboo_repository_revision_number=ac80a632bb9b77f324679a088d23561ac3139ebb
bamboo_resultsUrl=https://bamboo.goma-cms.org/browse/GOMA-GOMA-JOB1-154
bamboo_build_working_directory=/var/atlassian/application-data/bamboo/xml-data/build-dir/30048257/GOMA-GOMA-JOB1
bamboo_planRepository_1_name=Goma
bamboo_buildKey=GOMA-GOMA-JOB1
bamboo_capability_system_builder_phpunit_PHPUnit_9_5_Andromeda_Native=/home/bamboo-agent/phpunit/phpunit-9.5.phar
bamboo_shortPlanName=Goma
bamboo_MYSQL_TABLE_PREFIX=gomacms_
bamboo_planRepository_name=Goma
bamboo_buildNumber=154
bamboo_shortJobName=Build Application
bamboo_buildResultsUrl=https://bamboo.goma-cms.org/browse/GOMA-GOMA-JOB1-154
bamboo_repository_31227909_git_username=
bamboo_planRepository_repositoryUrl=ssh://git@repo.goma-cms.org:7999/goma/goma.git
bamboo_GOMA_USER=admin
bamboo_agentId=30048257
bamboo_planName=Goma - Goma
bamboo_shortPlanKey=GOMA
bamboo_shortJobKey=JOB1
bamboo_repository_31227909_name=Goma
bamboo_MYSQL_USER=goma
bamboo_planRepository_revision=ac80a632bb9b77f324679a088d23561ac3139ebb
bamboo_buildTimeStamp=2021-05-03T23:36:27.360Z
bamboo_repository_previous_revision_number=313abb2f6c88de0754b191f2bf518be5718dcc55
bamboo_planRepository_previousRevision=313abb2f6c88de0754b191f2bf518be5718dcc55
bamboo_repository_31227909_git_repositoryUrl=ssh://git@repo.goma-cms.org:7999/goma/goma.git
bamboo_repository_git_branch=develop
bamboo_buildResultKey=GOMA-GOMA-JOB1-154
bamboo_repository_branch_name=develop
bamboo_buildPlanName=Goma - Goma - Build Application
bamboo_repository_31227909_git_branch=develop
bamboo_planRepository_1_revision=ac80a632bb9b77f324679a088d23561ac3139ebb
bamboo_repository_name=Goma
bamboo_repository_31227909_revision_number=ac80a632bb9b77f324679a088d23561ac3139ebb
bamboo_capability_OS=Linux
bamboo_buildFailed=false
bamboo_MYSQL_PASSWORD=********
bamboo_planRepository_branch=develop
bamboo_agentWorkingDirectory=/var/atlassian/application-data/bamboo/xml-data/build-dir/30048257
bamboo_capability_system_git_executable=/usr/bin/git
bamboo_repository_git_username=
bamboo_planRepository_1_previousRevision=313abb2f6c88de0754b191f2bf518be5718dcc55
bamboo_planRepository_branchDisplayName=develop
bamboo_planRepository_1_type=bbserver
bamboo_planRepository_branchName=develop
bamboo_repository_31227909_previous_revision_number=313abb2f6c88de0754b191f2bf518be5718dcc55
bamboo_plan_storageTag=plan-1114123
bamboo_hg_cache_directory=/var/atlassian/application-data/bamboo/xml-data/build-dir/_hg-repositories-cache
bamboo_planRepository_1_username=
bamboo_planRepository_type=bbserver
bamboo_MYSQL_HOST=127.0.0.1
bamboo_git_cache_directory=/var/atlassian/application-data/bamboo/xml-data/build-dir/_git-repositories-cache
bamboo_repository_git_repositoryUrl=ssh://git@repo.goma-cms.org:7999/goma/goma.git
bamboo_DATABASE=goma_test_
bamboo_tmp_directory=/var/atlassian/application-data/bamboo/temp
bamboo_working_directory=/var/atlassian/application-data/bamboo/xml-data/build-dir/30048257/GOMA-GOMA-JOB1
bamboo_capability_system_builder_phpunit_PHPUnit_via_composer=./phpunit
bamboo_planKey=GOMA-GOMA
bamboo_planRepository_1_repositoryUrl=ssh://git@repo.goma-cms.org:7999/goma/goma.git
bamboo_planRepository_username=
bamboo_GOMA_DIRECTORY=gomacms
bamboo_GOMA_PASSWORD=********
bamboo_capability_GomaServer=1
bamboo_planRepository_1_branchName=develop
bamboo_repository_31227909_branch_name=develop
03-May-2021 23:36:27 LICENSE.txt
03-May-2021 23:36:27 README.md
03-May-2021 23:36:27 gomacms
03-May-2021 23:36:27 index.php
03-May-2021 23:36:27 phpunit.xml
03-May-2021 23:36:27 /var/atlassian/application-data/bamboo/temp/GOMA-GOMA-JOB1-154-ScriptBuildTask-4257631021722105042.sh: 3: Bad substitution
03-May-2021 23:36:27 robots.txt
03-May-2021 23:36:27 system
03-May-2021 23:36:27 tpl
03-May-2021 23:36:27 Failing task since return code of [/bin/sh /var/atlassian/application-data/bamboo/temp/GOMA-GOMA-JOB1-154-ScriptBuildTask-4257631021722105042.sh] was 2 while expected 0
03-May-2021 23:36:27 Finished task 'Build Application' with result: Failed
03-May-2021 23:36:27 Skipping execution of task 'MySQL Dump' as it is disabled
03-May-2021 23:36:27 Running post build plugin 'NCover Results Collector'
03-May-2021 23:36:27 Running post build plugin 'Artifact Copier'
03-May-2021 23:36:27 Publishing an artifact: MySQL Dump Build
03-May-2021 23:36:27 Unable to publish artifact [MySQL Dump Build]:
03-May-2021 23:36:27 The artifact hasn't been successfully published after 2.331 ms
03-May-2021 23:36:27 Publishing an artifact: DB Config
03-May-2021 23:36:27 Unable to publish artifact [DB Config]:
03-May-2021 23:36:27 The artifact is required for down stream Stages and Jobs, build will now fail.
03-May-2021 23:36:27 The artifact hasn't been successfully published after 1.288 ms
03-May-2021 23:36:27 Publishing an artifact: Config
03-May-2021 23:36:27 Unable to publish artifact [Config]:
03-May-2021 23:36:27 The artifact is required for down stream Stages and Jobs, build will now fail.
03-May-2021 23:36:27 The artifact hasn't been successfully published after 2.068 ms
03-May-2021 23:36:27 Running post build plugin 'npm Cache Cleanup'
03-May-2021 23:36:27 Running post build plugin 'Clover Results Collector'
03-May-2021 23:36:27 Running post build plugin 'Docker Container Cleanup'
03-May-2021 23:36:27 Finalising the build...
03-May-2021 23:36:27 Stopping timer.
03-May-2021 23:36:27 Build GOMA-GOMA-JOB1-154 completed.
03-May-2021 23:36:27 Running on server: post build plugin 'NCover Results Collector'
03-May-2021 23:36:27 Running on server: post build plugin 'Build Hanging Detection Configuration'
03-May-2021 23:36:27 Running on server: post build plugin 'Clover Delta Calculator'
03-May-2021 23:36:27 Running on server: post build plugin 'Maven Dependencies Postprocessor'
03-May-2021 23:36:27 All post build plugins have finished
03-May-2021 23:36:27 Generating build results summary...
03-May-2021 23:36:27 Saving build results to disk...
03-May-2021 23:36:27 Store variable context...
03-May-2021 23:36:27 Indexing build results...
03-May-2021 23:36:27 Finished building GOMA-GOMA-JOB1-154.