Pull request #314 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f2599b8404e96ca6d51fcf741083b5fab6a9bf6d+bb022d5e5ee314ea0b2e9403ec65a17609e45266 (612e3d0738d27cae6cbdf19006691bf3a2b43a56) 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-ssh5896712703811836440.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh15915692338818967724.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-314/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-314/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh5301614805915682242.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-314/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7362958924241067565.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh5871826110497806562.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-314/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-314/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7982152708386327174.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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.20 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-ubuntu20.04-docker-8c-8g-14812’ is offline Running on prd-ubuntu20.04-docker-8c-8g-14813 in /w/workspace/gexfoundry_device-rest-go_PR-314 [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-314 # 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/314/head:refs/remotes/origin/PR-314 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit bb022d5e5ee314ea0b2e9403ec65a17609e45266 into PR head commit f2599b8404e96ca6d51fcf741083b5fab6a9bf6d Merge succeeded, producing f2599b8404e96ca6d51fcf741083b5fab6a9bf6d Checking out Revision f2599b8404e96ca6d51fcf741083b5fab6a9bf6d (PR-314) 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 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-05-09T23:34:04.841Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) > git config core.sparsecheckout # timeout=10 > git checkout -f f2599b8404e96ca6d51fcf741083b5fab6a9bf6d # 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 bb022d5e5ee314ea0b2e9403ec65a17609e45266 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f2599b8404e96ca6d51fcf741083b5fab6a9bf6d # timeout=10 [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-09T23:34:05.039Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-09T23:34:05.151Z] ========================================================= [2023-05-09T23:34:05.151Z] EdgeX Global Pipelines Version Info [2023-05-09T23:34:05.151Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-09T23:34:05.909Z] ------------------- [2023-05-09T23:34:05.909Z] stable info: [2023-05-09T23:34:05.909Z] ------------------- [2023-05-09T23:34:05.909Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-09T23:34:05.909Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-09T23:34:05.909Z] Message: update stable to v1.0.249 [2023-05-09T23:34:06.483Z] ------------------- [2023-05-09T23:34:06.483Z] experimental info: [2023-05-09T23:34:06.483Z] ------------------- [2023-05-09T23:34:06.483Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-09T23:34:06.483Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-09T23:34:06.483Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-09T23:34:06.780Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-05-09T23:34:06.831Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-05-09T23:34:06.888Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-09T23:34:06.933Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-09T23:34:06.979Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-09T23:34:07.019Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-09T23:34:07.060Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-09T23:34:07.100Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-09T23:34:07.143Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-09T23:34:07.184Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-09T23:34:07.229Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-09T23:34:07.275Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-05-09T23:34:07.319Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-09T23:34:07.363Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-09T23:34:07.410Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-09T23:34:07.451Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-09T23:34:07.494Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-09T23:34:07.539Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-09T23:34:07.588Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-09T23:34:07.635Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-09T23:34:07.685Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-09T23:34:07.732Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-09T23:34:07.781Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-09T23:34:07.831Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-09T23:34:07.878Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-09T23:34:07.921Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-09T23:34:07.964Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-09T23:34:08.007Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-314 [Pipeline] echo [2023-05-09T23:34:08.054Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-314 [Pipeline] echo [2023-05-09T23:34:08.099Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-314 [Pipeline] echo [2023-05-09T23:34:08.143Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f2599b8404e96ca6d51fcf741083b5fab6a9bf6d [Pipeline] echo [2023-05-09T23:34:08.196Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f2599b8 [Pipeline] echo [2023-05-09T23:34:08.235Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-09T23:34:08.373Z] provisioning config files... [2023-05-09T23:34:08.389Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-314@tmp/config8369457308208574569tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T23:34:08.750Z] ---> docker-login.sh [2023-05-09T23:34:08.750Z] nexus3.edgexfoundry.org:10001 [2023-05-09T23:34:09.014Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T23:34:09.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T23:34:09.276Z] Configure a credential helper to remove this warning. See [2023-05-09T23:34:09.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T23:34:09.276Z] [2023-05-09T23:34:09.276Z] Login Succeeded [2023-05-09T23:34:09.276Z] nexus3.edgexfoundry.org:10002 [2023-05-09T23:34:09.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T23:34:09.276Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T23:34:09.276Z] Configure a credential helper to remove this warning. See [2023-05-09T23:34:09.276Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T23:34:09.276Z] [2023-05-09T23:34:09.276Z] Login Succeeded [2023-05-09T23:34:09.276Z] nexus3.edgexfoundry.org:10003 [2023-05-09T23:34:09.276Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T23:34:09.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T23:34:09.535Z] Configure a credential helper to remove this warning. See [2023-05-09T23:34:09.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T23:34:09.535Z] [2023-05-09T23:34:09.535Z] Login Succeeded [2023-05-09T23:34:09.535Z] nexus3.edgexfoundry.org:10004 [2023-05-09T23:34:09.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T23:34:09.535Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T23:34:09.535Z] Configure a credential helper to remove this warning. See [2023-05-09T23:34:09.535Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T23:34:09.535Z] [2023-05-09T23:34:09.535Z] Login Succeeded [2023-05-09T23:34:09.535Z] docker.io [2023-05-09T23:34:09.535Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T23:34:10.106Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T23:34:10.106Z] Configure a credential helper to remove this warning. See [2023-05-09T23:34:10.106Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T23:34:10.106Z] [2023-05-09T23:34:10.106Z] Login Succeeded [2023-05-09T23:34:10.106Z] ---> docker-login.sh ends [Pipeline] } [2023-05-09T23:34:10.133Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-09T23:34:10.786Z] + git rev-list -1 --merges f2599b8404e96ca6d51fcf741083b5fab6a9bf6d~1..f2599b8404e96ca6d51fcf741083b5fab6a9bf6d [Pipeline] echo [2023-05-09T23:34:10.854Z] -----------> git rev-list -1 --merges f2599b8404e96ca6d51fcf741083b5fab6a9bf6d~1..f2599b8404e96ca6d51fcf741083b5fab6a9bf6d f2599b8404e96ca6d51fcf741083b5fab6a9bf6d [false] [Pipeline] sh [2023-05-09T23:34:11.173Z] + git log --format=format:%s -1 f2599b8404e96ca6d51fcf741083b5fab6a9bf6d [Pipeline] echo [2023-05-09T23:34:11.211Z] ========================================================= [2023-05-09T23:34:11.211Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-09T23:34:11.211Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-09T23:34:11.653Z] + git log --format=format:%s -1 f2599b8404e96ca6d51fcf741083b5fab6a9bf6d [Pipeline] echo [2023-05-09T23:34:11.687Z] [semverPrep] GIT_COMMIT: f2599b8404e96ca6d51fcf741083b5fab6a9bf6d, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 [Pipeline] echo [2023-05-09T23:34:11.718Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-09T23:34:12.130Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-09T23:34:12.130Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-09T23:34:12.130Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-09T23:34:12.130Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-09T23:34:12.130Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-09T23:34:12.130Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-09T23:34:12.130Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T23:34:12.578Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-09T23:34:12.579Z] [2023-05-09T23:34:12.579Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T23:34:12.957Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-09T23:34:12.957Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-09T23:34:12.957Z] b85a868b505f: Pulling fs layer [2023-05-09T23:34:12.957Z] e2be974225ed: Pulling fs layer [2023-05-09T23:34:12.957Z] 339a4e72a1f5: Pulling fs layer [2023-05-09T23:34:12.957Z] 988bab9f4d93: Pulling fs layer [2023-05-09T23:34:12.957Z] 1469e6f7b9e6: Pulling fs layer [2023-05-09T23:34:12.957Z] eaf3925da568: Pulling fs layer [2023-05-09T23:34:12.957Z] bab4dde63d76: Pulling fs layer [2023-05-09T23:34:12.957Z] bde34c3a00c8: Pulling fs layer [2023-05-09T23:34:12.957Z] b352a97aabf1: Pulling fs layer [2023-05-09T23:34:12.957Z] 4872d77fe225: Pulling fs layer [2023-05-09T23:34:12.957Z] 5851b861e8e6: Pulling fs layer [2023-05-09T23:34:12.957Z] 1469e6f7b9e6: Waiting [2023-05-09T23:34:12.957Z] eaf3925da568: Waiting [2023-05-09T23:34:12.957Z] bab4dde63d76: Waiting [2023-05-09T23:34:12.957Z] 4872d77fe225: Waiting [2023-05-09T23:34:12.957Z] e2be974225ed: Verifying Checksum [2023-05-09T23:34:12.957Z] e2be974225ed: Download complete [2023-05-09T23:34:12.957Z] 988bab9f4d93: Verifying Checksum [2023-05-09T23:34:12.957Z] 988bab9f4d93: Download complete [2023-05-09T23:34:12.957Z] 1469e6f7b9e6: Download complete [2023-05-09T23:34:13.217Z] eaf3925da568: Verifying Checksum [2023-05-09T23:34:13.217Z] eaf3925da568: Download complete [2023-05-09T23:34:13.217Z] 339a4e72a1f5: Verifying Checksum [2023-05-09T23:34:13.217Z] 339a4e72a1f5: Download complete [2023-05-09T23:34:13.217Z] bde34c3a00c8: Download complete [2023-05-09T23:34:13.217Z] b352a97aabf1: Verifying Checksum [2023-05-09T23:34:13.217Z] b352a97aabf1: Download complete [2023-05-09T23:34:13.217Z] 4872d77fe225: Verifying Checksum [2023-05-09T23:34:13.217Z] 4872d77fe225: Download complete [2023-05-09T23:34:13.217Z] 5851b861e8e6: Verifying Checksum [2023-05-09T23:34:13.217Z] 5851b861e8e6: Download complete [2023-05-09T23:34:13.217Z] b85a868b505f: Download complete [2023-05-09T23:34:13.476Z] bab4dde63d76: Verifying Checksum [2023-05-09T23:34:13.476Z] bab4dde63d76: Download complete [2023-05-09T23:34:14.413Z] b85a868b505f: Pull complete [2023-05-09T23:34:14.672Z] e2be974225ed: Pull complete [2023-05-09T23:34:15.255Z] 339a4e72a1f5: Pull complete [2023-05-09T23:34:15.255Z] 988bab9f4d93: Pull complete [2023-05-09T23:34:15.516Z] 1469e6f7b9e6: Pull complete [2023-05-09T23:34:15.516Z] eaf3925da568: Pull complete [2023-05-09T23:34:17.425Z] bab4dde63d76: Pull complete [2023-05-09T23:34:17.426Z] bde34c3a00c8: Pull complete [2023-05-09T23:34:17.688Z] b352a97aabf1: Pull complete [2023-05-09T23:34:17.689Z] 4872d77fe225: Pull complete [2023-05-09T23:34:17.953Z] 5851b861e8e6: Pull complete [2023-05-09T23:34:17.953Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-09T23:34:17.953Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-09T23:34:17.953Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T23:34:18.205Z] prd-ubuntu20.04-docker-8c-8g-14813 does not seem to be running inside a container [2023-05-09T23:34:18.224Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-314 -v /w/workspace/gexfoundry_device-rest-go_PR-314:/w/workspace/gexfoundry_device-rest-go_PR-314:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-314@tmp:/w/workspace/gexfoundry_device-rest-go_PR-314@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-05-09T23:34:20.468Z] $ docker top 03e4d88e69d7cb171860bf697a13d5006f9b92528fd375f81c9d73cdf3087005 -eo pid,comm [2023-05-09T23:34:20.545Z] 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-05-09T23:34:20.545Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-09T23:34:20.680Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-09T23:34:20.680Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-09T23:34:20.805Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-09T23:34:20.794Z] $ docker exec 03e4d88e69d7cb171860bf697a13d5006f9b92528fd375f81c9d73cdf3087005 ssh-agent [2023-05-09T23:34:20.921Z] SSH_AUTH_SOCK=/tmp/ssh-S8xtyQleuZCr/agent.32 [2023-05-09T23:34:20.921Z] SSH_AGENT_PID=37 [2023-05-09T23:34:20.929Z] Running ssh-add (command line suppressed) [2023-05-09T23:34:21.025Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-314@tmp/private_key_5059957091139658145.key (/w/workspace/gexfoundry_device-rest-go_PR-314@tmp/private_key_5059957091139658145.key) [2023-05-09T23:34:21.053Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-09T23:34:21.395Z] + git tag --points-at HEAD [Pipeline] } [2023-05-09T23:34:21.411Z] $ docker exec --env ******** --env ******** 03e4d88e69d7cb171860bf697a13d5006f9b92528fd375f81c9d73cdf3087005 ssh-agent -k [2023-05-09T23:34:21.520Z] unset SSH_AUTH_SOCK; [2023-05-09T23:34:21.521Z] unset SSH_AGENT_PID; [2023-05-09T23:34:21.521Z] echo Agent pid 37 killed; [2023-05-09T23:34:21.548Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-09T23:34:21.677Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-09T23:34:21.677Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-09T23:34:21.792Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-09T23:34:21.781Z] $ docker exec 03e4d88e69d7cb171860bf697a13d5006f9b92528fd375f81c9d73cdf3087005 ssh-agent [2023-05-09T23:34:21.907Z] SSH_AUTH_SOCK=/tmp/ssh-cRe4p8IAlIZW/agent.69 [2023-05-09T23:34:21.907Z] SSH_AGENT_PID=75 [2023-05-09T23:34:21.912Z] Running ssh-add (command line suppressed) [2023-05-09T23:34:22.004Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-314@tmp/private_key_9622939348771831810.key (/w/workspace/gexfoundry_device-rest-go_PR-314@tmp/private_key_9622939348771831810.key) [2023-05-09T23:34:22.032Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-09T23:34:22.377Z] + git semver init [2023-05-09T23:34:22.639Z] 2023-05-09 23:34:22,557 [run_init] DEBUG init version:0.0.0 force:False [2023-05-09T23:34:22.639Z] 2023-05-09 23:34:22,557 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-314/.semver [2023-05-09T23:34:22.639Z] 2023-05-09 23:34:22,558 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-314/.semver [2023-05-09T23:34:22.639Z] 2023-05-09 23:34:22,558 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-314/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-314, universal_newlines=False, shell=None, istream=None) [2023-05-09T23:34:23.578Z] 2023-05-09 23:34:23,515 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-314/.git/info/exclude [2023-05-09T23:34:23.578Z] 2023-05-09 23:34:23,516 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-314/.semver/PR-314 with force:False [2023-05-09T23:34:23.578Z] 2023-05-09 23:34:23,516 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-314/.semver/PR-314 [2023-05-09T23:34:23.578Z] 2023-05-09 23:34:23,520 [execute] INFO git cat-file --batch-check [2023-05-09T23:34:23.578Z] 2023-05-09 23:34:23,521 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-314/.semver, universal_newlines=False, shell=None, istream=) [2023-05-09T23:34:23.578Z] 2023-05-09 23:34:23,528 [execute] INFO git cat-file --batch [2023-05-09T23:34:23.578Z] 2023-05-09 23:34:23,528 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-314/.semver, universal_newlines=False, shell=None, istream=) [2023-05-09T23:34:23.578Z] 2023-05-09 23:34:23,534 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-314/.semver/PR-314 [2023-05-09T23:34:23.578Z] 0.0.0 [Pipeline] } [2023-05-09T23:34:23.593Z] $ docker exec --env ******** --env ******** 03e4d88e69d7cb171860bf697a13d5006f9b92528fd375f81c9d73cdf3087005 ssh-agent -k [2023-05-09T23:34:23.701Z] unset SSH_AUTH_SOCK; [2023-05-09T23:34:23.701Z] unset SSH_AGENT_PID; [2023-05-09T23:34:23.701Z] echo Agent pid 75 killed; [2023-05-09T23:34:23.725Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-09T23:34:24.153Z] + git semver [Pipeline] } [2023-05-09T23:34:24.427Z] $ docker stop --time=1 03e4d88e69d7cb171860bf697a13d5006f9b92528fd375f81c9d73cdf3087005 [2023-05-09T23:34:25.743Z] $ docker rm -f --volumes 03e4d88e69d7cb171860bf697a13d5006f9b92528fd375f81c9d73cdf3087005 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-09T23:34:26.168Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-09T23:34:26.464Z] Stashed 1 file(s) [Pipeline] echo [2023-05-09T23:34:26.485Z] [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-05-09T23:34:27.109Z] provisioning config files... [2023-05-09T23:34:27.118Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-314@tmp/config9363781330916894627tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T23:34:27.473Z] ---> docker-login.sh [2023-05-09T23:34:27.474Z] nexus3.edgexfoundry.org:10001 [2023-05-09T23:34:27.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T23:34:27.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T23:34:27.474Z] Configure a credential helper to remove this warning. See [2023-05-09T23:34:27.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T23:34:27.474Z] [2023-05-09T23:34:27.474Z] Login Succeeded [2023-05-09T23:34:27.474Z] nexus3.edgexfoundry.org:10002 [2023-05-09T23:34:27.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T23:34:27.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T23:34:27.474Z] Configure a credential helper to remove this warning. See [2023-05-09T23:34:27.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T23:34:27.474Z] [2023-05-09T23:34:27.474Z] Login Succeeded [2023-05-09T23:34:27.474Z] nexus3.edgexfoundry.org:10003 [2023-05-09T23:34:27.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T23:34:27.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T23:34:27.735Z] Configure a credential helper to remove this warning. See [2023-05-09T23:34:27.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T23:34:27.735Z] [2023-05-09T23:34:27.735Z] Login Succeeded [2023-05-09T23:34:27.735Z] nexus3.edgexfoundry.org:10004 [2023-05-09T23:34:27.735Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T23:34:27.735Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T23:34:27.735Z] Configure a credential helper to remove this warning. See [2023-05-09T23:34:27.735Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T23:34:27.735Z] [2023-05-09T23:34:27.735Z] Login Succeeded [2023-05-09T23:34:27.735Z] docker.io [2023-05-09T23:34:27.996Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T23:34:27.996Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T23:34:27.996Z] Configure a credential helper to remove this warning. See [2023-05-09T23:34:27.996Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T23:34:27.996Z] [2023-05-09T23:34:27.996Z] Login Succeeded [2023-05-09T23:34:27.996Z] ---> docker-login.sh ends [Pipeline] } [2023-05-09T23:34:28.029Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-09T23:34:28.239Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T23:34:28.276Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T23:34:28.306Z] ========================================================= [2023-05-09T23:34:28.306Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-09T23:34:28.306Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T23:34:28.765Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-09T23:34:28.765Z] Sending build context to Docker daemon 10.92MB [2023-05-09T23:34:28.765Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-09T23:34:28.765Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-09T23:34:28.765Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-09T23:34:28.765Z] f56be85fc22e: Pulling fs layer [2023-05-09T23:34:28.765Z] 85791d961cd3: Pulling fs layer [2023-05-09T23:34:28.765Z] d694b5ae8c79: Pulling fs layer [2023-05-09T23:34:28.765Z] 9f32a84ed3da: Pulling fs layer [2023-05-09T23:34:28.765Z] 4d19c01a9841: Pulling fs layer [2023-05-09T23:34:28.765Z] 9325e15d5711: Pulling fs layer [2023-05-09T23:34:28.765Z] 556b6ee489ea: Pulling fs layer [2023-05-09T23:34:28.765Z] c5a4b2cf53e6: Pulling fs layer [2023-05-09T23:34:28.765Z] 9325e15d5711: Waiting [2023-05-09T23:34:28.765Z] 556b6ee489ea: Waiting [2023-05-09T23:34:28.765Z] 9f32a84ed3da: Waiting [2023-05-09T23:34:28.765Z] 4d19c01a9841: Waiting [2023-05-09T23:34:28.765Z] c5a4b2cf53e6: Waiting [2023-05-09T23:34:29.024Z] 85791d961cd3: Download complete [2023-05-09T23:34:29.024Z] 9f32a84ed3da: Verifying Checksum [2023-05-09T23:34:29.024Z] 9f32a84ed3da: Download complete [2023-05-09T23:34:29.024Z] 4d19c01a9841: Verifying Checksum [2023-05-09T23:34:29.024Z] 4d19c01a9841: Download complete [2023-05-09T23:34:29.024Z] f56be85fc22e: Verifying Checksum [2023-05-09T23:34:29.024Z] f56be85fc22e: Download complete [2023-05-09T23:34:29.024Z] 9325e15d5711: Verifying Checksum [2023-05-09T23:34:29.024Z] 9325e15d5711: Download complete [2023-05-09T23:34:29.024Z] f56be85fc22e: Pull complete [2023-05-09T23:34:29.287Z] 85791d961cd3: Pull complete [2023-05-09T23:34:29.546Z] c5a4b2cf53e6: Verifying Checksum [2023-05-09T23:34:29.547Z] c5a4b2cf53e6: Download complete [2023-05-09T23:34:29.547Z] d694b5ae8c79: Verifying Checksum [2023-05-09T23:34:29.547Z] d694b5ae8c79: Download complete [2023-05-09T23:34:29.807Z] 556b6ee489ea: Verifying Checksum [2023-05-09T23:34:29.807Z] 556b6ee489ea: Download complete [2023-05-09T23:34:33.100Z] d694b5ae8c79: Pull complete [2023-05-09T23:34:33.100Z] 9f32a84ed3da: Pull complete [2023-05-09T23:34:33.100Z] 4d19c01a9841: Pull complete [2023-05-09T23:34:33.100Z] 9325e15d5711: Pull complete [2023-05-09T23:34:35.633Z] 556b6ee489ea: Pull complete [2023-05-09T23:34:36.571Z] c5a4b2cf53e6: Pull complete [2023-05-09T23:34:36.571Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-09T23:34:36.571Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-09T23:34:36.571Z] ---> c4be618373d6 [2023-05-09T23:34:36.571Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-09T23:34:39.873Z] ---> Running in 4ca9243511a6 [2023-05-09T23:34:39.873Z] Removing intermediate container 4ca9243511a6 [2023-05-09T23:34:39.873Z] ---> b98094d2ca7b [2023-05-09T23:34:39.873Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-09T23:34:39.873Z] ---> Running in 27aa15e73902 [2023-05-09T23:34:39.873Z] Removing intermediate container 27aa15e73902 [2023-05-09T23:34:39.873Z] ---> 27690f93c927 [2023-05-09T23:34:39.873Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-09T23:34:39.873Z] ---> Running in 6b3ff5856044 [2023-05-09T23:34:39.873Z] Removing intermediate container 6b3ff5856044 [2023-05-09T23:34:39.873Z] ---> 609ba3c80883 [2023-05-09T23:34:39.873Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-09T23:34:39.873Z] ---> Running in 24c4185901d1 [2023-05-09T23:34:39.873Z] Removing intermediate container 24c4185901d1 [2023-05-09T23:34:39.873Z] ---> aa48082d2634 [2023-05-09T23:34:39.873Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-09T23:34:39.873Z] ---> Running in ec85db387acf [2023-05-09T23:34:40.132Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-09T23:34:40.132Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-09T23:34:40.394Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-05-09T23:34:40.394Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-09T23:34:40.394Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-05-09T23:34:40.394Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-05-09T23:34:40.655Z] Executing busybox-1.35.0-r29.trigger [2023-05-09T23:34:40.655Z] OK: 269 MiB in 57 packages [2023-05-09T23:34:40.916Z] Removing intermediate container ec85db387acf [2023-05-09T23:34:40.916Z] ---> f944c8e713a1 [2023-05-09T23:34:40.916Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-09T23:34:40.916Z] ---> Running in 44db8047a576 [2023-05-09T23:34:41.175Z] Removing intermediate container 44db8047a576 [2023-05-09T23:34:41.175Z] ---> 8d9a9057cade [2023-05-09T23:34:41.175Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-09T23:34:41.175Z] ---> c2fb902245e8 [2023-05-09T23:34:41.175Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-09T23:34:41.175Z] ---> Running in ee5d1f04136e [2023-05-09T23:34:41.906Z] Still waiting to schedule task [2023-05-09T23:34:41.907Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-05-09T23:35:13.323Z] Removing intermediate container ee5d1f04136e [2023-05-09T23:35:13.323Z] ---> d3d18d8c09a5 [2023-05-09T23:35:13.323Z] Step 11/12 : COPY . . [2023-05-09T23:35:13.323Z] ---> b62f406ea977 [2023-05-09T23:35:13.323Z] Step 12/12 : RUN $MAKE [2023-05-09T23:35:13.323Z] ---> Running in 4ee383c91755 [2023-05-09T23:35:13.584Z] noop [2023-05-09T23:35:13.845Z] Removing intermediate container 4ee383c91755 [2023-05-09T23:35:13.845Z] ---> 78bf4bfbb45d [2023-05-09T23:35:13.845Z] Successfully built 78bf4bfbb45d [2023-05-09T23:35:13.845Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T23:35:14.449Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-09T23:35:14.450Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T23:35:14.593Z] prd-ubuntu20.04-docker-8c-8g-14813 does not seem to be running inside a container [2023-05-09T23:35:14.630Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-314 -v /w/workspace/gexfoundry_device-rest-go_PR-314:/w/workspace/gexfoundry_device-rest-go_PR-314:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-314@tmp:/w/workspace/gexfoundry_device-rest-go_PR-314@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 ******** ci-base-image-x86_64 cat [2023-05-09T23:35:14.990Z] $ docker top 896b0845af23848a420f4eb0cfdb61386881fa2a9b54e8ca4487769f4c668d6a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T23:35:15.381Z] + go version [2023-05-09T23:35:15.381Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-09T23:35:15.416Z] $ docker stop --time=1 896b0845af23848a420f4eb0cfdb61386881fa2a9b54e8ca4487769f4c668d6a [2023-05-09T23:35:16.690Z] $ docker rm -f --volumes 896b0845af23848a420f4eb0cfdb61386881fa2a9b54e8ca4487769f4c668d6a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T23:35:17.450Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-09T23:35:17.450Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T23:35:17.614Z] prd-ubuntu20.04-docker-8c-8g-14813 does not seem to be running inside a container [2023-05-09T23:35:17.648Z] $ 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-314 -v /w/workspace/gexfoundry_device-rest-go_PR-314:/w/workspace/gexfoundry_device-rest-go_PR-314:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-314@tmp:/w/workspace/gexfoundry_device-rest-go_PR-314@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 ******** ci-base-image-x86_64 cat [2023-05-09T23:35:17.990Z] $ docker top 4b7c051f6ed4519ee77bdbe56e41a972dca13e3226aa3f86d311dbe868ef4154 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T23:35:18.377Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-314 [Pipeline] fileExists [Pipeline] sh [2023-05-09T23:35:18.733Z] + make test [2023-05-09T23:35:18.733Z] go test ./... -coverprofile=coverage.out ./... [2023-05-09T23:35:24.001Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-09T23:35:33.984Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-09T23:35:33.984Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 32.2% of statements [2023-05-09T23:35:40.549Z] go vet ./... [2023-05-09T23:35:44.749Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-09T23:35:44.749Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-09T23:35:44.749Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-09T23:35:44.788Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-09T23:35:44.827Z] $ docker stop --time=1 4b7c051f6ed4519ee77bdbe56e41a972dca13e3226aa3f86d311dbe868ef4154 [2023-05-09T23:35:48.960Z] $ docker rm -f --volumes 4b7c051f6ed4519ee77bdbe56e41a972dca13e3226aa3f86d311dbe868ef4154 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-09T23:35:49.543Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-09T23:35:49.632Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-09T23:35:50.352Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-09T23:35:50.763Z] + ls -al . [2023-05-09T23:35:50.763Z] total 184 [2023-05-09T23:35:50.763Z] drwxrwxr-x 9 jenkins jenkins 4096 May 9 23:35 . [2023-05-09T23:35:50.763Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 23:34 .. [2023-05-09T23:35:50.763Z] -rw-rw-r-- 1 jenkins jenkins 151 May 9 23:34 .dockerignore [2023-05-09T23:35:50.763Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 23:34 .git [2023-05-09T23:35:50.763Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 23:34 .github [2023-05-09T23:35:50.763Z] -rw-rw-r-- 1 jenkins jenkins 329 May 9 23:34 .gitignore [2023-05-09T23:35:50.763Z] -rw-rw-r-- 1 jenkins jenkins 41 May 9 23:34 .golangci.yml [2023-05-09T23:35:50.763Z] drwxr-xr-x 3 jenkins jenkins 4096 May 9 23:34 .semver [2023-05-09T23:35:50.763Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 9 23:34 Attribution.txt [2023-05-09T23:35:50.763Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 9 23:34 CHANGELOG.md [2023-05-09T23:35:50.763Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 9 23:34 Dockerfile [2023-05-09T23:35:50.763Z] -rw-rw-r-- 1 jenkins jenkins 677 May 9 23:34 GOVERNANCE.md [2023-05-09T23:35:50.763Z] -rw-rw-r-- 1 jenkins jenkins 680 May 9 23:34 Jenkinsfile [2023-05-09T23:35:50.763Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 9 23:34 LICENSE [2023-05-09T23:35:50.763Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 9 23:34 Makefile [2023-05-09T23:35:50.763Z] -rw-rw-r-- 1 jenkins jenkins 620 May 9 23:34 OWNERS.md [2023-05-09T23:35:50.763Z] -rw-rw-r-- 1 jenkins jenkins 15321 May 9 23:34 README.md [2023-05-09T23:35:50.763Z] -rw-rw-r-- 1 jenkins jenkins 5 May 9 23:34 VERSION [2023-05-09T23:35:50.763Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 23:34 bin [2023-05-09T23:35:50.763Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 23:34 cmd [2023-05-09T23:35:50.763Z] -rw-r--r-- 1 jenkins jenkins 14663 May 9 23:35 coverage.out [2023-05-09T23:35:50.763Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 23:34 driver [2023-05-09T23:35:50.763Z] -rw-rw-r-- 1 jenkins jenkins 3402 May 9 23:34 go.mod [2023-05-09T23:35:50.763Z] -rw-rw-r-- 1 jenkins jenkins 31328 May 9 23:34 go.sum [2023-05-09T23:35:50.763Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 23:34 snap [2023-05-09T23:35:50.763Z] -rw-rw-r-- 1 jenkins jenkins 713 May 9 23:34 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T23:35:51.179Z] + 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=f2599b8404e96ca6d51fcf741083b5fab6a9bf6d --label arch=amd64 --label version=0.0.0 . [2023-05-09T23:35:51.179Z] Sending build context to Docker daemon 10.93MB [2023-05-09T23:35:51.179Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-09T23:35:51.179Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-09T23:35:51.179Z] ---> 78bf4bfbb45d [2023-05-09T23:35:51.179Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-09T23:35:51.441Z] ---> Running in a7cc6630b3e6 [2023-05-09T23:35:51.700Z] Removing intermediate container a7cc6630b3e6 [2023-05-09T23:35:51.700Z] ---> e7d618a1f016 [2023-05-09T23:35:51.700Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-09T23:35:51.966Z] ---> Running in 1e72d489f8b1 [2023-05-09T23:35:51.966Z] Removing intermediate container 1e72d489f8b1 [2023-05-09T23:35:51.966Z] ---> d1ba8e1fa0aa [2023-05-09T23:35:51.966Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-09T23:35:52.226Z] ---> Running in 31de778f669c [2023-05-09T23:35:52.226Z] Removing intermediate container 31de778f669c [2023-05-09T23:35:52.226Z] ---> 206c87494e74 [2023-05-09T23:35:52.226Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-09T23:35:52.487Z] ---> Running in 2e3ebe1342c9 [2023-05-09T23:35:52.487Z] Removing intermediate container 2e3ebe1342c9 [2023-05-09T23:35:52.487Z] ---> dc39744f914d [2023-05-09T23:35:52.487Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-09T23:35:52.747Z] ---> Running in 2bedf307f192 [2023-05-09T23:35:53.006Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-09T23:35:53.007Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-09T23:35:53.267Z] OK: 269 MiB in 57 packages [2023-05-09T23:35:54.214Z] Removing intermediate container 2bedf307f192 [2023-05-09T23:35:54.214Z] ---> 410d3011ede5 [2023-05-09T23:35:54.214Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-09T23:35:54.214Z] ---> Running in d41f3898548c [2023-05-09T23:35:54.477Z] Removing intermediate container d41f3898548c [2023-05-09T23:35:54.477Z] ---> 41c6b2c99008 [2023-05-09T23:35:54.477Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-09T23:35:54.741Z] ---> 022231f143e0 [2023-05-09T23:35:54.741Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-09T23:35:54.741Z] ---> Running in e4d35b94063e [2023-05-09T23:35:56.123Z] Removing intermediate container e4d35b94063e [2023-05-09T23:35:56.123Z] ---> 07803cfabd4d [2023-05-09T23:35:56.123Z] Step 11/25 : COPY . . [2023-05-09T23:35:56.692Z] ---> dc2eb0495c17 [2023-05-09T23:35:56.692Z] Step 12/25 : RUN $MAKE [2023-05-09T23:35:56.692Z] ---> Running in c7e2e8d65f5f [2023-05-09T23:35:57.261Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-05-09T23:36:15.738Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-14814 in /w/workspace/gexfoundry_device-rest-go_PR-314 [Pipeline] { [Pipeline] ws [2023-05-09T23:36:15.796Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-05-09T23:36:15.883Z] The recommended git tool is: git [2023-05-09T23:36:21.117Z] using credential edgex-jenkins-ssh [2023-05-09T23:36:21.135Z] Cloning the remote Git repository [2023-05-09T23:36:21.171Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-05-09T23:36:21.271Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-05-09T23:36:21.424Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-05-09T23:36:21.425Z] > git --version # timeout=10 [2023-05-09T23:36:21.449Z] > git --version # 'git version 2.25.1' [2023-05-09T23:36:21.451Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-09T23:36:21.608Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-09T23:36:23.984Z] Removing intermediate container c7e2e8d65f5f [2023-05-09T23:36:23.984Z] ---> 8fd99c58820b [2023-05-09T23:36:23.984Z] Step 13/25 : FROM alpine:3.17 [2023-05-09T23:36:23.984Z] 3.17: Pulling from library/alpine [2023-05-09T23:36:23.984Z] f56be85fc22e: Already exists [2023-05-09T23:36:23.984Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-09T23:36:23.984Z] Status: Downloaded newer image for alpine:3.17 [2023-05-09T23:36:23.984Z] ---> 9ed4aefc74f6 [2023-05-09T23:36:23.984Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-09T23:36:23.984Z] ---> Running in 678da972753f [2023-05-09T23:36:23.984Z] Removing intermediate container 678da972753f [2023-05-09T23:36:23.984Z] ---> 8d6bfe496692 [2023-05-09T23:36:23.984Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-09T23:36:23.984Z] ---> Running in 75cc86e47f96 [2023-05-09T23:36:23.984Z] Removing intermediate container 75cc86e47f96 [2023-05-09T23:36:23.984Z] ---> a791427331ec [2023-05-09T23:36:23.984Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-09T23:36:23.984Z] ---> Running in abf9e4757c13 [2023-05-09T23:36:23.984Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-09T23:36:23.984Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-09T23:36:23.984Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-09T23:36:23.984Z] Executing busybox-1.35.0-r29.trigger [2023-05-09T23:36:23.984Z] OK: 7 MiB in 16 packages [2023-05-09T23:36:24.243Z] Removing intermediate container abf9e4757c13 [2023-05-09T23:36:24.243Z] ---> 0bfb431f90ca [2023-05-09T23:36:24.243Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-09T23:36:23.506Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-05-09T23:36:23.543Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-09T23:36:24.510Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-05-09T23:36:24.557Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-05-09T23:36:24.558Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-09T23:36:24.577Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/314/head:refs/remotes/origin/PR-314 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-09T23:36:25.131Z] Merging remotes/origin/main commit bb022d5e5ee314ea0b2e9403ec65a17609e45266 into PR head commit f2599b8404e96ca6d51fcf741083b5fab6a9bf6d [2023-05-09T23:36:25.186Z] ---> 64bb266b769a [2023-05-09T23:36:25.186Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-09T23:36:25.446Z] ---> 5a88d7106c02 [2023-05-09T23:36:25.446Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-09T23:36:25.451Z] Merge succeeded, producing f2599b8404e96ca6d51fcf741083b5fab6a9bf6d [2023-05-09T23:36:25.451Z] Checking out Revision f2599b8404e96ca6d51fcf741083b5fab6a9bf6d (PR-314) [2023-05-09T23:36:25.706Z] ---> 4606d78ee3f0 [2023-05-09T23:36:25.706Z] Step 20/25 : EXPOSE 59986 [2023-05-09T23:36:25.706Z] ---> Running in 64177f5980d1 [2023-05-09T23:36:25.948Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3" [2023-05-09T23:36:25.967Z] Removing intermediate container 64177f5980d1 [2023-05-09T23:36:25.967Z] ---> b065772670ba [2023-05-09T23:36:25.967Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-09T23:36:25.139Z] > git config core.sparsecheckout # timeout=10 [2023-05-09T23:36:25.224Z] > git checkout -f f2599b8404e96ca6d51fcf741083b5fab6a9bf6d # timeout=10 [2023-05-09T23:36:25.323Z] > git remote # timeout=10 [2023-05-09T23:36:25.347Z] > git config --get remote.origin.url # timeout=10 [2023-05-09T23:36:25.378Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-09T23:36:25.392Z] > git merge bb022d5e5ee314ea0b2e9403ec65a17609e45266 # timeout=10 [2023-05-09T23:36:25.421Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-09T23:36:25.450Z] > git config core.sparsecheckout # timeout=10 [2023-05-09T23:36:25.467Z] > git checkout -f f2599b8404e96ca6d51fcf741083b5fab6a9bf6d # timeout=10 [2023-05-09T23:36:25.992Z] > git --version # timeout=10 [2023-05-09T23:36:26.005Z] > git --version # 'git version 2.25.1' [2023-05-09T23:36:26.021Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-09T23:36:26.229Z] ---> Running in d851e6c6f493 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [2023-05-09T23:36:26.488Z] Removing intermediate container d851e6c6f493 [2023-05-09T23:36:26.488Z] ---> 3b4c5747fdec [2023-05-09T23:36:26.488Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-09T23:36:26.746Z] ---> Running in 3d2a26f9e509 [2023-05-09T23:36:27.006Z] Removing intermediate container 3d2a26f9e509 [2023-05-09T23:36:27.006Z] ---> 059cb2941928 [2023-05-09T23:36:27.006Z] Step 23/25 : LABEL arch=amd64 [2023-05-09T23:36:27.006Z] ---> Running in 6a869bab9f94 [2023-05-09T23:36:27.148Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-09T23:36:27.148Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-09T23:36:27.148Z] Dload Upload Total Spent Left Speed [2023-05-09T23:36:27.148Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 92398 0 --:--:-- --:--:-- --:--:-- 91733 [2023-05-09T23:36:27.264Z] Removing intermediate container 6a869bab9f94 [2023-05-09T23:36:27.264Z] ---> b8f824254a6a [2023-05-09T23:36:27.264Z] Step 24/25 : LABEL git_sha=f2599b8404e96ca6d51fcf741083b5fab6a9bf6d [2023-05-09T23:36:27.264Z] ---> Running in 8ce31112b667 [Pipeline] sh [2023-05-09T23:36:27.537Z] Removing intermediate container 8ce31112b667 [2023-05-09T23:36:27.537Z] ---> c1f32d1cdd81 [2023-05-09T23:36:27.537Z] Step 25/25 : LABEL version=0.0.0 [2023-05-09T23:36:27.537Z] ---> Running in ab8969891bc5 [2023-05-09T23:36:27.764Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-09T23:36:27.795Z] Removing intermediate container ab8969891bc5 [2023-05-09T23:36:27.795Z] ---> 1f2b311d5f24 [2023-05-09T23:36:27.795Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-09T23:36:27.795Z] Successfully built 1f2b311d5f24 [2023-05-09T23:36:27.795Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [2023-05-09T23:36:28.111Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-05-09T23:36:28.111Z] + sudo tee /etc/docker/daemon.new [2023-05-09T23:36:28.111Z] { [2023-05-09T23:36:28.111Z] "registry-mirrors": [ [2023-05-09T23:36:28.111Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-09T23:36:28.111Z] ], [2023-05-09T23:36:28.111Z] "bip": "10.250.0.254/24", [2023-05-09T23:36:28.111Z] "hosts": [ [2023-05-09T23:36:28.111Z] "tcp://0.0.0.0:5555", [2023-05-09T23:36:28.111Z] "unix:///var/run/docker.sock" [2023-05-09T23:36:28.111Z] ], [2023-05-09T23:36:28.111Z] "mtu": 1458, [2023-05-09T23:36:28.111Z] "selinux-enabled": true, [2023-05-09T23:36:28.111Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-09T23:36:28.111Z] } [Pipeline] sh 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 [2023-05-09T23:36:28.471Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T23:36:28.852Z] + sudo service docker restart [2023-05-09T23:36:28.961Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T23:36:28.961Z] [2023-05-09T23:36:28.961Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T23:36:29.335Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T23:36:29.335Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-09T23:36:29.335Z] 5eb5b503b376: Pulling fs layer [2023-05-09T23:36:29.335Z] 5c69ac0246d0: Pulling fs layer [2023-05-09T23:36:29.335Z] ec43610c2a17: Pulling fs layer [2023-05-09T23:36:29.335Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-09T23:36:29.335Z] 33b1e0a273af: Pulling fs layer [2023-05-09T23:36:29.335Z] 5d3b04190fa2: Pulling fs layer [2023-05-09T23:36:29.335Z] 2f39f015ded8: Pulling fs layer [2023-05-09T23:36:29.335Z] 3a2ae6a8a46f: Waiting [2023-05-09T23:36:29.335Z] 5d3b04190fa2: Waiting [2023-05-09T23:36:29.335Z] 2f39f015ded8: Waiting [2023-05-09T23:36:29.335Z] 5c69ac0246d0: Verifying Checksum [2023-05-09T23:36:29.335Z] 5c69ac0246d0: Download complete [2023-05-09T23:36:29.335Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-09T23:36:29.335Z] 3a2ae6a8a46f: Download complete [2023-05-09T23:36:29.335Z] 33b1e0a273af: Verifying Checksum [2023-05-09T23:36:29.335Z] 33b1e0a273af: Download complete [2023-05-09T23:36:29.596Z] 5d3b04190fa2: Verifying Checksum [2023-05-09T23:36:29.596Z] 5d3b04190fa2: Download complete [2023-05-09T23:36:29.596Z] ec43610c2a17: Verifying Checksum [2023-05-09T23:36:29.596Z] 5eb5b503b376: Verifying Checksum [2023-05-09T23:36:29.596Z] 5eb5b503b376: Download complete [2023-05-09T23:36:30.164Z] 2f39f015ded8: Download complete [2023-05-09T23:36:30.736Z] 5eb5b503b376: Pull complete [2023-05-09T23:36:30.998Z] 5c69ac0246d0: Pull complete [2023-05-09T23:36:31.257Z] ec43610c2a17: Pull complete [2023-05-09T23:36:31.516Z] 3a2ae6a8a46f: Pull complete [2023-05-09T23:36:31.774Z] 33b1e0a273af: Pull complete [2023-05-09T23:36:31.774Z] 5d3b04190fa2: Pull complete [2023-05-09T23:36:35.966Z] 2f39f015ded8: Pull complete [2023-05-09T23:36:35.966Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-09T23:36:35.966Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T23:36:35.966Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T23:36:36.192Z] prd-ubuntu20.04-docker-8c-8g-14813 does not seem to be running inside a container [2023-05-09T23:36:36.221Z] $ 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-314 -v /w/workspace/gexfoundry_device-rest-go_PR-314:/w/workspace/gexfoundry_device-rest-go_PR-314:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-314@tmp:/w/workspace/gexfoundry_device-rest-go_PR-314@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-05-09T23:36:41.883Z] $ docker top b04c41f24d4d228fb3a813bf5309912027f207e4ed6258aee6a5476e1546b8a7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T23:36:42.341Z] ---> job-cost.sh [2023-05-09T23:36:42.341Z] lf-activate-venv: SKIPPING [2023-05-09T23:36:42.341Z] INFO: No Stack... [2023-05-09T23:36:43.277Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-09T23:36:43.536Z] INFO: Archiving Costs [Pipeline] sh [2023-05-09T23:36:43.850Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-314/archives/cost.csv [2023-05-09T23:36:43.850Z] + cut -d, -f6 [Pipeline] lock [2023-05-09T23:36:43.885Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-314-1-stack-cost] [2023-05-09T23:36:43.892Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-314-1-stack-cost] did not exist. Created. [2023-05-09T23:36:43.892Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-314-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-09T23:36:44.291Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-09T23:36:44.340Z] Stashed 1 file(s) [Pipeline] } [2023-05-09T23:36:44.375Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-314-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-09T23:36:44.465Z] $ docker stop --time=1 b04c41f24d4d228fb3a813bf5309912027f207e4ed6258aee6a5476e1546b8a7 [2023-05-09T23:36:45.721Z] $ docker rm -f --volumes b04c41f24d4d228fb3a813bf5309912027f207e4ed6258aee6a5476e1546b8a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-09T23:36:47.193Z] provisioning config files... [2023-05-09T23:36:47.224Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config16982834408548442733tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T23:36:47.623Z] ---> docker-login.sh [2023-05-09T23:36:47.623Z] nexus3.edgexfoundry.org:10001 [2023-05-09T23:36:48.215Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T23:36:48.215Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T23:36:48.215Z] Configure a credential helper to remove this warning. See [2023-05-09T23:36:48.215Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T23:36:48.215Z] [2023-05-09T23:36:48.215Z] Login Succeeded [2023-05-09T23:36:48.215Z] nexus3.edgexfoundry.org:10002 [2023-05-09T23:36:48.486Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T23:36:48.756Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T23:36:48.756Z] Configure a credential helper to remove this warning. See [2023-05-09T23:36:48.756Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T23:36:48.756Z] [2023-05-09T23:36:48.756Z] Login Succeeded [2023-05-09T23:36:48.756Z] nexus3.edgexfoundry.org:10003 [2023-05-09T23:36:48.756Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T23:36:49.028Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T23:36:49.028Z] Configure a credential helper to remove this warning. See [2023-05-09T23:36:49.028Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T23:36:49.028Z] [2023-05-09T23:36:49.028Z] Login Succeeded [2023-05-09T23:36:49.028Z] nexus3.edgexfoundry.org:10004 [2023-05-09T23:36:49.302Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T23:36:49.302Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T23:36:49.302Z] Configure a credential helper to remove this warning. See [2023-05-09T23:36:49.302Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T23:36:49.302Z] [2023-05-09T23:36:49.302Z] Login Succeeded [2023-05-09T23:36:49.302Z] docker.io [2023-05-09T23:36:49.572Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-09T23:36:49.839Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-09T23:36:49.839Z] Configure a credential helper to remove this warning. See [2023-05-09T23:36:49.839Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-09T23:36:49.839Z] [2023-05-09T23:36:49.839Z] Login Succeeded [2023-05-09T23:36:49.839Z] ---> docker-login.sh ends [Pipeline] } [2023-05-09T23:36:49.868Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-09T23:36:50.249Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T23:36:50.288Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-09T23:36:50.318Z] ========================================================= [2023-05-09T23:36:50.318Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-09T23:36:50.318Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T23:36:50.800Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . [2023-05-09T23:36:50.801Z] Sending build context to Docker daemon 139.3kB [2023-05-09T23:36:51.070Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-09T23:36:51.070Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-09T23:36:51.070Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-09T23:36:51.070Z] c41833b44d91: Pulling fs layer [2023-05-09T23:36:51.070Z] ed15518f5707: Pulling fs layer [2023-05-09T23:36:51.070Z] feae8fd75edb: Pulling fs layer [2023-05-09T23:36:51.070Z] 242c74f7c9fa: Pulling fs layer [2023-05-09T23:36:51.070Z] 3cdef696dda3: Pulling fs layer [2023-05-09T23:36:51.070Z] 2ced38df9373: Pulling fs layer [2023-05-09T23:36:51.070Z] 58f1dce35555: Pulling fs layer [2023-05-09T23:36:51.070Z] 242c74f7c9fa: Waiting [2023-05-09T23:36:51.070Z] 3cdef696dda3: Waiting [2023-05-09T23:36:51.070Z] 2ced38df9373: Waiting [2023-05-09T23:36:51.070Z] 58f1dce35555: Waiting [2023-05-09T23:36:51.339Z] ed15518f5707: Download complete [2023-05-09T23:36:51.339Z] 242c74f7c9fa: Verifying Checksum [2023-05-09T23:36:51.339Z] 242c74f7c9fa: Download complete [2023-05-09T23:36:51.339Z] 3cdef696dda3: Verifying Checksum [2023-05-09T23:36:51.339Z] 3cdef696dda3: Download complete [2023-05-09T23:36:51.339Z] c41833b44d91: Verifying Checksum [2023-05-09T23:36:52.330Z] c41833b44d91: Pull complete [2023-05-09T23:36:52.602Z] 58f1dce35555: Verifying Checksum [2023-05-09T23:36:52.602Z] 58f1dce35555: Download complete [2023-05-09T23:36:52.876Z] ed15518f5707: Pull complete [2023-05-09T23:36:53.845Z] feae8fd75edb: Verifying Checksum [2023-05-09T23:36:53.845Z] feae8fd75edb: Download complete [2023-05-09T23:36:53.845Z] 2ced38df9373: Verifying Checksum [2023-05-09T23:36:53.845Z] 2ced38df9373: Download complete [2023-05-09T23:37:06.383Z] feae8fd75edb: Pull complete [2023-05-09T23:37:06.383Z] 242c74f7c9fa: Pull complete [2023-05-09T23:37:06.383Z] 3cdef696dda3: Pull complete [2023-05-09T23:37:11.744Z] 2ced38df9373: Pull complete [2023-05-09T23:37:14.342Z] 58f1dce35555: Pull complete [2023-05-09T23:37:14.342Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-09T23:37:14.342Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-09T23:37:14.342Z] ---> fadd8f120f05 [2023-05-09T23:37:14.342Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-09T23:37:16.285Z] ---> Running in 0042350f7a7b [2023-05-09T23:37:16.285Z] Removing intermediate container 0042350f7a7b [2023-05-09T23:37:16.285Z] ---> 17605496b2ef [2023-05-09T23:37:16.285Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-09T23:37:16.285Z] ---> Running in 4db5c0738a6c [2023-05-09T23:37:16.562Z] Removing intermediate container 4db5c0738a6c [2023-05-09T23:37:16.562Z] ---> d19954e45251 [2023-05-09T23:37:16.562Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-09T23:37:16.562Z] ---> Running in c7fc0f249191 [2023-05-09T23:37:16.831Z] Removing intermediate container c7fc0f249191 [2023-05-09T23:37:16.832Z] ---> 15c1d8eb7632 [2023-05-09T23:37:16.832Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-09T23:37:17.097Z] ---> Running in 816efad7e72f [2023-05-09T23:37:17.364Z] Removing intermediate container 816efad7e72f [2023-05-09T23:37:17.364Z] ---> 43f0f2595d76 [2023-05-09T23:37:17.364Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-09T23:37:17.364Z] ---> Running in 31b652f35b06 [2023-05-09T23:37:18.322Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-09T23:37:18.904Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-09T23:37:19.862Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-05-09T23:37:19.862Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-09T23:37:19.862Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-05-09T23:37:19.862Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-05-09T23:37:19.862Z] Executing busybox-1.35.0-r29.trigger [2023-05-09T23:37:20.140Z] OK: 268 MiB in 57 packages [2023-05-09T23:37:21.098Z] Removing intermediate container 31b652f35b06 [2023-05-09T23:37:21.098Z] ---> ca54e9eb6832 [2023-05-09T23:37:21.098Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-09T23:37:21.098Z] ---> Running in 5a585898b79e [2023-05-09T23:37:21.365Z] Removing intermediate container 5a585898b79e [2023-05-09T23:37:21.365Z] ---> 9b5a8c39dc42 [2023-05-09T23:37:21.365Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-09T23:37:21.632Z] ---> af274f2e9f25 [2023-05-09T23:37:21.632Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-09T23:37:21.913Z] ---> Running in 9699f398deae [2023-05-09T23:38:29.812Z] Removing intermediate container 9699f398deae [2023-05-09T23:38:29.812Z] ---> 353d73bae36e [2023-05-09T23:38:29.812Z] Step 11/12 : COPY . . [2023-05-09T23:38:29.812Z] ---> 235d204151c8 [2023-05-09T23:38:29.812Z] Step 12/12 : RUN $MAKE [2023-05-09T23:38:29.812Z] ---> Running in 4372985e193f [2023-05-09T23:38:29.812Z] noop [2023-05-09T23:38:29.812Z] Removing intermediate container 4372985e193f [2023-05-09T23:38:29.812Z] ---> ccf06583b6f8 [2023-05-09T23:38:29.812Z] Successfully built ccf06583b6f8 [2023-05-09T23:38:29.812Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T23:38:30.296Z] + docker inspect -f . ci-base-image-arm64 [2023-05-09T23:38:30.296Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T23:38:30.603Z] prd-ubuntu20.04-docker-arm64-4c-16g-14814 does not seem to be running inside a container [2023-05-09T23:38:30.671Z] $ 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-05-09T23:38:31.909Z] $ docker top 21b3819def9a27e9f767f4d71607f0d3c6d82a9c5a8d093e8437ea5d582a209e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T23:38:32.802Z] + go version [2023-05-09T23:38:32.802Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-09T23:38:32.835Z] $ docker stop --time=1 21b3819def9a27e9f767f4d71607f0d3c6d82a9c5a8d093e8437ea5d582a209e [2023-05-09T23:38:34.458Z] $ docker rm -f --volumes 21b3819def9a27e9f767f4d71607f0d3c6d82a9c5a8d093e8437ea5d582a209e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T23:38:35.358Z] + docker inspect -f . ci-base-image-arm64 [2023-05-09T23:38:35.358Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T23:38:35.622Z] prd-ubuntu20.04-docker-arm64-4c-16g-14814 does not seem to be running inside a container [2023-05-09T23:38:35.693Z] $ 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-05-09T23:38:36.823Z] $ docker top 57a26f24c835b3f47b569cf57eb65712e9b0ddf42dd23e4b92c90cac281ab3a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T23:38:37.386Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-05-09T23:38:38.038Z] + make test [2023-05-09T23:38:38.038Z] go test ./... -coverprofile=coverage.out ./... [2023-05-09T23:39:10.283Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-09T23:41:01.941Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-09T23:41:01.941Z] ok github.com/edgexfoundry/device-rest-go/driver 0.053s coverage: 32.2% of statements [2023-05-09T23:41:02.902Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-09T23:41:02.902Z] go vet ./... [2023-05-09T23:41:41.802Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-09T23:41:41.802Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-09T23:41:41.802Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-09T23:41:41.844Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-09T23:41:41.886Z] $ docker stop --time=1 57a26f24c835b3f47b569cf57eb65712e9b0ddf42dd23e4b92c90cac281ab3a9 [2023-05-09T23:41:43.873Z] $ docker rm -f --volumes 57a26f24c835b3f47b569cf57eb65712e9b0ddf42dd23e4b92c90cac281ab3a9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-09T23:41:45.161Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-09T23:41:45.196Z] Warning: overwriting stash ‘coverage-report’ [2023-05-09T23:41:45.707Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-09T23:41:46.298Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-09T23:41:46.640Z] + ls -al . [2023-05-09T23:41:46.640Z] total 180 [2023-05-09T23:41:46.640Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 23:38 . [2023-05-09T23:41:46.640Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 23:36 .. [2023-05-09T23:41:46.640Z] -rw-rw-r-- 1 jenkins jenkins 151 May 9 23:36 .dockerignore [2023-05-09T23:41:46.640Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 23:36 .git [2023-05-09T23:41:46.640Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 23:36 .github [2023-05-09T23:41:46.640Z] -rw-rw-r-- 1 jenkins jenkins 329 May 9 23:36 .gitignore [2023-05-09T23:41:46.640Z] -rw-rw-r-- 1 jenkins jenkins 41 May 9 23:36 .golangci.yml [2023-05-09T23:41:46.641Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 9 23:36 Attribution.txt [2023-05-09T23:41:46.641Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 9 23:36 CHANGELOG.md [2023-05-09T23:41:46.641Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 9 23:36 Dockerfile [2023-05-09T23:41:46.641Z] -rw-rw-r-- 1 jenkins jenkins 677 May 9 23:36 GOVERNANCE.md [2023-05-09T23:41:46.641Z] -rw-rw-r-- 1 jenkins jenkins 680 May 9 23:36 Jenkinsfile [2023-05-09T23:41:46.641Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 9 23:36 LICENSE [2023-05-09T23:41:46.641Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 9 23:36 Makefile [2023-05-09T23:41:46.641Z] -rw-rw-r-- 1 jenkins jenkins 620 May 9 23:36 OWNERS.md [2023-05-09T23:41:46.641Z] -rw-rw-r-- 1 jenkins jenkins 15321 May 9 23:36 README.md [2023-05-09T23:41:46.641Z] -rw-rw-r-- 1 jenkins jenkins 5 May 9 23:34 VERSION [2023-05-09T23:41:46.641Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 23:36 bin [2023-05-09T23:41:46.641Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 23:36 cmd [2023-05-09T23:41:46.641Z] -rw-r--r-- 1 jenkins jenkins 14663 May 9 23:41 coverage.out [2023-05-09T23:41:46.641Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 23:36 driver [2023-05-09T23:41:46.641Z] -rw-rw-r-- 1 jenkins jenkins 3402 May 9 23:36 go.mod [2023-05-09T23:41:46.641Z] -rw-rw-r-- 1 jenkins jenkins 31328 May 9 23:36 go.sum [2023-05-09T23:41:46.641Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 23:36 snap [2023-05-09T23:41:46.641Z] -rw-rw-r-- 1 jenkins jenkins 713 May 9 23:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T23:41:47.065Z] + 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=f2599b8404e96ca6d51fcf741083b5fab6a9bf6d --label arch=arm64 --label version=0.0.0 . [2023-05-09T23:41:47.065Z] Sending build context to Docker daemon 154.6kB [2023-05-09T23:41:47.333Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-09T23:41:47.333Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-09T23:41:47.333Z] ---> ccf06583b6f8 [2023-05-09T23:41:47.333Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-09T23:41:47.333Z] ---> Running in 67ebd64662a8 [2023-05-09T23:41:47.602Z] Removing intermediate container 67ebd64662a8 [2023-05-09T23:41:47.603Z] ---> 80e6a961a733 [2023-05-09T23:41:47.603Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-09T23:41:47.873Z] ---> Running in 01ac08aef0f4 [2023-05-09T23:41:48.140Z] Removing intermediate container 01ac08aef0f4 [2023-05-09T23:41:48.140Z] ---> 901e909c3a99 [2023-05-09T23:41:48.141Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-09T23:41:48.141Z] ---> Running in 58fea0324103 [2023-05-09T23:41:48.410Z] Removing intermediate container 58fea0324103 [2023-05-09T23:41:48.410Z] ---> 8f63eaf03cee [2023-05-09T23:41:48.410Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-09T23:41:48.410Z] ---> Running in a1b997b68484 [2023-05-09T23:41:49.010Z] Removing intermediate container a1b997b68484 [2023-05-09T23:41:49.010Z] ---> 9e1d12cd0a00 [2023-05-09T23:41:49.010Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-09T23:41:49.010Z] ---> Running in 1fae4d489b30 [2023-05-09T23:41:49.974Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-09T23:41:50.563Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-09T23:41:51.984Z] OK: 268 MiB in 57 packages [2023-05-09T23:41:52.570Z] Removing intermediate container 1fae4d489b30 [2023-05-09T23:41:52.570Z] ---> b1d0b4aa2df7 [2023-05-09T23:41:52.570Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-09T23:41:52.570Z] ---> Running in fa12ac104187 [2023-05-09T23:41:52.839Z] Removing intermediate container fa12ac104187 [2023-05-09T23:41:52.839Z] ---> 77ac21f2f9ee [2023-05-09T23:41:52.839Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-09T23:41:53.429Z] ---> e88cb35def25 [2023-05-09T23:41:53.430Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-09T23:41:53.430Z] ---> Running in 4cdd85a8a263 [2023-05-09T23:41:56.023Z] Removing intermediate container 4cdd85a8a263 [2023-05-09T23:41:56.023Z] ---> 282840da2983 [2023-05-09T23:41:56.023Z] Step 11/25 : COPY . . [2023-05-09T23:41:56.613Z] ---> 651317f79f98 [2023-05-09T23:41:56.613Z] Step 12/25 : RUN $MAKE [2023-05-09T23:41:56.613Z] ---> Running in 8c1a5709eced [2023-05-09T23:41:57.578Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-05-09T23:44:35.019Z] Removing intermediate container 8c1a5709eced [2023-05-09T23:44:35.019Z] ---> 003b2bb3003a [2023-05-09T23:44:35.019Z] Step 13/25 : FROM alpine:3.17 [2023-05-09T23:44:35.019Z] 3.17: Pulling from library/alpine [2023-05-09T23:44:35.019Z] c41833b44d91: Already exists [2023-05-09T23:44:35.019Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-09T23:44:35.019Z] Status: Downloaded newer image for alpine:3.17 [2023-05-09T23:44:35.019Z] ---> 51e60588ff2c [2023-05-09T23:44:35.019Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-09T23:44:35.019Z] ---> Running in bc965b1c7911 [2023-05-09T23:44:35.019Z] Removing intermediate container bc965b1c7911 [2023-05-09T23:44:35.019Z] ---> 1fd2581f5274 [2023-05-09T23:44:35.019Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-09T23:44:35.019Z] ---> Running in ed30652c6f33 [2023-05-09T23:44:35.019Z] Removing intermediate container ed30652c6f33 [2023-05-09T23:44:35.019Z] ---> 0998ab5cc4d2 [2023-05-09T23:44:35.019Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-09T23:44:35.019Z] ---> Running in a0d310946e13 [2023-05-09T23:44:35.019Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-09T23:44:35.019Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-09T23:44:35.019Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-09T23:44:35.019Z] Executing busybox-1.35.0-r29.trigger [2023-05-09T23:44:35.019Z] OK: 8 MiB in 16 packages [2023-05-09T23:44:35.019Z] Removing intermediate container a0d310946e13 [2023-05-09T23:44:35.019Z] ---> cd9d7243e910 [2023-05-09T23:44:35.019Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-09T23:44:35.019Z] ---> 33f36cb93422 [2023-05-09T23:44:35.019Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-09T23:44:35.019Z] ---> e77a84d87e80 [2023-05-09T23:44:35.019Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-09T23:44:35.019Z] ---> 7544f96a2f6b [2023-05-09T23:44:35.019Z] Step 20/25 : EXPOSE 59986 [2023-05-09T23:44:35.019Z] ---> Running in 07273ea6f367 [2023-05-09T23:44:35.019Z] Removing intermediate container 07273ea6f367 [2023-05-09T23:44:35.019Z] ---> 32d1286a61d9 [2023-05-09T23:44:35.019Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-09T23:44:35.019Z] ---> Running in ec0a4154ecbd [2023-05-09T23:44:35.019Z] Removing intermediate container ec0a4154ecbd [2023-05-09T23:44:35.019Z] ---> 322f3bb25c8e [2023-05-09T23:44:35.019Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-09T23:44:35.019Z] ---> Running in 8b0b6ad3a39c [2023-05-09T23:44:35.019Z] Removing intermediate container 8b0b6ad3a39c [2023-05-09T23:44:35.019Z] ---> 0892186dbe6b [2023-05-09T23:44:35.019Z] Step 23/25 : LABEL arch=arm64 [2023-05-09T23:44:35.019Z] ---> Running in 58491afdde76 [2023-05-09T23:44:35.019Z] Removing intermediate container 58491afdde76 [2023-05-09T23:44:35.019Z] ---> 2687cccdda51 [2023-05-09T23:44:35.019Z] Step 24/25 : LABEL git_sha=f2599b8404e96ca6d51fcf741083b5fab6a9bf6d [2023-05-09T23:44:35.019Z] ---> Running in d5a3d442396e [2023-05-09T23:44:35.019Z] Removing intermediate container d5a3d442396e [2023-05-09T23:44:35.019Z] ---> 951d5f0fee60 [2023-05-09T23:44:35.019Z] Step 25/25 : LABEL version=0.0.0 [2023-05-09T23:44:35.019Z] ---> Running in 4e3ce4815eee [2023-05-09T23:44:35.019Z] Removing intermediate container 4e3ce4815eee [2023-05-09T23:44:35.019Z] ---> 4fafe7e3b325 [2023-05-09T23:44:35.019Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-09T23:44:35.019Z] Successfully built 4fafe7e3b325 [2023-05-09T23:44:35.019Z] 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-05-09T23:44:35.875Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-09T23:44:35.875Z] [2023-05-09T23:44:35.875Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T23:44:36.285Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-09T23:44:36.285Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-09T23:44:36.285Z] 8998bd30e6a1: Pulling fs layer [2023-05-09T23:44:36.285Z] 04944245beec: Pulling fs layer [2023-05-09T23:44:36.285Z] 699f458cf7ca: Pulling fs layer [2023-05-09T23:44:36.285Z] 765212b225bb: Pulling fs layer [2023-05-09T23:44:36.285Z] f23df028b6ca: Pulling fs layer [2023-05-09T23:44:36.285Z] d65c8cfc05b1: Pulling fs layer [2023-05-09T23:44:36.285Z] 2437ff75d9bd: Pulling fs layer [2023-05-09T23:44:36.285Z] f23df028b6ca: Waiting [2023-05-09T23:44:36.285Z] 765212b225bb: Waiting [2023-05-09T23:44:36.285Z] d65c8cfc05b1: Waiting [2023-05-09T23:44:36.285Z] 2437ff75d9bd: Waiting [2023-05-09T23:44:36.556Z] 04944245beec: Verifying Checksum [2023-05-09T23:44:36.556Z] 04944245beec: Download complete [2023-05-09T23:44:36.556Z] 765212b225bb: Verifying Checksum [2023-05-09T23:44:36.556Z] 765212b225bb: Download complete [2023-05-09T23:44:36.556Z] f23df028b6ca: Verifying Checksum [2023-05-09T23:44:36.556Z] f23df028b6ca: Download complete [2023-05-09T23:44:36.556Z] d65c8cfc05b1: Verifying Checksum [2023-05-09T23:44:36.556Z] d65c8cfc05b1: Download complete [2023-05-09T23:44:36.930Z] 699f458cf7ca: Verifying Checksum [2023-05-09T23:44:36.930Z] 699f458cf7ca: Download complete [2023-05-09T23:44:37.220Z] 8998bd30e6a1: Verifying Checksum [2023-05-09T23:44:37.220Z] 8998bd30e6a1: Download complete [2023-05-09T23:44:39.897Z] 2437ff75d9bd: Verifying Checksum [2023-05-09T23:44:39.897Z] 2437ff75d9bd: Download complete [2023-05-09T23:44:41.320Z] 8998bd30e6a1: Pull complete [2023-05-09T23:44:41.912Z] 04944245beec: Pull complete [2023-05-09T23:44:43.070Z] 699f458cf7ca: Pull complete [2023-05-09T23:44:43.342Z] 765212b225bb: Pull complete [2023-05-09T23:44:44.314Z] f23df028b6ca: Pull complete [2023-05-09T23:44:44.314Z] d65c8cfc05b1: Pull complete [2023-05-09T23:44:56.646Z] 2437ff75d9bd: Pull complete [2023-05-09T23:44:56.646Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-09T23:44:56.646Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-09T23:44:56.646Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T23:44:56.992Z] prd-ubuntu20.04-docker-arm64-4c-16g-14814 does not seem to be running inside a container [2023-05-09T23:44:57.070Z] $ 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-05-09T23:44:59.820Z] $ docker top 289f0b4afc6979fc7ac208a46f993e92a18b811bfe2a1adb1af8d70588d5db8d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-09T23:45:00.716Z] ---> job-cost.sh [2023-05-09T23:45:00.716Z] lf-activate-venv: SKIPPING [2023-05-09T23:45:00.716Z] INFO: No Stack... [2023-05-09T23:45:00.983Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-09T23:45:01.948Z] INFO: Archiving Costs [Pipeline] sh [2023-05-09T23:45:02.300Z] + cut -d, -f6 [2023-05-09T23:45:02.300Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2023-05-09T23:45:02.383Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-314-1-stack-cost] [2023-05-09T23:45:02.391Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-314-1-stack-cost] did not exist. Created. [2023-05-09T23:45:02.391Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-314-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-09T23:45:03.123Z] /w/workspace/device-rest-go/1@tmp/durable-b0c2f6a4/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-09T23:45:03.803Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-09T23:45:03.838Z] Warning: overwriting stash ‘stack-cost’ [2023-05-09T23:45:03.888Z] Stashed 1 file(s) [Pipeline] } [2023-05-09T23:45:03.909Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-314-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-09T23:45:03.990Z] $ docker stop --time=1 289f0b4afc6979fc7ac208a46f993e92a18b811bfe2a1adb1af8d70588d5db8d [2023-05-09T23:45:05.492Z] $ docker rm -f --volumes 289f0b4afc6979fc7ac208a46f993e92a18b811bfe2a1adb1af8d70588d5db8d [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-05-09T23:45:06.510Z] provisioning config files... [2023-05-09T23:45:06.519Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-314@tmp/config9885390430084299595tmp [Pipeline] { [Pipeline] sh [2023-05-09T23:45:06.857Z] + set +x [2023-05-09T23:45:06.857Z] + curl -s https://codecov.io/bash [2023-05-09T23:45:06.857Z] + bash -s -- [2023-05-09T23:45:06.857Z] [2023-05-09T23:45:06.857Z] _____ _ [2023-05-09T23:45:06.857Z] / ____| | | [2023-05-09T23:45:06.857Z] | | ___ __| | ___ ___ _____ __ [2023-05-09T23:45:06.857Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-09T23:45:06.857Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-09T23:45:06.857Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-09T23:45:06.857Z] Bash-1.0.6 [2023-05-09T23:45:06.857Z] [2023-05-09T23:45:06.857Z] [2023-05-09T23:45:06.857Z] ==> git version 2.25.1 found [2023-05-09T23:45:06.857Z] ==> 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-05-09T23:45:06.857Z] Release-Date: 2020-01-08 [2023-05-09T23:45:06.857Z] 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-05-09T23:45:06.857Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-09T23:45:06.857Z] ==> Jenkins CI detected. [2023-05-09T23:45:06.857Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-314 [2023-05-09T23:45:06.857Z] project root: . [2023-05-09T23:45:06.857Z] --> token set from env [2023-05-09T23:45:06.857Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-09T23:45:06.857Z] ==> Running gcov in . (disable via -X gcov) [2023-05-09T23:45:06.857Z] ==> Python coveragepy not found [2023-05-09T23:45:06.857Z] ==> Searching for coverage reports in: [2023-05-09T23:45:06.857Z] + . [2023-05-09T23:45:06.857Z] -> Found 1 reports [2023-05-09T23:45:06.857Z] ==> Detecting git/mercurial file structure [2023-05-09T23:45:06.857Z] ==> Reading reports [2023-05-09T23:45:07.117Z] + ./coverage.out bytes=14663 [2023-05-09T23:45:07.117Z] ==> Appending adjustments [2023-05-09T23:45:07.117Z] https://docs.codecov.io/docs/fixing-reports [2023-05-09T23:45:07.117Z] + Found adjustments [2023-05-09T23:45:07.117Z] ==> Gzipping contents [2023-05-09T23:45:07.117Z] 4.0K /tmp/codecov.Z0aGKL.gz [2023-05-09T23:45:07.117Z] ==> Uploading reports [2023-05-09T23:45:07.117Z] url: https://codecov.io [2023-05-09T23:45:07.117Z] query: branch=PR-314&commit=f2599b8404e96ca6d51fcf741083b5fab6a9bf6d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-314%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=314&job=&cmd_args= [2023-05-09T23:45:07.117Z] -> Pinging Codecov [2023-05-09T23:45:07.117Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-314&commit=f2599b8404e96ca6d51fcf741083b5fab6a9bf6d&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-314%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=314&job=&cmd_args= [2023-05-09T23:45:07.376Z] -> Uploading to [2023-05-09T23:45:07.376Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-09/4E5D53B4F1F92C436F7061BF334D961C/f2599b8404e96ca6d51fcf741083b5fab6a9bf6d/ca167372-3d44-45ac-9707-eb65d9bb0526.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230509T234507Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=999058e55e648562c8641b5d6a426069cfb8b1d67a0696535613149494a151c3 [2023-05-09T23:45:07.376Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-09T23:45:07.376Z] Dload Upload Total Spent Left Speed [2023-05-09T23:45:07.376Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 12303 --:--:-- --:--:-- --:--:-- 12303 [2023-05-09T23:45:07.635Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/f2599b8404e96ca6d51fcf741083b5fab6a9bf6d [Pipeline] } [2023-05-09T23:45:07.664Z] 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-05-09T23:45:09.620Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-314/archives ] [2023-05-09T23:45:09.620Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-314/archives [2023-05-09T23:45:09.620Z] total 16 [2023-05-09T23:45:09.620Z] drwxr-xr-x 3 root root 4096 May 9 23:36 . [2023-05-09T23:45:09.620Z] drwxrwxr-x 10 jenkins jenkins 4096 May 9 23:36 .. [2023-05-09T23:45:09.620Z] drwxr-xr-x 2 root root 4096 May 9 23:36 cost [2023-05-09T23:45:09.620Z] -rw-r--r-- 1 root root 86 May 9 23:36 cost.csv [2023-05-09T23:45:09.620Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-314/archives [2023-05-09T23:45:09.620Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-314/archives [2023-05-09T23:45:09.620Z] total 16 [2023-05-09T23:45:09.620Z] drwxr-xr-x 3 jenkins jenkins 4096 May 9 23:36 . [2023-05-09T23:45:09.620Z] drwxrwxr-x 10 jenkins jenkins 4096 May 9 23:36 .. [2023-05-09T23:45:09.620Z] drwxr-xr-x 2 jenkins jenkins 4096 May 9 23:36 cost [2023-05-09T23:45:09.620Z] -rw-r--r-- 1 jenkins jenkins 86 May 9 23:36 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-09T23:45:09.950Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T23:45:10.838Z] ---> package-listing.sh [2023-05-09T23:45:10.838Z] ++ facter osfamily [2023-05-09T23:45:10.838Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-09T23:45:11.098Z] + OS_FAMILY=debian [2023-05-09T23:45:11.098Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-314 [2023-05-09T23:45:11.098Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-09T23:45:11.098Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-09T23:45:11.098Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-09T23:45:11.098Z] + PACKAGES=/tmp/packages_start.txt [2023-05-09T23:45:11.098Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-314 ']' [2023-05-09T23:45:11.098Z] + PACKAGES=/tmp/packages_end.txt [2023-05-09T23:45:11.098Z] + case "${OS_FAMILY}" in [2023-05-09T23:45:11.098Z] + dpkg -l [2023-05-09T23:45:11.098Z] + grep '^ii' [2023-05-09T23:45:11.098Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-09T23:45:11.098Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-09T23:45:11.098Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-09T23:45:11.098Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-314 ']' [2023-05-09T23:45:11.098Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-314/archives/ [2023-05-09T23:45:11.098Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-314/archives/ [Pipeline] echo [2023-05-09T23:45:11.135Z] 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-314/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-09T23:45:11.426Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-09T23:45:12.061Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-09T23:45:12.061Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-09T23:45:12.216Z] prd-ubuntu20.04-docker-8c-8g-14813 does not seem to be running inside a container [2023-05-09T23:45:12.261Z] $ 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-314/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-314 -v /w/workspace/gexfoundry_device-rest-go_PR-314:/w/workspace/gexfoundry_device-rest-go_PR-314:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-314@tmp:/w/workspace/gexfoundry_device-rest-go_PR-314@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-09T23:45:12.609Z] $ docker top 4bf88c731e6611706f6bb5436524f964621298b469f3fa66678b62ae4ff44a6d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-09T23:45:12.987Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-09T23:45:13.298Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-09T23:45:13.607Z] + ls /var/log/sa-host [2023-05-09T23:45:13.607Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-09T23:45:13.852Z] provisioning config files... [2023-05-09T23:45:13.861Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-314@tmp/config14649708844024411317tmp [Pipeline] { [Pipeline] echo [2023-05-09T23:45:13.912Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T23:45:14.226Z] ---> create-netrc.sh [Pipeline] } [2023-05-09T23:45:14.256Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-09T23:45:14.669Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-09T23:45:14.699Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T23:45:15.008Z] ---> sudo-logs.sh [2023-05-09T23:45:15.008Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-09T23:45:15.092Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T23:45:15.413Z] ---> job-cost.sh [2023-05-09T23:45:15.413Z] lf-activate-venv: SKIPPING [2023-05-09T23:45:15.413Z] DEBUG: total: 0.2199999988079071 [2023-05-09T23:45:15.413Z] INFO: Retrieving Stack Cost... [2023-05-09T23:45:15.671Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-09T23:45:15.927Z] INFO: Archiving Costs [Pipeline] echo [2023-05-09T23:45:16.211Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-09T23:45:16.517Z] ---> logs-deploy.sh [2023-05-09T23:45:16.518Z] lf-activate-venv: SKIPPING [2023-05-09T23:45:16.518Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-314/1 [2023-05-09T23:45:16.518Z] INFO: archiving workspace using pattern(s): [2023-05-09T23:45:17.459Z] Archives upload complete. [2023-05-09T23:45:17.459Z] INFO: archiving logs to Nexus