Build: #19 failed

Job: Build libv8 debs for Bookworm failed

Stages & jobs

  1. Default Stage

  2. deploy

    Requires a user to start manually

Build log

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

21-Jul-2023 17:20:24 Build Supporting Deps - libv8 Deb - Build libv8 debs for Bookworm #19 (SP-LDD-BLDFBW-19) started building on agent AWS c5a amd64 box 2
21-Jul-2023 17:20:24 AWS c5a amd64 box 2
21-Jul-2023 17:20:24 Build working directory is /root/bamboo-agent-home/xml-data/build-dir/SP-LDD-BLDFBW
21-Jul-2023 17:20:24 Executing build Supporting Deps - libv8 Deb - Build libv8 debs for Bookworm #19 (SP-LDD-BLDFBW-19)
21-Jul-2023 17:20:24 Starting task 'Clean workspace' of type 'com.atlassian.bamboo.plugins.bamboo-artifact-downloader-plugin:cleanWorkingDirectoryTask'
21-Jul-2023 17:20:24 Cleaning working directory '/root/bamboo-agent-home/xml-data/build-dir/SP-LDD-BLDFBW'
21-Jul-2023 17:20:24 Finished task 'Clean workspace' with result: Success
21-Jul-2023 17:20:24 Starting task 'Checkout Default Repository' of type 'com.atlassian.bamboo.plugins.vcs:task.vcs.checkout'
21-Jul-2023 17:20:24 Build always requires a clean checkout
21-Jul-2023 17:20:24 Cleaning build directory '/root/bamboo-agent-home/xml-data/build-dir/SP-LDD-BLDFBW'
21-Jul-2023 17:20:24 Checking out into /root/bamboo-agent-home/xml-data/build-dir/SP-LDD-BLDFBW
21-Jul-2023 17:20:24 Updating source code to revision: cb179651eab7633a1697494e4a4e405324d68cbe
21-Jul-2023 17:20:24 Creating local git repository in '/root/bamboo-agent-home/xml-data/build-dir/SP-LDD-BLDFBW/.git'.
21-Jul-2023 17:20:24 hint: Using 'master' as the name for the initial branch. This default branch name
21-Jul-2023 17:20:24 hint: is subject to change. To configure the initial branch name to use in all
21-Jul-2023 17:20:24 hint: of your new repositories, which will suppress this warning, call:
21-Jul-2023 17:20:24 hint:
21-Jul-2023 17:20:24 hint:         git config --global init.defaultBranch <name>
21-Jul-2023 17:20:24 hint:
21-Jul-2023 17:20:24 hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
21-Jul-2023 17:20:24 hint: 'development'. The just-created branch can be renamed via this command:
21-Jul-2023 17:20:24 hint:
21-Jul-2023 17:20:24 hint:         git branch -m <name>
21-Jul-2023 17:20:24 Initialized empty Git repository in /root/bamboo-agent-home/xml-data/build-dir/SP-LDD-BLDFBW/.git/
21-Jul-2023 17:20:24 Fetching 'refs/heads/master' from 'https://github.com/freeswitch/libv8-packaging.git'.
21-Jul-2023 17:20:24 From https://github.com/freeswitch/libv8-packaging
21-Jul-2023 17:20:24 * [new branch]      master     -> master
21-Jul-2023 17:20:24 Checking out revision cb179651eab7633a1697494e4a4e405324d68cbe.
21-Jul-2023 17:20:24 Already on 'master'
21-Jul-2023 17:20:24 Updated source code to revision: cb179651eab7633a1697494e4a4e405324d68cbe
21-Jul-2023 17:20:24 Finished task 'Checkout Default Repository' with result: Success
21-Jul-2023 17:20:24 Running pre-build action: VCS Version Collector
21-Jul-2023 17:20:24
Substituting variable: ${bamboo.working.directory} with /root/bamboo-agent-home/xml-data/build-dir/SP-LDD-BLDFBW
21-Jul-2023 17:20:24 Starting task 'Build bookworm image' of type 'com.atlassian.bamboo.plugins.bamboo-docker-plugin:task.docker.cli'
21-Jul-2023 17:20:24
Beginning to execute external process for build 'Supporting Deps - libv8 Deb - Build libv8 debs for Bookworm #19 (SP-LDD-BLDFBW-19)'
... running command line:
/bin/docker build --force-rm=true --tag=signalwire/libv8:bookworm /root/bamboo-agent-home/xml-data/build-dir/SP-LDD-BLDFBW
... in: /root/bamboo-agent-home/xml-data/build-dir/SP-LDD-BLDFBW
... using extra environment variables:
bamboo_planRepository_1_branch=master
bamboo_planRepository_1_branchDisplayName=master
bamboo_repository_revision_number=cb179651eab7633a1697494e4a4e405324d68cbe
bamboo_resultsUrl=https://freeswitch.org/bamboo/browse/SP-LDD-BLDFBW-19
bamboo_repository_53674003_git_username=
bamboo_repository_53674003_name=libv8-packaging
bamboo_build_working_directory=/root/bamboo-agent-home/xml-data/build-dir/SP-LDD-BLDFBW
bamboo_planRepository_1_name=libv8-packaging
bamboo_buildKey=SP-LDD-BLDFBW
bamboo_capability_system_jdk_JDK_1_8_0_292=/usr/lib/jvm/adoptopenjdk-8-hotspot-amd64
bamboo_shortPlanName=libv8 Deb
bamboo_planRepository_name=libv8-packaging
bamboo_buildNumber=19
bamboo_shortJobName=Build libv8 debs for Bookworm
bamboo_buildResultsUrl=https://freeswitch.org/bamboo/browse/SP-LDD-BLDFBW-19
bamboo_planRepository_repositoryUrl=https://github.com/freeswitch/libv8-packaging.git
bamboo_agentId=54165505
bamboo_planName=Supporting Deps - libv8 Deb
bamboo_shortPlanKey=LDD
bamboo_shortJobKey=BLDFBW
bamboo_planRepository_revision=cb179651eab7633a1697494e4a4e405324d68cbe
bamboo_buildTimeStamp=2023-07-21T17:20:23.490-04:00
bamboo_repository_previous_revision_number=cb179651eab7633a1697494e4a4e405324d68cbe
bamboo_repository_53674003_revision_number=cb179651eab7633a1697494e4a4e405324d68cbe
bamboo_planRepository_previousRevision=cb179651eab7633a1697494e4a4e405324d68cbe
bamboo_repository_53674003_git_branch=master
bamboo_repository_git_branch=master
bamboo_buildResultKey=SP-LDD-BLDFBW-19
bamboo_repository_branch_name=master
bamboo_buildPlanName=Supporting Deps - libv8 Deb - Build libv8 debs for Bookworm
bamboo_planRepository_1_revision=cb179651eab7633a1697494e4a4e405324d68cbe
bamboo_repository_name=libv8-packaging
bamboo_dependenciesDisabled=false
bamboo_buildFailed=false
bamboo_capability_system_docker_executable=/bin/docker
bamboo_planRepository_branch=master
bamboo_agentWorkingDirectory=/root/bamboo-agent-home/xml-data/build-dir
bamboo_capability_system_git_executable=/bin/git
bamboo_repository_git_username=
bamboo_planRepository_1_previousRevision=cb179651eab7633a1697494e4a4e405324d68cbe
bamboo_planRepository_branchDisplayName=master
bamboo_planRepository_1_type=gitv2
bamboo_planRepository_branchName=master
bamboo_capability_system_jdk_JDK=/usr/lib/jvm/adoptopenjdk-8-hotspot-amd64
bamboo_repository_53674003_branch_name=master
bamboo_plan_storageTag=plan-32505907
bamboo_hg_cache_directory=/root/bamboo-agent-home/xml-data/build-dir/_hg-repositories-cache
bamboo_planRepository_1_username=
bamboo_planRepository_type=gitv2
bamboo_git_cache_directory=/root/bamboo-agent-home/xml-data/build-dir/_git-repositories-cache
bamboo_ManualBuildTriggerReason_userName=andywolk
bamboo_repository_git_repositoryUrl=https://github.com/freeswitch/libv8-packaging.git
bamboo_capability_datacenter=aws
bamboo_tmp_directory=/root/bamboo-agent-home/temp
bamboo_working_directory=/root/bamboo-agent-home/xml-data/build-dir/SP-LDD-BLDFBW
bamboo_planKey=SP-LDD
bamboo_repository_53674003_previous_revision_number=cb179651eab7633a1697494e4a4e405324d68cbe
bamboo_planRepository_1_repositoryUrl=https://github.com/freeswitch/libv8-packaging.git
bamboo_planRepository_username=
bamboo_capability_system_jdk_JDK_1_8=/usr/lib/jvm/adoptopenjdk-8-hotspot-amd64
bamboo_repository_53674003_git_repositoryUrl=https://github.com/freeswitch/libv8-packaging.git
bamboo_planRepository_1_branchName=master
21-Jul-2023 17:20:24 #1 [internal] load build definition from Dockerfile
21-Jul-2023 17:20:24 #1 transferring dockerfile: 500B done
21-Jul-2023 17:20:24 #1 DONE 0.0s
21-Jul-2023 17:20:24
21-Jul-2023 17:20:24 #2 [internal] load .dockerignore
21-Jul-2023 17:20:24 #2 transferring context: 2B done
21-Jul-2023 17:20:24 #2 DONE 0.0s
21-Jul-2023 17:20:24
21-Jul-2023 17:20:24 #3 [internal] load metadata for docker.io/library/debian:bookworm
21-Jul-2023 17:20:24 #3 DONE 0.1s
21-Jul-2023 17:20:25
21-Jul-2023 17:20:25 #4 [1/7] FROM docker.io/library/debian:bookworm@sha256:3d868b5eb908155f3784317b3dda2941df87bbbbaa4608f84881de66d9bb297b
21-Jul-2023 17:20:25 #4 CACHED
21-Jul-2023 17:20:25
21-Jul-2023 17:20:25 #5 [2/7] RUN apt-get update &&     DEBIAN_FRONTEND=noninteractive apt-get -yq install     cdbs git dos2unix lsb-release build-essential curl wget python2 devscripts libglib2.0-dev pkg-config
21-Jul-2023 17:20:25 #5 0.310 Get:1 http://deb.debian.org/debian bookworm InRelease [147 kB]
21-Jul-2023 17:20:25 #5 0.397 Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
21-Jul-2023 17:20:25 #5 0.428 Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
21-Jul-2023 17:20:25 #5 0.460 Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8904 kB]
21-Jul-2023 17:20:25 #5 0.726 Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [4732 B]
21-Jul-2023 17:20:25 #5 0.726 Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [48.0 kB]
21-Jul-2023 17:20:26 #5 1.657 Fetched 9204 kB in 1s (6543 kB/s)
21-Jul-2023 17:20:27 #5 1.657 Reading package lists...
21-Jul-2023 17:20:27 #5 2.168 Reading package lists...
21-Jul-2023 17:20:27 #5 2.670 Building dependency tree...
21-Jul-2023 17:20:27 #5 2.804 Reading state information...
21-Jul-2023 17:20:27 #5 2.809 Package python2 is not available, but is referred to by another package.
21-Jul-2023 17:20:27 #5 2.809 This may mean that the package is missing, has been obsoleted, or
21-Jul-2023 17:20:27 #5 2.809 is only available from another source
21-Jul-2023 17:20:27 #5 2.809
21-Jul-2023 17:20:27 #5 2.811 E: Package 'python2' has no installation candidate
21-Jul-2023 17:20:27 #5 ERROR: process "/bin/sh -c apt-get update &&     DEBIAN_FRONTEND=noninteractive apt-get -yq install     cdbs git dos2unix lsb-release build-essential curl wget python2 devscripts libglib2.0-dev pkg-config" did not complete successfully: exit code: 100
21-Jul-2023 17:20:27 ------
21-Jul-2023 17:20:27 > [2/7] RUN apt-get update &&     DEBIAN_FRONTEND=noninteractive apt-get -yq install     cdbs git dos2unix lsb-release build-essential curl wget python2 devscripts libglib2.0-dev pkg-config:
21-Jul-2023 17:20:27 #5 0.726 Get:5 http://deb.debian.org/debian bookworm-updates/main amd64 Packages [4732 B]
21-Jul-2023 17:20:27 #5 0.726 Get:6 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [48.0 kB]
21-Jul-2023 17:20:27
21-Jul-2023 17:20:27 #5 2.670 Building dependency tree...
21-Jul-2023 17:20:27 #5 2.804 Reading state information...
21-Jul-2023 17:20:27 #5 2.809 Package python2 is not available, but is referred to by another package.
21-Jul-2023 17:20:27 #5 2.809 This may mean that the package is missing, has been obsoleted, or
21-Jul-2023 17:20:27 #5 2.809 is only available from another source
21-Jul-2023 17:20:27 #5 2.809
21-Jul-2023 17:20:27 #5 2.811 E: Package 'python2' has no installation candidate
21-Jul-2023 17:20:27 ------
21-Jul-2023 17:20:27 Dockerfile:4
21-Jul-2023 17:20:27 --------------------
21-Jul-2023 17:20:27    3 |     
21-Jul-2023 17:20:27    4 | >>> RUN apt-get update && \
21-Jul-2023 17:20:27    5 | >>>     DEBIAN_FRONTEND=noninteractive apt-get -yq install \
21-Jul-2023 17:20:27    6 | >>>     cdbs git dos2unix lsb-release build-essential curl wget python2 devscripts libglib2.0-dev pkg-config
21-Jul-2023 17:20:27    7 |     
21-Jul-2023 17:20:27 --------------------
21-Jul-2023 17:20:27 ERROR: failed to solve: process "/bin/sh -c apt-get update &&     DEBIAN_FRONTEND=noninteractive apt-get -yq install     cdbs git dos2unix lsb-release build-essential curl wget python2 devscripts libglib2.0-dev pkg-config" did not complete successfully: exit code: 100
21-Jul-2023 17:20:27 Failing task since return code of [/bin/docker build --force-rm=true --tag=signalwire/libv8:bookworm /root/bamboo-agent-home/xml-data/build-dir/SP-LDD-BLDFBW] was 1 while expected 0
21-Jul-2023 17:20:27 Error occurred while running Task 'Build bookworm image(3)' of type com.atlassian.bamboo.plugins.bamboo-docker-plugin:task.docker.cli.
21-Jul-2023 17:20:27 com.atlassian.bamboo.task.TaskException: Failed to execute task
21-Jul-2023 17:20:27         at com.atlassian.bamboo.plugins.docker.service.BuildService.execute(BuildService.java:53)
21-Jul-2023 17:20:27         at com.atlassian.bamboo.plugins.docker.tasks.cli.DockerCliTask.execute(DockerCliTask.java:70)
21-Jul-2023 17:20:27         at com.atlassian.bamboo.task.TaskExecutorImpl.lambda$executeTasks$3(TaskExecutorImpl.java:319)
21-Jul-2023 17:20:27         at com.atlassian.bamboo.task.TaskExecutorImpl.executeTaskWithPrePostActions(TaskExecutorImpl.java:252)
21-Jul-2023 17:20:27         at com.atlassian.bamboo.task.TaskExecutorImpl.executeTasks(TaskExecutorImpl.java:319)
21-Jul-2023 17:20:27         at com.atlassian.bamboo.task.TaskExecutorImpl.execute(TaskExecutorImpl.java:112)
21-Jul-2023 17:20:27         at com.atlassian.bamboo.build.pipeline.tasks.ExecuteBuildTask.call(ExecuteBuildTask.java:73)
21-Jul-2023 17:20:27         at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.executeBuildPhase(DefaultBuildAgent.java:203)
21-Jul-2023 17:20:27         at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent.build(DefaultBuildAgent.java:175)
21-Jul-2023 17:20:27         at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.lambda$waitAndPerformBuild$0(BuildAgentControllerImpl.java:131)
21-Jul-2023 17:20:27         at com.atlassian.bamboo.variable.CustomVariableContextImpl.withVariableSubstitutor(CustomVariableContextImpl.java:185)
21-Jul-2023 17:20:27         at com.atlassian.bamboo.v2.build.agent.BuildAgentControllerImpl.waitAndPerformBuild(BuildAgentControllerImpl.java:125)
21-Jul-2023 17:20:27         at com.atlassian.bamboo.v2.build.agent.DefaultBuildAgent$1.run(DefaultBuildAgent.java:126)
21-Jul-2023 17:20:27         at com.atlassian.bamboo.utils.BambooRunnables$1.run(BambooRunnables.java:48)
21-Jul-2023 17:20:27         at com.atlassian.bamboo.security.ImpersonationHelper.runWith(ImpersonationHelper.java:26)
21-Jul-2023 17:20:27         at com.atlassian.bamboo.security.ImpersonationHelper.runWithSystemAuthority(ImpersonationHelper.java:17)
21-Jul-2023 17:20:27         at com.atlassian.bamboo.security.ImpersonationHelper$1.run(ImpersonationHelper.java:41)
21-Jul-2023 17:20:27         at java.lang.Thread.run(Thread.java:748)
21-Jul-2023 17:20:27 Caused by: com.atlassian.bamboo.docker.DockerException: Error running Docker build command
21-Jul-2023 17:20:27         at com.atlassian.bamboo.plugins.docker.client.DockerCmd.build(DockerCmd.java:106)
21-Jul-2023 17:20:27         at com.atlassian.bamboo.plugins.docker.service.BuildService.execute(BuildService.java:40)
21-Jul-2023 17:20:27         ... 17 more
21-Jul-2023 17:20:27 Caused by: com.atlassian.utils.process.ProcessException: Error executing /bin/docker build --force-rm=true --tag=signalwire/libv8:bookworm /root/bamboo-agent-home/xml-data/build-dir/SP-LDD-BLDFBW
21-Jul-2023 17:20:27         at com.atlassian.bamboo.plugins.docker.process.DockerTaskProcessService.execute(DockerTaskProcessService.java:62)
21-Jul-2023 17:20:27         at com.atlassian.bamboo.plugins.docker.client.DockerCmd.build(DockerCmd.java:104)
21-Jul-2023 17:20:27         ... 18 more
21-Jul-2023 17:20:27 Running post build plugin 'Docker Container Cleanup'
21-Jul-2023 17:20:27 Running post build plugin 'NCover Results Collector'
21-Jul-2023 17:20:27 Running post build plugin 'Clover Results Collector'
21-Jul-2023 17:20:27 Running post build plugin 'npm Cache Cleanup'
21-Jul-2023 17:20:27 Running post build plugin 'Artifact Copier'
21-Jul-2023 17:20:27 Publishing an artifact: libv8-debs-bookworm
21-Jul-2023 17:20:27 Unable to publish artifact [libv8-debs-bookworm]: the source directory /root/bamboo-agent-home/xml-data/build-dir/SP-LDD-BLDFBW/linux/build does not exist.
21-Jul-2023 17:20:27 The artifact is required, build will now fail.
21-Jul-2023 17:20:27 The artifact hasn't been successfully published after 94.61 ?s
21-Jul-2023 17:20:27 Finalising the build...
21-Jul-2023 17:20:27 Stopping timer.
21-Jul-2023 17:20:27 Build SP-LDD-BLDFBW-19 completed.
21-Jul-2023 17:20:28 Running on server: post build plugin 'NCover Results Collector'
21-Jul-2023 17:20:28 Running on server: post build plugin 'Build Hanging Detection Configuration'
21-Jul-2023 17:20:28 Running on server: post build plugin 'Clover Delta Calculator'
21-Jul-2023 17:20:28 Running on server: post build plugin 'Maven Dependencies Postprocessor'
21-Jul-2023 17:20:28 All post build plugins have finished
21-Jul-2023 17:20:28 Generating build results summary...
21-Jul-2023 17:20:28 Saving build results to disk...
21-Jul-2023 17:20:28 Logging substituted variables...
21-Jul-2023 17:20:28 Indexing build results...
21-Jul-2023 17:20:28 Finished building SP-LDD-BLDFBW-19.