Build: #138 failed

Job: PHP 8.1 - SQLite failed

Stages & jobs

  1. Default Stage

Build log

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

01-Apr-2017 08:58:10 Build phpBB3 - Development Docker Master - PHP 5.6 - SQLite #138 (PHPBB3-DDM-JOB1-138) started building on agent Docker
01-Apr-2017 08:58:10
01-Apr-2017 08:58:10 Build working directory is /home/bamboo/xml-data/build-dir/PHPBB3-DDM-JOB1
01-Apr-2017 08:58:10 Executing build phpBB3 - Development Docker Master - PHP 5.6 - SQLite #138 (PHPBB3-DDM-JOB1-138)
01-Apr-2017 08:58:10 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
01-Apr-2017 08:58:10 Updating source code to revision: 798dda2cbc2901b9b2ef85b721b344fb5b24e95b
01-Apr-2017 08:58:10 Fetching 'refs/heads/master' from 'https://github.com/phpbb/phpbb.git'.
01-Apr-2017 08:58:11 Checking out revision 798dda2cbc2901b9b2ef85b721b344fb5b24e95b.
01-Apr-2017 08:58:11 Creating local git repository in '/home/bamboo/xml-data/build-dir/PHPBB3-DDM-JOB1/.git'.
01-Apr-2017 08:58:11 Cloning into '/home/bamboo/xml-data/build-dir/PHPBB3-DDM-JOB1'...
01-Apr-2017 08:58:11 done.
01-Apr-2017 08:58:12 Already on 'master'
01-Apr-2017 08:58:12 Updated source code to revision: 798dda2cbc2901b9b2ef85b721b344fb5b24e95b
01-Apr-2017 08:58:12 Finished task 'Checkout Default Repository' with result: Success
01-Apr-2017 08:58:12 Running pre-build action: VCS Version Collector
01-Apr-2017 08:58:12
Substituting variable: ${bamboo.working.directory} with /home/bamboo/xml-data/build-dir/PHPBB3-DDM-JOB1
01-Apr-2017 08:58:12 Starting task 'Build image' of type 'com.atlassian.bamboo.plugins.bamboo-docker-plugin:task.docker.cli'
01-Apr-2017 08:58:12
Beginning to execute external process for build 'phpBB3 - Development Docker Master - PHP 5.6 - SQLite #138 (PHPBB3-DDM-JOB1-138)'
... running command line:
/usr/bin/docker build --force-rm=true --tag=phpbb:php-5.6 /home/bamboo/xml-data/build-dir/PHPBB3-DDM-JOB1
... in: /home/bamboo/xml-data/build-dir/PHPBB3-DDM-JOB1
... 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-JOB1-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-JOB1
bamboo_buildKey=PHPBB3-DDM-JOB1
bamboo_shortPlanName=Development Docker Master
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
bamboo_buildResultsUrl=https://bamboo.phpbb.com/browse/PHPBB3-DDM-JOB1-138
bamboo_planRepository_repositoryUrl=https://github.com/phpbb/phpbb.git
bamboo_repository_75956230_git_repositoryUrl=https://github.com/phpbb/phpbb.git
bamboo_agentId=65929217
bamboo_planName=phpBB3 - Development Docker Master
bamboo_shortPlanKey=DDM
bamboo_shortJobKey=JOB1
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:33.053Z
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-JOB1-138
bamboo_repository_git_branch=master
bamboo_repository_branch_name=master
bamboo_buildPlanName=phpBB3 - Development Docker Master - PHP 5.6 - SQLite
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-JOB1
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:13 Sending build context to Docker daemon 18.81 MB
01-Apr-2017 08:58:13
01-Apr-2017 08:58:13 Step 1/5 : FROM php:5.6
01-Apr-2017 08:58:13 ---> 9054a11bc5cd
01-Apr-2017 08:58:13 Step 2/5 : 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:13 ---> Using cache
01-Apr-2017 08:58:13 ---> e37d9a254ed4
01-Apr-2017 08:58:13 Step 3/5 : RUN pecl install xdebug
01-Apr-2017 08:58:13 ---> Using cache
01-Apr-2017 08:58:13 ---> 79bed6e2a1f0
01-Apr-2017 08:58:13 Step 4/5 : RUN docker-php-ext-enable xdebug
01-Apr-2017 08:58:13 ---> Using cache
01-Apr-2017 08:58:13 ---> ab9dca892257
01-Apr-2017 08:58:13 Step 5/5 : RUN echo "memory_limit = 1536M" >> /usr/local/etc/php/conf.d/memory.ini
01-Apr-2017 08:58:13 ---> Running in e3348ae3cb0e
01-Apr-2017 08:58:15 ---> cda8d318d061
01-Apr-2017 08:58:15 Removing intermediate container e3348ae3cb0e
01-Apr-2017 08:58:15 Successfully built cda8d318d061
01-Apr-2017 08:58:15 Built Docker image 'phpbb:php-5.6'
01-Apr-2017 08:58:15 Finished task 'Build image' with result: Success
01-Apr-2017 08:58:15
Substituting variable: ${bamboo.working.directory} with /home/bamboo/xml-data/build-dir/PHPBB3-DDM-JOB1
01-Apr-2017 08:58:15 Starting task 'Run tests' of type 'com.atlassian.bamboo.plugins.bamboo-docker-plugin:task.docker.cli'
01-Apr-2017 08:58:15 Running image name (phpbb:php-5.6)
01-Apr-2017 08:58:15
Beginning to execute external process for build 'phpBB3 - Development Docker Master - PHP 5.6 - SQLite #138 (PHPBB3-DDM-JOB1-138)'
... running command line:
/usr/bin/docker run --volume /home/bamboo/xml-data/build-dir/PHPBB3-DDM-JOB1:/data --workdir /data/phpBB --rm -u=992 -t phpbb:php-5.6 /bin/bash -c php ../composer.phar install --dev; cd ../build; ../phpBB/vendor/bin/phing build
... in: /home/bamboo/xml-data/build-dir/PHPBB3-DDM-JOB1
... 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-JOB1-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-JOB1
bamboo_buildKey=PHPBB3-DDM-JOB1
bamboo_shortPlanName=Development Docker Master
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
bamboo_buildResultsUrl=https://bamboo.phpbb.com/browse/PHPBB3-DDM-JOB1-138
bamboo_planRepository_repositoryUrl=https://github.com/phpbb/phpbb.git
bamboo_repository_75956230_git_repositoryUrl=https://github.com/phpbb/phpbb.git
bamboo_agentId=65929217
bamboo_planName=phpBB3 - Development Docker Master
bamboo_shortPlanKey=DDM
bamboo_shortJobKey=JOB1
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:33.053Z
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-JOB1-138
bamboo_repository_git_branch=master
bamboo_repository_branch_name=master
bamboo_buildPlanName=phpBB3 - Development Docker Master - PHP 5.6 - SQLite
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-JOB1
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-JOB1
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:15 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:15 You are using the deprecated option "dev". Dev packages are installed by default now.
01-Apr-2017 08:58:15 Cannot create cache directory /.composer/cache/repo/https---packagist.org/, or directory is not writable. Proceeding without cache
01-Apr-2017 08:58:15 Cannot create cache directory /.composer/cache/files/, or directory is not writable. Proceeding without cache
01-Apr-2017 08:58:15 Loading composer repositories with package information
01-Apr-2017 08:58:15 Installing dependencies (including require-dev) from lock file
01-Apr-2017 08:58:16
01-Apr-2017 08:58:16                                                                
01-Apr-2017 08:58:16   [RuntimeException]                                           
01-Apr-2017 08:58:16   /data/phpBB/vendor does not exist and could not be created. 
01-Apr-2017 08:58:16                                                                
01-Apr-2017 08:58:16
01-Apr-2017 08:58:16 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:16
01-Apr-2017 08:58:16 /bin/bash: ../phpBB/vendor/bin/phing: No such file or directory
01-Apr-2017 08:58:16 Failing task since return code of [/usr/bin/docker run --volume /home/bamboo/xml-data/build-dir/PHPBB3-DDM-JOB1:/data --workdir /data/phpBB --rm -u=992 -t phpbb:php-5.6 /bin/bash -c php ../composer.phar install --dev; cd ../build; ../phpBB/vendor/bin/phing build] was 127 while expected 0
01-Apr-2017 08:58:16 Error occurred while running Task 'Run tests(2)' of type com.atlassian.bamboo.plugins.bamboo-docker-plugin:task.docker.cli.
01-Apr-2017 08:58:16 com.atlassian.bamboo.task.TaskException: Failed to execute task
01-Apr-2017 08:58:16         at com.atlassian.bamboo.plugins.docker.service.RunService.execute(RunService.java:71)
01-Apr-2017 08:58:16         at com.atlassian.bamboo.plugins.docker.tasks.cli.DockerCliTask.execute(DockerCliTask.java:60)
01-Apr-2017 08:58:16         at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$3(TaskExecutorImpl.java:317)
01-Apr-2017 08:58:16         at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:246)
01-Apr-2017 08:58:16         at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:317)
01-Apr-2017 08:58:16         at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:118)
01-Apr-2017 08:58:16         at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:74)
01-Apr-2017 08:58:16         at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:216)
01-Apr-2017 08:58:16         at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:139)
01-Apr-2017 08:58:16         at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl$1.call(BuildAgentControllerImpl.java:130)
01-Apr-2017 08:58:16         at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:221)
01-Apr-2017 08:58:16         at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:129)
01-Apr-2017 08:58:16         at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:138)
01-Apr-2017 08:58:16         at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:51)
01-Apr-2017 08:58:16         at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:31)
01-Apr-2017 08:58:16         at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:20)
01-Apr-2017 08:58:16         at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:52)
01-Apr-2017 08:58:16         at java.lang.Thread.run(Thread.java:745)
01-Apr-2017 08:58:16 Caused by: com.atlassian.bamboo.plugins.docker.client.DockerException: Error running Docker run command
01-Apr-2017 08:58:16         at com.atlassian.bamboo.plugins.docker.client.DockerCmd.run(DockerCmd.java:103)
01-Apr-2017 08:58:16         at com.atlassian.bamboo.plugins.docker.service.RunService.execute(RunService.java:60)
01-Apr-2017 08:58:16         ... 17 more
01-Apr-2017 08:58:16 Caused by: com.atlassian.utils.process.ProcessException: Error executing /usr/bin/docker run --volume /home/bamboo/xml-data/build-dir/PHPBB3-DDM-JOB1:/data --workdir /data/phpBB --rm -u=992 -t phpbb:php-5.6 /bin/bash -c "php ../composer.phar install --dev; cd ../build; ../phpBB/vendor/bin/phing build"
01-Apr-2017 08:58:16         at com.atlassian.bamboo.plugins.docker.process.DockerTaskProcessService.execute(DockerTaskProcessService.java:60)
01-Apr-2017 08:58:16         at com.atlassian.bamboo.plugins.docker.client.DockerCmd.run(DockerCmd.java:99)
01-Apr-2017 08:58:16         ... 18 more
01-Apr-2017 08:58:16 Starting task 'Parsing test results' of type 'com.atlassian.bamboo.plugins.testresultparser:task.testresultparser.junit'
01-Apr-2017 08:58:16 Parsing test results under /home/bamboo/xml-data/build-dir/PHPBB3-DDM-JOB1...
01-Apr-2017 08:58:16 Failing task since test cases were expected but none were found.
01-Apr-2017 08:58:16 Finished task 'Parsing test results' with result: Failed
01-Apr-2017 08:58:16 Running post build plugin 'NCover Results Collector'
01-Apr-2017 08:58:16 Running post build plugin 'Artifact Copier'
01-Apr-2017 08:58:16 Publishing an artifact: Coverage HTML Report
01-Apr-2017 08:58:16 Unable to publish artifact [Coverage HTML Report]: the source directory /home/bamboo/xml-data/build-dir/PHPBB3-DDM-JOB1/build/coverage does not exist.
01-Apr-2017 08:58:16 The artifact hasn't been successfully published after 166.3 μs
01-Apr-2017 08:58:16 Running post build plugin 'npm Cache Cleanup'
01-Apr-2017 08:58:16 Running post build plugin 'Clover Results Collector'
01-Apr-2017 08:58:16 Running post build plugin 'Docker Container Cleanup'
01-Apr-2017 08:58:16 Successfully removed working directory at '/home/bamboo/xml-data/build-dir/PHPBB3-DDM-JOB1'
01-Apr-2017 08:58:16 Finalising the build...
01-Apr-2017 08:58:16 Stopping timer.
01-Apr-2017 08:58:16 Build PHPBB3-DDM-JOB1-138 completed.
01-Apr-2017 08:58:16 Running on server: post build plugin 'NCover Results Collector'
01-Apr-2017 08:58:16 Running on server: post build plugin 'Build Hanging Detection Configuration'
01-Apr-2017 08:58:16 Running on server: post build plugin 'Clover Delta Calculator'
01-Apr-2017 08:58:16 Running on server: post build plugin 'Maven Dependencies Postprocessor'
01-Apr-2017 08:58:16 All post build plugins have finished
01-Apr-2017 08:58:16 Generating build results summary...
01-Apr-2017 08:58:16 Saving build results to disk...
01-Apr-2017 08:58:16 Logging substituted variables...
01-Apr-2017 08:58:16 Indexing build results...
01-Apr-2017 08:58:16 Finished building PHPBB3-DDM-JOB1-138.