Build: #546 failed

Job: PHP 7.2 - SQLite Package failed

Build log

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

30-Jun-2024 10:43:15 Build phpBB3 - Development Docker 3.3.x - PHP 7.2 - SQLite Package #546 (PHPBB3-DD33-P5SP-546) is being prepared for building on agent Default Agent, bamboo version: 9.2.7
30-Jun-2024 10:43:15
30-Jun-2024 10:43:15 Build working directory is /home/bamboo/local-working-dir/PHPBB3-DD33-P5SP
30-Jun-2024 10:43:15 Executing build phpBB3 - Development Docker 3.3.x - PHP 7.2 - SQLite Package #546 (PHPBB3-DD33-P5SP-546)
30-Jun-2024 10:43:15 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
30-Jun-2024 10:43:15 Checking out into /home/bamboo/local-working-dir/PHPBB3-DD33-P5SP
30-Jun-2024 10:43:15 Updating source code to revision: ad77f0d0abb2ca44d64d0d1602c0be722a518c5b
30-Jun-2024 10:43:15 Creating local git repository in '/home/bamboo/local-working-dir/PHPBB3-DD33-P5SP/.git'.
30-Jun-2024 10:43:15 hint: Using 'master' as the name for the initial branch. This default branch name
30-Jun-2024 10:43:15 hint: is subject to change. To configure the initial branch name to use in all
30-Jun-2024 10:43:15 hint: of your new repositories, which will suppress this warning, call:
30-Jun-2024 10:43:15 hint:
30-Jun-2024 10:43:15 hint:         git config --global init.defaultBranch <name>
30-Jun-2024 10:43:15 hint:
30-Jun-2024 10:43:15 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
30-Jun-2024 10:43:15 hint: 'development'. The just-created branch can be renamed via this command:
30-Jun-2024 10:43:15 hint:
30-Jun-2024 10:43:15 hint:         git branch -m <name>
30-Jun-2024 10:43:15 Initialized empty Git repository in /home/bamboo/local-working-dir/PHPBB3-DD33-P5SP/.git/
30-Jun-2024 10:43:16 Fetching 'refs/heads/3.3.x' from 'https://github.com/phpbb/phpbb.git'.
30-Jun-2024 10:43:30 Checking out revision ad77f0d0abb2ca44d64d0d1602c0be722a518c5b.
30-Jun-2024 10:43:30 Switched to branch '3.3.x'
30-Jun-2024 10:43:30 Updated source code to revision: ad77f0d0abb2ca44d64d0d1602c0be722a518c5b
30-Jun-2024 10:43:30 Finished task 'Checkout Default Repository' with result: Success
30-Jun-2024 10:43:30 Running pre-build action: VCS Version Collector
30-Jun-2024 10:43:30 Running pre-build action: Build Log Labeller Pre Build Action
30-Jun-2024 10:43:30 Build phpBB3 - Development Docker 3.3.x - PHP 7.2 - SQLite Package #546 (PHPBB3-DD33-P5SP-546) started building on agent 'Default Agent' ()
30-Jun-2024 10:43:30
Substituting variable: ${bamboo.working.directory} with /home/bamboo/local-working-dir/PHPBB3-DD33-P5SP
30-Jun-2024 10:43:30 Starting task 'Build image' of type 'com.atlassian.bamboo.plugins.bamboo-docker-plugin:task.docker.cli'
30-Jun-2024 10:43:30
Beginning to execute external process for build 'phpBB3 - Development Docker 3.3.x - PHP 7.2 - SQLite Package #546 (PHPBB3-DD33-P5SP-546)'
... running command line:
/usr/bin/docker build --force-rm=true --tag=phpbb:php-7.2 /home/bamboo/local-working-dir/PHPBB3-DD33-P5SP
... in: /home/bamboo/local-working-dir/PHPBB3-DD33-P5SP
30-Jun-2024 10:43:31 #0 building with "default" instance using docker driver
30-Jun-2024 10:43:31
30-Jun-2024 10:43:31 #1 [internal] load build definition from Dockerfile
30-Jun-2024 10:43:31 #1 transferring dockerfile: 490B done
30-Jun-2024 10:43:31 #1 DONE 0.0s
30-Jun-2024 10:43:31
30-Jun-2024 10:43:31 #2 [internal] load metadata for docker.io/library/php:7.2
30-Jun-2024 10:43:31 #2 DONE 0.4s
30-Jun-2024 10:43:31
30-Jun-2024 10:43:31 #3 [internal] load .dockerignore
30-Jun-2024 10:43:31 #3 transferring context: 2B done
30-Jun-2024 10:43:31 #3 DONE 0.0s
30-Jun-2024 10:43:31
30-Jun-2024 10:43:31 #4 [1/6] FROM docker.io/library/php:7.2@sha256:42ffbc0798e4449bbd1e14fc4dcb87774aa1ad1900a09ef6a965bc0880aa2161
30-Jun-2024 10:43:31 #4 DONE 0.0s
30-Jun-2024 10:43:31
30-Jun-2024 10:43:31 #5 [2/6] RUN apt-get update && apt-get install -y         git         zlib1g-dev         bzip2         zip         && docker-php-ext-install -j$(nproc) zip
30-Jun-2024 10:43:31 #5 CACHED
30-Jun-2024 10:43:31
30-Jun-2024 10:43:31 #6 [3/6] RUN pecl install xdebug-2.9.0
30-Jun-2024 10:43:31 #6 CACHED
30-Jun-2024 10:43:31
30-Jun-2024 10:43:31 #7 [4/6] RUN docker-php-ext-enable xdebug
30-Jun-2024 10:43:31 #7 CACHED
30-Jun-2024 10:43:31
30-Jun-2024 10:43:31 #8 [5/6] RUN echo "memory_limit = 1024M" >> /usr/local/etc/php/conf.d/memory.ini
30-Jun-2024 10:43:31 #8 CACHED
30-Jun-2024 10:43:31
30-Jun-2024 10:43:31 #9 [6/6] RUN git config --system user.name Docker && git config --system user.email docker@localhost
30-Jun-2024 10:43:31 #9 CACHED
30-Jun-2024 10:43:31
30-Jun-2024 10:43:31 #10 exporting to image
30-Jun-2024 10:43:31 #10 exporting layers done
30-Jun-2024 10:43:31 #10 writing image sha256:6665bcd3b1364680143d6bad436c7a7ad6b131caf2a5c90b73772ce335728859 done
30-Jun-2024 10:43:31 #10 naming to docker.io/library/phpbb:php-7.2 done
30-Jun-2024 10:43:31 #10 DONE 0.0s
30-Jun-2024 10:43:31 Built Docker image 'phpbb:php-7.2'
30-Jun-2024 10:43:31 Finished task 'Build image' with result: Success
30-Jun-2024 10:43:31
Substituting variable: ${bamboo.working.directory} with /home/bamboo/local-working-dir/PHPBB3-DD33-P5SP
30-Jun-2024 10:43:31 Starting task 'Package release files' of type 'com.atlassian.bamboo.plugins.bamboo-docker-plugin:task.docker.cli'
30-Jun-2024 10:43:31 Running image name (phpbb:php-7.2)
30-Jun-2024 10:43:31
Beginning to execute external process for build 'phpBB3 - Development Docker 3.3.x - PHP 7.2 - SQLite Package #546 (PHPBB3-DD33-P5SP-546)'
... running command line:
/usr/bin/docker run --volume /home/bamboo/local-working-dir/PHPBB3-DD33-P5SP:/data --workdir /data/phpBB --rm -u=991 -t --volume /home/bamboo/xml-data/build-dir/_git-repositories-cache/:/home/bamboo/xml-data/build-dir/_git-repositories-cache/ phpbb:php-7.2 /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/local-working-dir/PHPBB3-DD33-P5SP
30-Jun-2024 10:43:33 Could not open input file: ../composer.phar
30-Jun-2024 10:43:33 /bin/bash: line 0: cd: ../build: Permission denied
30-Jun-2024 10:43:33 fatal: not a git repository (or any parent up to mount point /)
30-Jun-2024 10:43:33 Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
30-Jun-2024 10:43:33 /bin/bash: ../phpBB/vendor/bin/phing: Permission denied
30-Jun-2024 10:43:34 Exit code: 126, output: STDOUT:  Beginning to execute external process for build 'phpBB3 - Development Docker 3.3.x - PHP 7.2 - SQLite Package #546 (PHPBB3-DD33-P5SP-546)'\n ... running command line: \n/usr/bin/docker run --volume /home/bamboo/local-working-dir/PHPBB3-DD33-P5SP:/data --workdir /data/phpBB --rm -u=991 -t --volume /home/bamboo/xml-data/build-dir/_git-repositories-cache/:/home/bamboo/xml-data/build-dir/_git-repositories-cache/ phpbb:php-7.2 /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/local-working-dir/PHPBB3-DD33-P5SP\nSTDOUT:  Could not open input file: ../composer.pharSTDOUT:  /bin/bash: line 0: cd: ../build: Permission deniedSTDOUT:  fatal: not a git repository (or any parent up to mount point /)STDOUT:  Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).STDOUT:  /bin/bash: ../phpBB/vendor/bin/phing: Permission denied
30-Jun-2024 10:43:34 Error occurred while running Task 'Package release files(2)' of type com.atlassian.bamboo.plugins.bamboo-docker-plugin:task.docker.cli.
30-Jun-2024 10:43:34 com.atlassian.bamboo.task.TaskException: Failed to execute task
30-Jun-2024 10:43:34         at com.atlassian.bamboo.plugins.docker.service.RunService.execute(RunService.java:75)
30-Jun-2024 10:43:34         at com.atlassian.bamboo.plugins.docker.tasks.cli.DockerCliTask.execute(DockerCliTask.java:70)
30-Jun-2024 10:43:34         at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$3(TaskExecutorImpl.java:323)
30-Jun-2024 10:43:34         at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:258)
30-Jun-2024 10:43:34         at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:323)
30-Jun-2024 10:43:34         at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:118)
30-Jun-2024 10:43:34         at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:73)
30-Jun-2024 10:43:34         at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.executeBuildPhase(DefaultBuildAgent.java:207)
30-Jun-2024 10:43:34         at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:179)
30-Jun-2024 10:43:34         at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.lambda$waitAndPerformBuild$0(BuildAgentControllerImpl.java:169)
30-Jun-2024 10:43:34         at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:118)
30-Jun-2024 10:43:34         at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:162)
30-Jun-2024 10:43:34         at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.lambda$start$0(DefaultBuildAgent.java:124)
30-Jun-2024 10:43:34         at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48)
30-Jun-2024 10:43:34         at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26)
30-Jun-2024 10:43:34         at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17)
30-Jun-2024 10:43:34         at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41)
30-Jun-2024 10:43:34         at java.lang.Thread.run(Thread.java:750)
30-Jun-2024 10:43:34 Caused by: com.atlassian.bamboo.docker.DockerException: Error running Docker run command
30-Jun-2024 10:43:34         at com.atlassian.bamboo.docker.DockerContainerServiceImpl.run(DockerContainerServiceImpl.java:134)
30-Jun-2024 10:43:34         at sun.reflect.GeneratedMethodAccessor2971.invoke(Unknown Source)
30-Jun-2024 10:43:34         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
30-Jun-2024 10:43:34         at java.lang.reflect.Method.invoke(Method.java:498)
30-Jun-2024 10:43:34         at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26)
30-Jun-2024 10:43:34         at com.sun.proxy.$Proxy518.run(Unknown Source)
30-Jun-2024 10:43:34         at sun.reflect.GeneratedMethodAccessor2971.invoke(Unknown Source)
30-Jun-2024 10:43:34         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
30-Jun-2024 10:43:34         at java.lang.reflect.Method.invoke(Method.java:498)
30-Jun-2024 10:43:34         at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:344)
30-Jun-2024 10:43:34         at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)
30-Jun-2024 10:43:34         at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)
30-Jun-2024 10:43:34         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
30-Jun-2024 10:43:34         at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:137)
30-Jun-2024 10:43:34         at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:124)
30-Jun-2024 10:43:34         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
30-Jun-2024 10:43:34         at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70)
30-Jun-2024 10:43:34         at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53)
30-Jun-2024 10:43:34         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
30-Jun-2024 10:43:34         at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)
30-Jun-2024 10:43:34         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
30-Jun-2024 10:43:34         at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:137)
30-Jun-2024 10:43:34         at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:124)
30-Jun-2024 10:43:34         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186)
30-Jun-2024 10:43:34         at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:215)
30-Jun-2024 10:43:34         at com.sun.proxy.$Proxy1064.run(Unknown Source)
30-Jun-2024 10:43:34         at com.atlassian.bamboo.plugins.docker.client.DockerCmd.run(DockerCmd.java:47)
30-Jun-2024 10:43:34         at com.atlassian.bamboo.plugins.docker.service.RunService.execute(RunService.java:64)
30-Jun-2024 10:43:34         ... 17 more
30-Jun-2024 10:43:34 Caused by: com.atlassian.utils.process.ProcessException: Error executing /usr/bin/docker run --volume /home/bamboo/local-working-dir/PHPBB3-DD33-P5SP:/data --workdir /data/phpBB --rm -u=991 -t --volume /home/bamboo/xml-data/build-dir/_git-repositories-cache/:/home/bamboo/xml-data/build-dir/_git-repositories-cache/ phpbb:php-7.2 /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"
30-Jun-2024 10:43:34         at com.atlassian.bamboo.docker.DockerContainerServiceImpl.execute(DockerContainerServiceImpl.java:306)
30-Jun-2024 10:43:34         at com.atlassian.bamboo.docker.DockerContainerServiceImpl.execute(DockerContainerServiceImpl.java:277)
30-Jun-2024 10:43:34         at com.atlassian.bamboo.docker.DockerContainerServiceImpl.run(DockerContainerServiceImpl.java:111)
30-Jun-2024 10:43:34         ... 44 more
30-Jun-2024 10:43:34 Running post build plugin 'Artifact Copier'
30-Jun-2024 10:43:34 Publishing an artifact: Release Files
30-Jun-2024 10:43:34 Unable to publish artifact [Release Files]: the source directory /home/bamboo/local-working-dir/PHPBB3-DD33-P5SP/build/new_version/release_files does not exist.
30-Jun-2024 10:43:34 The artifact hasn't been successfully published after 558.9 μs
30-Jun-2024 10:43:34 Running post build plugin 'npm Cache Cleanup'
30-Jun-2024 10:43:34 Running post build plugin 'NCover Results Collector'
30-Jun-2024 10:43:34 Running post build plugin 'Build Results Label Collector'
30-Jun-2024 10:43:34 Running post build plugin 'Clover Results Collector'
30-Jun-2024 10:43:34 Running post build plugin 'Docker Container Cleanup'
30-Jun-2024 10:43:34 Successfully removed working directory at '/home/bamboo/local-working-dir/PHPBB3-DD33-P5SP'
30-Jun-2024 10:43:34 Finalising the build...
30-Jun-2024 10:43:34 Stopping timer.
30-Jun-2024 10:43:34 Build PHPBB3-DD33-P5SP-546 completed.
30-Jun-2024 10:43:34 Running on server: post build plugin 'Build Hanging Detection Configuration'
30-Jun-2024 10:43:34 Running on server: post build plugin 'NCover Results Collector'
30-Jun-2024 10:43:34 Running on server: post build plugin 'Build Labeller'
30-Jun-2024 10:43:34 Running on server: post build plugin 'Clover Delta Calculator'
30-Jun-2024 10:43:34 Running on server: post build plugin 'Maven Dependencies Postprocessor'
30-Jun-2024 10:43:34 All post build plugins have finished
30-Jun-2024 10:43:34 Generating build results summary...
30-Jun-2024 10:43:34 Saving build results to disk...
30-Jun-2024 10:43:34 Store variable context...
30-Jun-2024 10:43:34 Finished building PHPBB3-DD33-P5SP-546.