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