Build: #1293 failed

Job: PHP 8.1 - SQLite Package failed

Build log

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

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