Build: #138 failed

Job: PHP 7.3 - SQLite Package failed

Stages & jobs

  1. Default Stage

Build log

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

01-Apr-2017 08:57:58 Build phpBB3 - Development Docker Master - PHP 5.6 - SQLite Package #138 (PHPBB3-DDM-P5SP-138) started building on agent Default Agent
01-Apr-2017 08:57:58
01-Apr-2017 08:57:58 Build working directory is /home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP
01-Apr-2017 08:57:58 Executing build phpBB3 - Development Docker Master - PHP 5.6 - SQLite Package #138 (PHPBB3-DDM-P5SP-138)
01-Apr-2017 08:57:58 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
01-Apr-2017 08:57:58 Updating source code to revision: 798dda2cbc2901b9b2ef85b721b344fb5b24e95b
01-Apr-2017 08:57:59 Fetching 'refs/heads/master' from 'https://github.com/phpbb/phpbb.git'.
01-Apr-2017 08:58:00 Checking out revision 798dda2cbc2901b9b2ef85b721b344fb5b24e95b.
01-Apr-2017 08:58:00 Creating local git repository in '/home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP/.git'.
01-Apr-2017 08:58:00 Cloning into '/home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP'...
01-Apr-2017 08:58:00 done.
01-Apr-2017 08:58:03 Already on 'master'
01-Apr-2017 08:58:03 Updated source code to revision: 798dda2cbc2901b9b2ef85b721b344fb5b24e95b
01-Apr-2017 08:58:03 Finished task 'Checkout Default Repository' with result: Success
01-Apr-2017 08:58:03 Running pre-build action: VCS Version Collector
01-Apr-2017 08:58:03
Substituting variable: ${bamboo.working.directory} with /home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP
01-Apr-2017 08:58:03 Starting task 'Build image' of type 'com.atlassian.bamboo.plugins.bamboo-docker-plugin:task.docker.cli'
01-Apr-2017 08:58:03
Beginning to execute external process for build 'phpBB3 - Development Docker Master - PHP 5.6 - SQLite Package #138 (PHPBB3-DDM-P5SP-138)'
... running command line:
/usr/bin/docker build --force-rm=true --tag=phpbb:php-5.6 /home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP
... in: /home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP
... using extra environment variables:
bamboo_planRepository_1_branch=master
bamboo_repository_75956230_previous_revision_number=b4478676b5fbdc81a1aa146805538c6aa2121389
bamboo_planRepository_1_branchDisplayName=master
bamboo_repository_revision_number=798dda2cbc2901b9b2ef85b721b344fb5b24e95b
bamboo_resultsUrl=https://bamboo.phpbb.com/browse/PHPBB3-DDM-P5SP-138
bamboo_capability_system_builder_command_Git=/usr/bin/git
bamboo_planRepository_1_name=phpBB Master
bamboo_build_working_directory=/home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP
bamboo_buildKey=PHPBB3-DDM-P5SP
bamboo_capability_phpbb_tests=true
bamboo_shortPlanName=Development Docker Master
bamboo_capability_system_builder_command_fop=/usr/bin/fop
bamboo_capability_dbms_sqlite_2=true
bamboo_planRepository_name=phpBB Master
bamboo_repository_75956230_git_branch=master
bamboo_buildNumber=138
bamboo_capability_system_builder_phpunit_PHPUnit=/usr/bin/phpunit
bamboo_repository_75956230_name=phpBB Master
bamboo_shortJobName=PHP 5.6 - SQLite Package
bamboo_buildResultsUrl=https://bamboo.phpbb.com/browse/PHPBB3-DDM-P5SP-138
bamboo_planRepository_repositoryUrl=https://github.com/phpbb/phpbb.git
bamboo_repository_75956230_git_repositoryUrl=https://github.com/phpbb/phpbb.git
bamboo_agentId=131073
bamboo_planName=phpBB3 - Development Docker Master
bamboo_shortPlanKey=DDM
bamboo_shortJobKey=P5SP
bamboo_capability_dbms_mysql_55=true
bamboo_capability_system_jdk_JDK_1_7_0_65=/usr/lib/jvm/java-7-openjdk-amd64
bamboo_planRepository_revision=798dda2cbc2901b9b2ef85b721b344fb5b24e95b
bamboo_repository_previous_revision_number=b4478676b5fbdc81a1aa146805538c6aa2121389
bamboo_buildTimeStamp=2017-04-01T08:54:32.314Z
bamboo_planRepository_previousRevision=b4478676b5fbdc81a1aa146805538c6aa2121389
bamboo_capability_system_builder_mvn2_Maven_2=/usr/share/maven2
bamboo_capability_system_jdk_JDK_1_6_0_16=/usr/lib/jvm/java-6-sun-1.6.0.16
bamboo_buildResultKey=PHPBB3-DDM-P5SP-138
bamboo_repository_git_branch=master
bamboo_repository_branch_name=master
bamboo_buildPlanName=phpBB3 - Development Docker Master - PHP 5.6 - SQLite Package
bamboo_planRepository_1_revision=798dda2cbc2901b9b2ef85b721b344fb5b24e95b
bamboo_repository_name=phpBB Master
bamboo_capability_system_docker_executable=/usr/bin/docker
bamboo_repository_75956230_git_username=
bamboo_planRepository_branch=master
bamboo_agentWorkingDirectory=/home/bamboo/xml-data/build-dir
bamboo_capability_system_git_executable=/usr/bin/git
bamboo_planRepository_1_previousRevision=b4478676b5fbdc81a1aa146805538c6aa2121389
bamboo_capability_system_builder_phpunit_PHPUnit_3_4=/usr/bin/phpunit
bamboo_repository_git_username=
bamboo_repository_75956230_branch_name=master
bamboo_planRepository_branchDisplayName=master
bamboo_planRepository_1_type=gitv2
bamboo_planRepository_branchName=master
bamboo_capability_system_jdk_JDK=/usr/lib/jvm/java-6-sun
bamboo_plan_storageTag=PHPBB3-DDM
bamboo_planRepository_type=gitv2
bamboo_planRepository_1_username=
bamboo_repository_git_repositoryUrl=https://github.com/phpbb/phpbb.git
bamboo_capability_system_builder_ant_Ant=/usr/share/ant
bamboo_repository_75956230_revision_number=798dda2cbc2901b9b2ef85b721b344fb5b24e95b
bamboo_working_directory=/home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP
bamboo_planKey=PHPBB3-DDM
bamboo_planRepository_1_repositoryUrl=https://github.com/phpbb/phpbb.git
bamboo_planRepository_username=
bamboo_capability_local=true
bamboo_capability_system_jdk_JDK_1_6=/usr/lib/jvm/java-6-sun
bamboo_capability_system_jdk_JDK_1_7=/usr/lib/jvm/java-7-openjdk-amd64
bamboo_planRepository_1_branchName=master
01-Apr-2017 08:58:04 Sending build context to Docker daemon 18.81 MB
01-Apr-2017 08:58:04
01-Apr-2017 08:58:04 Step 1/6 : FROM php:5.6
01-Apr-2017 08:58:04 ---> 9054a11bc5cd
01-Apr-2017 08:58:04 Step 2/6 : RUN apt-get update && apt-get install -y         git         zlib1g-dev         bzip2         zip         && docker-php-ext-install -j$(nproc) zip
01-Apr-2017 08:58:04 ---> Using cache
01-Apr-2017 08:58:04 ---> e37d9a254ed4
01-Apr-2017 08:58:04 Step 3/6 : RUN pecl install xdebug
01-Apr-2017 08:58:04 ---> Using cache
01-Apr-2017 08:58:04 ---> 79bed6e2a1f0
01-Apr-2017 08:58:04 Step 4/6 : RUN docker-php-ext-enable xdebug
01-Apr-2017 08:58:04 ---> Using cache
01-Apr-2017 08:58:04 ---> ab9dca892257
01-Apr-2017 08:58:04 Step 5/6 : RUN echo "memory_limit = 1024M" >> /usr/local/etc/php/conf.d/memory.ini
01-Apr-2017 08:58:04 ---> Using cache
01-Apr-2017 08:58:04 ---> d7496cc92d91
01-Apr-2017 08:58:04 Step 6/6 : RUN git config --system user.name Docker && git config --system user.email docker@localhost
01-Apr-2017 08:58:04 ---> Running in c3a7a02e07be
01-Apr-2017 08:58:08 ---> 4c704075ab9c
01-Apr-2017 08:58:08 Removing intermediate container c3a7a02e07be
01-Apr-2017 08:58:08 Successfully built 4c704075ab9c
01-Apr-2017 08:58:08 Built Docker image 'phpbb:php-5.6'
01-Apr-2017 08:58:08 Finished task 'Build image' with result: Success
01-Apr-2017 08:58:08
Substituting variable: ${bamboo.working.directory} with /home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP
01-Apr-2017 08:58:08 Starting task 'Package release files' of type 'com.atlassian.bamboo.plugins.bamboo-docker-plugin:task.docker.cli'
01-Apr-2017 08:58:08 Running image name (phpbb:php-5.6)
01-Apr-2017 08:58:08
Beginning to execute external process for build 'phpBB3 - Development Docker Master - PHP 5.6 - SQLite Package #138 (PHPBB3-DDM-P5SP-138)'
... running command line:
/usr/bin/docker run --volume /home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP:/data --workdir /data/phpBB --rm -u=992 -t --volume /home/bamboo/xml-data/build-dir/_git-repositories-cache/:/home/bamboo/xml-data/build-dir/_git-repositories-cache/ phpbb:php-5.6 /bin/bash -c php ../composer.phar install --dev; cd ../build; git fetch --tags https://github.com/phpbb/phpbb.git 2>&1; ../phpBB/vendor/bin/phing package
... in: /home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP
... using extra environment variables:
bamboo_planRepository_1_branch=master
bamboo_repository_75956230_previous_revision_number=b4478676b5fbdc81a1aa146805538c6aa2121389
bamboo_planRepository_1_branchDisplayName=master
bamboo_repository_revision_number=798dda2cbc2901b9b2ef85b721b344fb5b24e95b
bamboo_resultsUrl=https://bamboo.phpbb.com/browse/PHPBB3-DDM-P5SP-138
bamboo_capability_system_builder_command_Git=/usr/bin/git
bamboo_planRepository_1_name=phpBB Master
bamboo_build_working_directory=/home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP
bamboo_buildKey=PHPBB3-DDM-P5SP
bamboo_capability_phpbb_tests=true
bamboo_shortPlanName=Development Docker Master
bamboo_capability_system_builder_command_fop=/usr/bin/fop
bamboo_capability_dbms_sqlite_2=true
bamboo_planRepository_name=phpBB Master
bamboo_repository_75956230_git_branch=master
bamboo_buildNumber=138
bamboo_capability_system_builder_phpunit_PHPUnit=/usr/bin/phpunit
bamboo_repository_75956230_name=phpBB Master
bamboo_shortJobName=PHP 5.6 - SQLite Package
bamboo_buildResultsUrl=https://bamboo.phpbb.com/browse/PHPBB3-DDM-P5SP-138
bamboo_planRepository_repositoryUrl=https://github.com/phpbb/phpbb.git
bamboo_repository_75956230_git_repositoryUrl=https://github.com/phpbb/phpbb.git
bamboo_agentId=131073
bamboo_planName=phpBB3 - Development Docker Master
bamboo_shortPlanKey=DDM
bamboo_shortJobKey=P5SP
bamboo_capability_dbms_mysql_55=true
bamboo_capability_system_jdk_JDK_1_7_0_65=/usr/lib/jvm/java-7-openjdk-amd64
bamboo_planRepository_revision=798dda2cbc2901b9b2ef85b721b344fb5b24e95b
bamboo_repository_previous_revision_number=b4478676b5fbdc81a1aa146805538c6aa2121389
bamboo_buildTimeStamp=2017-04-01T08:54:32.314Z
bamboo_planRepository_previousRevision=b4478676b5fbdc81a1aa146805538c6aa2121389
bamboo_capability_system_builder_mvn2_Maven_2=/usr/share/maven2
bamboo_capability_system_jdk_JDK_1_6_0_16=/usr/lib/jvm/java-6-sun-1.6.0.16
bamboo_buildResultKey=PHPBB3-DDM-P5SP-138
bamboo_repository_git_branch=master
bamboo_repository_branch_name=master
bamboo_buildPlanName=phpBB3 - Development Docker Master - PHP 5.6 - SQLite Package
bamboo_planRepository_1_revision=798dda2cbc2901b9b2ef85b721b344fb5b24e95b
bamboo_build_commandline_com_atlassian_bamboo_plugins_bamboo_docker_plugin_task_docker_cli_3=/usr/bin/docker build --force-rm=true --tag=phpbb:php-5.6 /home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP
bamboo_repository_name=phpBB Master
bamboo_capability_system_docker_executable=/usr/bin/docker
bamboo_repository_75956230_git_username=
bamboo_planRepository_branch=master
bamboo_agentWorkingDirectory=/home/bamboo/xml-data/build-dir
bamboo_capability_system_git_executable=/usr/bin/git
bamboo_planRepository_1_previousRevision=b4478676b5fbdc81a1aa146805538c6aa2121389
bamboo_capability_system_builder_phpunit_PHPUnit_3_4=/usr/bin/phpunit
bamboo_repository_git_username=
bamboo_repository_75956230_branch_name=master
bamboo_planRepository_branchDisplayName=master
bamboo_planRepository_1_type=gitv2
bamboo_planRepository_branchName=master
bamboo_capability_system_jdk_JDK=/usr/lib/jvm/java-6-sun
bamboo_plan_storageTag=PHPBB3-DDM
bamboo_planRepository_type=gitv2
bamboo_planRepository_1_username=
bamboo_repository_git_repositoryUrl=https://github.com/phpbb/phpbb.git
bamboo_capability_system_builder_ant_Ant=/usr/share/ant
bamboo_repository_75956230_revision_number=798dda2cbc2901b9b2ef85b721b344fb5b24e95b
bamboo_working_directory=/home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP
bamboo_planKey=PHPBB3-DDM
bamboo_planRepository_1_repositoryUrl=https://github.com/phpbb/phpbb.git
bamboo_planRepository_username=
bamboo_capability_local=true
bamboo_capability_system_jdk_JDK_1_6=/usr/lib/jvm/java-6-sun
bamboo_capability_system_jdk_JDK_1_7=/usr/lib/jvm/java-7-openjdk-amd64
bamboo_planRepository_1_branchName=master
01-Apr-2017 08:58:09 You are running composer with xdebug enabled. This has a major impact on runtime performance. See https://getcomposer.org/xdebug
01-Apr-2017 08:58:09 You are using the deprecated option "dev". Dev packages are installed by default now.
01-Apr-2017 08:58:09 Cannot create cache directory /.composer/cache/repo/https---packagist.org/, or directory is not writable. Proceeding without cache
01-Apr-2017 08:58:09 Cannot create cache directory /.composer/cache/files/, or directory is not writable. Proceeding without cache
01-Apr-2017 08:58:09 Loading composer repositories with package information
01-Apr-2017 08:58:09 Installing dependencies (including require-dev) from lock file
01-Apr-2017 08:58:09
01-Apr-2017 08:58:09                                                                
01-Apr-2017 08:58:09   [RuntimeException]                                           
01-Apr-2017 08:58:09   /data/phpBB/vendor does not exist and could not be created. 
01-Apr-2017 08:58:09                                                                
01-Apr-2017 08:58:09
01-Apr-2017 08:58:09 install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-plugins] [--no-custom-installers] [--no-autoloader] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--ignore-platform-reqs] [--] [<packages>]...
01-Apr-2017 08:58:09
01-Apr-2017 08:58:09 error: cannot open .git/FETCH_HEAD: Permission denied
01-Apr-2017 08:58:09
01-Apr-2017 08:58:09 /bin/bash: ../phpBB/vendor/bin/phing: No such file or directory
01-Apr-2017 08:58:09 Failing task since return code of [/usr/bin/docker run --volume /home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP:/data --workdir /data/phpBB --rm -u=992 -t --volume /home/bamboo/xml-data/build-dir/_git-repositories-cache/:/home/bamboo/xml-data/build-dir/_git-repositories-cache/ phpbb:php-5.6 /bin/bash -c php ../composer.phar install --dev; cd ../build; git fetch --tags https://github.com/phpbb/phpbb.git 2>&1; ../phpBB/vendor/bin/phing package] was 127 while expected 0
01-Apr-2017 08:58:09 Error occurred while running Task 'Package release files(2)' of type com.atlassian.bamboo.plugins.bamboo-docker-plugin:task.docker.cli.
01-Apr-2017 08:58:09 com.atlassian.bamboo.task.TaskException: Failed to execute task
01-Apr-2017 08:58:09         at com.atlassian.bamboo.plugins.docker.service.RunService.execute(RunService.java:71)
01-Apr-2017 08:58:09         at com.atlassian.bamboo.plugins.docker.tasks.cli.DockerCliTask.execute(DockerCliTask.java:60)
01-Apr-2017 08:58:09         at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$3(TaskExecutorImpl.java:317)
01-Apr-2017 08:58:09         at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:246)
01-Apr-2017 08:58:09         at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:317)
01-Apr-2017 08:58:09         at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:118)
01-Apr-2017 08:58:09         at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:74)
01-Apr-2017 08:58:09         at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:216)
01-Apr-2017 08:58:09         at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:139)
01-Apr-2017 08:58:09         at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:130)
01-Apr-2017 08:58:09         at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:221)
01-Apr-2017 08:58:09         at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:129)
01-Apr-2017 08:58:09         at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:138)
01-Apr-2017 08:58:09         at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:51)
01-Apr-2017 08:58:09         at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)
01-Apr-2017 08:58:09         at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)
01-Apr-2017 08:58:09         at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)
01-Apr-2017 08:58:09         at java.lang.Thread.run(Thread.java:745)
01-Apr-2017 08:58:09 Caused by: com.atlassian.bamboo.plugins.docker.client.DockerException: Error running Docker run command
01-Apr-2017 08:58:09         at com.atlassian.bamboo.plugins.docker.client.DockerCmd.run(DockerCmd.java:103)
01-Apr-2017 08:58:09         at com.atlassian.bamboo.plugins.docker.service.RunService.execute(RunService.java:60)
01-Apr-2017 08:58:09         ... 17 more
01-Apr-2017 08:58:09 Caused by: com.atlassian.utils.process.ProcessException: Error executing /usr/bin/docker run --volume /home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP:/data --workdir /data/phpBB --rm -u=992 -t --volume /home/bamboo/xml-data/build-dir/_git-repositories-cache/:/home/bamboo/xml-data/build-dir/_git-repositories-cache/ phpbb:php-5.6 /bin/bash -c "php ../composer.phar install --dev; cd ../build; git fetch --tags https://github.com/phpbb/phpbb.git 2>&1; ../phpBB/vendor/bin/phing package"
01-Apr-2017 08:58:09         at com.atlassian.bamboo.plugins.docker.process.DockerTaskProcessService.execute(DockerTaskProcessService.java:60)
01-Apr-2017 08:58:09         at com.atlassian.bamboo.plugins.docker.client.DockerCmd.run(DockerCmd.java:99)
01-Apr-2017 08:58:09         ... 18 more
01-Apr-2017 08:58:09 Running post build plugin 'NCover Results Collector'
01-Apr-2017 08:58:09 Running post build plugin 'Artifact Copier'
01-Apr-2017 08:58:09 Publishing an artifact: Release Files
01-Apr-2017 08:58:09 Unable to publish artifact [Release Files]: the source directory /home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP/build/new_version/release_files does not exist.
01-Apr-2017 08:58:09 The artifact hasn't been successfully published after 580.3 μs
01-Apr-2017 08:58:09 Running post build plugin 'npm Cache Cleanup'
01-Apr-2017 08:58:09 Running post build plugin 'Clover Results Collector'
01-Apr-2017 08:58:09 Running post build plugin 'Docker Container Cleanup'
01-Apr-2017 08:58:10 Successfully removed working directory at '/home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP'
01-Apr-2017 08:58:10 Finalising the build...
01-Apr-2017 08:58:10 Stopping timer.
01-Apr-2017 08:58:10 Build PHPBB3-DDM-P5SP-138 completed.
01-Apr-2017 08:58:10 Running on server: post build plugin 'NCover Results Collector'
01-Apr-2017 08:58:10 Running on server: post build plugin 'Build Hanging Detection Configuration'
01-Apr-2017 08:58:10 Running on server: post build plugin 'Clover Delta Calculator'
01-Apr-2017 08:58:10 Running on server: post build plugin 'Maven Dependencies Postprocessor'
01-Apr-2017 08:58:10 All post build plugins have finished
01-Apr-2017 08:58:10 Generating build results summary...
01-Apr-2017 08:58:10 Saving build results to disk...
01-Apr-2017 08:58:10 Logging substituted variables...
01-Apr-2017 08:58:10 Indexing build results...
01-Apr-2017 08:58:10 Finished building PHPBB3-DDM-P5SP-138.