Skip to content

website build broken during Docker image preparation #3382

Closed
@richardlau

Description

@richardlau

@RafaelGSS has pointed out from the webhook log that the build did not succeed:

stderr: Previous HEAD position was 58704a9... chore: updated issue templates descriptions
stderr: HEAD is now at 7a4e29c... blog: add june 2023 security releases (#5434)
stdout: lts: Pulling from library/node
stdout: c98dda1b0e97: Pulling fs layer
stdout: 9a463ac54ed3: Pulling fs layer
stdout: b70766638915: Pulling fs layer
stdout: 4bcc83cd0070: Pulling fs layer
stdout: 217770c726a2: Pulling fs layer
stdout: cec0e089046a: Pulling fs layer
stdout: 6fedcf8a3041: Pulling fs layer
stdout: 471e0a0d1303: Pulling fs layer
stdout: 4bcc83cd0070: Waiting
stdout: 217770c726a2: Waiting
stdout: cec0e089046a: Waiting
stdout: 471e0a0d1303: Waiting
stdout: 9a463ac54ed3: Download complete
stdout: c98dda1b0e97: Verifying Checksum
stdout: c98dda1b0e97: Download complete
stdout: 217770c726a2: Verifying Checksum
stdout: 217770c726a2: Download complete
stdout: b70766638915: Verifying Checksum
stdout: b70766638915: Download complete
stdout: 6fedcf8a3041: Verifying Checksum
stdout: 6fedcf8a3041: Download complete
stdout: 471e0a0d1303: Verifying Checksum
stdout: 471e0a0d1303: Download complete
stdout: cec0e089046a: Verifying Checksum
stdout: cec0e089046a: Download complete
stdout: 4bcc83cd0070: Verifying Checksum
stdout: 4bcc83cd0070: Download complete
stdout: c98dda1b0e97: Pull complete
stdout: 9a463ac54ed3: Pull complete
stdout: b70766638915: Pull complete
stdout: 4bcc83cd0070: Pull complete
stdout: 217770c726a2: Pull complete
stdout: cec0e089046a: Pull complete
stdout: 6fedcf8a3041: Pull complete
stdout: 471e0a0d1303: Pull complete
stdout: Digest: sha256:d244ade7d0b2ad97002102880142c8b9a4b016ea2308af87e9b150c43987b301
stdout: Status: Downloaded newer image for node:lts
stdout: docker.io/library/node:lts
stdout: Get:1 http://deb.debian.org/debian bookworm InRelease [147 kB]
stdout: Get:2 http://deb.debian.org/debian bookworm-updates InRelease [52.1 kB]
stdout: Get:3 http://deb.debian.org/debian-security bookworm-security InRelease [48.0 kB]
stdout: Get:4 http://deb.debian.org/debian bookworm/main amd64 Packages [8904 kB]
stdout: Get:5 http://deb.debian.org/debian-security bookworm-security/main amd64 Packages [17.6 kB]
stdout: Fetched 9169 kB in 2s (3673 kB/s)
stdout: Reading package lists...
stderr: E: Problem executing scripts APT::Update::Post-Invoke 'rm -f /var/cache/apt/archives/*.deb /var/cache/apt/archives/partial/*.deb /var/cache/apt/*.bin || true'
stderr: E: Sub-process returned an error code
event="push", match="ref == "refs/heads/main" && repository.full_name == "nodejs/nodejs.org"", exec="/home/nodejs/build-site.sh nodejs"
Tue Jun 13 2023 14:15:19 GMT+0000 (Coordinated Universal Time)
Took 46090 ms

The error looks to be from

docker pull node:lts
docker run \
--rm \
-v ${clonedir}:/website/ \
-v /home/nodejs/.npm:/npm/ \
node:lts \
bash -c " \
apt-get update && apt-get install -y rsync && \
addgroup nodejs --gid ${nodeuid} && \
adduser nodejs --uid ${nodeuid} --gid ${nodegid} --gecos nodejs --disabled-password && \
su nodejs -c ' \
npm config set loglevel http && \
npm config set cache /npm/ && \
cd /website/ && \
npm ci && \
$build_cmd \
' \
"

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions