simple 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 simple 01-Apr-2017 08:57:58 simple 01-Apr-2017 08:57:58 Build working directory is /home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP simple 01-Apr-2017 08:57:58 Executing build phpBB3 - Development Docker Master - PHP 5.6 - SQLite Package #138 (PHPBB3-DDM-P5SP-138) simple 01-Apr-2017 08:57:58 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout' simple 01-Apr-2017 08:57:58 Updating source code to revision: 798dda2cbc2901b9b2ef85b721b344fb5b24e95b simple 01-Apr-2017 08:57:59 Fetching 'refs/heads/master' from 'https://github.com/phpbb/phpbb.git'. simple 01-Apr-2017 08:58:00 Checking out revision 798dda2cbc2901b9b2ef85b721b344fb5b24e95b. simple 01-Apr-2017 08:58:00 Creating local git repository in '/home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP/.git'. simple 01-Apr-2017 08:58:00 Cloning into '/home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP'... simple 01-Apr-2017 08:58:00 done. simple 01-Apr-2017 08:58:03 Already on 'master' simple 01-Apr-2017 08:58:03 Updated source code to revision: 798dda2cbc2901b9b2ef85b721b344fb5b24e95b simple 01-Apr-2017 08:58:03 Finished task 'Checkout Default Repository' with result: Success simple 01-Apr-2017 08:58:03 Running pre-build action: VCS Version Collector command 01-Apr-2017 08:58:03 Substituting variable: ${bamboo.working.directory} with /home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP simple 01-Apr-2017 08:58:03 Starting task 'Build image' of type 'com.atlassian.bamboo.plugins.bamboo-docker-plugin:task.docker.cli' command 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)'\n ... running command line: \n/usr/bin/docker build --force-rm=true --tag=phpbb:php-5.6 /home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP\n ... in: /home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP\n ... using extra environment variables: \nbamboo_planRepository_1_branch=master\nbamboo_repository_75956230_previous_revision_number=b4478676b5fbdc81a1aa146805538c6aa2121389\nbamboo_planRepository_1_branchDisplayName=master\nbamboo_repository_revision_number=798dda2cbc2901b9b2ef85b721b344fb5b24e95b\nbamboo_resultsUrl=https://bamboo.phpbb.com/browse/PHPBB3-DDM-P5SP-138\nbamboo_capability_system_builder_command_Git=/usr/bin/git\nbamboo_planRepository_1_name=phpBB Master\nbamboo_build_working_directory=/home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP\nbamboo_buildKey=PHPBB3-DDM-P5SP\nbamboo_capability_phpbb_tests=true\nbamboo_shortPlanName=Development Docker Master\nbamboo_capability_system_builder_command_fop=/usr/bin/fop\nbamboo_capability_dbms_sqlite_2=true\nbamboo_planRepository_name=phpBB Master\nbamboo_repository_75956230_git_branch=master\nbamboo_buildNumber=138\nbamboo_capability_system_builder_phpunit_PHPUnit=/usr/bin/phpunit\nbamboo_repository_75956230_name=phpBB Master\nbamboo_shortJobName=PHP 5.6 - SQLite Package\nbamboo_buildResultsUrl=https://bamboo.phpbb.com/browse/PHPBB3-DDM-P5SP-138\nbamboo_planRepository_repositoryUrl=https://github.com/phpbb/phpbb.git\nbamboo_repository_75956230_git_repositoryUrl=https://github.com/phpbb/phpbb.git\nbamboo_agentId=131073\nbamboo_planName=phpBB3 - Development Docker Master\nbamboo_shortPlanKey=DDM\nbamboo_shortJobKey=P5SP\nbamboo_capability_dbms_mysql_55=true\nbamboo_capability_system_jdk_JDK_1_7_0_65=/usr/lib/jvm/java-7-openjdk-amd64\nbamboo_planRepository_revision=798dda2cbc2901b9b2ef85b721b344fb5b24e95b\nbamboo_repository_previous_revision_number=b4478676b5fbdc81a1aa146805538c6aa2121389\nbamboo_buildTimeStamp=2017-04-01T08:54:32.314Z\nbamboo_planRepository_previousRevision=b4478676b5fbdc81a1aa146805538c6aa2121389\nbamboo_capability_system_builder_mvn2_Maven_2=/usr/share/maven2\nbamboo_capability_system_jdk_JDK_1_6_0_16=/usr/lib/jvm/java-6-sun-1.6.0.16\nbamboo_buildResultKey=PHPBB3-DDM-P5SP-138\nbamboo_repository_git_branch=master\nbamboo_repository_branch_name=master\nbamboo_buildPlanName=phpBB3 - Development Docker Master - PHP 5.6 - SQLite Package\nbamboo_planRepository_1_revision=798dda2cbc2901b9b2ef85b721b344fb5b24e95b\nbamboo_repository_name=phpBB Master\nbamboo_capability_system_docker_executable=/usr/bin/docker\nbamboo_repository_75956230_git_username=\nbamboo_planRepository_branch=master\nbamboo_agentWorkingDirectory=/home/bamboo/xml-data/build-dir\nbamboo_capability_system_git_executable=/usr/bin/git\nbamboo_planRepository_1_previousRevision=b4478676b5fbdc81a1aa146805538c6aa2121389\nbamboo_capability_system_builder_phpunit_PHPUnit_3_4=/usr/bin/phpunit\nbamboo_repository_git_username=\nbamboo_repository_75956230_branch_name=master\nbamboo_planRepository_branchDisplayName=master\nbamboo_planRepository_1_type=gitv2\nbamboo_planRepository_branchName=master\nbamboo_capability_system_jdk_JDK=/usr/lib/jvm/java-6-sun\nbamboo_plan_storageTag=PHPBB3-DDM\nbamboo_planRepository_type=gitv2\nbamboo_planRepository_1_username=\nbamboo_repository_git_repositoryUrl=https://github.com/phpbb/phpbb.git\nbamboo_capability_system_builder_ant_Ant=/usr/share/ant\nbamboo_repository_75956230_revision_number=798dda2cbc2901b9b2ef85b721b344fb5b24e95b\nbamboo_working_directory=/home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP\nbamboo_planKey=PHPBB3-DDM\nbamboo_planRepository_1_repositoryUrl=https://github.com/phpbb/phpbb.git\nbamboo_planRepository_username=\nbamboo_capability_local=true\nbamboo_capability_system_jdk_JDK_1_6=/usr/lib/jvm/java-6-sun\nbamboo_capability_system_jdk_JDK_1_7=/usr/lib/jvm/java-7-openjdk-amd64\nbamboo_planRepository_1_branchName=master\n build 01-Apr-2017 08:58:04 Sending build context to Docker daemon 18.81 MB build 01-Apr-2017 08:58:04 build 01-Apr-2017 08:58:04 Step 1/6 : FROM php:5.6 build 01-Apr-2017 08:58:04 ---> 9054a11bc5cd build 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 build 01-Apr-2017 08:58:04 ---> Using cache build 01-Apr-2017 08:58:04 ---> e37d9a254ed4 build 01-Apr-2017 08:58:04 Step 3/6 : RUN pecl install xdebug build 01-Apr-2017 08:58:04 ---> Using cache build 01-Apr-2017 08:58:04 ---> 79bed6e2a1f0 build 01-Apr-2017 08:58:04 Step 4/6 : RUN docker-php-ext-enable xdebug build 01-Apr-2017 08:58:04 ---> Using cache build 01-Apr-2017 08:58:04 ---> ab9dca892257 build 01-Apr-2017 08:58:04 Step 5/6 : RUN echo "memory_limit = 1024M" >> /usr/local/etc/php/conf.d/memory.ini build 01-Apr-2017 08:58:04 ---> Using cache build 01-Apr-2017 08:58:04 ---> d7496cc92d91 build 01-Apr-2017 08:58:04 Step 6/6 : RUN git config --system user.name Docker && git config --system user.email docker@localhost build 01-Apr-2017 08:58:04 ---> Running in c3a7a02e07be build 01-Apr-2017 08:58:08 ---> 4c704075ab9c build 01-Apr-2017 08:58:08 Removing intermediate container c3a7a02e07be build 01-Apr-2017 08:58:08 Successfully built 4c704075ab9c simple 01-Apr-2017 08:58:08 Built Docker image 'phpbb:php-5.6' simple 01-Apr-2017 08:58:08 Finished task 'Build image' with result: Success command 01-Apr-2017 08:58:08 Substituting variable: ${bamboo.working.directory} with /home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP simple 01-Apr-2017 08:58:08 Starting task 'Package release files' of type 'com.atlassian.bamboo.plugins.bamboo-docker-plugin:task.docker.cli' simple 01-Apr-2017 08:58:08 Running image name (phpbb:php-5.6) command 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)'\n ... running command line: \n/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\n ... in: /home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP\n ... using extra environment variables: \nbamboo_planRepository_1_branch=master\nbamboo_repository_75956230_previous_revision_number=b4478676b5fbdc81a1aa146805538c6aa2121389\nbamboo_planRepository_1_branchDisplayName=master\nbamboo_repository_revision_number=798dda2cbc2901b9b2ef85b721b344fb5b24e95b\nbamboo_resultsUrl=https://bamboo.phpbb.com/browse/PHPBB3-DDM-P5SP-138\nbamboo_capability_system_builder_command_Git=/usr/bin/git\nbamboo_planRepository_1_name=phpBB Master\nbamboo_build_working_directory=/home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP\nbamboo_buildKey=PHPBB3-DDM-P5SP\nbamboo_capability_phpbb_tests=true\nbamboo_shortPlanName=Development Docker Master\nbamboo_capability_system_builder_command_fop=/usr/bin/fop\nbamboo_capability_dbms_sqlite_2=true\nbamboo_planRepository_name=phpBB Master\nbamboo_repository_75956230_git_branch=master\nbamboo_buildNumber=138\nbamboo_capability_system_builder_phpunit_PHPUnit=/usr/bin/phpunit\nbamboo_repository_75956230_name=phpBB Master\nbamboo_shortJobName=PHP 5.6 - SQLite Package\nbamboo_buildResultsUrl=https://bamboo.phpbb.com/browse/PHPBB3-DDM-P5SP-138\nbamboo_planRepository_repositoryUrl=https://github.com/phpbb/phpbb.git\nbamboo_repository_75956230_git_repositoryUrl=https://github.com/phpbb/phpbb.git\nbamboo_agentId=131073\nbamboo_planName=phpBB3 - Development Docker Master\nbamboo_shortPlanKey=DDM\nbamboo_shortJobKey=P5SP\nbamboo_capability_dbms_mysql_55=true\nbamboo_capability_system_jdk_JDK_1_7_0_65=/usr/lib/jvm/java-7-openjdk-amd64\nbamboo_planRepository_revision=798dda2cbc2901b9b2ef85b721b344fb5b24e95b\nbamboo_repository_previous_revision_number=b4478676b5fbdc81a1aa146805538c6aa2121389\nbamboo_buildTimeStamp=2017-04-01T08:54:32.314Z\nbamboo_planRepository_previousRevision=b4478676b5fbdc81a1aa146805538c6aa2121389\nbamboo_capability_system_builder_mvn2_Maven_2=/usr/share/maven2\nbamboo_capability_system_jdk_JDK_1_6_0_16=/usr/lib/jvm/java-6-sun-1.6.0.16\nbamboo_buildResultKey=PHPBB3-DDM-P5SP-138\nbamboo_repository_git_branch=master\nbamboo_repository_branch_name=master\nbamboo_buildPlanName=phpBB3 - Development Docker Master - PHP 5.6 - SQLite Package\nbamboo_planRepository_1_revision=798dda2cbc2901b9b2ef85b721b344fb5b24e95b\nbamboo_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\nbamboo_repository_name=phpBB Master\nbamboo_capability_system_docker_executable=/usr/bin/docker\nbamboo_repository_75956230_git_username=\nbamboo_planRepository_branch=master\nbamboo_agentWorkingDirectory=/home/bamboo/xml-data/build-dir\nbamboo_capability_system_git_executable=/usr/bin/git\nbamboo_planRepository_1_previousRevision=b4478676b5fbdc81a1aa146805538c6aa2121389\nbamboo_capability_system_builder_phpunit_PHPUnit_3_4=/usr/bin/phpunit\nbamboo_repository_git_username=\nbamboo_repository_75956230_branch_name=master\nbamboo_planRepository_branchDisplayName=master\nbamboo_planRepository_1_type=gitv2\nbamboo_planRepository_branchName=master\nbamboo_capability_system_jdk_JDK=/usr/lib/jvm/java-6-sun\nbamboo_plan_storageTag=PHPBB3-DDM\nbamboo_planRepository_type=gitv2\nbamboo_planRepository_1_username=\nbamboo_repository_git_repositoryUrl=https://github.com/phpbb/phpbb.git\nbamboo_capability_system_builder_ant_Ant=/usr/share/ant\nbamboo_repository_75956230_revision_number=798dda2cbc2901b9b2ef85b721b344fb5b24e95b\nbamboo_working_directory=/home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP\nbamboo_planKey=PHPBB3-DDM\nbamboo_planRepository_1_repositoryUrl=https://github.com/phpbb/phpbb.git\nbamboo_planRepository_username=\nbamboo_capability_local=true\nbamboo_capability_system_jdk_JDK_1_6=/usr/lib/jvm/java-6-sun\nbamboo_capability_system_jdk_JDK_1_7=/usr/lib/jvm/java-7-openjdk-amd64\nbamboo_planRepository_1_branchName=master\n build 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 build 01-Apr-2017 08:58:09 You are using the deprecated option "dev". Dev packages are installed by default now. build 01-Apr-2017 08:58:09 Cannot create cache directory /.composer/cache/repo/https---packagist.org/, or directory is not writable. Proceeding without cache build 01-Apr-2017 08:58:09 Cannot create cache directory /.composer/cache/files/, or directory is not writable. Proceeding without cache build 01-Apr-2017 08:58:09 Loading composer repositories with package information build 01-Apr-2017 08:58:09 Installing dependencies (including require-dev) from lock file build 01-Apr-2017 08:58:09 build 01-Apr-2017 08:58:09   build 01-Apr-2017 08:58:09  [RuntimeException]  build 01-Apr-2017 08:58:09  /data/phpBB/vendor does not exist and could not be created.  build 01-Apr-2017 08:58:09   build 01-Apr-2017 08:58:09 build 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] [--] []... build 01-Apr-2017 08:58:09 build 01-Apr-2017 08:58:09 error: cannot open .git/FETCH_HEAD: Permission denied build 01-Apr-2017 08:58:09 build 01-Apr-2017 08:58:09 /bin/bash: ../phpBB/vendor/bin/phing: No such file or directory simple 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 error 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. error 01-Apr-2017 08:58:09 com.atlassian.bamboo.task.TaskException: Failed to execute task error 01-Apr-2017 08:58:09 at com.atlassian.bamboo.plugins.docker.service.RunService.execute(RunService.java:71) error 01-Apr-2017 08:58:09 at com.atlassian.bamboo.plugins.docker.tasks.cli.DockerCliTask.execute(DockerCliTask.java:60) error 01-Apr-2017 08:58:09 at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$3(TaskExecutorImpl.java:317) error 01-Apr-2017 08:58:09 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:246) error 01-Apr-2017 08:58:09 at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:317) error 01-Apr-2017 08:58:09 at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:118) error 01-Apr-2017 08:58:09 at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:74) error 01-Apr-2017 08:58:09 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:216) error 01-Apr-2017 08:58:09 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:139) error 01-Apr-2017 08:58:09 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:130) error 01-Apr-2017 08:58:09 at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:221) error 01-Apr-2017 08:58:09 at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:129) error 01-Apr-2017 08:58:09 at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:138) error 01-Apr-2017 08:58:09 at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:51) error 01-Apr-2017 08:58:09 at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31) error 01-Apr-2017 08:58:09 at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20) error 01-Apr-2017 08:58:09 at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52) error 01-Apr-2017 08:58:09 at java.lang.Thread.run(Thread.java:745) error 01-Apr-2017 08:58:09 Caused by: com.atlassian.bamboo.plugins.docker.client.DockerException: Error running Docker run command error 01-Apr-2017 08:58:09 at com.atlassian.bamboo.plugins.docker.client.DockerCmd.run(DockerCmd.java:103) error 01-Apr-2017 08:58:09 at com.atlassian.bamboo.plugins.docker.service.RunService.execute(RunService.java:60) error 01-Apr-2017 08:58:09 ... 17 more error 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" error 01-Apr-2017 08:58:09 at com.atlassian.bamboo.plugins.docker.process.DockerTaskProcessService.execute(DockerTaskProcessService.java:60) error 01-Apr-2017 08:58:09 at com.atlassian.bamboo.plugins.docker.client.DockerCmd.run(DockerCmd.java:99) error 01-Apr-2017 08:58:09 ... 18 more simple 01-Apr-2017 08:58:09 Running post build plugin 'NCover Results Collector' simple 01-Apr-2017 08:58:09 Running post build plugin 'Artifact Copier' simple 01-Apr-2017 08:58:09 Publishing an artifact: Release Files error 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. simple 01-Apr-2017 08:58:09 The artifact hasn't been successfully published after 580.3 μs simple 01-Apr-2017 08:58:09 Running post build plugin 'npm Cache Cleanup' simple 01-Apr-2017 08:58:09 Running post build plugin 'Clover Results Collector' simple 01-Apr-2017 08:58:09 Running post build plugin 'Docker Container Cleanup' simple 01-Apr-2017 08:58:10 Successfully removed working directory at '/home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP' simple 01-Apr-2017 08:58:10 Finalising the build... simple 01-Apr-2017 08:58:10 Stopping timer. simple 01-Apr-2017 08:58:10 Build PHPBB3-DDM-P5SP-138 completed. simple 01-Apr-2017 08:58:10 Running on server: post build plugin 'NCover Results Collector' simple 01-Apr-2017 08:58:10 Running on server: post build plugin 'Build Hanging Detection Configuration' simple 01-Apr-2017 08:58:10 Running on server: post build plugin 'Clover Delta Calculator' simple 01-Apr-2017 08:58:10 Running on server: post build plugin 'Maven Dependencies Postprocessor' simple 01-Apr-2017 08:58:10 All post build plugins have finished simple 01-Apr-2017 08:58:10 Generating build results summary... simple 01-Apr-2017 08:58:10 Saving build results to disk... simple 01-Apr-2017 08:58:10 Logging substituted variables... simple 01-Apr-2017 08:58:10 Indexing build results... simple 01-Apr-2017 08:58:10 Finished building PHPBB3-DDM-P5SP-138.