Build: #503 failed

Job: PHP 7.1 - SQLite Package failed

Stages & jobs

  1. Default Stage

Build log

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

07-Apr-2019 08:35:37 Build phpBB3 - Development Docker Master - PHP 7.1 - SQLite Package #503 (PHPBB3-DDM-P5SP-503) started building on agent Docker
07-Apr-2019 08:35:37
07-Apr-2019 08:35:37 Build working directory is /home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP
07-Apr-2019 08:35:37 Executing build phpBB3 - Development Docker Master - PHP 7.1 - SQLite Package #503 (PHPBB3-DDM-P5SP-503)
07-Apr-2019 08:35:37 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
07-Apr-2019 08:35:37 Checking out into /home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP
07-Apr-2019 08:35:37 Updating source code to revision: 1cf0ecf14c58996caa261eea7a45916e7399a861
07-Apr-2019 08:35:39 Fetching 'refs/heads/master' from 'https://github.com/phpbb/phpbb.git'.
07-Apr-2019 08:35:40 Checking out revision 1cf0ecf14c58996caa261eea7a45916e7399a861.
07-Apr-2019 08:35:40 Creating local git repository in '/home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP/.git'.
07-Apr-2019 08:35:40 Cloning into '/home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP'...
07-Apr-2019 08:35:40 done.
07-Apr-2019 08:35:41 Already on 'master'
07-Apr-2019 08:35:41 Updated source code to revision: 1cf0ecf14c58996caa261eea7a45916e7399a861
07-Apr-2019 08:35:41 Finished task 'Checkout Default Repository' with result: Success
07-Apr-2019 08:35:41 Running pre-build action: VCS Version Collector
07-Apr-2019 08:35:41
Substituting variable: ${bamboo.working.directory} with /home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP
07-Apr-2019 08:35:41 Starting task 'Build image' of type 'com.atlassian.bamboo.plugins.bamboo-docker-plugin:task.docker.cli'
07-Apr-2019 08:35:41
Beginning to execute external process for build 'phpBB3 - Development Docker Master - PHP 7.1 - SQLite Package #503 (PHPBB3-DDM-P5SP-503)'
... running command line:
/usr/bin/docker build --force-rm=true --tag=phpbb:php-7.1 /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=cc67558302e8cc9366a01c16a46d188d1b4a7ec9
bamboo_planRepository_1_branchDisplayName=master
bamboo_repository_revision_number=1cf0ecf14c58996caa261eea7a45916e7399a861
bamboo_resultsUrl=https://bamboo.phpbb.com/browse/PHPBB3-DDM-P5SP-503
bamboo_capability_system_builder_command_Git=/usr/bin/git
bamboo_build_working_directory=/home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP
bamboo_planRepository_1_name=phpBB Master
bamboo_buildKey=PHPBB3-DDM-P5SP
bamboo_shortPlanName=Development Docker Master
bamboo_planRepository_name=phpBB Master
bamboo_repository_75956230_git_branch=master
bamboo_buildNumber=503
bamboo_capability_system_builder_phpunit_PHPUnit=/usr/bin/phpunit
bamboo_repository_75956230_name=phpBB Master
bamboo_shortJobName=PHP 7.1 - SQLite Package
bamboo_buildResultsUrl=https://bamboo.phpbb.com/browse/PHPBB3-DDM-P5SP-503
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=P5SP
bamboo_capability_system_jdk_JDK_1_7_0_65=/usr/lib/jvm/java-7-openjdk-amd64
bamboo_planRepository_revision=1cf0ecf14c58996caa261eea7a45916e7399a861
bamboo_buildTimeStamp=2019-04-07T08:35:36.961Z
bamboo_repository_previous_revision_number=cc67558302e8cc9366a01c16a46d188d1b4a7ec9
bamboo_capability_system_jdk_JDK_1_6_0_16=/usr/lib/jvm/java-6-sun-1.6.0.16
bamboo_capability_system_builder_mvn2_Maven_2=/usr/share/maven2
bamboo_planRepository_previousRevision=cc67558302e8cc9366a01c16a46d188d1b4a7ec9
bamboo_repository_git_branch=master
bamboo_buildResultKey=PHPBB3-DDM-P5SP-503
bamboo_repository_branch_name=master
bamboo_buildPlanName=phpBB3 - Development Docker Master - PHP 7.1 - SQLite Package
bamboo_planRepository_1_revision=1cf0ecf14c58996caa261eea7a45916e7399a861
bamboo_repository_name=phpBB Master
bamboo_buildFailed=false
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_capability_system_builder_phpunit_PHPUnit_3_4=/usr/bin/phpunit
bamboo_repository_git_username=
bamboo_planRepository_1_previousRevision=cc67558302e8cc9366a01c16a46d188d1b4a7ec9
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_hg_cache_directory=/home/bamboo/xml-data/build-dir/_hg-repositories-cache
bamboo_planRepository_1_username=
bamboo_planRepository_type=gitv2
bamboo_git_cache_directory=/home/bamboo/xml-data/build-dir/_git-repositories-cache
bamboo_repository_git_repositoryUrl=https://github.com/phpbb/phpbb.git
bamboo_capability_system_builder_ant_Ant=/usr/share/ant
bamboo_repository_75956230_revision_number=1cf0ecf14c58996caa261eea7a45916e7399a861
bamboo_tmp_directory=/home/bamboo/temp
bamboo_working_directory=/home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP
bamboo_planKey=PHPBB3-DDM
bamboo_capability_local=true
bamboo_planRepository_1_repositoryUrl=https://github.com/phpbb/phpbb.git
bamboo_planRepository_username=
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
07-Apr-2019 08:35:42 Sending build context to Docker daemon  20.59MB
07-Apr-2019 08:35:42
07-Apr-2019 08:35:42 Step 1/6 : FROM php:7.1
07-Apr-2019 08:35:42 ---> dcc5ac26f34d
07-Apr-2019 08:35:42 Step 2/6 : RUN apt-get update && apt-get install -y         git         zlib1g-dev         bzip2         zip         && docker-php-ext-install -j$(nproc) zip
07-Apr-2019 08:35:42 ---> Running in b309490495a4
07-Apr-2019 08:36:02 Err:1 http://security.debian.org/debian-security stretch/updates InRelease
07-Apr-2019 08:36:02   Temporary failure resolving 'security.debian.org'
07-Apr-2019 08:36:02 Err:2 http://deb.debian.org/debian stretch InRelease
07-Apr-2019 08:36:02   Temporary failure resolving 'deb.debian.org'
07-Apr-2019 08:36:22 Err:3 http://deb.debian.org/debian stretch-updates InRelease
07-Apr-2019 08:36:22   Temporary failure resolving 'deb.debian.org'
07-Apr-2019 08:36:22 Reading package lists...
07-Apr-2019 08:36:22 W: Failed to fetch http://deb.debian.org/debian/dists/stretch/InRelease  Temporary failure resolving 'deb.debian.org'
07-Apr-2019 08:36:22 W: Failed to fetch http://security.debian.org/debian-security/dists/stretch/updates/InRelease  Temporary failure resolving 'security.debian.org'
07-Apr-2019 08:36:22 W: Failed to fetch http://deb.debian.org/debian/dists/stretch-updates/InRelease  Temporary failure resolving 'deb.debian.org'
07-Apr-2019 08:36:22 W: Some index files failed to download. They have been ignored, or old ones used instead.
07-Apr-2019 08:36:22 Reading package lists...
07-Apr-2019 08:36:22 Building dependency tree...
07-Apr-2019 08:36:22 Reading state information...
07-Apr-2019 08:36:22 E: Unable to locate package git
07-Apr-2019 08:36:22 E: Unable to locate package zlib1g-dev
07-Apr-2019 08:36:22 E: Unable to locate package zip
07-Apr-2019 08:36:23 Removing intermediate container b309490495a4
07-Apr-2019 08:36:23 The command '/bin/sh -c apt-get update && apt-get install -y         git         zlib1g-dev         bzip2         zip         && docker-php-ext-install -j$(nproc) zip' returned a non-zero code: 100
07-Apr-2019 08:36:23 Failing task since return code of [/usr/bin/docker build --force-rm=true --tag=phpbb:php-7.1 /home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP] was 100 while expected 0
07-Apr-2019 08:36:23 Error occurred while running Task 'Build image(3)' of type com.atlassian.bamboo.plugins.bamboo-docker-plugin:task.docker.cli.
07-Apr-2019 08:36:23 com.atlassian.bamboo.task.TaskException: Failed to execute task
07-Apr-2019 08:36:23         at com.atlassian.bamboo.plugins.docker.service.BuildService.execute(BuildService.java:53)
07-Apr-2019 08:36:23         at com.atlassian.bamboo.plugins.docker.tasks.cli.DockerCliTask.execute(DockerCliTask.java:70)
07-Apr-2019 08:36:23         at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$3(TaskExecutorImpl.java:285)
07-Apr-2019 08:36:23         at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:224)
07-Apr-2019 08:36:23         at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:285)
07-Apr-2019 08:36:23         at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:112)
07-Apr-2019 08:36:23         at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:71)
07-Apr-2019 08:36:23         at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.executeBuildPhase(DefaultBuildAgent.java:203)
07-Apr-2019 08:36:23         at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:175)
07-Apr-2019 08:36:23         at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.lambda$waitAndPerformBuild$0(BuildAgentControllerImpl.java:122)
07-Apr-2019 08:36:23         at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:185)
07-Apr-2019 08:36:23         at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:117)
07-Apr-2019 08:36:23         at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:126)
07-Apr-2019 08:36:23         at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48)
07-Apr-2019 08:36:23         at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26)
07-Apr-2019 08:36:23         at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17)
07-Apr-2019 08:36:23         at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41)
07-Apr-2019 08:36:23         at java.lang.Thread.run(Thread.java:748)
07-Apr-2019 08:36:23 Caused by: com.atlassian.bamboo.docker.DockerException: Error running Docker build command
07-Apr-2019 08:36:23         at com.atlassian.bamboo.plugins.docker.client.DockerCmd.build(DockerCmd.java:106)
07-Apr-2019 08:36:23         at com.atlassian.bamboo.plugins.docker.service.BuildService.execute(BuildService.java:40)
07-Apr-2019 08:36:23         ... 17 more
07-Apr-2019 08:36:23 Caused by: com.atlassian.utils.process.ProcessException: Error executing /usr/bin/docker build --force-rm=true --tag=phpbb:php-7.1 /home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP
07-Apr-2019 08:36:23         at com.atlassian.bamboo.plugins.docker.process.DockerTaskProcessService.execute(DockerTaskProcessService.java:62)
07-Apr-2019 08:36:23         at com.atlassian.bamboo.plugins.docker.client.DockerCmd.build(DockerCmd.java:104)
07-Apr-2019 08:36:23         ... 18 more
07-Apr-2019 08:36:23 Running post build plugin 'NCover Results Collector'
07-Apr-2019 08:36:23 Running post build plugin 'Artifact Copier'
07-Apr-2019 08:36:23 Publishing an artifact: Release Files
07-Apr-2019 08:36:23 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.
07-Apr-2019 08:36:23 The artifact hasn't been successfully published after 131.7 μs
07-Apr-2019 08:36:23 Running post build plugin 'npm Cache Cleanup'
07-Apr-2019 08:36:23 Running post build plugin 'Clover Results Collector'
07-Apr-2019 08:36:23 Running post build plugin 'Docker Container Cleanup'
07-Apr-2019 08:36:23 Successfully removed working directory at '/home/bamboo/xml-data/build-dir/PHPBB3-DDM-P5SP'
07-Apr-2019 08:36:23 Finalising the build...
07-Apr-2019 08:36:23 Stopping timer.
07-Apr-2019 08:36:23 Build PHPBB3-DDM-P5SP-503 completed.
07-Apr-2019 08:36:23 Running on server: post build plugin 'NCover Results Collector'
07-Apr-2019 08:36:23 Running on server: post build plugin 'Build Hanging Detection Configuration'
07-Apr-2019 08:36:23 Running on server: post build plugin 'Clover Delta Calculator'
07-Apr-2019 08:36:23 Running on server: post build plugin 'Maven Dependencies Postprocessor'
07-Apr-2019 08:36:23 All post build plugins have finished
07-Apr-2019 08:36:23 Generating build results summary...
07-Apr-2019 08:36:23 Saving build results to disk...
07-Apr-2019 08:36:23 Logging substituted variables...
07-Apr-2019 08:36:23 Indexing build results...
07-Apr-2019 08:36:23 Finished building PHPBB3-DDM-P5SP-503.