Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix handling of -cert parameter in inbound agent #925

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Fix handling of -cert parameter in inbound agent

4f60bda
Select commit
Loading
Failed to load commit list.
Draft

Fix handling of -cert parameter in inbound agent #925

Fix handling of -cert parameter in inbound agent
4f60bda
Select commit
Loading
Failed to load commit list.
ci.jenkins.io / Jenkins failed Jan 27, 2025 in 21m 10s

Pipeline/Matrix - IMAGE_TYPE = 'linux'/Main/Build and Test: error in 'sh' step

Pipeline / Matrix - IMAGE_TYPE = 'linux' / Matrix - IMAGE_TYPE = 'linux' / Main / Build and Test / Shell Script

Error in sh step, with arguments ./build.sh.

script returned exit code 2
Build log
[2025-01-27T13:20:58.305Z] + ./build.sh
[2025-01-27T13:20:58.406Z] ./build.sh: line 50: env.props: No such file or directory
[2025-01-27T13:20:58.406Z] cut: env.props: No such file or directory
[2025-01-27T13:20:58.406Z] ./build.sh: line 51: export: `': not a valid identifier
[2025-01-27T13:20:58.407Z] #1 [internal] load local bake definitions
[2025-01-27T13:20:58.507Z] #1 reading docker-bake.hcl 11.60kB / 11.60kB done
[2025-01-27T13:20:58.508Z] #1 DONE 0.0s
[2025-01-27T13:20:58.508Z] {
[2025-01-27T13:20:58.508Z]   "group": {
[2025-01-27T13:20:58.509Z]     "alpine": {
[2025-01-27T13:20:58.509Z]       "targets": [
[2025-01-27T13:20:58.509Z]         "agent_alpine_jdk17",
[2025-01-27T13:20:58.509Z]         "inbound-agent_alpine_jdk17",
[2025-01-27T13:20:58.510Z]         "agent_alpine_jdk21",
[2025-01-27T13:20:58.510Z]         "inbound-agent_alpine_jdk21"
[2025-01-27T13:20:58.511Z]       ]
[2025-01-27T13:20:58.511Z]     },
[2025-01-27T13:20:58.511Z]     "debian": {
[2025-01-27T13:20:58.512Z]       "targets": [
[2025-01-27T13:20:58.512Z]         "agent_debian_jdk17",
[2025-01-27T13:20:58.512Z]         "agent_debian_jdk21",
[2025-01-27T13:20:58.513Z]         "inbound-agent_debian_jdk17",
[2025-01-27T13:20:58.513Z]         "inbound-agent_debian_jdk21"
[2025-01-27T13:20:58.513Z]       ]
[2025-01-27T13:20:58.513Z]     },
[2025-01-27T13:20:58.514Z]     "default": {
[2025-01-27T13:20:58.515Z]       "targets": [
[2025-01-27T13:20:58.516Z]         "linux"
[2025-01-27T13:20:58.516Z]       ]
[2025-01-27T13:20:58.516Z]     },
[2025-01-27T13:20:58.516Z]     "linux": {
[2025-01-27T13:20:58.517Z]       "targets": [
[2025-01-27T13:20:58.517Z]         "alpine",
[2025-01-27T13:20:58.517Z]         "debian",
[2025-01-27T13:20:58.517Z]         "rhel_ubi9"
[2025-01-27T13:20:58.517Z]       ]
[2025-01-27T13:20:58.518Z]     },
[2025-01-27T13:20:58.518Z]     "rhel_ubi9": {
[2025-01-27T13:20:58.518Z]       "targets": [
[2025-01-27T13:20:58.518Z]         "agent_rhel_ubi9_jdk17",
[2025-01-27T13:20:58.519Z]         "agent_rhel_ubi9_jdk21",
[2025-01-27T13:20:58.519Z]         "inbound-agent_rhel_ubi9_jdk17",
[2025-01-27T13:20:58.519Z]         "inbound-agent_rhel_ubi9_jdk21"
[2025-01-27T13:20:58.519Z]       ]
[2025-01-27T13:20:58.519Z]     }
[2025-01-27T13:20:58.520Z]   },
[2025-01-27T13:20:58.520Z]   "target": {
[2025-01-27T13:20:58.520Z]     "agent_alpine_jdk17": {
[2025-01-27T13:20:58.520Z]       "context": ".",
[2025-01-27T13:20:58.521Z]       "dockerfile": "alpine/Dockerfile",
[2025-01-27T13:20:58.521Z]       "args": {
[2025-01-27T13:20:58.521Z]         "ALPINE_TAG": "3.21.2",
[2025-01-27T13:20:58.521Z]         "JAVA_VERSION": "17.0.13_11",
[2025-01-27T13:20:58.521Z]         "VERSION": "3283.v92c105e0f819"
[2025-01-27T13:20:58.522Z]       },
[2025-01-27T13:20:58.522Z]       "tags": [
[2025-01-27T13:20:58.522Z]         "docker.io/jenkins4eval/agent:alpine",
[2025-01-27T13:20:58.522Z]         "docker.io/jenkins4eval/agent:alpine3.21",
[2025-01-27T13:20:58.522Z]         "docker.io/jenkins4eval/agent:latest-alpine",
[2025-01-27T13:20:58.523Z]         "docker.io/jenkins4eval/agent:latest-alpine3.21",
[2025-01-27T13:20:58.523Z]         "docker.io/jenkins4eval/agent:alpine-jdk17",
[2025-01-27T13:20:58.523Z]         "docker.io/jenkins4eval/agent:alpine3.21-jdk17",
[2025-01-27T13:20:58.523Z]         "docker.io/jenkins4eval/agent:latest-alpine-jdk17",
[2025-01-27T13:20:58.523Z]         "docker.io/jenkins4eval/agent:latest-alpine3.21-jdk17"
[2025-01-27T13:20:58.524Z]       ],
[2025-01-27T13:20:58.524Z]       "target": "agent",
[2025-01-27T13:20:58.524Z]       "platforms": [
[2025-01-27T13:20:58.524Z]         "linux/amd64"
[2025-01-27T13:20:58.524Z]       ],
[2025-01-27T13:20:58.525Z]       "output": [
[2025-01-27T13:20:58.525Z]         "type=docker"
[2025-01-27T13:20:58.525Z]       ]
[2025-01-27T13:20:58.525Z]     },
[2025-01-27T13:20:58.525Z]     "agent_alpine_jdk21": {
[2025-01-27T13:20:58.526Z]       "context": ".",
[2025-01-27T13:20:58.526Z]       "dockerfile": "alpine/Dockerfile",
[2025-01-27T13:20:58.526Z]       "args": {
[2025-01-27T13:20:58.526Z]         "ALPINE_TAG": "3.21.2",
[2025-01-27T13:20:58.526Z]         "JAVA_VERSION": "21.0.5_11",
[2025-01-27T13:20:58.527Z]         "VERSION": "3283.v92c105e0f819"
[2025-01-27T13:20:58.527Z]       },
[2025-01-27T13:20:58.527Z]       "tags": [
[2025-01-27T13:20:58.527Z]         "docker.io/jenkins4eval/agent:alpine-jdk21",
[2025-01-27T13:20:58.527Z]         "docker.io/jenkins4eval/agent:alpine3.21-jdk21",
[2025-01-27T13:20:58.528Z]         "docker.io/jenkins4eval/agent:latest-alpine-jdk21",
[2025-01-27T13:20:58.528Z]         "docker.io/jenkins4eval/agent:latest-alpine3.21-jdk21"
[2025-01-27T13:20:58.528Z]       ],
[2025-01-27T13:20:58.528Z]       "target": "agent",
[2025-01-27T13:20:58.528Z]       "platforms": [
[2025-01-27T13:20:58.529Z]         "linux/amd64",
[2025-01-27T13:20:58.529Z]         "linux/arm64"
[2025-01-27T13:20:58.530Z]       ],
[2025-01-27T13:20:58.530Z]       "output": [
[2025-01-27T13:20:58.530Z]         "type=docker"
[2025-01-27T13:20:58.530Z]       ]
[2025-01-27T13:20:58.530Z]     },
[2025-01-27T13:20:58.531Z]     "agent_debian_jdk17": {
[2025-01-27T13:20:58.531Z]       "context": ".",
[2025-01-27T13:20:58.531Z]       "dockerfile": "debian/Dockerfile",
[2025-01-27T13:20:58.531Z]       "args": {
[2025-01-27T13:20:58.531Z]         "DEBIAN_RELEASE": "bookworm-20250113",
[2025-01-27T13:20:58.531Z]         "JAVA_VERSION": "17.0.13_11",
[2025-01-27T13:20:58.532Z]         "VERSION": "3283.v92c105e0f819"
[2025-01-27T13:20:58.532Z]       },
[2025-01-27T13:20:58.532Z]       "tags": [
[2025-01-27T13:20:58.532Z]         "docker.io/jenkins4eval/agent:bookworm",
[2025-01-27T13:20:58.532Z]         "docker.io/jenkins4eval/agent:latest",
[2025-01-27T13:20:58.533Z]         "docker.io/jenkins4eval/agent:latest-bookworm",
[2025-01-27T13:20:58.533Z]         "docker.io/jenkins4eval/agent:bookworm-jdk17",
[2025-01-27T13:20:58.533Z]         "docker.io/jenkins4eval/agent:jdk17",
[2025-01-27T13:20:58.533Z]         "docker.io/jenkins4eval/agent:latest-bookworm-jdk17",
[2025-01-27T13:20:58.533Z]         "docker.io/jenkins4eval/agent:latest-jdk17"
[2025-01-27T13:20:58.533Z]       ],
[2025-01-27T13:20:58.534Z]       "target": "agent",
[2025-01-27T13:20:58.534Z]       "platforms": [
[2025-01-27T13:20:58.534Z]         "linux/amd64",
[2025-01-27T13:20:58.534Z]         "linux/arm64",
[2025-01-27T13:20:58.534Z]         "linux/ppc64le",
[2025-01-27T13:20:58.535Z]         "linux/arm/v7"
[2025-01-27T13:20:58.535Z]       ],
[2025-01-27T13:20:58.535Z]       "output": [
[2025-01-27T13:20:58.535Z]         "type=docker"
[2025-01-27T13:20:58.535Z]       ]
[2025-01-27T13:20:58.535Z]     },
[2025-01-27T13:20:58.536Z]     "agent_debian_jdk21": {
[2025-01-27T13:20:58.536Z]       "context": ".",
[2025-01-27T13:20:58.536Z]       "dockerfile": "debian/Dockerfile",
[2025-01-27T13:20:58.536Z]       "args": {
[2025-01-27T13:20:58.536Z]         "DEBIAN_RELEASE": "bookworm-20250113",
[2025-01-27T13:20:58.536Z]         "JAVA_VERSION": "21.0.5_11",
[2025-01-27T13:20:58.537Z]         "VERSION": "3283.v92c105e0f819"
[2025-01-27T13:20:58.537Z]       },
[2025-01-27T13:20:58.537Z]       "tags": [
[2025-01-27T13:20:58.537Z]         "docker.io/jenkins4eval/agent:bookworm-jdk21",
[2025-01-27T13:20:58.537Z]         "docker.io/jenkins4eval/agent:jdk21",
[2025-01-27T13:20:58.538Z]         "docker.io/jenkins4eval/agent:latest-bookworm-jdk21",
[2025-01-27T13:20:58.538Z]         "docker.io/jenkins4eval/agent:latest-jdk21"
[2025-01-27T13:20:58.538Z]       ],
[2025-01-27T13:20:58.538Z]       "target": "agent",
[2025-01-27T13:20:58.538Z]       "platforms": [
[2025-01-27T13:20:58.538Z]         "linux/amd64",
[2025-01-27T13:20:58.539Z]         "linux/arm64",
[2025-01-27T13:20:58.539Z]         "linux/ppc64le",
[2025-01-27T13:20:58.539Z]         "linux/s390x"
[2025-01-27T13:20:58.539Z]       ],
[2025-01-27T13:20:58.539Z]       "output": [
[2025-01-27T13:20:58.539Z]         "type=docker"
[2025-01-27T13:20:58.540Z]       ]
[2025-01-27T13:20:58.540Z]     },
[2025-01-27T13:20:58.540Z]     "agent_rhel_ubi9_jdk17": {
[2025-01-27T13:20:58.540Z]       "context": ".",
[2025-01-27T13:20:58.540Z]       "dockerfile": "rhel/ubi9/Dockerfile",
[2025-01-27T13:20:58.540Z]       "args": {
[2025-01-27T13:20:58.541Z]         "JAVA_VERSION": "17.0.13_11",
[2025-01-27T13:20:58.541Z]         "UBI9_TAG": "9.5-1736404036",
[2025-01-27T13:20:58.541Z]         "VERSION": "3283.v92c105e0f819"
[2025-01-27T13:20:58.541Z]       },
[2025-01-27T13:20:58.541Z]       "tags": [
[2025-01-27T13:20:58.541Z]         "docker.io/jenkins4eval/agent:rhel-ubi9",
[2025-01-27T13:20:58.542Z]         "docker.io/jenkins4eval/agent:latest-rhel-ubi9",
[2025-01-27T13:20:58.542Z]         "docker.io/jenkins4eval/agent:rhel-ubi9-jdk17",
[2025-01-27T13:20:58.542Z]         "docker.io/jenkins4eval/agent:latest-rhel-ubi9-jdk17"
[2025-01-27T13:20:58.542Z]       ],
[2025-01-27T13:20:58.542Z]       "target": "agent",
[2025-01-27T13:20:58.542Z]       "platforms": [
[2025-01-27T13:20:58.543Z]         "linux/amd64",
[2025-01-27T13:20:58.543Z]         "linux/arm64",
[2025-01-27T13:20:58.543Z]         "linux/ppc64le"
[2025-01-27T13:20:58.543Z]       ],
[2025-01-27T13:20:58.543Z]       "output": [
[2025-01-27T13:20:58.544Z]         "type=docker"
[2025-01-27T13:20:58.544Z]       ]
[2025-01-27T13:20:58.544Z]     },
[2025-01-27T13:20:58.544Z]     "agent_rhel_ubi9_jdk21": {
[2025-01-27T13:20:58.544Z]       "context": ".",
[2025-01-27T13:20:58.545Z]       "dockerfile": "rhel/ubi9/Dockerfile",
[2025-01-27T13:20:58.545Z]       "args": {
[2025-01-27T13:20:58.545Z]         "JAVA_VERSION": "21.0.5_11",
[2025-01-27T13:20:58.545Z]         "UBI9_TAG": "9.5-1736404036",
[2025-01-27T13:20:58.545Z]         "VERSION": "3283.v92c105e0f819"
[2025-01-27T13:20:58.545Z]       },
[2025-01-27T13:20:58.546Z]       "tags": [
[2025-01-27T13:20:58.546Z]         "docker.io/jenkins4eval/agent:rhel-ubi9-jdk21",
[2025-01-27T13:20:58.546Z]         "docker.io/jenkins4eval/agent:latest-rhel-ubi9-jdk21"
[2025-01-27T13:20:58.547Z]       ],
[2025-01-27T13:20:58.547Z]       "target": "agent",
[2025-01-27T13:20:58.547Z]       "platforms": [
[2025-01-27T13:20:58.547Z]         "linux/amd64",
[2025-01-27T13:20:58.547Z]         "linux/arm64",
[2025-01-27T13:20:58.548Z]         "linux/ppc64le"
[2025-01-27T13:20:58.548Z]       ],
[2025-01-27T13:20:58.548Z]       "output": [
[2025-01-27T13:20:58.549Z]         "type=docker"
[2025-01-27T13:20:58.549Z]       ]
[2025-01-27T13:20:58.549Z]     },
[2025-01-27T13:20:58.549Z]     "inbound-agent_alpine_jdk17": {
[2025-01-27T13:20:58.549Z]       "context": ".",
[2025-01-27T13:20:58.550Z]       "dockerfile": "alpine/Dockerfile",
[2025-01-27T13:20:58.550Z]       "args": {
[2025-01-27T13:20:58.550Z]         "ALPINE_TAG": "3.21.2",
[2025-01-27T13:20:58.550Z]         "JAVA_VERSION": "17.0.13_11",
[2025-01-27T13:20:58.550Z]         "VERSION": "3283.v92c105e0f819"
[2025-01-27T13:20:58.550Z]       },
[2025-01-27T13:20:58.551Z]       "tags": [
[2025-01-27T13:20:58.551Z]         "docker.io/jenkins4eval/inbound-agent:alpine",
[2025-01-27T13:20:58.551Z]         "docker.io/jenkins4eval/inbound-agent:alpine3.21",
[2025-01-27T13:20:58.552Z]         "docker.io/jenkins4eval/inbound-agent:latest-alpine",
[2025-01-27T13:20:58.553Z]         "docker.io/jenkins4eval/inbound-agent:latest-alpine3.21",
[2025-01-27T13:20:58.553Z]         "docker.io/jenkins4eval/inbound-agent:alpine-jdk17",
[2025-01-27T13:20:58.553Z]         "docker.io/jenkins4eval/inbound-agent:alpine3.21-jdk17",
[2025-01-27T13:20:58.553Z]         "docker.io/jenkins4eval/inbound-agent:latest-alpine-jdk17",
[2025-01-27T13:20:58.553Z]         "docker.io/jenkins4eval/inbound-agent:latest-alpine3.21-jdk17"
[2025-01-27T13:20:58.554Z]       ],
[2025-01-27T13:20:58.554Z]       "target": "inbound-agent",
[2025-01-27T13:20:58.554Z]       "platforms": [
[2025-01-27T13:20:58.554Z]         "linux/amd64"
[2025-01-27T13:20:58.555Z]       ],
[2025-01-27T13:20:58.555Z]       "output": [
[2025-01-27T13:20:58.555Z]         "type=docker"
[2025-01-27T13:20:58.555Z]       ]
[2025-01-27T13:20:58.556Z]     },
[2025-01-27T13:20:58.556Z]     "inbound-agent_alpine_jdk21": {
[2025-01-27T13:20:58.556Z]       "context": ".",
[2025-01-27T13:20:58.556Z]       "dockerfile": "alpine/Dockerfile",
[2025-01-27T13:20:58.556Z]       "args": {
[2025-01-27T13:20:58.557Z]         "ALPINE_TAG": "3.21.2",
[2025-01-27T13:20:58.557Z]         "JAVA_VERSION": "21.0.5_11",
[2025-01-27T13:20:58.557Z]         "VERSION": "3283.v92c105e0f819"
[2025-01-27T13:20:58.557Z]       },
[2025-01-27T13:20:58.557Z]       "tags": [
[2025-01-27T13:20:58.558Z]         "docker.io/jenkins4eval/inbound-agent:alpine-jdk21",
[2025-01-27T13:20:58.558Z]         "docker.io/jenkins4eval/inbound-agent:alpine3.21-jdk21",
[2025-01-27T13:20:58.558Z]         "docker.io/jenkins4eval/inbound-agent:latest-alpine-jdk21",
[2025-01-27T13:20:58.558Z]         "docker.io/jenkins4eval/inbound-agent:latest-alpine3.21-jdk21"
[2025-01-27T13:20:58.558Z]       ],
[2025-01-27T13:20:58.558Z]       "target": "inbound-agent",
[2025-01-27T13:20:58.559Z]       "platforms": [
[2025-01-27T13:20:58.559Z]         "linux/amd64",
[2025-01-27T13:20:58.559Z]         "linux/arm64"
[2025-01-27T13:20:58.559Z]       ],
[2025-01-27T13:20:58.559Z]       "output": [
[2025-01-27T13:20:58.559Z]         "type=docker"
[2025-01-27T13:20:58.560Z]       ]
[2025-01-27T13:20:58.560Z]     },
[2025-01-27T13:20:58.560Z]     "inbound-agent_debian_jdk17": {
[2025-01-27T13:20:58.560Z]       "context": ".",
[2025-01-27T13:20:58.560Z]       "dockerfile": "debian/Dockerfile",
[2025-01-27T13:20:58.561Z]       "args": {
[2025-01-27T13:20:58.561Z]         "DEBIAN_RELEASE": "bookworm-20250113",
[2025-01-27T13:20:58.561Z]         "JAVA_VERSION": "17.0.13_11",
[2025-01-27T13:20:58.561Z]         "VERSION": "3283.v92c105e0f819"
[2025-01-27T13:20:58.561Z]       },
[2025-01-27T13:20:58.561Z]       "tags": [
[2025-01-27T13:20:58.562Z]         "docker.io/jenkins4eval/inbound-agent:bookworm",
[2025-01-27T13:20:58.562Z]         "docker.io/jenkins4eval/inbound-agent:latest",
[2025-01-27T13:20:58.562Z]         "docker.io/jenkins4eval/inbound-agent:latest-bookworm",
[2025-01-27T13:20:58.562Z]         "docker.io/jenkins4eval/inbound-agent:bookworm-jdk17",
[2025-01-27T13:20:58.562Z]         "docker.io/jenkins4eval/inbound-agent:jdk17",
[2025-01-27T13:20:58.563Z]         "docker.io/jenkins4eval/inbound-agent:latest-bookworm-jdk17",
[2025-01-27T13:20:58.563Z]         "docker.io/jenkins4eval/inbound-agent:latest-jdk17"
[2025-01-27T13:20:58.563Z]       ],
[2025-01-27T13:20:58.563Z]       "target": "inbound-agent",
[2025-01-27T13:20:58.563Z]       "platforms": [
[2025-01-27T13:20:58.564Z]         "linux/amd64",
[2025-01-27T13:20:58.564Z]         "linux/arm64",
[2025-01-27T13:20:58.564Z]         "linux/ppc64le",
[2025-01-27T13:20:58.564Z]         "linux/arm/v7"
[2025-01-27T13:20:58.564Z]       ],
[2025-01-27T13:20:58.564Z]       "output": [
[2025-01-27T13:20:58.565Z]         "type=docker"
[2025-01-27T13:20:58.565Z]       ]
[2025-01-27T13:20:58.565Z]     },
[2025-01-27T13:20:58.566Z]     "inbound-agent_debian_jdk21": {
[2025-01-27T13:20:58.566Z]       "context": ".",
[2025-01-27T13:20:58.566Z]       "dockerfile": "debian/Dockerfile",
[2025-01-27T13:20:58.566Z]       "args": {
[2025-01-27T13:20:58.566Z]         "DEBIAN_RELEASE": "bookworm-20250113",
[2025-01-27T13:20:58.566Z]         "JAVA_VERSION": "21.0.5_11",
[2025-01-27T13:20:58.567Z]         "VERSION": "3283.v92c105e0f819"
[2025-01-27T13:20:58.567Z]       },
[2025-01-27T13:20:58.567Z]       "tags": [
[2025-01-27T13:20:58.567Z]         "docker.io/jenkins4eval/inbound-agent:bookworm-jdk21",
[2025-01-27T13:20:58.567Z]         "docker.io/jenkins4eval/inbound-agent:jdk21",
[2025-01-27T13:20:58.567Z]         "docker.io/jenkins4eval/inbound-agent:latest-bookworm-jdk21",
[2025-01-27T13:20:58.568Z]         "docker.io/jenkins4eval/inbound-agent:latest-jdk21"
[2025-01-27T13:20:58.568Z]       ],
[2025-01-27T13:20:58.568Z]       "target": "inbound-agent",
[2025-01-27T13:20:58.568Z]       "platforms": [
[2025-01-27T13:20:58.568Z]         "linux/amd64",
[2025-01-27T13:20:58.569Z]         "linux/arm64",
[2025-01-27T13:20:58.569Z]         "linux/ppc64le",
[2025-01-27T13:20:58.569Z]         "linux/s390x"
[2025-01-27T13:20:58.569Z]       ],
[2025-01-27T13:20:58.569Z]       "output": [
[2025-01-27T13:20:58.569Z]         "type=docker"
[2025-01-27T13:20:58.570Z]       ]
[2025-01-27T13:20:58.570Z]     },
[2025-01-27T13:20:58.570Z]     "inbound-agent_rhel_ubi9_jdk17": {
[2025-01-27T13:20:58.570Z]       "context": ".",
[2025-01-27T13:20:58.570Z]       "dockerfile": "rhel/ubi9/Dockerfile",
[2025-01-27T13:20:58.570Z]       "args": {
[2025-01-27T13:20:58.571Z]         "JAVA_VERSION": "17.0.13_11",
[2025-01-27T13:20:58.571Z]         "UBI9_TAG": "9.5-1736404036",
[2025-01-27T13:20:58.571Z]         "VERSION": "3283.v92c105e0f819"
[2025-01-27T13:20:58.571Z]       },
[2025-01-27T13:20:58.571Z]       "tags": [
[2025-01-27T13:20:58.571Z]         "docker.io/jenkins4eval/inbound-agent:rhel-ubi9",
[2025-01-27T13:20:58.572Z]         "docker.io/jenkins4eval/inbound-agent:latest-rhel-ubi9",
[2025-01-27T13:20:58.572Z]         "docker.io/jenkins4eval/inbound-agent:rhel-ubi9-jdk17",
[2025-01-27T13:20:58.572Z]         "docker.io/jenkins4eval/inbound-agent:latest-rhel-ubi9-jdk17"
[2025-01-27T13:20:58.572Z]       ],
[2025-01-27T13:20:58.572Z]       "target": "inbound-agent",
[2025-01-27T13:20:58.573Z]       "platforms": [
[2025-01-27T13:20:58.573Z]         "linux/amd64",
[2025-01-27T13:20:58.573Z]         "linux/arm64",
[2025-01-27T13:20:58.573Z]         "linux/ppc64le"
[2025-01-27T13:20:58.573Z]       ],
[2025-01-27T13:20:58.573Z]       "output": [
[2025-01-27T13:20:58.574Z]         "type=docker"
[2025-01-27T13:20:58.574Z]       ]
[2025-01-27T13:20:58.574Z]     },
[2025-01-27T13:20:58.574Z]     "inbound-agent_rhel_ubi9_jdk21": {
[2025-01-27T13:20:58.574Z]       "context": ".",
[2025-01-27T13:20:58.574Z]       "dockerfile": "rhel/ubi9/Dockerfile",
[2025-01-27T13:20:58.575Z]       "args": {
[2025-01-27T13:20:58.575Z]         "JAVA_VERSION": "21.0.5_11",
[2025-01-27T13:20:58.575Z]         "UBI9_TAG": "9.5-1736404036",
[2025-01-27T13:20:58.575Z]         "VERSION": "3283.v92c105e0f819"
[2025-01-27T13:20:58.575Z]       },
[2025-01-27T13:20:58.575Z]       "tags": [
[2025-01-27T13:20:58.576Z]         "docker.io/jenkins4eval/inbound-agent:rhel-ubi9-jdk21",
[2025-01-27T13:20:58.576Z]         "docker.io/jenkins4eval/inbound-agent:latest-rhel-ubi9-jdk21"
[2025-01-27T13:20:58.576Z]       ],
[2025-01-27T13:20:58.576Z]       "target": "inbound-agent",
[2025-01-27T13:20:58.576Z]       "platforms": [
[2025-01-27T13:20:58.576Z]         "linux/amd64",
[2025-01-27T13:20:58.576Z]         "linux/arm64",
[2025-01-27T13:20:58.577Z]         "linux/ppc64le"
[2025-01-27T13:20:58.577Z]       ],
[2025-01-27T13:20:58.577Z]       "output": [
[2025-01-27T13:20:58.577Z]         "type=docker"
[2025-01-27T13:20:58.577Z]       ]
[2025-01-27T13:20:58.577Z]     }
[2025-01-27T13:20:58.577Z]   }
[2025-01-27T13:20:58.577Z] }
[2025-01-27T13:20:58.577Z] + make --silent show
[2025-01-27T13:20:58.578Z] + jq -r .target | path(.. | select(.platforms[] | contains("linux/amd64"))?) | add
[2025-01-27T13:20:58.678Z] #1 [internal] load local bake definitions
[2025-01-27T13:20:58.679Z] #1 reading docker-bake.hcl 11.60kB / 11.60kB done
[2025-01-27T13:20:58.679Z] #1 DONE 0.0s
[2025-01-27T13:20:58.679Z] + docker buildx bake --file docker-bake.hcl --load agent_alpine_jdk17 agent_alpine_jdk21 agent_debian_jdk17 agent_debian_jdk21 agent_rhel_ubi9_jdk17 agent_rhel_ubi9_jdk21 inbound-agent_alpine_jdk17 inbound-agent_alpine_jdk21 inbound-agent_debian_jdk17 inbound-agent_debian_jdk21 inbound-agent_rhel_ubi9_jdk17 inbound-agent_rhel_ubi9_jdk21 --set *.platform=linux/amd64
[2025-01-27T13:20:58.780Z] #0 building with "romantic_jones" instance using docker-container driver
[2025-01-27T13:20:58.780Z] 
[2025-01-27T13:20:58.780Z] #1 [internal] load local bake definitions
[2025-01-27T13:20:58.881Z] #1 reading docker-bake.hcl 11.60kB / 11.60kB done
[2025-01-27T13:20:58.881Z] #1 DONE 0.0s
[2025-01-27T13:20:58.881Z] 
[2025-01-27T13:20:58.882Z] #2 [internal] booting buildkit
[2025-01-27T13:20:58.882Z] #2 pulling image moby/buildkit:buildx-stable-1
[2025-01-27T13:21:02.490Z] #2 pulling image moby/buildkit:buildx-stable-1 3.8s done
[2025-01-27T13:21:02.691Z] #2 creating container buildx_buildkit_romantic_jones0
[2025-01-27T13:21:06.298Z] #2 creating container buildx_buildkit_romantic_jones0 3.8s done
[2025-01-27T13:21:06.399Z] #2 DONE 7.5s
[2025-01-27T13:21:06.600Z] 
[2025-01-27T13:21:06.600Z] #3 [inbound-agent_alpine_jdk21 internal] load build definition from Dockerfile
[2025-01-27T13:21:06.600Z] #3 transferring dockerfile: 5.22kB done
[2025-01-27T13:21:06.600Z] #3 DONE 0.0s
[2025-01-27T13:21:06.600Z] 
[2025-01-27T13:21:06.600Z] #4 [inbound-agent_rhel_ubi9_jdk21 internal] load build definition from Dockerfile
[2025-01-27T13:21:06.600Z] #4 transferring dockerfile: 4.16kB done
[2025-01-27T13:21:06.600Z] #4 DONE 0.0s
[2025-01-27T13:21:06.600Z] 
[2025-01-27T13:21:06.601Z] #5 [inbound-agent_debian_jdk17 internal] load build definition from Dockerfile
[2025-01-27T13:21:06.601Z] #5 transferring dockerfile: 5.76kB 0.0s done
[2025-01-27T13:21:06.601Z] #5 WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 23)
[2025-01-27T13:21:06.601Z] #5 WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 23)
[2025-01-27T13:21:06.601Z] #5 WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 23)
[2025-01-27T13:21:06.601Z] #5 WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 23)
[2025-01-27T13:21:06.601Z] #5 DONE 0.0s
[2025-01-27T13:21:06.601Z] 
[2025-01-27T13:21:06.601Z] #6 [agent_debian_jdk17 internal] load metadata for docker.io/library/debian:bookworm-20250113-slim
[2025-01-27T13:21:06.802Z] #6 DONE 0.3s
[2025-01-27T13:21:06.802Z] 
[2025-01-27T13:21:06.802Z] #7 [inbound-agent_debian_jdk17 internal] load .dockerignore
[2025-01-27T13:21:06.802Z] #7 transferring context: 2B done
[2025-01-27T13:21:06.802Z] #7 DONE 0.0s
[2025-01-27T13:21:06.802Z] 
[2025-01-27T13:21:06.803Z] #8 [inbound-agent_debian_jdk17 internal] load build context
[2025-01-27T13:21:06.803Z] #8 transferring context: 11.54kB done
[2025-01-27T13:21:06.803Z] #8 DONE 0.0s
[2025-01-27T13:21:06.803Z] 
[2025-01-27T13:21:06.803Z] #9 [inbound-agent_debian_jdk21 inbound-agent 1/3] COPY ../../jenkins-agent /usr/local/bin/jenkins-agent
[2025-01-27T13:21:06.803Z] #9 CACHED
[2025-01-27T13:21:06.803Z] 
[2025-01-27T13:21:06.803Z] #10 [inbound-agent_debian_jdk21 inbound-agent 2/3] RUN chmod +x /usr/local/bin/jenkins-agent &&    ln -s /usr/local/bin/jenkins-agent /usr/local/bin/jenkins-slave
[2025-01-27T13:21:06.803Z] #10 CACHED
[2025-01-27T13:21:06.803Z] 
[2025-01-27T13:21:06.804Z] #11 [inbound-agent_debian_jdk21 agent 7/8] RUN mkdir -p /home/"jenkins"/.jenkins && mkdir -p "/home/jenkins/agent"
[2025-01-27T13:21:06.804Z] #11 CACHED
[2025-01-27T13:21:06.804Z] 
[2025-01-27T13:21:06.804Z] #12 [inbound-agent_debian_jdk21 agent 8/8] WORKDIR /home/jenkins
[2025-01-27T13:21:06.804Z] #12 CACHED
[2025-01-27T13:21:06.804Z] 
[2025-01-27T13:21:06.804Z] #13 [inbound-agent_debian_jdk21 jre-build 4/5] RUN set -x; apt-get update   && apt-get install --no-install-recommends -y     ca-certificates     jq     curl   && /usr/bin/local/adoptium-install-jdk.sh
[2025-01-27T13:21:06.804Z] #13 CACHED
[2025-01-27T13:21:06.804Z] 
[2025-01-27T13:21:06.804Z] #14 [inbound-agent_debian_jdk21 jre-build 5/5] RUN if [[ "linux/amd64" != "linux/arm/v7" ]]; then     case "$(jlink --version 2>&1)" in       "17."*) set -- "--compress=2" ;;       "21."*) set -- "--compress=zip-6" ;;       *) echo "ERROR: unmanaged jlink version pattern" && exit 1 ;;     esac;     jlink       --strip-java-debug-attributes       "$1"       --add-modules ALL-MODULE-PATH       --no-man-pages       --no-header-files       --output /javaruntime;   else     cp -r "/opt/jdk-21.0.5_11" /javaruntime;   fi
[2025-01-27T13:21:06.804Z] #14 CACHED
[2025-01-27T13:21:06.804Z] 
[2025-01-27T13:21:06.804Z] #15 [inbound-agent_debian_jdk21 agent 6/8] COPY --from=jre-build /javaruntime /opt/java/openjdk
[2025-01-27T13:21:06.805Z] #15 CACHED
[2025-01-27T13:21:06.805Z] 
[2025-01-27T13:21:06.805Z] #16 [inbound-agent_debian_jdk21 inbound-agent 3/3] COPY ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
[2025-01-27T13:21:06.805Z] #16 ERROR: failed to calculate checksum of ref zf15ycrgwjuw3c7vx18pedzio::tilsv095axo8bepl0m6796og6: "/ca-certificates.crt": not found
[2025-01-27T13:21:06.805Z] 
[2025-01-27T13:21:06.805Z] #17 [inbound-agent_debian_jdk17 jre-build 4/5] RUN set -x; apt-get update   && apt-get install --no-install-recommends -y     ca-certificates     jq     curl   && /usr/bin/local/adoptium-install-jdk.sh
[2025-01-27T13:21:06.805Z] #17 CACHED
[2025-01-27T13:21:06.805Z] 
[2025-01-27T13:21:06.805Z] #18 [inbound-agent_debian_jdk17 agent 6/8] COPY --from=jre-build /javaruntime /opt/java/openjdk
[2025-01-27T13:21:06.805Z] #18 CACHED
[2025-01-27T13:21:06.805Z] 
[2025-01-27T13:21:06.806Z] #19 [inbound-agent_debian_jdk17 jre-build 5/5] RUN if [[ "linux/amd64" != "linux/arm/v7" ]]; then     case "$(jlink --version 2>&1)" in       "17."*) set -- "--compress=2" ;;       "21."*) set -- "--compress=zip-6" ;;       *) echo "ERROR: unmanaged jlink version pattern" && exit 1 ;;     esac;     jlink       --strip-java-debug-attributes       "$1"       --add-modules ALL-MODULE-PATH       --no-man-pages       --no-header-files       --output /javaruntime;   else     cp -r "/opt/jdk-17.0.13_11" /javaruntime;   fi
[2025-01-27T13:21:06.806Z] #19 CACHED
[2025-01-27T13:21:06.806Z] 
[2025-01-27T13:21:06.806Z] #20 [inbound-agent_debian_jdk17 jre-build 3/5] COPY adoptium-install-jdk.sh /usr/bin/local/adoptium-install-jdk.sh
[2025-01-27T13:21:06.806Z] #20 CACHED
[2025-01-27T13:21:06.806Z] 
[2025-01-27T13:21:06.806Z] #21 [inbound-agent_debian_jdk17 inbound-agent 1/3] COPY ../../jenkins-agent /usr/local/bin/jenkins-agent
[2025-01-27T13:21:06.806Z] #21 CACHED
[2025-01-27T13:21:06.806Z] 
[2025-01-27T13:21:06.806Z] #22 [inbound-agent_debian_jdk17 agent 8/8] WORKDIR /home/jenkins
[2025-01-27T13:21:06.806Z] #22 CACHED
[2025-01-27T13:21:06.806Z] 
[2025-01-27T13:21:06.806Z] #23 [inbound-agent_debian_jdk17 agent 5/8] RUN chmod 0644 /usr/share/jenkins/agent.jar   && ln -sf /usr/share/jenkins/agent.jar /usr/share/jenkins/slave.jar
[2025-01-27T13:21:06.806Z] #23 CACHED
[2025-01-27T13:21:06.806Z] 
[2025-01-27T13:21:06.807Z] #24 [inbound-agent_debian_jdk17 agent 4/8] ADD --chown=jenkins:jenkins https://repo.jenkins-ci.org/public/org/jenkins-ci/main/remoting/3283.v92c105e0f819/remoting-3283.v92c105e0f819.jar /usr/share/jenkins/agent.jar
[2025-01-27T13:21:06.807Z] #24 CACHED
[2025-01-27T13:21:06.807Z] 
[2025-01-27T13:21:06.807Z] #25 [inbound-agent_debian_jdk17 agent 3/8] RUN apt-get update   && apt-get --yes --no-install-recommends install     ca-certificates     curl     fontconfig     git     git-lfs     less     netbase     openssh-client     patch     tzdata   && apt-get clean   && rm -rf /tmp/* /var/cache/* /var/lib/apt/lists/*
[2025-01-27T13:21:06.807Z] #25 CACHED
[2025-01-27T13:21:06.807Z] 
[2025-01-27T13:21:06.807Z] #26 [inbound-agent_debian_jdk17 agent 7/8] RUN mkdir -p /home/"jenkins"/.jenkins && mkdir -p "/home/jenkins/agent"
[2025-01-27T13:21:06.807Z] #26 CACHED
[2025-01-27T13:21:06.807Z] 
[2025-01-27T13:21:06.807Z] #27 [inbound-agent_debian_jdk17 inbound-agent 2/3] RUN chmod +x /usr/local/bin/jenkins-agent &&    ln -s /usr/local/bin/jenkins-agent /usr/local/bin/jenkins-slave
[2025-01-27T13:21:06.807Z] #27 CACHED
[2025-01-27T13:21:06.807Z] 
[2025-01-27T13:21:06.807Z] #28 [inbound-agent_debian_jdk17 inbound-agent 3/3] COPY ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
[2025-01-27T13:21:06.808Z] #28 ERROR: failed to calculate checksum of ref zf15ycrgwjuw3c7vx18pedzio::tilsv095axo8bepl0m6796og6: "/ca-certificates.crt": not found
[2025-01-27T13:21:06.808Z] 
[2025-01-27T13:21:06.808Z] #29 [agent_debian_jdk17 internal] load build context
[2025-01-27T13:21:06.808Z] #29 transferring context: 5.90kB done
[2025-01-27T13:21:06.808Z] #29 DONE 0.0s
[2025-01-27T13:21:06.808Z] 
[2025-01-27T13:21:06.808Z] #30 [agent_debian_jdk17 jre-build 2/5] COPY adoptium-get-jdk-link.sh /usr/bin/local/adoptium-get-jdk-link.sh
[2025-01-27T13:21:06.808Z] #30 CANCELED
[2025-01-27T13:21:06.809Z] 
[2025-01-27T13:21:06.809Z] #31 [agent_debian_jdk21 jre-build 2/5] COPY adoptium-get-jdk-link.sh /usr/bin/local/adoptium-get-jdk-link.sh
[2025-01-27T13:21:06.809Z] #31 CANCELED
[2025-01-27T13:21:06.809Z] 
[2025-01-27T13:21:06.809Z] #32 [agent_rhel_ubi9_jdk21 internal] load metadata for registry.access.redhat.com/ubi9/ubi:9.5-1736404036
[2025-01-27T13:21:06.809Z] #32 CANCELED
[2025-01-27T13:21:06.809Z] 
[2025-01-27T13:21:06.809Z] #33 [inbound-agent_alpine_jdk21 internal] load metadata for docker.io/library/alpine:3.21.2
[2025-01-27T13:21:06.809Z] #33 CANCELED
[2025-01-27T13:21:06.810Z] 
[2025-01-27T13:21:06.810Z] #34 [agent_debian_jdk17 agent 2/8] RUN groupadd -g "1000" "jenkins"   && useradd -l -c "Jenkins user" -d /home/"jenkins" -u "1000" -g "1000" -m "jenkins" || echo "user jenkins already exists."
[2025-01-27T13:21:06.810Z] #34 CANCELED
[2025-01-27T13:21:06.810Z] 
[2025-01-27T13:21:06.810Z] #35 [agent_debian_jdk17 jre-build 1/5] FROM docker.io/library/debian:bookworm-20250113-slim@sha256:f70dc8d6a8b6a06824c92471a1a258030836b26b043881358b967bf73de7c5ab
[2025-01-27T13:21:06.810Z] #35 resolve docker.io/library/debian:bookworm-20250113-slim@sha256:f70dc8d6a8b6a06824c92471a1a258030836b26b043881358b967bf73de7c5ab 0.0s done
[2025-01-27T13:21:06.810Z] #35 sha256:af302e5c37e9dc1dbe2eadc8f5059d82a914066b541b0d1a6daa91d0cc55057d 0B / 28.21MB 0.0s
[2025-01-27T13:21:06.810Z] ------
[2025-01-27T13:21:06.810Z]  > [inbound-agent_debian_jdk21 inbound-agent 3/3] COPY ca-certificates.crt /etc/ssl/certs/ca-certificates.crt:
[2025-01-27T13:21:06.810Z] ------
[2025-01-27T13:21:06.811Z] ------
[2025-01-27T13:21:06.811Z]  > [inbound-agent_debian_jdk17 inbound-agent 3/3] COPY ca-certificates.crt /etc/ssl/certs/ca-certificates.crt:
[2025-01-27T13:21:06.811Z] ------
[2025-01-27T13:21:06.811Z] Dockerfile:139
[2025-01-27T13:21:06.811Z] --------------------
[2025-01-27T13:21:06.811Z]  137 |     
[2025-01-27T13:21:06.811Z]  138 |     # Copy the certificate file to the container
[2025-01-27T13:21:06.811Z]  139 | >>> COPY ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
[2025-01-27T13:21:06.811Z]  140 |     
[2025-01-27T13:21:06.811Z]  141 |     LABEL \
[2025-01-27T13:21:06.811Z] --------------------
[2025-01-27T13:21:06.812Z] ERROR: target inbound-agent_debian_jdk21: failed to solve: failed to compute cache key: failed to calculate checksum of ref zf15ycrgwjuw3c7vx18pedzio::tilsv095axo8bepl0m6796og6: "/ca-certificates.crt": not found
[2025-01-27T13:21:06.812Z] make: *** [Makefile:41: build] Error 1
[2025-01-27T13:21:06.812Z] Build Failed!

Details

  • Pipeline (21 min)
    • Matrix - IMAGE_TYPE = 'linux' (44 ms)
      • Matrix - IMAGE_TYPE = 'linux' (2 min 4 sec)
        • Main (1 min 53 sec)
          • Prepare Docker (8.4 sec)
          • Build and Test (25 sec)
            Error: script returned exit code 2
          • Deploy to DockerHub (1 sec)
    • Matrix - IMAGE_TYPE = 'nanoserver-1809' (1 ms)
      • Matrix - IMAGE_TYPE = 'nanoserver-1809' (16 min)
        • Main (16 min)
          • Prepare Docker (2.7 sec)
          • Build and Test (14 min)
          • Deploy to DockerHub (1.6 sec)
    • Matrix - IMAGE_TYPE = 'nanoserver-ltsc2019' (1 ms)
      • Matrix - IMAGE_TYPE = 'nanoserver-ltsc2019' (16 min)
        • Main (16 min)
          • Prepare Docker (1.1 sec)
          • Build and Test (14 min)
          • Deploy to DockerHub (1 sec)
    • Matrix - IMAGE_TYPE = 'nanoserver-ltsc2022' (1 ms)
      • Matrix - IMAGE_TYPE = 'nanoserver-ltsc2022' (16 min)
        • Main (16 min)
          • Prepare Docker (3.1 sec)
          • Build and Test (14 min)
          • Deploy to DockerHub (1.1 sec)
    • Matrix - IMAGE_TYPE = 'windowsservercore-1809' (1 ms)
      • Matrix - IMAGE_TYPE = 'windowsservercore-1809' (21 min)
        • Main (20 min)
          • Prepare Docker (2.4 sec)
          • Build and Test (18 min)
          • Deploy to DockerHub (1 sec)
    • Matrix - IMAGE_TYPE = 'windowsservercore-ltsc2019' (44 ms)
      • Matrix - IMAGE_TYPE = 'windowsservercore-ltsc2019' (20 min)
        • Main (20 min)
          • Prepare Docker (1.9 sec)
          • Build and Test (18 min)
          • Deploy to DockerHub (0.97 sec)
    • Matrix - IMAGE_TYPE = 'windowsservercore-ltsc2022' (18 min)
      • Matrix - IMAGE_TYPE = 'windowsservercore-ltsc2022' (18 min)
        • Main (18 min)
          • Prepare Docker (2.3 sec)
          • Build and Test (16 min)
          • Deploy to DockerHub (1 sec)