Pull request #354 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4465849ced04bc1513b414b0e2c2001fe74bc2ee+758b2bed15a3d13a7bac802538a1e1661ebd32c9 (695e9e631cfb461c47654a78279509db06be9bfb) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh6530382382721185094.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7703193113916671027.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-354/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-354/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14923697976894310529.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-354/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh14898796034915249751.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh3472910923150695933.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-354/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-354/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh644012808631487721.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task ‘prd-centos7-blackbox-4c-2g-9694’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-centos7-blackbox-4c-2g-9695’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-8c-8g-9940’ is offline ‘prd-ubuntu20.04-docker-8c-8g-9943’ is offline ‘prd-ubuntu20.04-docker-8c-8g-9944’ is offline ‘prd-ubuntu20.04-docker-8c-8g-9945’ is offline ‘prd-ubuntu20.04-docker-8c-8g-9951’ is offline ‘prd-ubuntu20.04-docker-arm64-4c-16g-9942’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-9946’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-9947’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ ‘prd-ubuntu20.04-docker-arm64-4c-16g-9948’ doesn’t have label ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-9955 in /w/workspace/gexfoundry_device-rest-go_PR-354 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-354 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/354/head:refs/remotes/origin/PR-354 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 758b2bed15a3d13a7bac802538a1e1661ebd32c9 into PR head commit 4465849ced04bc1513b414b0e2c2001fe74bc2ee Merge succeeded, producing 4465849ced04bc1513b414b0e2c2001fe74bc2ee Checking out Revision 4465849ced04bc1513b414b0e2c2001fe74bc2ee (PR-354) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { > git config core.sparsecheckout # timeout=10 > git checkout -f 4465849ced04bc1513b414b0e2c2001fe74bc2ee # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 758b2bed15a3d13a7bac802538a1e1661ebd32c9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4465849ced04bc1513b414b0e2c2001fe74bc2ee # timeout=10 [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-10-24T16:06:32.134Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-10-24T16:06:32.320Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-10-24T16:06:32.436Z] ========================================================= [2023-10-24T16:06:32.436Z] EdgeX Global Pipelines Version Info [2023-10-24T16:06:32.436Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:06:33.531Z] ------------------- [2023-10-24T16:06:33.531Z] stable info: [2023-10-24T16:06:33.531Z] ------------------- [2023-10-24T16:06:33.531Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-10-24T16:06:33.531Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T16:06:33.531Z] Message: update stable to v1.0.254 [2023-10-24T16:06:34.914Z] ------------------- [2023-10-24T16:06:34.914Z] experimental info: [2023-10-24T16:06:34.914Z] ------------------- [2023-10-24T16:06:34.914Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-10-24T16:06:34.914Z] Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T16:06:34.914Z] Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-10-24T16:06:35.223Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-10-24T16:06:35.265Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-10-24T16:06:35.304Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-10-24T16:06:35.346Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-10-24T16:06:35.389Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-10-24T16:06:35.430Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2023-10-24T16:06:35.480Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-10-24T16:06:35.519Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-10-24T16:06:35.558Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-10-24T16:06:35.597Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-10-24T16:06:35.641Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-10-24T16:06:35.682Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-10-24T16:06:35.724Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-10-24T16:06:35.775Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-10-24T16:06:35.819Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T16:06:35.864Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-10-24T16:06:35.911Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T16:06:35.959Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-10-24T16:06:36.008Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-10-24T16:06:36.053Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-10-24T16:06:36.093Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-10-24T16:06:36.133Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-10-24T16:06:36.178Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-10-24T16:06:36.225Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-10-24T16:06:36.272Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-10-24T16:06:36.319Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-10-24T16:06:36.363Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-10-24T16:06:36.404Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-354 [Pipeline] echo [2023-10-24T16:06:36.449Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-354 [Pipeline] echo [2023-10-24T16:06:36.490Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-354 [Pipeline] echo [2023-10-24T16:06:36.540Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4465849ced04bc1513b414b0e2c2001fe74bc2ee [Pipeline] echo [2023-10-24T16:06:36.589Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4465849 [Pipeline] echo [2023-10-24T16:06:36.636Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T16:06:36.755Z] provisioning config files... [2023-10-24T16:06:36.768Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-354@tmp/config8002446974138388701tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:06:37.110Z] ---> docker-login.sh [2023-10-24T16:06:37.110Z] nexus3.edgexfoundry.org:10001 [2023-10-24T16:06:37.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:06:37.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:06:37.371Z] Configure a credential helper to remove this warning. See [2023-10-24T16:06:37.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:06:37.371Z] [2023-10-24T16:06:37.371Z] Login Succeeded [2023-10-24T16:06:37.371Z] nexus3.edgexfoundry.org:10002 [2023-10-24T16:06:37.371Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:06:37.371Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:06:37.371Z] Configure a credential helper to remove this warning. See [2023-10-24T16:06:37.371Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:06:37.371Z] [2023-10-24T16:06:37.371Z] Login Succeeded [2023-10-24T16:06:37.371Z] nexus3.edgexfoundry.org:10003 [2023-10-24T16:06:37.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:06:37.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:06:37.632Z] Configure a credential helper to remove this warning. See [2023-10-24T16:06:37.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:06:37.632Z] [2023-10-24T16:06:37.632Z] Login Succeeded [2023-10-24T16:06:37.632Z] nexus3.edgexfoundry.org:10004 [2023-10-24T16:06:37.632Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:06:37.632Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:06:37.632Z] Configure a credential helper to remove this warning. See [2023-10-24T16:06:37.632Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:06:37.632Z] [2023-10-24T16:06:37.632Z] Login Succeeded [2023-10-24T16:06:37.632Z] docker.io [2023-10-24T16:06:37.893Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:06:38.153Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:06:38.153Z] Configure a credential helper to remove this warning. See [2023-10-24T16:06:38.153Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:06:38.153Z] [2023-10-24T16:06:38.153Z] Login Succeeded [2023-10-24T16:06:38.153Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T16:06:38.181Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-10-24T16:06:38.892Z] + git rev-list -1 --merges 4465849ced04bc1513b414b0e2c2001fe74bc2ee~1..4465849ced04bc1513b414b0e2c2001fe74bc2ee [Pipeline] echo [2023-10-24T16:06:38.955Z] -----------> git rev-list -1 --merges 4465849ced04bc1513b414b0e2c2001fe74bc2ee~1..4465849ced04bc1513b414b0e2c2001fe74bc2ee 4465849ced04bc1513b414b0e2c2001fe74bc2ee [false] [Pipeline] sh [2023-10-24T16:06:39.265Z] + git log --format=format:%s -1 4465849ced04bc1513b414b0e2c2001fe74bc2ee [Pipeline] echo [2023-10-24T16:06:39.301Z] ========================================================= [2023-10-24T16:06:39.301Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-10-24T16:06:39.301Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T16:06:39.737Z] + git log --format=format:%s -1 4465849ced04bc1513b414b0e2c2001fe74bc2ee [Pipeline] echo [2023-10-24T16:06:39.770Z] [semverPrep] GIT_COMMIT: 4465849ced04bc1513b414b0e2c2001fe74bc2ee, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-10-24T16:06:39.803Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-10-24T16:06:40.190Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-10-24T16:06:40.190Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-10-24T16:06:40.190Z] + [ -e /tmp/ssh_known_hosts ] [2023-10-24T16:06:40.190Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-10-24T16:06:40.190Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-10-24T16:06:40.190Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-10-24T16:06:40.190Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:06:40.626Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T16:06:40.626Z] [2023-10-24T16:06:40.627Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:06:41.000Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T16:06:41.000Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-10-24T16:06:41.000Z] b85a868b505f: Pulling fs layer [2023-10-24T16:06:41.000Z] e2be974225ed: Pulling fs layer [2023-10-24T16:06:41.000Z] 339a4e72a1f5: Pulling fs layer [2023-10-24T16:06:41.000Z] 988bab9f4d93: Pulling fs layer [2023-10-24T16:06:41.000Z] 1469e6f7b9e6: Pulling fs layer [2023-10-24T16:06:41.000Z] eaf3925da568: Pulling fs layer [2023-10-24T16:06:41.000Z] bab4dde63d76: Pulling fs layer [2023-10-24T16:06:41.000Z] bde34c3a00c8: Pulling fs layer [2023-10-24T16:06:41.000Z] b352a97aabf1: Pulling fs layer [2023-10-24T16:06:41.000Z] 4872d77fe225: Pulling fs layer [2023-10-24T16:06:41.000Z] 5851b861e8e6: Pulling fs layer [2023-10-24T16:06:41.000Z] 988bab9f4d93: Waiting [2023-10-24T16:06:41.000Z] bde34c3a00c8: Waiting [2023-10-24T16:06:41.000Z] 1469e6f7b9e6: Waiting [2023-10-24T16:06:41.000Z] eaf3925da568: Waiting [2023-10-24T16:06:41.000Z] b352a97aabf1: Waiting [2023-10-24T16:06:41.000Z] bab4dde63d76: Waiting [2023-10-24T16:06:41.000Z] 4872d77fe225: Waiting [2023-10-24T16:06:41.000Z] 5851b861e8e6: Waiting [2023-10-24T16:06:41.000Z] e2be974225ed: Verifying Checksum [2023-10-24T16:06:41.000Z] e2be974225ed: Download complete [2023-10-24T16:06:41.000Z] 988bab9f4d93: Verifying Checksum [2023-10-24T16:06:41.000Z] 988bab9f4d93: Download complete [2023-10-24T16:06:41.000Z] 1469e6f7b9e6: Verifying Checksum [2023-10-24T16:06:41.000Z] 1469e6f7b9e6: Download complete [2023-10-24T16:06:41.263Z] eaf3925da568: Download complete [2023-10-24T16:06:41.263Z] 339a4e72a1f5: Verifying Checksum [2023-10-24T16:06:41.263Z] 339a4e72a1f5: Download complete [2023-10-24T16:06:41.263Z] bde34c3a00c8: Download complete [2023-10-24T16:06:41.263Z] b352a97aabf1: Download complete [2023-10-24T16:06:41.263Z] 4872d77fe225: Verifying Checksum [2023-10-24T16:06:41.263Z] 4872d77fe225: Download complete [2023-10-24T16:06:41.263Z] 5851b861e8e6: Download complete [2023-10-24T16:06:41.263Z] b85a868b505f: Verifying Checksum [2023-10-24T16:06:41.263Z] b85a868b505f: Download complete [2023-10-24T16:06:41.528Z] bab4dde63d76: Verifying Checksum [2023-10-24T16:06:41.528Z] bab4dde63d76: Download complete [2023-10-24T16:06:42.465Z] b85a868b505f: Pull complete [2023-10-24T16:06:42.465Z] e2be974225ed: Pull complete [2023-10-24T16:06:43.035Z] 339a4e72a1f5: Pull complete [2023-10-24T16:06:43.035Z] 988bab9f4d93: Pull complete [2023-10-24T16:06:43.296Z] 1469e6f7b9e6: Pull complete [2023-10-24T16:06:43.296Z] eaf3925da568: Pull complete [2023-10-24T16:06:45.203Z] bab4dde63d76: Pull complete [2023-10-24T16:06:45.203Z] bde34c3a00c8: Pull complete [2023-10-24T16:06:45.203Z] b352a97aabf1: Pull complete [2023-10-24T16:06:45.203Z] 4872d77fe225: Pull complete [2023-10-24T16:06:45.203Z] 5851b861e8e6: Pull complete [2023-10-24T16:06:45.203Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-10-24T16:06:45.203Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-10-24T16:06:45.203Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:06:45.438Z] prd-ubuntu20.04-docker-8c-8g-9955 does not seem to be running inside a container [2023-10-24T16:06:45.478Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-354 -v /w/workspace/gexfoundry_device-rest-go_PR-354:/w/workspace/gexfoundry_device-rest-go_PR-354:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-354@tmp:/w/workspace/gexfoundry_device-rest-go_PR-354@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-10-24T16:06:50.047Z] $ docker top 8bf10abe7e0bbbbc0a738254028756b5e401e7790e08bedc74e792e94a47641d -eo pid,comm [2023-10-24T16:06:50.096Z] ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). [2023-10-24T16:06:50.096Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-10-24T16:06:50.230Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T16:06:50.230Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T16:06:50.333Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T16:06:50.343Z] $ docker exec 8bf10abe7e0bbbbc0a738254028756b5e401e7790e08bedc74e792e94a47641d ssh-agent [2023-10-24T16:06:50.446Z] SSH_AUTH_SOCK=/tmp/ssh-eK42WVjukCNR/agent.31 [2023-10-24T16:06:50.446Z] SSH_AGENT_PID=37 [2023-10-24T16:06:50.452Z] Running ssh-add (command line suppressed) [2023-10-24T16:06:50.571Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-354@tmp/private_key_10382359702500255385.key (/w/workspace/gexfoundry_device-rest-go_PR-354@tmp/private_key_10382359702500255385.key) [2023-10-24T16:06:50.577Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T16:06:50.912Z] + git tag --points-at HEAD [Pipeline] } [2023-10-24T16:06:50.944Z] $ docker exec --env ******** --env ******** 8bf10abe7e0bbbbc0a738254028756b5e401e7790e08bedc74e792e94a47641d ssh-agent -k [2023-10-24T16:06:51.045Z] unset SSH_AUTH_SOCK; [2023-10-24T16:06:51.045Z] unset SSH_AGENT_PID; [2023-10-24T16:06:51.045Z] echo Agent pid 37 killed; [2023-10-24T16:06:51.049Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-10-24T16:06:51.142Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-10-24T16:06:51.142Z] [ssh-agent] Looking for ssh-agent implementation... [2023-10-24T16:06:51.258Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-10-24T16:06:51.268Z] $ docker exec 8bf10abe7e0bbbbc0a738254028756b5e401e7790e08bedc74e792e94a47641d ssh-agent [2023-10-24T16:06:51.377Z] SSH_AUTH_SOCK=/tmp/ssh-Vdmdx4V3HD6Y/agent.69 [2023-10-24T16:06:51.377Z] SSH_AGENT_PID=75 [2023-10-24T16:06:51.382Z] Running ssh-add (command line suppressed) [2023-10-24T16:06:51.483Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-354@tmp/private_key_15293780888256930429.key (/w/workspace/gexfoundry_device-rest-go_PR-354@tmp/private_key_15293780888256930429.key) [2023-10-24T16:06:51.490Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-10-24T16:06:51.825Z] + git semver init [2023-10-24T16:06:52.084Z] 2023-10-24 16:06:52,004 [run_init] DEBUG init version:0.0.0 force:False [2023-10-24T16:06:52.084Z] 2023-10-24 16:06:52,005 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-354/.semver [2023-10-24T16:06:52.084Z] 2023-10-24 16:06:52,005 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-354/.semver [2023-10-24T16:06:52.084Z] 2023-10-24 16:06:52,006 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-354/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-354, universal_newlines=False, shell=None, istream=None) [2023-10-24T16:06:53.465Z] 2023-10-24 16:06:53,276 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-354/.git/info/exclude [2023-10-24T16:06:53.465Z] 2023-10-24 16:06:53,277 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-354/.semver/PR-354 with force:False [2023-10-24T16:06:53.465Z] 2023-10-24 16:06:53,277 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-354/.semver/PR-354 [2023-10-24T16:06:53.465Z] 2023-10-24 16:06:53,282 [execute] INFO git cat-file --batch-check [2023-10-24T16:06:53.465Z] 2023-10-24 16:06:53,282 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-354/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T16:06:53.465Z] 2023-10-24 16:06:53,289 [execute] INFO git cat-file --batch [2023-10-24T16:06:53.465Z] 2023-10-24 16:06:53,290 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-354/.semver, universal_newlines=False, shell=None, istream=) [2023-10-24T16:06:53.465Z] 2023-10-24 16:06:53,295 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-354/.semver/PR-354 [2023-10-24T16:06:53.465Z] 0.0.0 [Pipeline] } [2023-10-24T16:06:53.498Z] $ docker exec --env ******** --env ******** 8bf10abe7e0bbbbc0a738254028756b5e401e7790e08bedc74e792e94a47641d ssh-agent -k [2023-10-24T16:06:53.615Z] unset SSH_AUTH_SOCK; [2023-10-24T16:06:53.616Z] unset SSH_AGENT_PID; [2023-10-24T16:06:53.616Z] echo Agent pid 75 killed; [2023-10-24T16:06:53.627Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-10-24T16:06:54.067Z] + git semver [Pipeline] } [2023-10-24T16:06:54.354Z] $ docker stop --time=1 8bf10abe7e0bbbbc0a738254028756b5e401e7790e08bedc74e792e94a47641d [2023-10-24T16:06:55.610Z] $ docker rm -f --volumes 8bf10abe7e0bbbbc0a738254028756b5e401e7790e08bedc74e792e94a47641d [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T16:06:56.018Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-10-24T16:06:56.306Z] Stashed 1 file(s) [Pipeline] echo [2023-10-24T16:06:56.329Z] [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T16:06:56.973Z] provisioning config files... [2023-10-24T16:06:56.985Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-354@tmp/config5689305206482779374tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:06:57.338Z] ---> docker-login.sh [2023-10-24T16:06:57.338Z] nexus3.edgexfoundry.org:10001 [2023-10-24T16:06:57.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:06:57.339Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:06:57.339Z] Configure a credential helper to remove this warning. See [2023-10-24T16:06:57.339Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:06:57.339Z] [2023-10-24T16:06:57.339Z] Login Succeeded [2023-10-24T16:06:57.339Z] nexus3.edgexfoundry.org:10002 [2023-10-24T16:06:57.339Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:06:57.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:06:57.602Z] Configure a credential helper to remove this warning. See [2023-10-24T16:06:57.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:06:57.602Z] [2023-10-24T16:06:57.602Z] Login Succeeded [2023-10-24T16:06:57.602Z] nexus3.edgexfoundry.org:10003 [2023-10-24T16:06:57.602Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:06:57.602Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:06:57.602Z] Configure a credential helper to remove this warning. See [2023-10-24T16:06:57.602Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:06:57.602Z] [2023-10-24T16:06:57.602Z] Login Succeeded [2023-10-24T16:06:57.602Z] nexus3.edgexfoundry.org:10004 [2023-10-24T16:06:57.603Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:06:57.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:06:57.862Z] Configure a credential helper to remove this warning. See [2023-10-24T16:06:57.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:06:57.862Z] [2023-10-24T16:06:57.862Z] Login Succeeded [2023-10-24T16:06:57.862Z] docker.io [2023-10-24T16:06:57.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:06:58.121Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:06:58.121Z] Configure a credential helper to remove this warning. See [2023-10-24T16:06:58.121Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:06:58.121Z] [2023-10-24T16:06:58.121Z] Login Succeeded [2023-10-24T16:06:58.121Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T16:06:58.148Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T16:06:58.341Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T16:06:58.377Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T16:06:58.411Z] ========================================================= [2023-10-24T16:06:58.411Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] [2023-10-24T16:06:58.411Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:06:58.899Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-24T16:06:58.899Z] Sending build context to Docker daemon 10.93MB [2023-10-24T16:06:58.899Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T16:06:58.899Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-24T16:06:58.899Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base [2023-10-24T16:06:58.899Z] 7264a8db6415: Pulling fs layer [2023-10-24T16:06:58.899Z] c4d48a809fc2: Pulling fs layer [2023-10-24T16:06:58.899Z] 4f1c88b9dad5: Pulling fs layer [2023-10-24T16:06:58.899Z] ad3a456e5733: Pulling fs layer [2023-10-24T16:06:58.899Z] 33e27b845d1e: Pulling fs layer [2023-10-24T16:06:58.899Z] c68163c4e522: Pulling fs layer [2023-10-24T16:06:58.899Z] 50da416c3ac9: Pulling fs layer [2023-10-24T16:06:58.899Z] 23d2d4c4bb30: Pulling fs layer [2023-10-24T16:06:58.899Z] 33e27b845d1e: Waiting [2023-10-24T16:06:58.899Z] ad3a456e5733: Waiting [2023-10-24T16:06:58.899Z] c68163c4e522: Waiting [2023-10-24T16:06:58.899Z] 50da416c3ac9: Waiting [2023-10-24T16:06:58.899Z] 23d2d4c4bb30: Waiting [2023-10-24T16:06:58.899Z] c4d48a809fc2: Download complete [2023-10-24T16:06:58.899Z] ad3a456e5733: Verifying Checksum [2023-10-24T16:06:58.899Z] ad3a456e5733: Download complete [2023-10-24T16:06:58.899Z] 33e27b845d1e: Verifying Checksum [2023-10-24T16:06:58.899Z] 33e27b845d1e: Download complete [2023-10-24T16:06:59.160Z] 7264a8db6415: Verifying Checksum [2023-10-24T16:06:59.160Z] 7264a8db6415: Download complete [2023-10-24T16:06:59.160Z] c68163c4e522: Verifying Checksum [2023-10-24T16:06:59.160Z] c68163c4e522: Download complete [2023-10-24T16:06:59.160Z] 7264a8db6415: Pull complete [2023-10-24T16:06:59.418Z] 23d2d4c4bb30: Verifying Checksum [2023-10-24T16:06:59.418Z] c4d48a809fc2: Pull complete [2023-10-24T16:06:59.418Z] 4f1c88b9dad5: Download complete [2023-10-24T16:06:59.986Z] 50da416c3ac9: Verifying Checksum [2023-10-24T16:06:59.986Z] 50da416c3ac9: Download complete [2023-10-24T16:07:02.511Z] 4f1c88b9dad5: Pull complete [2023-10-24T16:07:02.511Z] ad3a456e5733: Pull complete [2023-10-24T16:07:02.511Z] 33e27b845d1e: Pull complete [2023-10-24T16:07:02.770Z] c68163c4e522: Pull complete [2023-10-24T16:07:05.298Z] 50da416c3ac9: Pull complete [2023-10-24T16:07:05.567Z] 23d2d4c4bb30: Pull complete [2023-10-24T16:07:05.567Z] Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c [2023-10-24T16:07:05.567Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine [2023-10-24T16:07:05.567Z] ---> 0786185ac409 [2023-10-24T16:07:05.567Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-24T16:07:11.772Z] Still waiting to schedule task [2023-10-24T16:07:11.772Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9954’ [2023-10-24T16:07:15.540Z] ---> Running in d173ede74928 [2023-10-24T16:07:15.540Z] Removing intermediate container d173ede74928 [2023-10-24T16:07:15.540Z] ---> c26b61012a8c [2023-10-24T16:07:15.540Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T16:07:15.540Z] ---> Running in a26e5695974d [2023-10-24T16:07:15.540Z] Removing intermediate container a26e5695974d [2023-10-24T16:07:15.540Z] ---> cd7480c1291c [2023-10-24T16:07:15.540Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T16:07:15.540Z] ---> Running in 2550c7b33cf2 [2023-10-24T16:07:15.799Z] Removing intermediate container 2550c7b33cf2 [2023-10-24T16:07:15.799Z] ---> 97610834e4e5 [2023-10-24T16:07:15.799Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T16:07:15.799Z] ---> Running in bb8b580b34a8 [2023-10-24T16:07:15.799Z] Removing intermediate container bb8b580b34a8 [2023-10-24T16:07:15.799Z] ---> 816dba4fe878 [2023-10-24T16:07:15.799Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T16:07:15.799Z] ---> Running in 382fee91d3d6 [2023-10-24T16:07:16.057Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T16:07:16.316Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T16:07:16.574Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-24T16:07:16.574Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-24T16:07:16.574Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-24T16:07:16.574Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-24T16:07:16.574Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T16:07:16.574Z] OK: 268 MiB in 56 packages [2023-10-24T16:07:17.140Z] Removing intermediate container 382fee91d3d6 [2023-10-24T16:07:17.140Z] ---> 5b0c3b578d4c [2023-10-24T16:07:17.140Z] Step 8/12 : WORKDIR /device-rest-go [2023-10-24T16:07:17.399Z] ---> Running in a0cf8c8ccb9b [2023-10-24T16:07:17.399Z] Removing intermediate container a0cf8c8ccb9b [2023-10-24T16:07:17.399Z] ---> b2c3444d2184 [2023-10-24T16:07:17.399Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-24T16:07:17.399Z] ---> fb60efdc85dc [2023-10-24T16:07:17.399Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T16:07:17.399Z] ---> Running in 477adfc28fe8 [2023-10-24T16:08:13.619Z] Removing intermediate container 477adfc28fe8 [2023-10-24T16:08:13.619Z] ---> fc3ea840b1f4 [2023-10-24T16:08:13.619Z] Step 11/12 : COPY . . [2023-10-24T16:08:13.619Z] ---> 989fef5c5e7f [2023-10-24T16:08:13.619Z] Step 12/12 : RUN $MAKE [2023-10-24T16:08:13.619Z] ---> Running in 37531335aadd [2023-10-24T16:08:13.619Z] noop [2023-10-24T16:08:13.619Z] Removing intermediate container 37531335aadd [2023-10-24T16:08:13.619Z] ---> 330b2c426a48 [2023-10-24T16:08:13.619Z] Successfully built 330b2c426a48 [2023-10-24T16:08:13.619Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:08:14.135Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T16:08:14.135Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:08:14.287Z] prd-ubuntu20.04-docker-8c-8g-9955 does not seem to be running inside a container [2023-10-24T16:08:14.320Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-354 -v /w/workspace/gexfoundry_device-rest-go_PR-354:/w/workspace/gexfoundry_device-rest-go_PR-354:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-354@tmp:/w/workspace/gexfoundry_device-rest-go_PR-354@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-24T16:08:14.629Z] $ docker top 3db4a516d3216569ea524b5027b1862da6e20a9611778f9d2e330ee2060a08f5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T16:08:15.007Z] + go version [2023-10-24T16:08:15.007Z] go version go1.21.0 linux/amd64 [Pipeline] } [2023-10-24T16:08:15.043Z] $ docker stop --time=1 3db4a516d3216569ea524b5027b1862da6e20a9611778f9d2e330ee2060a08f5 [2023-10-24T16:08:16.390Z] $ docker rm -f --volumes 3db4a516d3216569ea524b5027b1862da6e20a9611778f9d2e330ee2060a08f5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:08:17.153Z] + docker inspect -f . ci-base-image-x86_64 [2023-10-24T16:08:17.153Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:08:17.296Z] prd-ubuntu20.04-docker-8c-8g-9955 does not seem to be running inside a container [2023-10-24T16:08:17.329Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-354 -v /w/workspace/gexfoundry_device-rest-go_PR-354:/w/workspace/gexfoundry_device-rest-go_PR-354:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-354@tmp:/w/workspace/gexfoundry_device-rest-go_PR-354@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-10-24T16:08:17.666Z] $ docker top 5f7a4fb4d772910af57aec43475fc22053c45311876d307afc0e48bf56f178df -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T16:08:18.102Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-354 [Pipeline] fileExists [Pipeline] sh [2023-10-24T16:08:18.524Z] + make test [2023-10-24T16:08:18.524Z] go test ./... -coverprofile=coverage.out ./... [2023-10-24T16:08:19.905Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-10-24T16:08:29.873Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-10-24T16:08:29.873Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 33.2% of statements [2023-10-24T16:08:35.135Z] go vet ./... [2023-10-24T16:08:38.416Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T16:08:38.416Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T16:08:38.416Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T16:08:38.456Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T16:08:38.492Z] $ docker stop --time=1 5f7a4fb4d772910af57aec43475fc22053c45311876d307afc0e48bf56f178df [2023-10-24T16:08:43.501Z] $ docker rm -f --volumes 5f7a4fb4d772910af57aec43475fc22053c45311876d307afc0e48bf56f178df [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T16:08:44.030Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T16:08:44.097Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-10-24T16:08:44.709Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T16:08:45.028Z] + ls -al . [2023-10-24T16:08:45.028Z] total 184 [2023-10-24T16:08:45.028Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 16:08 . [2023-10-24T16:08:45.028Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 16:06 .. [2023-10-24T16:08:45.028Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 24 16:06 .dockerignore [2023-10-24T16:08:45.028Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 16:08 .git [2023-10-24T16:08:45.028Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 16:06 .github [2023-10-24T16:08:45.028Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 24 16:06 .gitignore [2023-10-24T16:08:45.028Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 16:06 .golangci.yml [2023-10-24T16:08:45.028Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 16:06 .semver [2023-10-24T16:08:45.028Z] -rw-rw-r-- 1 jenkins jenkins 10300 Oct 24 16:06 Attribution.txt [2023-10-24T16:08:45.028Z] -rw-rw-r-- 1 jenkins jenkins 15709 Oct 24 16:06 CHANGELOG.md [2023-10-24T16:08:45.028Z] -rw-rw-r-- 1 jenkins jenkins 1578 Oct 24 16:06 Dockerfile [2023-10-24T16:08:45.028Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 16:06 GOVERNANCE.md [2023-10-24T16:08:45.028Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 24 16:06 Jenkinsfile [2023-10-24T16:08:45.028Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 16:06 LICENSE [2023-10-24T16:08:45.028Z] -rw-rw-r-- 1 jenkins jenkins 2010 Oct 24 16:06 Makefile [2023-10-24T16:08:45.028Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 16:06 OWNERS.md [2023-10-24T16:08:45.028Z] -rw-rw-r-- 1 jenkins jenkins 15738 Oct 24 16:06 README.md [2023-10-24T16:08:45.028Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 16:06 VERSION [2023-10-24T16:08:45.028Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 16:06 bin [2023-10-24T16:08:45.028Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 16:06 cmd [2023-10-24T16:08:45.028Z] -rw-r--r-- 1 jenkins jenkins 14499 Oct 24 16:08 coverage.out [2023-10-24T16:08:45.029Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 16:06 driver [2023-10-24T16:08:45.029Z] -rw-rw-r-- 1 jenkins jenkins 3891 Oct 24 16:06 go.mod [2023-10-24T16:08:45.029Z] -rw-rw-r-- 1 jenkins jenkins 35094 Oct 24 16:06 go.sum [2023-10-24T16:08:45.029Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 24 16:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:08:45.421Z] + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=4465849ced04bc1513b414b0e2c2001fe74bc2ee --label arch=amd64 --label version=0.0.0 . [2023-10-24T16:08:45.421Z] Sending build context to Docker daemon 10.94MB [2023-10-24T16:08:45.421Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T16:08:45.421Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-24T16:08:45.421Z] ---> 330b2c426a48 [2023-10-24T16:08:45.421Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-10-24T16:08:46.387Z] ---> Running in 68ee3137853d [2023-10-24T16:08:46.645Z] Removing intermediate container 68ee3137853d [2023-10-24T16:08:46.645Z] ---> 6e27952e6fe6 [2023-10-24T16:08:46.645Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T16:08:46.645Z] ---> Running in 4711b12ef4a3 [2023-10-24T16:08:46.905Z] Removing intermediate container 4711b12ef4a3 [2023-10-24T16:08:46.905Z] ---> c0c6763eff40 [2023-10-24T16:08:46.905Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T16:08:46.905Z] ---> Running in 451766fc56a8 [2023-10-24T16:08:46.905Z] Removing intermediate container 451766fc56a8 [2023-10-24T16:08:46.905Z] ---> 0861fbe39f9d [2023-10-24T16:08:46.905Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T16:08:46.905Z] ---> Running in a4d58f76f3f8 [2023-10-24T16:08:46.905Z] Removing intermediate container a4d58f76f3f8 [2023-10-24T16:08:46.905Z] ---> 1e29f2fc04b8 [2023-10-24T16:08:46.905Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T16:08:47.163Z] ---> Running in fe3ef5878948 [2023-10-24T16:08:47.421Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T16:08:47.421Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T16:08:47.680Z] OK: 268 MiB in 56 packages [2023-10-24T16:08:47.938Z] Removing intermediate container fe3ef5878948 [2023-10-24T16:08:47.938Z] ---> 6db2b42e31c5 [2023-10-24T16:08:47.938Z] Step 8/25 : WORKDIR /device-rest-go [2023-10-24T16:08:47.938Z] ---> Running in 2755abbcebb7 [2023-10-24T16:08:47.938Z] Removing intermediate container 2755abbcebb7 [2023-10-24T16:08:47.938Z] ---> 6cff6df6263e [2023-10-24T16:08:47.938Z] Step 9/25 : COPY go.mod vendor* ./ [2023-10-24T16:08:48.197Z] ---> 04fe581eae0b [2023-10-24T16:08:48.197Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T16:08:48.197Z] ---> Running in 509a1e569cf9 [2023-10-24T16:08:48.764Z] Removing intermediate container 509a1e569cf9 [2023-10-24T16:08:48.764Z] ---> 6ac6526474f9 [2023-10-24T16:08:48.764Z] Step 11/25 : COPY . . [2023-10-24T16:08:49.330Z] ---> 7a33b5a95054 [2023-10-24T16:08:49.330Z] Step 12/25 : RUN $MAKE [2023-10-24T16:08:49.330Z] ---> Running in 2af432775417 [2023-10-24T16:08:49.588Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-10-24T16:09:16.149Z] Removing intermediate container 2af432775417 [2023-10-24T16:09:16.149Z] ---> 613d7802904d [2023-10-24T16:09:16.149Z] Step 13/25 : FROM alpine:3.18 [2023-10-24T16:09:16.149Z] 3.18: Pulling from library/alpine [2023-10-24T16:09:16.149Z] 96526aa774ef: Pulling fs layer [2023-10-24T16:09:16.149Z] 96526aa774ef: Verifying Checksum [2023-10-24T16:09:16.149Z] 96526aa774ef: Download complete [2023-10-24T16:09:16.149Z] 96526aa774ef: Pull complete [2023-10-24T16:09:16.149Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T16:09:16.149Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T16:09:16.149Z] ---> 8ca4688f4f35 [2023-10-24T16:09:16.149Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-24T16:09:16.149Z] ---> Running in 26bd795617f3 [2023-10-24T16:09:16.149Z] Removing intermediate container 26bd795617f3 [2023-10-24T16:09:16.149Z] ---> 5e5355170f32 [2023-10-24T16:09:16.149Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-10-24T16:09:16.149Z] ---> Running in fb3f7afa528b [2023-10-24T16:09:16.149Z] Removing intermediate container fb3f7afa528b [2023-10-24T16:09:16.149Z] ---> 13e2c9d5c65b [2023-10-24T16:09:16.149Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-10-24T16:09:16.149Z] ---> Running in 477c2da95d03 [2023-10-24T16:09:16.149Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2023-10-24T16:09:16.149Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2023-10-24T16:09:16.149Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-24T16:09:16.149Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T16:09:16.149Z] OK: 7 MiB in 16 packages [2023-10-24T16:09:16.149Z] Removing intermediate container 477c2da95d03 [2023-10-24T16:09:16.149Z] ---> 322e7a10c13a [2023-10-24T16:09:16.149Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-10-24T16:09:18.048Z] ---> 877442f3ea7e [2023-10-24T16:09:18.048Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-10-24T16:09:18.307Z] ---> a85a12ab4ef5 [2023-10-24T16:09:18.308Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-10-24T16:09:20.243Z] ---> bc0408e18dde [2023-10-24T16:09:20.243Z] Step 20/25 : EXPOSE 59986 [2023-10-24T16:09:21.614Z] ---> Running in f149c3853f3b [2023-10-24T16:09:21.874Z] Removing intermediate container f149c3853f3b [2023-10-24T16:09:21.874Z] ---> 1f329272dcc8 [2023-10-24T16:09:21.874Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-10-24T16:09:22.434Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9958 in /w/workspace/gexfoundry_device-rest-go_PR-354 [Pipeline] { [2023-10-24T16:09:22.445Z] ---> Running in faf321d3b06a [Pipeline] ws [2023-10-24T16:09:22.507Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-10-24T16:09:22.588Z] The recommended git tool is: git [2023-10-24T16:09:22.704Z] Removing intermediate container faf321d3b06a [2023-10-24T16:09:22.704Z] ---> 7bbcec48bbe2 [2023-10-24T16:09:22.704Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-24T16:09:22.704Z] ---> Running in fccb47799515 [2023-10-24T16:09:22.704Z] Removing intermediate container fccb47799515 [2023-10-24T16:09:22.704Z] ---> 6051103c356b [2023-10-24T16:09:22.704Z] Step 23/25 : LABEL arch=amd64 [2023-10-24T16:09:22.704Z] ---> Running in a62f4101c341 [2023-10-24T16:09:22.961Z] Removing intermediate container a62f4101c341 [2023-10-24T16:09:22.961Z] ---> a3b436fbec81 [2023-10-24T16:09:22.961Z] Step 24/25 : LABEL git_sha=4465849ced04bc1513b414b0e2c2001fe74bc2ee [2023-10-24T16:09:22.961Z] ---> Running in 583175806aea [2023-10-24T16:09:22.961Z] Removing intermediate container 583175806aea [2023-10-24T16:09:22.961Z] ---> 47529f57194d [2023-10-24T16:09:22.961Z] Step 25/25 : LABEL version=0.0.0 [2023-10-24T16:09:22.961Z] ---> Running in 5390b3d7a4db [2023-10-24T16:09:22.961Z] Removing intermediate container 5390b3d7a4db [2023-10-24T16:09:22.961Z] ---> b3df4964b673 [2023-10-24T16:09:22.961Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T16:09:23.219Z] Successfully built b3df4964b673 [2023-10-24T16:09:23.219Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:09:24.090Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T16:09:24.090Z] [2023-10-24T16:09:24.090Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:09:24.464Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T16:09:24.464Z] latest: Pulling from edgex-lftools-log-publisher [2023-10-24T16:09:24.464Z] 5eb5b503b376: Pulling fs layer [2023-10-24T16:09:24.464Z] 5c69ac0246d0: Pulling fs layer [2023-10-24T16:09:24.464Z] ec43610c2a17: Pulling fs layer [2023-10-24T16:09:24.464Z] 3a2ae6a8a46f: Pulling fs layer [2023-10-24T16:09:24.464Z] 33b1e0a273af: Pulling fs layer [2023-10-24T16:09:24.464Z] 5d3b04190fa2: Pulling fs layer [2023-10-24T16:09:24.464Z] 2f39f015ded8: Pulling fs layer [2023-10-24T16:09:24.464Z] 33b1e0a273af: Waiting [2023-10-24T16:09:24.464Z] 3a2ae6a8a46f: Waiting [2023-10-24T16:09:24.464Z] 5d3b04190fa2: Waiting [2023-10-24T16:09:24.464Z] 2f39f015ded8: Waiting [2023-10-24T16:09:24.464Z] 5c69ac0246d0: Verifying Checksum [2023-10-24T16:09:24.464Z] 5c69ac0246d0: Download complete [2023-10-24T16:09:24.464Z] 3a2ae6a8a46f: Verifying Checksum [2023-10-24T16:09:24.464Z] 3a2ae6a8a46f: Download complete [2023-10-24T16:09:24.464Z] 33b1e0a273af: Verifying Checksum [2023-10-24T16:09:24.464Z] 33b1e0a273af: Download complete [2023-10-24T16:09:24.464Z] ec43610c2a17: Verifying Checksum [2023-10-24T16:09:24.464Z] ec43610c2a17: Download complete [2023-10-24T16:09:24.723Z] 5d3b04190fa2: Verifying Checksum [2023-10-24T16:09:24.723Z] 5d3b04190fa2: Download complete [2023-10-24T16:09:24.723Z] 5eb5b503b376: Verifying Checksum [2023-10-24T16:09:24.723Z] 5eb5b503b376: Download complete [2023-10-24T16:09:25.289Z] 2f39f015ded8: Download complete [2023-10-24T16:09:26.668Z] 5eb5b503b376: Pull complete [2023-10-24T16:09:26.668Z] 5c69ac0246d0: Pull complete [2023-10-24T16:09:27.602Z] ec43610c2a17: Pull complete [2023-10-24T16:09:27.860Z] 3a2ae6a8a46f: Pull complete [2023-10-24T16:09:28.794Z] 33b1e0a273af: Pull complete [2023-10-24T16:09:29.321Z] using credential edgex-jenkins-ssh [2023-10-24T16:09:29.339Z] Cloning the remote Git repository [2023-10-24T16:09:29.360Z] 5d3b04190fa2: Pull complete [2023-10-24T16:09:29.417Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-10-24T16:09:29.562Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-10-24T16:09:29.780Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-10-24T16:09:29.781Z] > git --version # timeout=10 [2023-10-24T16:09:29.809Z] > git --version # 'git version 2.25.1' [2023-10-24T16:09:29.813Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T16:09:30.014Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T16:09:32.059Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-10-24T16:09:32.099Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-10-24T16:09:33.913Z] Merging remotes/origin/main commit 758b2bed15a3d13a7bac802538a1e1661ebd32c9 into PR head commit 4465849ced04bc1513b414b0e2c2001fe74bc2ee [2023-10-24T16:09:34.246Z] Merge succeeded, producing 4465849ced04bc1513b414b0e2c2001fe74bc2ee [2023-10-24T16:09:34.246Z] Checking out Revision 4465849ced04bc1513b414b0e2c2001fe74bc2ee (PR-354) [2023-10-24T16:09:33.250Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-10-24T16:09:33.309Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-10-24T16:09:33.310Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T16:09:33.327Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/354/head:refs/remotes/origin/PR-354 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-10-24T16:09:33.937Z] > git config core.sparsecheckout # timeout=10 [2023-10-24T16:09:34.034Z] > git checkout -f 4465849ced04bc1513b414b0e2c2001fe74bc2ee # timeout=10 [2023-10-24T16:09:34.135Z] > git remote # timeout=10 [2023-10-24T16:09:34.160Z] > git config --get remote.origin.url # timeout=10 [2023-10-24T16:09:34.178Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-10-24T16:09:34.197Z] > git merge 758b2bed15a3d13a7bac802538a1e1661ebd32c9 # timeout=10 [2023-10-24T16:09:34.227Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-10-24T16:09:34.256Z] > git config core.sparsecheckout # timeout=10 [2023-10-24T16:09:34.274Z] > git checkout -f 4465849ced04bc1513b414b0e2c2001fe74bc2ee # timeout=10 [2023-10-24T16:09:34.964Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-10-24T16:09:35.022Z] > git --version # timeout=10 [2023-10-24T16:09:35.035Z] > git --version # 'git version 2.25.1' [2023-10-24T16:09:35.053Z] fatal: bad object e143027787c0ac28563f7e92b6cefc600d3b7107 [2023-10-24T16:09:35.410Z] [2023-10-24T16:09:35.410Z] GitHub has been notified of this commit’s build result [2023-10-24T16:09:35.410Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T16:09:35.923Z] 2f39f015ded8: Pull complete [2023-10-24T16:09:35.923Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-10-24T16:09:35.923Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T16:09:35.923Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:09:36.171Z] prd-ubuntu20.04-docker-8c-8g-9955 does not seem to be running inside a container [2023-10-24T16:09:36.172Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-10-24T16:09:36.172Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T16:09:36.172Z] Dload Upload Total Spent Left Speed [2023-10-24T16:09:36.172Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 136k 0 --:--:-- --:--:-- --:--:-- 138k [2023-10-24T16:09:36.207Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-354 -v /w/workspace/gexfoundry_device-rest-go_PR-354:/w/workspace/gexfoundry_device-rest-go_PR-354:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-354@tmp:/w/workspace/gexfoundry_device-rest-go_PR-354@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-24T16:09:47.657Z] $ docker top 6129c016313cd96e91e2a529727a7e44b9bf624ea39ce268536fdc5a9fbbc4a0 -eo pid,comm [Pipeline] { [Pipeline] sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:09:48.126Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-10-24T16:09:48.215Z] ---> job-cost.sh [2023-10-24T16:09:48.215Z] lf-activate-venv: SKIPPING [2023-10-24T16:09:48.215Z] INFO: No Stack... [2023-10-24T16:09:48.473Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T16:09:48.491Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2023-10-24T16:09:48.491Z] /etc/docker/daemon.json [2023-10-24T16:09:48.491Z] { [2023-10-24T16:09:48.491Z] "registry-mirrors": [ [2023-10-24T16:09:48.491Z] "https://nexus3.edgexfoundry.org:10001" [2023-10-24T16:09:48.491Z] ], [2023-10-24T16:09:48.491Z] "bip": "10.250.0.254/24", [2023-10-24T16:09:48.491Z] "hosts": [ [2023-10-24T16:09:48.491Z] "tcp://0.0.0.0:5555", [2023-10-24T16:09:48.491Z] "unix:///var/run/docker.sock" [2023-10-24T16:09:48.491Z] ], [2023-10-24T16:09:48.491Z] "mtu": 1458, [2023-10-24T16:09:48.491Z] "selinux-enabled": true, [2023-10-24T16:09:48.491Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-10-24T16:09:48.491Z] } [Pipeline] sh [2023-10-24T16:09:48.737Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T16:09:48.868Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-10-24T16:09:49.055Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-354/archives/cost.csv [2023-10-24T16:09:49.055Z] + cut -d, -f6 [Pipeline] lock [2023-10-24T16:09:49.099Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-354-1-stack-cost] [2023-10-24T16:09:49.104Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-354-1-stack-cost] did not exist. Created. [2023-10-24T16:09:49.104Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-354-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T16:09:49.253Z] + sudo service docker restart [2023-10-24T16:09:49.495Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-10-24T16:09:49.550Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T16:09:49.581Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-354-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T16:09:49.685Z] $ docker stop --time=1 6129c016313cd96e91e2a529727a7e44b9bf624ea39ce268536fdc5a9fbbc4a0 [2023-10-24T16:09:50.862Z] $ docker rm -f --volumes 6129c016313cd96e91e2a529727a7e44b9bf624ea39ce268536fdc5a9fbbc4a0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T16:10:07.716Z] provisioning config files... [2023-10-24T16:10:07.754Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config11995786528052346340tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:10:08.172Z] ---> docker-login.sh [2023-10-24T16:10:08.172Z] nexus3.edgexfoundry.org:10001 [2023-10-24T16:10:08.788Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:10:09.061Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:10:09.061Z] Configure a credential helper to remove this warning. See [2023-10-24T16:10:09.061Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:10:09.061Z] [2023-10-24T16:10:09.061Z] Login Succeeded [2023-10-24T16:10:09.061Z] nexus3.edgexfoundry.org:10002 [2023-10-24T16:10:09.338Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:10:09.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:10:09.613Z] Configure a credential helper to remove this warning. See [2023-10-24T16:10:09.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:10:09.613Z] [2023-10-24T16:10:09.613Z] Login Succeeded [2023-10-24T16:10:09.613Z] nexus3.edgexfoundry.org:10003 [2023-10-24T16:10:09.892Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:10:10.169Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:10:10.169Z] Configure a credential helper to remove this warning. See [2023-10-24T16:10:10.169Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:10:10.170Z] [2023-10-24T16:10:10.170Z] Login Succeeded [2023-10-24T16:10:10.170Z] nexus3.edgexfoundry.org:10004 [2023-10-24T16:10:10.448Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:10:10.449Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:10:10.449Z] Configure a credential helper to remove this warning. See [2023-10-24T16:10:10.449Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:10:10.449Z] [2023-10-24T16:10:10.449Z] Login Succeeded [2023-10-24T16:10:10.449Z] docker.io [2023-10-24T16:10:11.051Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-10-24T16:10:11.327Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-10-24T16:10:11.327Z] Configure a credential helper to remove this warning. See [2023-10-24T16:10:11.327Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-10-24T16:10:11.327Z] [2023-10-24T16:10:11.327Z] Login Succeeded [2023-10-24T16:10:11.327Z] ---> docker-login.sh ends [Pipeline] } [2023-10-24T16:10:11.360Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-10-24T16:10:11.872Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T16:10:11.914Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-10-24T16:10:11.947Z] ========================================================= [2023-10-24T16:10:11.947Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] [2023-10-24T16:10:11.947Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:10:12.490Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . [2023-10-24T16:10:12.490Z] Sending build context to Docker daemon 122.4kB [2023-10-24T16:10:12.776Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T16:10:12.776Z] Step 2/12 : FROM ${BASE} AS builder [2023-10-24T16:10:13.057Z] 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-10-24T16:10:13.057Z] 9fda8d8052c6: Pulling fs layer [2023-10-24T16:10:13.057Z] 5d54e960e981: Pulling fs layer [2023-10-24T16:10:13.057Z] c4a7e357bf2a: Pulling fs layer [2023-10-24T16:10:13.057Z] f0e02332f6b5: Pulling fs layer [2023-10-24T16:10:13.057Z] cefa15bbcfad: Pulling fs layer [2023-10-24T16:10:13.057Z] 17808c966233: Pulling fs layer [2023-10-24T16:10:13.057Z] f4c1fc716caa: Pulling fs layer [2023-10-24T16:10:13.057Z] cefa15bbcfad: Waiting [2023-10-24T16:10:13.057Z] 17808c966233: Waiting [2023-10-24T16:10:13.057Z] f4c1fc716caa: Waiting [2023-10-24T16:10:13.057Z] f0e02332f6b5: Waiting [2023-10-24T16:10:13.057Z] 5d54e960e981: Download complete [2023-10-24T16:10:13.057Z] f0e02332f6b5: Verifying Checksum [2023-10-24T16:10:13.057Z] f0e02332f6b5: Download complete [2023-10-24T16:10:13.057Z] cefa15bbcfad: Verifying Checksum [2023-10-24T16:10:13.057Z] cefa15bbcfad: Download complete [2023-10-24T16:10:13.333Z] 9fda8d8052c6: Download complete [2023-10-24T16:10:13.930Z] f4c1fc716caa: Verifying Checksum [2023-10-24T16:10:13.930Z] f4c1fc716caa: Download complete [2023-10-24T16:10:14.205Z] 9fda8d8052c6: Pull complete [2023-10-24T16:10:15.189Z] 5d54e960e981: Pull complete [2023-10-24T16:10:15.189Z] c4a7e357bf2a: Verifying Checksum [2023-10-24T16:10:15.189Z] c4a7e357bf2a: Download complete [2023-10-24T16:10:16.623Z] 17808c966233: Verifying Checksum [2023-10-24T16:10:16.623Z] 17808c966233: Download complete [2023-10-24T16:10:31.822Z] c4a7e357bf2a: Pull complete [2023-10-24T16:10:31.822Z] f0e02332f6b5: Pull complete [2023-10-24T16:10:31.822Z] cefa15bbcfad: Pull complete [2023-10-24T16:10:40.274Z] 17808c966233: Pull complete [2023-10-24T16:10:41.689Z] f4c1fc716caa: Pull complete [2023-10-24T16:10:41.689Z] Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 [2023-10-24T16:10:41.689Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine [2023-10-24T16:10:41.689Z] ---> ea914061e18c [2023-10-24T16:10:41.689Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-10-24T16:10:43.137Z] ---> Running in cb6400997cc6 [2023-10-24T16:10:43.732Z] Removing intermediate container cb6400997cc6 [2023-10-24T16:10:43.732Z] ---> 6e5eed586b0b [2023-10-24T16:10:43.732Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T16:10:43.732Z] ---> Running in b74f0a1fcd1b [2023-10-24T16:10:44.003Z] Removing intermediate container b74f0a1fcd1b [2023-10-24T16:10:44.003Z] ---> 43f9069adb9c [2023-10-24T16:10:44.003Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T16:10:44.273Z] ---> Running in 6be838ed9b25 [2023-10-24T16:10:44.552Z] Removing intermediate container 6be838ed9b25 [2023-10-24T16:10:44.552Z] ---> d9ec27832a0b [2023-10-24T16:10:44.552Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T16:10:44.824Z] ---> Running in f624a54e56c8 [2023-10-24T16:10:45.095Z] Removing intermediate container f624a54e56c8 [2023-10-24T16:10:45.095Z] ---> 9513c43891ac [2023-10-24T16:10:45.095Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T16:10:45.095Z] ---> Running in 2261e44700b2 [2023-10-24T16:10:47.537Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T16:10:49.503Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T16:10:50.927Z] (1/4) Installing openssh-keygen (9.3_p2-r0) [2023-10-24T16:10:50.927Z] (2/4) Installing libedit (20221030.3.1-r1) [2023-10-24T16:10:50.927Z] (3/4) Installing openssh-client-common (9.3_p2-r0) [2023-10-24T16:10:50.927Z] (4/4) Installing openssh-client-default (9.3_p2-r0) [2023-10-24T16:10:50.927Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T16:10:50.927Z] OK: 270 MiB in 56 packages [2023-10-24T16:10:52.348Z] Removing intermediate container 2261e44700b2 [2023-10-24T16:10:52.348Z] ---> 33602897463c [2023-10-24T16:10:52.348Z] Step 8/12 : WORKDIR /device-rest-go [2023-10-24T16:10:52.348Z] ---> Running in 725a88a52150 [2023-10-24T16:10:52.944Z] Removing intermediate container 725a88a52150 [2023-10-24T16:10:52.944Z] ---> 6b3aa95b62a3 [2023-10-24T16:10:52.944Z] Step 9/12 : COPY go.mod vendor* ./ [2023-10-24T16:10:53.534Z] ---> e7cf2dd5fea0 [2023-10-24T16:10:53.534Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T16:10:53.534Z] ---> Running in c9ff68535cf2 [2023-10-24T16:12:45.260Z] Removing intermediate container c9ff68535cf2 [2023-10-24T16:12:45.260Z] ---> 060d3a4e6b6d [2023-10-24T16:12:45.260Z] Step 11/12 : COPY . . [2023-10-24T16:12:45.260Z] ---> 54607d10e28e [2023-10-24T16:12:45.260Z] Step 12/12 : RUN $MAKE [2023-10-24T16:12:45.260Z] ---> Running in 750cab9b58e1 [2023-10-24T16:12:45.260Z] noop [2023-10-24T16:12:45.260Z] Removing intermediate container 750cab9b58e1 [2023-10-24T16:12:45.260Z] ---> a28dba854c12 [2023-10-24T16:12:45.260Z] Successfully built a28dba854c12 [2023-10-24T16:12:45.260Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:12:45.780Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T16:12:45.780Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:12:46.102Z] prd-ubuntu20.04-docker-arm64-4c-16g-9958 does not seem to be running inside a container [2023-10-24T16:12:46.191Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-24T16:12:47.579Z] $ docker top 7e89e6c65d1addad074174224358c9cd5f4c8987fec30ff1c2cd6bd593005756 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T16:12:48.502Z] + go version [2023-10-24T16:12:48.502Z] go version go1.21.0 linux/arm64 [Pipeline] } [2023-10-24T16:12:48.543Z] $ docker stop --time=1 7e89e6c65d1addad074174224358c9cd5f4c8987fec30ff1c2cd6bd593005756 [2023-10-24T16:12:52.732Z] $ docker rm -f --volumes 7e89e6c65d1addad074174224358c9cd5f4c8987fec30ff1c2cd6bd593005756 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:12:53.661Z] + docker inspect -f . ci-base-image-arm64 [2023-10-24T16:12:53.661Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:12:54.007Z] prd-ubuntu20.04-docker-arm64-4c-16g-9958 does not seem to be running inside a container [2023-10-24T16:12:54.119Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-10-24T16:12:55.587Z] $ docker top 96524c255175ae1ce374c91af92a6de676ddeeab4b60513b0712cf4bf97dcbb6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T16:12:56.531Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-10-24T16:12:57.263Z] + make test [2023-10-24T16:12:57.264Z] go test ./... -coverprofile=coverage.out ./... [2023-10-24T16:13:02.637Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-10-24T16:15:28.071Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-10-24T16:15:28.071Z] ok github.com/edgexfoundry/device-rest-go/driver 0.085s coverage: 33.2% of statements [2023-10-24T16:15:28.071Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-10-24T16:15:28.071Z] go vet ./... [2023-10-24T16:15:57.226Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-10-24T16:15:57.226Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-10-24T16:15:57.226Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-10-24T16:15:57.267Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-10-24T16:15:57.304Z] $ docker stop --time=1 96524c255175ae1ce374c91af92a6de676ddeeab4b60513b0712cf4bf97dcbb6 [2023-10-24T16:15:59.289Z] $ docker rm -f --volumes 96524c255175ae1ce374c91af92a6de676ddeeab4b60513b0712cf4bf97dcbb6 [Pipeline] // withDockerContainer [Pipeline] sh [2023-10-24T16:16:00.725Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-10-24T16:16:00.760Z] Warning: overwriting stash ‘coverage-report’ [2023-10-24T16:16:01.370Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-10-24T16:16:02.046Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-10-24T16:16:02.401Z] + ls -al . [2023-10-24T16:16:02.401Z] total 180 [2023-10-24T16:16:02.401Z] drwxrwxr-x 7 jenkins jenkins 4096 Oct 24 16:13 . [2023-10-24T16:16:02.401Z] drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 16:09 .. [2023-10-24T16:16:02.401Z] -rw-rw-r-- 1 jenkins jenkins 151 Oct 24 16:09 .dockerignore [2023-10-24T16:16:02.401Z] drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 16:09 .git [2023-10-24T16:16:02.401Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 16:09 .github [2023-10-24T16:16:02.401Z] -rw-rw-r-- 1 jenkins jenkins 264 Oct 24 16:09 .gitignore [2023-10-24T16:16:02.401Z] -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 16:09 .golangci.yml [2023-10-24T16:16:02.401Z] -rw-rw-r-- 1 jenkins jenkins 10300 Oct 24 16:09 Attribution.txt [2023-10-24T16:16:02.401Z] -rw-rw-r-- 1 jenkins jenkins 15709 Oct 24 16:09 CHANGELOG.md [2023-10-24T16:16:02.401Z] -rw-rw-r-- 1 jenkins jenkins 1578 Oct 24 16:09 Dockerfile [2023-10-24T16:16:02.401Z] -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 16:09 GOVERNANCE.md [2023-10-24T16:16:02.401Z] -rw-rw-r-- 1 jenkins jenkins 680 Oct 24 16:09 Jenkinsfile [2023-10-24T16:16:02.401Z] -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 16:09 LICENSE [2023-10-24T16:16:02.401Z] -rw-rw-r-- 1 jenkins jenkins 2010 Oct 24 16:09 Makefile [2023-10-24T16:16:02.401Z] -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 16:09 OWNERS.md [2023-10-24T16:16:02.401Z] -rw-rw-r-- 1 jenkins jenkins 15738 Oct 24 16:09 README.md [2023-10-24T16:16:02.401Z] -rw-rw-r-- 1 jenkins jenkins 5 Oct 24 16:06 VERSION [2023-10-24T16:16:02.401Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 16:09 bin [2023-10-24T16:16:02.401Z] drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 16:09 cmd [2023-10-24T16:16:02.401Z] -rw-r--r-- 1 jenkins jenkins 14499 Oct 24 16:15 coverage.out [2023-10-24T16:16:02.401Z] drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 16:09 driver [2023-10-24T16:16:02.401Z] -rw-rw-r-- 1 jenkins jenkins 3891 Oct 24 16:09 go.mod [2023-10-24T16:16:02.401Z] -rw-rw-r-- 1 jenkins jenkins 35094 Oct 24 16:09 go.sum [2023-10-24T16:16:02.401Z] -rw-rw-r-- 1 jenkins jenkins 713 Oct 24 16:09 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:16:02.835Z] + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=4465849ced04bc1513b414b0e2c2001fe74bc2ee --label arch=arm64 --label version=0.0.0 . [2023-10-24T16:16:02.835Z] Sending build context to Docker daemon 137.7kB [2023-10-24T16:16:03.103Z] Step 1/25 : ARG BASE=golang:1.21-alpine3.18 [2023-10-24T16:16:03.103Z] Step 2/25 : FROM ${BASE} AS builder [2023-10-24T16:16:03.103Z] ---> a28dba854c12 [2023-10-24T16:16:03.103Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-10-24T16:16:03.377Z] ---> Running in 7f9d95015440 [2023-10-24T16:16:03.646Z] Removing intermediate container 7f9d95015440 [2023-10-24T16:16:03.646Z] ---> 79d1f285363b [2023-10-24T16:16:03.646Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-10-24T16:16:03.919Z] ---> Running in 6f5aef121db4 [2023-10-24T16:16:04.194Z] Removing intermediate container 6f5aef121db4 [2023-10-24T16:16:04.194Z] ---> 2ec2dedcfed6 [2023-10-24T16:16:04.194Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-10-24T16:16:04.194Z] ---> Running in 6fd165ac9bbc [2023-10-24T16:16:04.465Z] Removing intermediate container 6fd165ac9bbc [2023-10-24T16:16:04.465Z] ---> 750297ee780c [2023-10-24T16:16:04.465Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-10-24T16:16:04.746Z] ---> Running in 1f3bce6058d2 [2023-10-24T16:16:05.017Z] Removing intermediate container 1f3bce6058d2 [2023-10-24T16:16:05.017Z] ---> 4bf8e50ec140 [2023-10-24T16:16:05.017Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-10-24T16:16:05.017Z] ---> Running in d3424a6c737e [2023-10-24T16:16:06.448Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T16:16:06.718Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T16:16:08.148Z] OK: 270 MiB in 56 packages [2023-10-24T16:16:10.115Z] Removing intermediate container d3424a6c737e [2023-10-24T16:16:10.115Z] ---> 11fd4c150fde [2023-10-24T16:16:10.115Z] Step 8/25 : WORKDIR /device-rest-go [2023-10-24T16:16:10.115Z] ---> Running in b5bbf471e7ab [2023-10-24T16:16:10.394Z] Removing intermediate container b5bbf471e7ab [2023-10-24T16:16:10.394Z] ---> 70f832ec982b [2023-10-24T16:16:10.394Z] Step 9/25 : COPY go.mod vendor* ./ [2023-10-24T16:16:10.985Z] ---> 5bb0736ceb8a [2023-10-24T16:16:10.985Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-10-24T16:16:11.258Z] ---> Running in 333ee1ea33dd [2023-10-24T16:16:13.864Z] Removing intermediate container 333ee1ea33dd [2023-10-24T16:16:13.864Z] ---> 870a87a837f5 [2023-10-24T16:16:13.864Z] Step 11/25 : COPY . . [2023-10-24T16:16:14.461Z] ---> 51ceb3950a8a [2023-10-24T16:16:14.461Z] Step 12/25 : RUN $MAKE [2023-10-24T16:16:14.461Z] ---> Running in b788c3f92661 [2023-10-24T16:16:15.882Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-10-24T16:18:52.669Z] Removing intermediate container b788c3f92661 [2023-10-24T16:18:52.669Z] ---> f5f7daed83aa [2023-10-24T16:18:52.669Z] Step 13/25 : FROM alpine:3.18 [2023-10-24T16:18:52.669Z] 3.18: Pulling from library/alpine [2023-10-24T16:18:52.669Z] 579b34f0a95b: Pulling fs layer [2023-10-24T16:18:52.669Z] 579b34f0a95b: Download complete [2023-10-24T16:18:52.669Z] 579b34f0a95b: Pull complete [2023-10-24T16:18:52.669Z] Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 [2023-10-24T16:18:52.669Z] Status: Downloaded newer image for alpine:3.18 [2023-10-24T16:18:52.669Z] ---> 3cc203321400 [2023-10-24T16:18:52.669Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2023-10-24T16:18:52.669Z] ---> Running in f58453dc73df [2023-10-24T16:18:52.669Z] Removing intermediate container f58453dc73df [2023-10-24T16:18:52.669Z] ---> da23e7987218 [2023-10-24T16:18:52.669Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-10-24T16:18:52.669Z] ---> Running in b374905f6d51 [2023-10-24T16:18:52.669Z] Removing intermediate container b374905f6d51 [2023-10-24T16:18:52.669Z] ---> 068fbe104d73 [2023-10-24T16:18:52.669Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-10-24T16:18:52.669Z] ---> Running in 8b70aa4a2a74 [2023-10-24T16:18:52.669Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2023-10-24T16:18:52.669Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2023-10-24T16:18:52.669Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-10-24T16:18:52.669Z] Executing busybox-1.36.1-r2.trigger [2023-10-24T16:18:52.669Z] OK: 8 MiB in 16 packages [2023-10-24T16:18:52.669Z] Removing intermediate container 8b70aa4a2a74 [2023-10-24T16:18:52.669Z] ---> 48eb6c2db2d3 [2023-10-24T16:18:52.669Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-10-24T16:18:52.669Z] ---> bde8a30dfe7e [2023-10-24T16:18:52.669Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-10-24T16:18:52.669Z] ---> 97a0a0530972 [2023-10-24T16:18:52.669Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-10-24T16:18:52.669Z] ---> 4861dad81333 [2023-10-24T16:18:52.669Z] Step 20/25 : EXPOSE 59986 [2023-10-24T16:18:52.669Z] ---> Running in 81abd22789bb [2023-10-24T16:18:52.669Z] Removing intermediate container 81abd22789bb [2023-10-24T16:18:52.669Z] ---> ace7524549f5 [2023-10-24T16:18:52.669Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-10-24T16:18:52.669Z] ---> Running in 849135f3cd4c [2023-10-24T16:18:52.669Z] Removing intermediate container 849135f3cd4c [2023-10-24T16:18:52.669Z] ---> 1a0aab8b5b80 [2023-10-24T16:18:52.669Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-10-24T16:18:52.669Z] ---> Running in 0c08a4a92385 [2023-10-24T16:18:52.669Z] Removing intermediate container 0c08a4a92385 [2023-10-24T16:18:52.669Z] ---> 721064dab47b [2023-10-24T16:18:52.669Z] Step 23/25 : LABEL arch=arm64 [2023-10-24T16:18:52.669Z] ---> Running in f201d2428feb [2023-10-24T16:18:52.669Z] Removing intermediate container f201d2428feb [2023-10-24T16:18:52.669Z] ---> df822ae9553e [2023-10-24T16:18:52.669Z] Step 24/25 : LABEL git_sha=4465849ced04bc1513b414b0e2c2001fe74bc2ee [2023-10-24T16:18:52.669Z] ---> Running in e451d52b6de5 [2023-10-24T16:18:52.669Z] Removing intermediate container e451d52b6de5 [2023-10-24T16:18:52.669Z] ---> af29af7b1beb [2023-10-24T16:18:52.669Z] Step 25/25 : LABEL version=0.0.0 [2023-10-24T16:18:52.669Z] ---> Running in 6aec189daddc [2023-10-24T16:18:52.669Z] Removing intermediate container 6aec189daddc [2023-10-24T16:18:52.669Z] ---> 7f004101e663 [2023-10-24T16:18:52.669Z] [Warning] One or more build-args [ARCH] were not consumed [2023-10-24T16:18:52.669Z] Successfully built 7f004101e663 [2023-10-24T16:18:52.669Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:18:53.478Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T16:18:53.478Z] [2023-10-24T16:18:53.478Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:18:53.893Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T16:18:57.256Z] arm64: Pulling from edgex-lftools-log-publisher [2023-10-24T16:18:57.256Z] 8998bd30e6a1: Pulling fs layer [2023-10-24T16:18:57.256Z] 04944245beec: Pulling fs layer [2023-10-24T16:18:57.256Z] 699f458cf7ca: Pulling fs layer [2023-10-24T16:18:57.256Z] 765212b225bb: Pulling fs layer [2023-10-24T16:18:57.256Z] f23df028b6ca: Pulling fs layer [2023-10-24T16:18:57.256Z] d65c8cfc05b1: Pulling fs layer [2023-10-24T16:18:57.256Z] 2437ff75d9bd: Pulling fs layer [2023-10-24T16:18:57.256Z] 765212b225bb: Waiting [2023-10-24T16:18:57.256Z] f23df028b6ca: Waiting [2023-10-24T16:18:57.256Z] d65c8cfc05b1: Waiting [2023-10-24T16:18:57.256Z] 2437ff75d9bd: Waiting [2023-10-24T16:18:57.256Z] 04944245beec: Verifying Checksum [2023-10-24T16:18:57.256Z] 04944245beec: Download complete [2023-10-24T16:18:57.256Z] 765212b225bb: Verifying Checksum [2023-10-24T16:18:57.256Z] 765212b225bb: Download complete [2023-10-24T16:18:57.526Z] f23df028b6ca: Verifying Checksum [2023-10-24T16:18:57.526Z] f23df028b6ca: Download complete [2023-10-24T16:18:57.526Z] d65c8cfc05b1: Verifying Checksum [2023-10-24T16:18:57.526Z] d65c8cfc05b1: Download complete [2023-10-24T16:18:57.527Z] 699f458cf7ca: Verifying Checksum [2023-10-24T16:18:57.527Z] 699f458cf7ca: Download complete [2023-10-24T16:18:58.123Z] 8998bd30e6a1: Verifying Checksum [2023-10-24T16:18:58.123Z] 8998bd30e6a1: Download complete [2023-10-24T16:19:00.716Z] 2437ff75d9bd: Verifying Checksum [2023-10-24T16:19:00.716Z] 2437ff75d9bd: Download complete [2023-10-24T16:19:03.437Z] 8998bd30e6a1: Pull complete [2023-10-24T16:19:03.707Z] 04944245beec: Pull complete [2023-10-24T16:19:05.131Z] 699f458cf7ca: Pull complete [2023-10-24T16:19:05.398Z] 765212b225bb: Pull complete [2023-10-24T16:19:06.358Z] f23df028b6ca: Pull complete [2023-10-24T16:19:06.625Z] d65c8cfc05b1: Pull complete [2023-10-24T16:19:24.830Z] 2437ff75d9bd: Pull complete [2023-10-24T16:19:24.830Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-10-24T16:19:24.830Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-10-24T16:19:24.830Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:19:25.191Z] prd-ubuntu20.04-docker-arm64-4c-16g-9958 does not seem to be running inside a container [2023-10-24T16:19:25.284Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-10-24T16:19:27.849Z] $ docker top 56cbf4221a7dc3829f6956b31b78fc60fe5e2cf2ebbdeb4aa4b734cf8154c904 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:19:28.748Z] ---> job-cost.sh [2023-10-24T16:19:28.748Z] lf-activate-venv: SKIPPING [2023-10-24T16:19:28.748Z] INFO: No Stack... [2023-10-24T16:19:29.013Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-10-24T16:19:29.964Z] INFO: Archiving Costs [Pipeline] sh [2023-10-24T16:19:30.625Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2023-10-24T16:19:30.626Z] + cut -d, -f6 [Pipeline] lock [2023-10-24T16:19:30.718Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-354-1-stack-cost] [2023-10-24T16:19:30.723Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-354-1-stack-cost] did not exist. Created. [2023-10-24T16:19:30.723Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-354-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-10-24T16:19:31.133Z] /w/workspace/device-rest-go/1@tmp/durable-466e71b4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-10-24T16:19:32.067Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-10-24T16:19:32.109Z] Warning: overwriting stash ‘stack-cost’ [2023-10-24T16:19:32.154Z] Stashed 1 file(s) [Pipeline] } [2023-10-24T16:19:32.169Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-354-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-10-24T16:19:32.254Z] $ docker stop --time=1 56cbf4221a7dc3829f6956b31b78fc60fe5e2cf2ebbdeb4aa4b734cf8154c904 [2023-10-24T16:19:33.761Z] $ docker rm -f --volumes 56cbf4221a7dc3829f6956b31b78fc60fe5e2cf2ebbdeb4aa4b734cf8154c904 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2023-10-24T16:19:34.794Z] provisioning config files... [2023-10-24T16:19:34.801Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-354@tmp/config8921997890405326151tmp [Pipeline] { [Pipeline] sh [2023-10-24T16:19:35.134Z] + set +x [2023-10-24T16:19:35.134Z] + curl -s https://codecov.io/bash [2023-10-24T16:19:35.134Z] + bash -s -- [2023-10-24T16:19:35.134Z] [2023-10-24T16:19:35.134Z] _____ _ [2023-10-24T16:19:35.134Z] / ____| | | [2023-10-24T16:19:35.134Z] | | ___ __| | ___ ___ _____ __ [2023-10-24T16:19:35.134Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-10-24T16:19:35.134Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-10-24T16:19:35.134Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-10-24T16:19:35.134Z] Bash-1.0.6 [2023-10-24T16:19:35.134Z] [2023-10-24T16:19:35.134Z] [2023-10-24T16:19:35.134Z] ==> git version 2.25.1 found [2023-10-24T16:19:35.134Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2023-10-24T16:19:35.134Z] Release-Date: 2020-01-08 [2023-10-24T16:19:35.134Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-10-24T16:19:35.134Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-10-24T16:19:35.134Z] ==> Jenkins CI detected. [2023-10-24T16:19:35.134Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-354 [2023-10-24T16:19:35.134Z] project root: . [2023-10-24T16:19:35.134Z] --> token set from env [2023-10-24T16:19:35.134Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-10-24T16:19:35.134Z] ==> Running gcov in . (disable via -X gcov) [2023-10-24T16:19:35.134Z] ==> Python coveragepy not found [2023-10-24T16:19:35.134Z] ==> Searching for coverage reports in: [2023-10-24T16:19:35.134Z] + . [2023-10-24T16:19:35.134Z] -> Found 1 reports [2023-10-24T16:19:35.134Z] ==> Detecting git/mercurial file structure [2023-10-24T16:19:35.134Z] ==> Reading reports [2023-10-24T16:19:35.134Z] + ./coverage.out bytes=14499 [2023-10-24T16:19:35.392Z] ==> Appending adjustments [2023-10-24T16:19:35.392Z] https://docs.codecov.io/docs/fixing-reports [2023-10-24T16:19:35.392Z] + Found adjustments [2023-10-24T16:19:35.392Z] ==> Gzipping contents [2023-10-24T16:19:35.392Z] 4.0K /tmp/codecov.pU0jHK.gz [2023-10-24T16:19:35.392Z] ==> Uploading reports [2023-10-24T16:19:35.392Z] url: https://codecov.io [2023-10-24T16:19:35.392Z] query: branch=PR-354&commit=4465849ced04bc1513b414b0e2c2001fe74bc2ee&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-354%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=354&job=&cmd_args= [2023-10-24T16:19:35.392Z] -> Pinging Codecov [2023-10-24T16:19:35.392Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-354&commit=4465849ced04bc1513b414b0e2c2001fe74bc2ee&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-354%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=354&job=&cmd_args= [2023-10-24T16:19:35.653Z] -> Uploading to [2023-10-24T16:19:35.653Z] https://storage.googleapis.com/codecov/v4/raw/2023-10-24/4E5D53B4F1F92C436F7061BF334D961C/4465849ced04bc1513b414b0e2c2001fe74bc2ee/f0704b22-e675-4422-ba5e-bf9738d7e451.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T161935Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3e545914ac8ddd7d920cbac3f2fc71f2b7e550af582ba5787ca74ac2dcd772e7 [2023-10-24T16:19:35.653Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-10-24T16:19:35.653Z] Dload Upload Total Spent Left Speed [2023-10-24T16:19:35.914Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 8230 --:--:-- --:--:-- --:--:-- 8201 [2023-10-24T16:19:35.914Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/4465849ced04bc1513b414b0e2c2001fe74bc2ee [Pipeline] } [2023-10-24T16:19:35.939Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-10-24T16:19:37.677Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-354/archives ] [2023-10-24T16:19:37.677Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-354/archives [2023-10-24T16:19:37.677Z] total 16 [2023-10-24T16:19:37.677Z] drwxr-xr-x 3 root root 4096 Oct 24 16:09 . [2023-10-24T16:19:37.677Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 16:09 .. [2023-10-24T16:19:37.677Z] drwxr-xr-x 2 root root 4096 Oct 24 16:09 cost [2023-10-24T16:19:37.677Z] -rw-r--r-- 1 root root 86 Oct 24 16:09 cost.csv [2023-10-24T16:19:37.677Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-354/archives [2023-10-24T16:19:37.677Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-354/archives [2023-10-24T16:19:37.677Z] total 16 [2023-10-24T16:19:37.677Z] drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 16:09 . [2023-10-24T16:19:37.677Z] drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 16:09 .. [2023-10-24T16:19:37.677Z] drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 16:09 cost [2023-10-24T16:19:37.677Z] -rw-r--r-- 1 jenkins jenkins 86 Oct 24 16:09 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:19:38.154Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:19:38.743Z] ---> package-listing.sh [2023-10-24T16:19:38.743Z] ++ facter osfamily [2023-10-24T16:19:38.743Z] ++ tr '[:upper:]' '[:lower:]' [2023-10-24T16:19:39.003Z] + OS_FAMILY=debian [2023-10-24T16:19:39.003Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-354 [2023-10-24T16:19:39.003Z] + START_PACKAGES=/tmp/packages_start.txt [2023-10-24T16:19:39.003Z] + END_PACKAGES=/tmp/packages_end.txt [2023-10-24T16:19:39.003Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-10-24T16:19:39.003Z] + PACKAGES=/tmp/packages_start.txt [2023-10-24T16:19:39.003Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-354 ']' [2023-10-24T16:19:39.003Z] + PACKAGES=/tmp/packages_end.txt [2023-10-24T16:19:39.003Z] + case "${OS_FAMILY}" in [2023-10-24T16:19:39.003Z] + dpkg -l [2023-10-24T16:19:39.003Z] + grep '^ii' [2023-10-24T16:19:39.003Z] + '[' -f /tmp/packages_start.txt ']' [2023-10-24T16:19:39.003Z] + '[' -f /tmp/packages_end.txt ']' [2023-10-24T16:19:39.003Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-10-24T16:19:39.003Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-354 ']' [2023-10-24T16:19:39.003Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-354/archives/ [2023-10-24T16:19:39.003Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-354/archives/ [Pipeline] echo [2023-10-24T16:19:39.040Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-354/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-10-24T16:19:39.337Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-10-24T16:19:39.959Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-10-24T16:19:39.960Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-10-24T16:19:40.107Z] prd-ubuntu20.04-docker-8c-8g-9955 does not seem to be running inside a container [2023-10-24T16:19:40.133Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-354/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-354 -v /w/workspace/gexfoundry_device-rest-go_PR-354:/w/workspace/gexfoundry_device-rest-go_PR-354:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-354@tmp:/w/workspace/gexfoundry_device-rest-go_PR-354@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-10-24T16:19:40.332Z] $ docker top b55f35cd7b5a4c708ebdcf348fbdd9ea5ef09583e7ee75da93a2d414518d843b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-10-24T16:19:40.721Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-10-24T16:19:41.025Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-10-24T16:19:41.356Z] + ls /var/log/sa-host [2023-10-24T16:19:41.356Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-10-24T16:19:41.498Z] provisioning config files... [2023-10-24T16:19:41.506Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-354@tmp/config12663240786381645390tmp [Pipeline] { [Pipeline] echo [2023-10-24T16:19:41.549Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:19:41.857Z] ---> create-netrc.sh [Pipeline] } [2023-10-24T16:19:41.883Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:19:42.287Z] ---> python-tools-install.sh [Pipeline] echo [2023-10-24T16:19:42.321Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:19:42.640Z] ---> sudo-logs.sh [2023-10-24T16:19:42.640Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-10-24T16:19:42.716Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:19:43.025Z] ---> job-cost.sh [2023-10-24T16:19:43.025Z] lf-activate-venv: SKIPPING [2023-10-24T16:19:43.025Z] DEBUG: total: 0.2199999988079071 [2023-10-24T16:19:43.025Z] INFO: Retrieving Stack Cost... [2023-10-24T16:19:43.595Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-10-24T16:19:43.855Z] INFO: Archiving Costs [Pipeline] echo [2023-10-24T16:19:43.892Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-10-24T16:19:44.207Z] ---> logs-deploy.sh [2023-10-24T16:19:44.207Z] lf-activate-venv: SKIPPING [2023-10-24T16:19:44.207Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-354/1 [2023-10-24T16:19:44.207Z] INFO: archiving workspace using pattern(s): [2023-10-24T16:19:45.143Z] Archives upload complete. [2023-10-24T16:19:45.143Z] INFO: archiving logs to Nexus