Pull request #316 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from c3ef6fd0f20712086d9baf3294a43e7204ba39be+ec2da75f3e3e567a377e035f33bd2cfaed15f48d (e0bcb24ded748f61f3e37df915f9ff469a74f008) 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-ssh16781325023015433394.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-ssh10437124838960685217.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-316/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-316/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8034478680495827735.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-316/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11401104025419651096.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-ssh2795479108570181046.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-316/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-316/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh7734638797554557077.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-14980 in /w/workspace/gexfoundry_device-rest-go_PR-316 [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-316 # 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 Merging remotes/origin/main commit ec2da75f3e3e567a377e035f33bd2cfaed15f48d into PR head commit c3ef6fd0f20712086d9baf3294a43e7204ba39be Merge succeeded, producing c3ef6fd0f20712086d9baf3294a43e7204ba39be Checking out Revision c3ef6fd0f20712086d9baf3294a43e7204ba39be (PR-316) > 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/316/head:refs/remotes/origin/PR-316 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c3ef6fd0f20712086d9baf3294a43e7204ba39be # 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 ec2da75f3e3e567a377e035f33bd2cfaed15f48d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f c3ef6fd0f20712086d9baf3294a43e7204ba39be # timeout=10 Commit message: "docs: Add main branch Warning" 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-10T22:44:08.455Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-05-10T22:44:08.640Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-05-10T22:44:08.747Z] ========================================================= [2023-05-10T22:44:08.747Z] EdgeX Global Pipelines Version Info [2023-05-10T22:44:08.747Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-05-10T22:44:09.499Z] ------------------- [2023-05-10T22:44:09.499Z] stable info: [2023-05-10T22:44:09.499Z] ------------------- [2023-05-10T22:44:09.499Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-05-10T22:44:09.499Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-10T22:44:09.499Z] Message: update stable to v1.0.249 [2023-05-10T22:44:10.070Z] ------------------- [2023-05-10T22:44:10.070Z] experimental info: [2023-05-10T22:44:10.070Z] ------------------- [2023-05-10T22:44:10.070Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-05-10T22:44:10.070Z] Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd [2023-05-10T22:44:10.070Z] Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-05-10T22:44:10.368Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-05-10T22:44:10.409Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-05-10T22:44:10.452Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-05-10T22:44:10.496Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-05-10T22:44:10.546Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-05-10T22:44:10.592Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-05-10T22:44:10.639Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-05-10T22:44:10.683Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-05-10T22:44:10.721Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-05-10T22:44:10.759Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-05-10T22:44:10.803Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-05-10T22:44:10.843Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-05-10T22:44:10.884Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-05-10T22:44:10.929Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-05-10T22:44:10.972Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-05-10T22:44:11.014Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-05-10T22:44:11.064Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-05-10T22:44:11.111Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-05-10T22:44:11.154Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-05-10T22:44:11.197Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-05-10T22:44:11.248Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-05-10T22:44:11.291Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-05-10T22:44:11.333Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-05-10T22:44:11.375Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-05-10T22:44:11.418Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-05-10T22:44:11.462Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-05-10T22:44:11.505Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-05-10T22:44:11.548Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-316 [Pipeline] echo [2023-05-10T22:44:11.602Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-316 [Pipeline] echo [2023-05-10T22:44:11.646Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-316 [Pipeline] echo [2023-05-10T22:44:11.688Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c3ef6fd0f20712086d9baf3294a43e7204ba39be [Pipeline] echo [2023-05-10T22:44:11.728Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c3ef6fd [Pipeline] echo [2023-05-10T22:44:11.769Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T22:44:11.885Z] provisioning config files... [2023-05-10T22:44:11.898Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-316@tmp/config13624386712736953448tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T22:44:12.240Z] ---> docker-login.sh [2023-05-10T22:44:12.240Z] nexus3.edgexfoundry.org:10001 [2023-05-10T22:44:12.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:44:12.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:44:12.504Z] Configure a credential helper to remove this warning. See [2023-05-10T22:44:12.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:44:12.504Z] [2023-05-10T22:44:12.504Z] Login Succeeded [2023-05-10T22:44:12.504Z] nexus3.edgexfoundry.org:10002 [2023-05-10T22:44:12.504Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:44:12.504Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:44:12.504Z] Configure a credential helper to remove this warning. See [2023-05-10T22:44:12.504Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:44:12.504Z] [2023-05-10T22:44:12.504Z] Login Succeeded [2023-05-10T22:44:12.504Z] nexus3.edgexfoundry.org:10003 [2023-05-10T22:44:12.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:44:12.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:44:12.764Z] Configure a credential helper to remove this warning. See [2023-05-10T22:44:12.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:44:12.764Z] [2023-05-10T22:44:12.764Z] Login Succeeded [2023-05-10T22:44:12.764Z] nexus3.edgexfoundry.org:10004 [2023-05-10T22:44:12.764Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:44:12.764Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:44:12.764Z] Configure a credential helper to remove this warning. See [2023-05-10T22:44:12.764Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:44:12.764Z] [2023-05-10T22:44:12.764Z] Login Succeeded [2023-05-10T22:44:12.764Z] docker.io [2023-05-10T22:44:13.023Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:44:13.023Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:44:13.023Z] Configure a credential helper to remove this warning. See [2023-05-10T22:44:13.023Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:44:13.023Z] [2023-05-10T22:44:13.023Z] Login Succeeded [2023-05-10T22:44:13.023Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T22:44:13.049Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-05-10T22:44:13.703Z] + git rev-list -1 --merges c3ef6fd0f20712086d9baf3294a43e7204ba39be~1..c3ef6fd0f20712086d9baf3294a43e7204ba39be [Pipeline] echo [2023-05-10T22:44:13.758Z] -----------> git rev-list -1 --merges c3ef6fd0f20712086d9baf3294a43e7204ba39be~1..c3ef6fd0f20712086d9baf3294a43e7204ba39be c3ef6fd0f20712086d9baf3294a43e7204ba39be [false] [Pipeline] sh [2023-05-10T22:44:14.062Z] + git log --format=format:%s -1 c3ef6fd0f20712086d9baf3294a43e7204ba39be [Pipeline] echo [2023-05-10T22:44:14.093Z] ========================================================= [2023-05-10T22:44:14.093Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-05-10T22:44:14.093Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-10T22:44:14.532Z] + git log --format=format:%s -1 c3ef6fd0f20712086d9baf3294a43e7204ba39be [Pipeline] echo [2023-05-10T22:44:14.566Z] [semverPrep] GIT_COMMIT: c3ef6fd0f20712086d9baf3294a43e7204ba39be, Commit Message: docs: Add main branch Warning [Pipeline] echo [2023-05-10T22:44:14.596Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-05-10T22:44:15.163Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-05-10T22:44:15.163Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-05-10T22:44:15.163Z] + [ -e /tmp/ssh_known_hosts ] [2023-05-10T22:44:15.163Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-05-10T22:44:15.163Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-05-10T22:44:15.163Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-05-10T22:44:15.163Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T22:44:15.657Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T22:44:15.657Z] [2023-05-10T22:44:15.657Z] 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-10T22:44:16.045Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T22:44:16.045Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-05-10T22:44:16.045Z] b85a868b505f: Pulling fs layer [2023-05-10T22:44:16.045Z] e2be974225ed: Pulling fs layer [2023-05-10T22:44:16.045Z] 339a4e72a1f5: Pulling fs layer [2023-05-10T22:44:16.045Z] 988bab9f4d93: Pulling fs layer [2023-05-10T22:44:16.045Z] 1469e6f7b9e6: Pulling fs layer [2023-05-10T22:44:16.045Z] eaf3925da568: Pulling fs layer [2023-05-10T22:44:16.045Z] bab4dde63d76: Pulling fs layer [2023-05-10T22:44:16.045Z] bde34c3a00c8: Pulling fs layer [2023-05-10T22:44:16.045Z] b352a97aabf1: Pulling fs layer [2023-05-10T22:44:16.045Z] 4872d77fe225: Pulling fs layer [2023-05-10T22:44:16.045Z] 5851b861e8e6: Pulling fs layer [2023-05-10T22:44:16.045Z] 1469e6f7b9e6: Waiting [2023-05-10T22:44:16.045Z] eaf3925da568: Waiting [2023-05-10T22:44:16.045Z] bab4dde63d76: Waiting [2023-05-10T22:44:16.045Z] b352a97aabf1: Waiting [2023-05-10T22:44:16.045Z] bde34c3a00c8: Waiting [2023-05-10T22:44:16.045Z] 5851b861e8e6: Waiting [2023-05-10T22:44:16.045Z] 988bab9f4d93: Waiting [2023-05-10T22:44:16.045Z] 4872d77fe225: Waiting [2023-05-10T22:44:16.045Z] e2be974225ed: Verifying Checksum [2023-05-10T22:44:16.045Z] e2be974225ed: Download complete [2023-05-10T22:44:16.045Z] 988bab9f4d93: Verifying Checksum [2023-05-10T22:44:16.045Z] 988bab9f4d93: Download complete [2023-05-10T22:44:16.045Z] 1469e6f7b9e6: Verifying Checksum [2023-05-10T22:44:16.045Z] 1469e6f7b9e6: Download complete [2023-05-10T22:44:16.045Z] 339a4e72a1f5: Verifying Checksum [2023-05-10T22:44:16.045Z] 339a4e72a1f5: Download complete [2023-05-10T22:44:16.045Z] eaf3925da568: Verifying Checksum [2023-05-10T22:44:16.045Z] eaf3925da568: Download complete [2023-05-10T22:44:16.305Z] bde34c3a00c8: Verifying Checksum [2023-05-10T22:44:16.305Z] bde34c3a00c8: Download complete [2023-05-10T22:44:16.305Z] b352a97aabf1: Verifying Checksum [2023-05-10T22:44:16.305Z] b352a97aabf1: Download complete [2023-05-10T22:44:16.305Z] 4872d77fe225: Verifying Checksum [2023-05-10T22:44:16.305Z] 4872d77fe225: Download complete [2023-05-10T22:44:16.305Z] 5851b861e8e6: Verifying Checksum [2023-05-10T22:44:16.305Z] 5851b861e8e6: Download complete [2023-05-10T22:44:16.305Z] b85a868b505f: Verifying Checksum [2023-05-10T22:44:16.305Z] b85a868b505f: Download complete [2023-05-10T22:44:16.563Z] bab4dde63d76: Verifying Checksum [2023-05-10T22:44:16.563Z] bab4dde63d76: Download complete [2023-05-10T22:44:17.500Z] b85a868b505f: Pull complete [2023-05-10T22:44:17.757Z] e2be974225ed: Pull complete [2023-05-10T22:44:18.016Z] 339a4e72a1f5: Pull complete [2023-05-10T22:44:18.277Z] 988bab9f4d93: Pull complete [2023-05-10T22:44:18.536Z] 1469e6f7b9e6: Pull complete [2023-05-10T22:44:18.536Z] eaf3925da568: Pull complete [2023-05-10T22:44:20.442Z] bab4dde63d76: Pull complete [2023-05-10T22:44:20.442Z] bde34c3a00c8: Pull complete [2023-05-10T22:44:20.442Z] b352a97aabf1: Pull complete [2023-05-10T22:44:20.442Z] 4872d77fe225: Pull complete [2023-05-10T22:44:20.442Z] 5851b861e8e6: Pull complete [2023-05-10T22:44:20.442Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-05-10T22:44:20.442Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-05-10T22:44:20.442Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T22:44:20.683Z] prd-ubuntu20.04-docker-8c-8g-14980 does not seem to be running inside a container [2023-05-10T22:44:20.719Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-316 -v /w/workspace/gexfoundry_device-rest-go_PR-316:/w/workspace/gexfoundry_device-rest-go_PR-316:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-316@tmp:/w/workspace/gexfoundry_device-rest-go_PR-316@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-devops/py-git-semver:0.1.4 cat [2023-05-10T22:44:24.408Z] $ docker top 2768b293d1b8e794c37ef5d240a05134c789a877f25679ff5ebebcbc9788a34d -eo pid,comm [2023-05-10T22:44:24.457Z] 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-10T22:44:24.457Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-05-10T22:44:24.597Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T22:44:24.597Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T22:44:24.730Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T22:44:24.736Z] $ docker exec 2768b293d1b8e794c37ef5d240a05134c789a877f25679ff5ebebcbc9788a34d ssh-agent [2023-05-10T22:44:24.849Z] SSH_AUTH_SOCK=/tmp/ssh-kHAurnk9jStM/agent.32 [2023-05-10T22:44:24.849Z] SSH_AGENT_PID=38 [2023-05-10T22:44:24.856Z] Running ssh-add (command line suppressed) [2023-05-10T22:44:24.953Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-316@tmp/private_key_5333814789832395398.key (/w/workspace/gexfoundry_device-rest-go_PR-316@tmp/private_key_5333814789832395398.key) [2023-05-10T22:44:24.961Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T22:44:25.288Z] + git tag --points-at HEAD [Pipeline] } [2023-05-10T22:44:25.316Z] $ docker exec --env ******** --env ******** 2768b293d1b8e794c37ef5d240a05134c789a877f25679ff5ebebcbc9788a34d ssh-agent -k [2023-05-10T22:44:25.412Z] unset SSH_AUTH_SOCK; [2023-05-10T22:44:25.412Z] unset SSH_AGENT_PID; [2023-05-10T22:44:25.412Z] echo Agent pid 38 killed; [2023-05-10T22:44:25.422Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-05-10T22:44:25.517Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-05-10T22:44:25.517Z] [ssh-agent] Looking for ssh-agent implementation... [2023-05-10T22:44:25.631Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-05-10T22:44:25.637Z] $ docker exec 2768b293d1b8e794c37ef5d240a05134c789a877f25679ff5ebebcbc9788a34d ssh-agent [2023-05-10T22:44:25.733Z] SSH_AUTH_SOCK=/tmp/ssh-K6QLzRCGqYgW/agent.70 [2023-05-10T22:44:25.733Z] SSH_AGENT_PID=76 [2023-05-10T22:44:25.737Z] Running ssh-add (command line suppressed) [2023-05-10T22:44:25.834Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-316@tmp/private_key_5470146180469437005.key (/w/workspace/gexfoundry_device-rest-go_PR-316@tmp/private_key_5470146180469437005.key) [2023-05-10T22:44:25.844Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-05-10T22:44:26.170Z] + git semver init [2023-05-10T22:44:26.431Z] 2023-05-10 22:44:26,345 [run_init] DEBUG init version:0.0.0 force:False [2023-05-10T22:44:26.431Z] 2023-05-10 22:44:26,346 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-316/.semver [2023-05-10T22:44:26.431Z] 2023-05-10 22:44:26,347 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-316/.semver [2023-05-10T22:44:26.431Z] 2023-05-10 22:44:26,347 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-316/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-316, universal_newlines=False, shell=None, istream=None) [2023-05-10T22:44:27.371Z] 2023-05-10 22:44:27,337 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-316/.git/info/exclude [2023-05-10T22:44:27.371Z] 2023-05-10 22:44:27,337 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-316/.semver/PR-316 with force:False [2023-05-10T22:44:27.371Z] 2023-05-10 22:44:27,337 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-316/.semver/PR-316 [2023-05-10T22:44:27.371Z] 2023-05-10 22:44:27,341 [execute] INFO git cat-file --batch-check [2023-05-10T22:44:27.371Z] 2023-05-10 22:44:27,342 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-316/.semver, universal_newlines=False, shell=None, istream=) [2023-05-10T22:44:27.371Z] 2023-05-10 22:44:27,347 [execute] INFO git cat-file --batch [2023-05-10T22:44:27.371Z] 2023-05-10 22:44:27,347 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-316/.semver, universal_newlines=False, shell=None, istream=) [2023-05-10T22:44:27.371Z] 2023-05-10 22:44:27,352 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-316/.semver/PR-316 [2023-05-10T22:44:27.371Z] 0.0.0 [Pipeline] } [2023-05-10T22:44:27.400Z] $ docker exec --env ******** --env ******** 2768b293d1b8e794c37ef5d240a05134c789a877f25679ff5ebebcbc9788a34d ssh-agent -k [2023-05-10T22:44:27.497Z] unset SSH_AUTH_SOCK; [2023-05-10T22:44:27.498Z] unset SSH_AGENT_PID; [2023-05-10T22:44:27.498Z] echo Agent pid 76 killed; [2023-05-10T22:44:27.502Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-05-10T22:44:27.924Z] + git semver [Pipeline] } [2023-05-10T22:44:28.212Z] $ docker stop --time=1 2768b293d1b8e794c37ef5d240a05134c789a877f25679ff5ebebcbc9788a34d [2023-05-10T22:44:29.497Z] $ docker rm -f --volumes 2768b293d1b8e794c37ef5d240a05134c789a877f25679ff5ebebcbc9788a34d [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-10T22:44:29.890Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-05-10T22:44:30.182Z] Stashed 1 file(s) [Pipeline] echo [2023-05-10T22:44:30.199Z] [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-10T22:44:30.868Z] provisioning config files... [2023-05-10T22:44:30.877Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-316@tmp/config15427752344726453884tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T22:44:31.230Z] ---> docker-login.sh [2023-05-10T22:44:31.230Z] nexus3.edgexfoundry.org:10001 [2023-05-10T22:44:31.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:44:31.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:44:31.230Z] Configure a credential helper to remove this warning. See [2023-05-10T22:44:31.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:44:31.230Z] [2023-05-10T22:44:31.230Z] Login Succeeded [2023-05-10T22:44:31.230Z] nexus3.edgexfoundry.org:10002 [2023-05-10T22:44:31.230Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:44:31.230Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:44:31.230Z] Configure a credential helper to remove this warning. See [2023-05-10T22:44:31.230Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:44:31.230Z] [2023-05-10T22:44:31.230Z] Login Succeeded [2023-05-10T22:44:31.230Z] nexus3.edgexfoundry.org:10003 [2023-05-10T22:44:31.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:44:31.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:44:31.490Z] Configure a credential helper to remove this warning. See [2023-05-10T22:44:31.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:44:31.490Z] [2023-05-10T22:44:31.490Z] Login Succeeded [2023-05-10T22:44:31.490Z] nexus3.edgexfoundry.org:10004 [2023-05-10T22:44:31.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:44:31.490Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:44:31.490Z] Configure a credential helper to remove this warning. See [2023-05-10T22:44:31.490Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:44:31.490Z] [2023-05-10T22:44:31.490Z] Login Succeeded [2023-05-10T22:44:31.490Z] docker.io [2023-05-10T22:44:31.749Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:44:31.749Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:44:31.749Z] Configure a credential helper to remove this warning. See [2023-05-10T22:44:31.749Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:44:31.749Z] [2023-05-10T22:44:31.749Z] Login Succeeded [2023-05-10T22:44:31.749Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T22:44:31.777Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-10T22:44:31.962Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T22:44:31.997Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T22:44:32.030Z] ========================================================= [2023-05-10T22:44:32.030Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-05-10T22:44:32.030Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T22:44:32.505Z] + 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-10T22:44:32.505Z] Sending build context to Docker daemon 10.92MB [2023-05-10T22:44:32.505Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T22:44:32.505Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-10T22:44:32.505Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-05-10T22:44:32.505Z] f56be85fc22e: Pulling fs layer [2023-05-10T22:44:32.505Z] 85791d961cd3: Pulling fs layer [2023-05-10T22:44:32.505Z] d694b5ae8c79: Pulling fs layer [2023-05-10T22:44:32.505Z] 9f32a84ed3da: Pulling fs layer [2023-05-10T22:44:32.505Z] 4d19c01a9841: Pulling fs layer [2023-05-10T22:44:32.505Z] 9325e15d5711: Pulling fs layer [2023-05-10T22:44:32.505Z] 556b6ee489ea: Pulling fs layer [2023-05-10T22:44:32.505Z] c5a4b2cf53e6: Pulling fs layer [2023-05-10T22:44:32.505Z] 9f32a84ed3da: Waiting [2023-05-10T22:44:32.505Z] 4d19c01a9841: Waiting [2023-05-10T22:44:32.505Z] 9325e15d5711: Waiting [2023-05-10T22:44:32.505Z] c5a4b2cf53e6: Waiting [2023-05-10T22:44:32.505Z] 556b6ee489ea: Waiting [2023-05-10T22:44:32.505Z] 85791d961cd3: Download complete [2023-05-10T22:44:32.768Z] 9f32a84ed3da: Download complete [2023-05-10T22:44:32.768Z] 4d19c01a9841: Download complete [2023-05-10T22:44:32.768Z] f56be85fc22e: Verifying Checksum [2023-05-10T22:44:32.768Z] f56be85fc22e: Download complete [2023-05-10T22:44:32.768Z] 9325e15d5711: Verifying Checksum [2023-05-10T22:44:32.768Z] 9325e15d5711: Download complete [2023-05-10T22:44:32.768Z] f56be85fc22e: Pull complete [2023-05-10T22:44:33.032Z] 85791d961cd3: Pull complete [2023-05-10T22:44:33.292Z] c5a4b2cf53e6: Verifying Checksum [2023-05-10T22:44:33.292Z] c5a4b2cf53e6: Download complete [2023-05-10T22:44:33.292Z] d694b5ae8c79: Verifying Checksum [2023-05-10T22:44:33.292Z] d694b5ae8c79: Download complete [2023-05-10T22:44:33.550Z] 556b6ee489ea: Verifying Checksum [2023-05-10T22:44:33.550Z] 556b6ee489ea: Download complete [2023-05-10T22:44:36.842Z] d694b5ae8c79: Pull complete [2023-05-10T22:44:36.842Z] 9f32a84ed3da: Pull complete [2023-05-10T22:44:36.842Z] 4d19c01a9841: Pull complete [2023-05-10T22:44:36.842Z] 9325e15d5711: Pull complete [2023-05-10T22:44:39.373Z] 556b6ee489ea: Pull complete [2023-05-10T22:44:40.308Z] c5a4b2cf53e6: Pull complete [2023-05-10T22:44:40.308Z] Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b [2023-05-10T22:44:40.308Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-05-10T22:44:40.308Z] ---> c4be618373d6 [2023-05-10T22:44:40.308Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-10T22:44:45.600Z] ---> Running in 966450a61159 [2023-05-10T22:44:45.600Z] Removing intermediate container 966450a61159 [2023-05-10T22:44:45.600Z] ---> df2101e4b15c [2023-05-10T22:44:45.600Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T22:44:45.600Z] ---> Running in e88799e75b76 [2023-05-10T22:44:45.600Z] Removing intermediate container e88799e75b76 [2023-05-10T22:44:45.600Z] ---> b3b316b1b09f [2023-05-10T22:44:45.600Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-10T22:44:45.600Z] ---> Running in 827fc4e8e3c6 [2023-05-10T22:44:45.600Z] Removing intermediate container 827fc4e8e3c6 [2023-05-10T22:44:45.600Z] ---> 42de43ec855a [2023-05-10T22:44:45.600Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-10T22:44:45.600Z] ---> Running in 17609b078b98 [2023-05-10T22:44:45.600Z] Removing intermediate container 17609b078b98 [2023-05-10T22:44:45.600Z] ---> f6a6bdac61c9 [2023-05-10T22:44:45.600Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-10T22:44:45.600Z] ---> Running in 790817c17930 [2023-05-10T22:44:45.600Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-10T22:44:45.692Z] Still waiting to schedule task [2023-05-10T22:44:45.693Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-05-10T22:44:45.861Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-10T22:44:45.861Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-05-10T22:44:45.861Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-10T22:44:45.861Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-05-10T22:44:45.861Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-05-10T22:44:46.205Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T22:44:46.205Z] OK: 269 MiB in 57 packages [2023-05-10T22:44:46.464Z] Removing intermediate container 790817c17930 [2023-05-10T22:44:46.464Z] ---> 9aee64cf2a39 [2023-05-10T22:44:46.464Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-10T22:44:46.723Z] ---> Running in 5b842421f45b [2023-05-10T22:44:46.724Z] Removing intermediate container 5b842421f45b [2023-05-10T22:44:46.724Z] ---> 5bbdaf42f98b [2023-05-10T22:44:46.724Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-10T22:44:46.724Z] ---> 3fe1e7a34fdf [2023-05-10T22:44:46.724Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T22:44:46.724Z] ---> Running in 72ec072be5db [2023-05-10T22:45:18.885Z] Removing intermediate container 72ec072be5db [2023-05-10T22:45:18.885Z] ---> 2a2b5067ae11 [2023-05-10T22:45:18.885Z] Step 11/12 : COPY . . [2023-05-10T22:45:18.885Z] ---> 67a06e64dc27 [2023-05-10T22:45:18.885Z] Step 12/12 : RUN $MAKE [2023-05-10T22:45:18.885Z] ---> Running in 343852084d42 [2023-05-10T22:45:18.885Z] noop [2023-05-10T22:45:18.885Z] Removing intermediate container 343852084d42 [2023-05-10T22:45:18.885Z] ---> 2008aa2fc0a8 [2023-05-10T22:45:18.885Z] Successfully built 2008aa2fc0a8 [2023-05-10T22:45:18.885Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T22:45:19.335Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-10T22:45:19.335Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T22:45:19.495Z] prd-ubuntu20.04-docker-8c-8g-14980 does not seem to be running inside a container [2023-05-10T22:45:19.529Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-316 -v /w/workspace/gexfoundry_device-rest-go_PR-316:/w/workspace/gexfoundry_device-rest-go_PR-316:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-316@tmp:/w/workspace/gexfoundry_device-rest-go_PR-316@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-10T22:45:19.860Z] $ docker top bf6d58844af28313b02e23df6a05c9e1f39592959aadef003fe5c9a4613c9591 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T22:45:20.248Z] + go version [2023-05-10T22:45:20.248Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-05-10T22:45:20.278Z] $ docker stop --time=1 bf6d58844af28313b02e23df6a05c9e1f39592959aadef003fe5c9a4613c9591 [2023-05-10T22:45:21.556Z] $ docker rm -f --volumes bf6d58844af28313b02e23df6a05c9e1f39592959aadef003fe5c9a4613c9591 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T22:45:22.277Z] + docker inspect -f . ci-base-image-x86_64 [2023-05-10T22:45:22.277Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T22:45:22.428Z] prd-ubuntu20.04-docker-8c-8g-14980 does not seem to be running inside a container [2023-05-10T22:45:22.458Z] $ 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-316 -v /w/workspace/gexfoundry_device-rest-go_PR-316:/w/workspace/gexfoundry_device-rest-go_PR-316:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-316@tmp:/w/workspace/gexfoundry_device-rest-go_PR-316@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-05-10T22:45:22.752Z] $ docker top b207b79202ce53428f996416c0f9a8344f7d0c101a09386375c63e5b5856e17d -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T22:45:23.165Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-316 [Pipeline] fileExists [Pipeline] sh [2023-05-10T22:45:23.536Z] + make test [2023-05-10T22:45:23.536Z] go test ./... -coverprofile=coverage.out ./... [2023-05-10T22:45:28.807Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-10T22:45:36.917Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-10T22:45:36.917Z] ok github.com/edgexfoundry/device-rest-go/driver 0.008s coverage: 32.2% of statements [2023-05-10T22:45:42.180Z] go vet ./... [2023-05-10T22:45:46.360Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-10T22:45:46.360Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-10T22:45:46.360Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-10T22:45:46.400Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-10T22:45:46.512Z] $ docker stop --time=1 b207b79202ce53428f996416c0f9a8344f7d0c101a09386375c63e5b5856e17d [2023-05-10T22:45:49.429Z] $ docker rm -f --volumes b207b79202ce53428f996416c0f9a8344f7d0c101a09386375c63e5b5856e17d [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-10T22:45:49.936Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-10T22:45:49.996Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-05-10T22:45:50.784Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-10T22:45:51.092Z] + ls -al . [2023-05-10T22:45:51.092Z] total 184 [2023-05-10T22:45:51.092Z] drwxrwxr-x 9 jenkins jenkins 4096 May 10 22:45 . [2023-05-10T22:45:51.092Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:44 .. [2023-05-10T22:45:51.092Z] -rw-rw-r-- 1 jenkins jenkins 151 May 10 22:44 .dockerignore [2023-05-10T22:45:51.092Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 22:44 .git [2023-05-10T22:45:51.092Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 22:44 .github [2023-05-10T22:45:51.092Z] -rw-rw-r-- 1 jenkins jenkins 329 May 10 22:44 .gitignore [2023-05-10T22:45:51.092Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 22:44 .golangci.yml [2023-05-10T22:45:51.092Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 22:44 .semver [2023-05-10T22:45:51.092Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 10 22:44 Attribution.txt [2023-05-10T22:45:51.092Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 10 22:44 CHANGELOG.md [2023-05-10T22:45:51.092Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 10 22:44 Dockerfile [2023-05-10T22:45:51.092Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 22:44 GOVERNANCE.md [2023-05-10T22:45:51.092Z] -rw-rw-r-- 1 jenkins jenkins 680 May 10 22:44 Jenkinsfile [2023-05-10T22:45:51.092Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 22:44 LICENSE [2023-05-10T22:45:51.092Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 10 22:44 Makefile [2023-05-10T22:45:51.092Z] -rw-rw-r-- 1 jenkins jenkins 620 May 10 22:44 OWNERS.md [2023-05-10T22:45:51.092Z] -rw-rw-r-- 1 jenkins jenkins 15827 May 10 22:44 README.md [2023-05-10T22:45:51.092Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 22:44 VERSION [2023-05-10T22:45:51.092Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 22:44 bin [2023-05-10T22:45:51.092Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 22:44 cmd [2023-05-10T22:45:51.092Z] -rw-r--r-- 1 jenkins jenkins 14663 May 10 22:45 coverage.out [2023-05-10T22:45:51.092Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 22:44 driver [2023-05-10T22:45:51.092Z] -rw-rw-r-- 1 jenkins jenkins 3402 May 10 22:44 go.mod [2023-05-10T22:45:51.092Z] -rw-rw-r-- 1 jenkins jenkins 31328 May 10 22:44 go.sum [2023-05-10T22:45:51.092Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:44 snap [2023-05-10T22:45:51.092Z] -rw-rw-r-- 1 jenkins jenkins 713 May 10 22:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T22:45:51.589Z] + 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=c3ef6fd0f20712086d9baf3294a43e7204ba39be --label arch=amd64 --label version=0.0.0 . [2023-05-10T22:45:51.589Z] Sending build context to Docker daemon 10.94MB [2023-05-10T22:45:51.589Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T22:45:51.589Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-10T22:45:51.589Z] ---> 2008aa2fc0a8 [2023-05-10T22:45:51.589Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-10T22:45:51.851Z] ---> Running in f2db08593663 [2023-05-10T22:45:51.851Z] Removing intermediate container f2db08593663 [2023-05-10T22:45:51.851Z] ---> 81440b15fb92 [2023-05-10T22:45:51.851Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T22:45:51.851Z] ---> Running in 549b7501ddb2 [2023-05-10T22:45:51.851Z] Removing intermediate container 549b7501ddb2 [2023-05-10T22:45:51.851Z] ---> 4339abd66ad5 [2023-05-10T22:45:51.851Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-10T22:45:51.851Z] ---> Running in b90f1d36dd51 [2023-05-10T22:45:52.110Z] Removing intermediate container b90f1d36dd51 [2023-05-10T22:45:52.110Z] ---> 074ecaf5f115 [2023-05-10T22:45:52.110Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-10T22:45:52.110Z] ---> Running in d132f70a9e0a [2023-05-10T22:45:52.110Z] Removing intermediate container d132f70a9e0a [2023-05-10T22:45:52.110Z] ---> 62d7abb91e41 [2023-05-10T22:45:52.110Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-10T22:45:52.110Z] ---> Running in 18966ddb7c23 [2023-05-10T22:45:52.369Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-10T22:45:52.629Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-10T22:45:52.888Z] OK: 269 MiB in 57 packages [2023-05-10T22:45:53.147Z] Removing intermediate container 18966ddb7c23 [2023-05-10T22:45:53.147Z] ---> 676a0dd4129c [2023-05-10T22:45:53.147Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-10T22:45:53.147Z] ---> Running in 28eac3bb5f19 [2023-05-10T22:45:53.147Z] Removing intermediate container 28eac3bb5f19 [2023-05-10T22:45:53.147Z] ---> 8701507bd71f [2023-05-10T22:45:53.147Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-10T22:45:53.147Z] ---> fb5531175881 [2023-05-10T22:45:53.147Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T22:45:53.147Z] ---> Running in cb71004436ed [2023-05-10T22:45:54.112Z] Removing intermediate container cb71004436ed [2023-05-10T22:45:54.112Z] ---> be90fe5ea06e [2023-05-10T22:45:54.112Z] Step 11/25 : COPY . . [2023-05-10T22:45:54.371Z] ---> e85610de4cf9 [2023-05-10T22:45:54.371Z] Step 12/25 : RUN $MAKE [2023-05-10T22:45:54.371Z] ---> Running in 3aee0d457f2d [2023-05-10T22:45:54.630Z] 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-10T22:46:12.706Z] Removing intermediate container 3aee0d457f2d [2023-05-10T22:46:12.706Z] ---> 8b1585e0ebed [2023-05-10T22:46:12.706Z] Step 13/25 : FROM alpine:3.17 [2023-05-10T22:46:12.706Z] 3.17: Pulling from library/alpine [2023-05-10T22:46:12.706Z] f56be85fc22e: Already exists [2023-05-10T22:46:13.274Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-10T22:46:13.274Z] Status: Downloaded newer image for alpine:3.17 [2023-05-10T22:46:13.274Z] ---> 9ed4aefc74f6 [2023-05-10T22:46:13.274Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-10T22:46:13.274Z] ---> Running in 7ccff0fe8eea [2023-05-10T22:46:13.274Z] Removing intermediate container 7ccff0fe8eea [2023-05-10T22:46:13.274Z] ---> 41de1415e034 [2023-05-10T22:46:13.274Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-10T22:46:13.274Z] ---> Running in 555eeca2113a [2023-05-10T22:46:13.274Z] Removing intermediate container 555eeca2113a [2023-05-10T22:46:13.274Z] ---> 152a58c07de4 [2023-05-10T22:46:13.274Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-10T22:46:13.274Z] ---> Running in d21dc5e433d9 [2023-05-10T22:46:13.533Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-05-10T22:46:13.792Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-05-10T22:46:13.792Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-10T22:46:13.792Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T22:46:13.792Z] OK: 7 MiB in 16 packages [2023-05-10T22:46:14.359Z] Removing intermediate container d21dc5e433d9 [2023-05-10T22:46:14.359Z] ---> 6322fe2af7c5 [2023-05-10T22:46:14.359Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-10T22:46:15.309Z] ---> f638fab44412 [2023-05-10T22:46:15.309Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-10T22:46:15.309Z] ---> d8844e78bbd3 [2023-05-10T22:46:15.309Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-10T22:46:15.309Z] ---> 2f621f5148e5 [2023-05-10T22:46:15.309Z] Step 20/25 : EXPOSE 59986 [2023-05-10T22:46:15.309Z] ---> Running in 09bbf810a506 [2023-05-10T22:46:15.309Z] Removing intermediate container 09bbf810a506 [2023-05-10T22:46:15.309Z] ---> aee243cdc558 [2023-05-10T22:46:15.309Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-10T22:46:15.309Z] ---> Running in e50c4fca23af [2023-05-10T22:46:15.570Z] Removing intermediate container e50c4fca23af [2023-05-10T22:46:15.570Z] ---> 6eb0c7a26323 [2023-05-10T22:46:15.570Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-10T22:46:15.570Z] ---> Running in c98f459cca91 [2023-05-10T22:46:15.570Z] Removing intermediate container c98f459cca91 [2023-05-10T22:46:15.570Z] ---> b8587ffcec5c [2023-05-10T22:46:15.570Z] Step 23/25 : LABEL arch=amd64 [2023-05-10T22:46:15.570Z] ---> Running in 9d0d58253304 [2023-05-10T22:46:15.570Z] Removing intermediate container 9d0d58253304 [2023-05-10T22:46:15.570Z] ---> 84d1383f3e7a [2023-05-10T22:46:15.570Z] Step 24/25 : LABEL git_sha=c3ef6fd0f20712086d9baf3294a43e7204ba39be [2023-05-10T22:46:15.570Z] ---> Running in 53375b5a0c8b [2023-05-10T22:46:15.830Z] Removing intermediate container 53375b5a0c8b [2023-05-10T22:46:15.830Z] ---> 3d56a80a22f9 [2023-05-10T22:46:15.830Z] Step 25/25 : LABEL version=0.0.0 [2023-05-10T22:46:15.830Z] ---> Running in 2849809451d4 [2023-05-10T22:46:15.830Z] Removing intermediate container 2849809451d4 [2023-05-10T22:46:15.830Z] ---> 4ccb0b801e82 [2023-05-10T22:46:15.830Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-10T22:46:15.830Z] Successfully built 4ccb0b801e82 [2023-05-10T22:46:15.830Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T22:46:16.671Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T22:46:16.671Z] [2023-05-10T22:46:16.671Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T22:46:17.045Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T22:46:17.045Z] latest: Pulling from edgex-lftools-log-publisher [2023-05-10T22:46:17.045Z] 5eb5b503b376: Pulling fs layer [2023-05-10T22:46:17.045Z] 5c69ac0246d0: Pulling fs layer [2023-05-10T22:46:17.045Z] ec43610c2a17: Pulling fs layer [2023-05-10T22:46:17.045Z] 3a2ae6a8a46f: Pulling fs layer [2023-05-10T22:46:17.045Z] 33b1e0a273af: Pulling fs layer [2023-05-10T22:46:17.045Z] 3a2ae6a8a46f: Waiting [2023-05-10T22:46:17.045Z] 5d3b04190fa2: Pulling fs layer [2023-05-10T22:46:17.045Z] 2f39f015ded8: Pulling fs layer [2023-05-10T22:46:17.045Z] 5d3b04190fa2: Waiting [2023-05-10T22:46:17.045Z] 2f39f015ded8: Waiting [2023-05-10T22:46:17.045Z] 33b1e0a273af: Waiting [2023-05-10T22:46:17.045Z] 5c69ac0246d0: Verifying Checksum [2023-05-10T22:46:17.045Z] 5c69ac0246d0: Download complete [2023-05-10T22:46:17.045Z] 3a2ae6a8a46f: Verifying Checksum [2023-05-10T22:46:17.045Z] 3a2ae6a8a46f: Download complete [2023-05-10T22:46:17.045Z] 33b1e0a273af: Verifying Checksum [2023-05-10T22:46:17.045Z] 33b1e0a273af: Download complete [2023-05-10T22:46:17.045Z] ec43610c2a17: Verifying Checksum [2023-05-10T22:46:17.045Z] ec43610c2a17: Download complete [2023-05-10T22:46:17.045Z] 5d3b04190fa2: Verifying Checksum [2023-05-10T22:46:17.045Z] 5d3b04190fa2: Download complete [2023-05-10T22:46:17.307Z] 5eb5b503b376: Verifying Checksum [2023-05-10T22:46:17.307Z] 5eb5b503b376: Download complete [2023-05-10T22:46:17.874Z] 2f39f015ded8: Verifying Checksum [2023-05-10T22:46:17.874Z] 2f39f015ded8: Download complete [2023-05-10T22:46:18.441Z] 5eb5b503b376: Pull complete [2023-05-10T22:46:18.441Z] 5c69ac0246d0: Pull complete [2023-05-10T22:46:18.699Z] ec43610c2a17: Pull complete [2023-05-10T22:46:18.957Z] 3a2ae6a8a46f: Pull complete [2023-05-10T22:46:18.957Z] 33b1e0a273af: Pull complete [2023-05-10T22:46:19.215Z] 5d3b04190fa2: Pull complete [2023-05-10T22:46:23.403Z] 2f39f015ded8: Pull complete [2023-05-10T22:46:23.403Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-05-10T22:46:23.403Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T22:46:23.403Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T22:46:23.621Z] prd-ubuntu20.04-docker-8c-8g-14980 does not seem to be running inside a container [2023-05-10T22:46:23.654Z] $ 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-316 -v /w/workspace/gexfoundry_device-rest-go_PR-316:/w/workspace/gexfoundry_device-rest-go_PR-316:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-316@tmp:/w/workspace/gexfoundry_device-rest-go_PR-316@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-10T22:46:28.046Z] $ docker top 6d460fa8e21be768e898b4e71ff2ee3c0f877a1746da911ba71580e7cd0f3f22 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T22:46:28.465Z] ---> job-cost.sh [2023-05-10T22:46:28.465Z] lf-activate-venv: SKIPPING [2023-05-10T22:46:28.465Z] INFO: No Stack... [2023-05-10T22:46:29.032Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-10T22:46:29.292Z] INFO: Archiving Costs [Pipeline] sh [2023-05-10T22:46:29.605Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-316/archives/cost.csv [2023-05-10T22:46:29.605Z] + cut -d, -f6 [Pipeline] lock [2023-05-10T22:46:29.648Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-316-1-stack-cost] [2023-05-10T22:46:29.652Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-316-1-stack-cost] did not exist. Created. [2023-05-10T22:46:29.652Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-316-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-10T22:46:30.047Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-05-10T22:46:30.098Z] Stashed 1 file(s) [Pipeline] } [2023-05-10T22:46:30.123Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-316-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-10T22:46:30.202Z] $ docker stop --time=1 6d460fa8e21be768e898b4e71ff2ee3c0f877a1746da911ba71580e7cd0f3f22 [2023-05-10T22:46:31.350Z] $ docker rm -f --volumes 6d460fa8e21be768e898b4e71ff2ee3c0f877a1746da911ba71580e7cd0f3f22 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-05-10T22:48:00.838Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-14981 in /w/workspace/gexfoundry_device-rest-go_PR-316 [Pipeline] { [Pipeline] ws [2023-05-10T22:48:00.899Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2023-05-10T22:48:00.981Z] The recommended git tool is: git [2023-05-10T22:48:07.649Z] using credential edgex-jenkins-ssh [2023-05-10T22:48:07.674Z] Cloning the remote Git repository [2023-05-10T22:48:07.736Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-05-10T22:48:07.854Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2023-05-10T22:48:08.032Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-05-10T22:48:08.034Z] > git --version # timeout=10 [2023-05-10T22:48:08.062Z] > git --version # 'git version 2.25.1' [2023-05-10T22:48:08.066Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-10T22:48:08.262Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-10T22:48:10.295Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-05-10T22:48:10.340Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-05-10T22:48:12.100Z] Merging remotes/origin/main commit ec2da75f3e3e567a377e035f33bd2cfaed15f48d into PR head commit c3ef6fd0f20712086d9baf3294a43e7204ba39be [2023-05-10T22:48:12.429Z] Merge succeeded, producing c3ef6fd0f20712086d9baf3294a43e7204ba39be [2023-05-10T22:48:12.429Z] Checking out Revision c3ef6fd0f20712086d9baf3294a43e7204ba39be (PR-316) [2023-05-10T22:48:11.430Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-05-10T22:48:11.486Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-05-10T22:48:11.487Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-10T22:48:11.512Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/316/head:refs/remotes/origin/PR-316 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-05-10T22:48:12.127Z] > git config core.sparsecheckout # timeout=10 [2023-05-10T22:48:12.218Z] > git checkout -f c3ef6fd0f20712086d9baf3294a43e7204ba39be # timeout=10 [2023-05-10T22:48:12.317Z] > git remote # timeout=10 [2023-05-10T22:48:12.340Z] > git config --get remote.origin.url # timeout=10 [2023-05-10T22:48:12.366Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-05-10T22:48:12.382Z] > git merge ec2da75f3e3e567a377e035f33bd2cfaed15f48d # timeout=10 [2023-05-10T22:48:12.413Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-05-10T22:48:12.440Z] > git config core.sparsecheckout # timeout=10 [2023-05-10T22:48:12.457Z] > git checkout -f c3ef6fd0f20712086d9baf3294a43e7204ba39be # timeout=10 [2023-05-10T22:48:16.040Z] Commit message: "docs: Add main branch Warning" [2023-05-10T22:48:16.101Z] > git --version # timeout=10 [2023-05-10T22:48:16.116Z] > git --version # 'git version 2.25.1' [2023-05-10T22:48:16.131Z] fatal: bad object 4fc256d9079ed2258907e613f84b1b8da264a4bd [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-10T22:48:17.213Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-05-10T22:48:17.213Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-10T22:48:17.213Z] Dload Upload Total Spent Left Speed [2023-05-10T22:48:17.213Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 191k 0 --:--:-- --:--:-- --:--:-- 191k [Pipeline] sh [2023-05-10T22:48:18.030Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-05-10T22:48:18.392Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"}+ /etc/docker/daemon.json [2023-05-10T22:48:18.392Z] sudo tee /etc/docker/daemon.new [2023-05-10T22:48:18.392Z] { [2023-05-10T22:48:18.392Z] "registry-mirrors": [ [2023-05-10T22:48:18.392Z] "https://nexus3.edgexfoundry.org:10001" [2023-05-10T22:48:18.392Z] ], [2023-05-10T22:48:18.392Z] "bip": "10.250.0.254/24", [2023-05-10T22:48:18.392Z] "hosts": [ [2023-05-10T22:48:18.392Z] "tcp://0.0.0.0:5555", [2023-05-10T22:48:18.392Z] "unix:///var/run/docker.sock" [2023-05-10T22:48:18.392Z] ], [2023-05-10T22:48:18.392Z] "mtu": 1458, [2023-05-10T22:48:18.392Z] "selinux-enabled": true, [2023-05-10T22:48:18.392Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-05-10T22:48:18.392Z] } [Pipeline] sh [2023-05-10T22:48:18.754Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-05-10T22:48:19.120Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T22:48:37.499Z] provisioning config files... [2023-05-10T22:48:37.538Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config2787322068658469953tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T22:48:37.967Z] ---> docker-login.sh [2023-05-10T22:48:37.967Z] nexus3.edgexfoundry.org:10001 [2023-05-10T22:48:38.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:48:38.847Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:48:38.847Z] Configure a credential helper to remove this warning. See [2023-05-10T22:48:38.847Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:48:38.847Z] [2023-05-10T22:48:38.847Z] Login Succeeded [2023-05-10T22:48:38.847Z] nexus3.edgexfoundry.org:10002 [2023-05-10T22:48:39.123Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:48:39.123Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:48:39.123Z] Configure a credential helper to remove this warning. See [2023-05-10T22:48:39.123Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:48:39.123Z] [2023-05-10T22:48:39.123Z] Login Succeeded [2023-05-10T22:48:39.123Z] nexus3.edgexfoundry.org:10003 [2023-05-10T22:48:39.734Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:48:39.734Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:48:39.734Z] Configure a credential helper to remove this warning. See [2023-05-10T22:48:39.734Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:48:39.734Z] [2023-05-10T22:48:39.734Z] Login Succeeded [2023-05-10T22:48:39.734Z] nexus3.edgexfoundry.org:10004 [2023-05-10T22:48:40.011Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:48:40.011Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:48:40.011Z] Configure a credential helper to remove this warning. See [2023-05-10T22:48:40.011Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:48:40.011Z] [2023-05-10T22:48:40.011Z] Login Succeeded [2023-05-10T22:48:40.011Z] docker.io [2023-05-10T22:48:40.293Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-05-10T22:48:40.567Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-05-10T22:48:40.567Z] Configure a credential helper to remove this warning. See [2023-05-10T22:48:40.567Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-05-10T22:48:40.567Z] [2023-05-10T22:48:40.567Z] Login Succeeded [2023-05-10T22:48:40.567Z] ---> docker-login.sh ends [Pipeline] } [2023-05-10T22:48:40.601Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-05-10T22:48:41.109Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T22:48:41.144Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-05-10T22:48:41.179Z] ========================================================= [2023-05-10T22:48:41.179Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-05-10T22:48:41.179Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T22:48:41.695Z] + 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-10T22:48:41.695Z] Sending build context to Docker daemon 139.3kB [2023-05-10T22:48:41.970Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T22:48:41.970Z] Step 2/12 : FROM ${BASE} AS builder [2023-05-10T22:48:42.242Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-05-10T22:48:42.242Z] c41833b44d91: Pulling fs layer [2023-05-10T22:48:42.242Z] ed15518f5707: Pulling fs layer [2023-05-10T22:48:42.242Z] feae8fd75edb: Pulling fs layer [2023-05-10T22:48:42.242Z] 242c74f7c9fa: Pulling fs layer [2023-05-10T22:48:42.242Z] 3cdef696dda3: Pulling fs layer [2023-05-10T22:48:42.242Z] 2ced38df9373: Pulling fs layer [2023-05-10T22:48:42.242Z] 58f1dce35555: Pulling fs layer [2023-05-10T22:48:42.242Z] 3cdef696dda3: Waiting [2023-05-10T22:48:42.242Z] 2ced38df9373: Waiting [2023-05-10T22:48:42.242Z] 58f1dce35555: Waiting [2023-05-10T22:48:42.242Z] 242c74f7c9fa: Waiting [2023-05-10T22:48:42.242Z] ed15518f5707: Verifying Checksum [2023-05-10T22:48:42.242Z] ed15518f5707: Download complete [2023-05-10T22:48:42.242Z] 242c74f7c9fa: Verifying Checksum [2023-05-10T22:48:42.242Z] 242c74f7c9fa: Download complete [2023-05-10T22:48:42.242Z] 3cdef696dda3: Verifying Checksum [2023-05-10T22:48:42.242Z] 3cdef696dda3: Download complete [2023-05-10T22:48:42.242Z] c41833b44d91: Verifying Checksum [2023-05-10T22:48:43.692Z] c41833b44d91: Pull complete [2023-05-10T22:48:43.692Z] 58f1dce35555: Verifying Checksum [2023-05-10T22:48:43.692Z] 58f1dce35555: Download complete [2023-05-10T22:48:43.966Z] ed15518f5707: Pull complete [2023-05-10T22:48:44.948Z] feae8fd75edb: Verifying Checksum [2023-05-10T22:48:44.948Z] feae8fd75edb: Download complete [2023-05-10T22:48:44.948Z] 2ced38df9373: Verifying Checksum [2023-05-10T22:48:44.948Z] 2ced38df9373: Download complete [2023-05-10T22:48:57.310Z] feae8fd75edb: Pull complete [2023-05-10T22:48:57.311Z] 242c74f7c9fa: Pull complete [2023-05-10T22:48:57.311Z] 3cdef696dda3: Pull complete [2023-05-10T22:49:02.667Z] 2ced38df9373: Pull complete [2023-05-10T22:49:04.637Z] 58f1dce35555: Pull complete [2023-05-10T22:49:04.637Z] Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e [2023-05-10T22:49:04.637Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-05-10T22:49:04.637Z] ---> fadd8f120f05 [2023-05-10T22:49:04.637Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-05-10T22:49:06.600Z] ---> Running in b4d8d8661579 [2023-05-10T22:49:06.872Z] Removing intermediate container b4d8d8661579 [2023-05-10T22:49:06.872Z] ---> d2bda0890191 [2023-05-10T22:49:06.872Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T22:49:06.872Z] ---> Running in c460f3e07d89 [2023-05-10T22:49:07.140Z] Removing intermediate container c460f3e07d89 [2023-05-10T22:49:07.140Z] ---> 1ead75204b69 [2023-05-10T22:49:07.140Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-10T22:49:07.410Z] ---> Running in 1b7e4d0df3d7 [2023-05-10T22:49:07.679Z] Removing intermediate container 1b7e4d0df3d7 [2023-05-10T22:49:07.679Z] ---> 7b7a5a03c7ba [2023-05-10T22:49:07.679Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-05-10T22:49:07.679Z] ---> Running in 99c62bc415b9 [2023-05-10T22:49:08.266Z] Removing intermediate container 99c62bc415b9 [2023-05-10T22:49:08.266Z] ---> 66932bbb979c [2023-05-10T22:49:08.266Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-10T22:49:08.266Z] ---> Running in 23646aa8fb6e [2023-05-10T22:49:09.713Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-10T22:49:10.301Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-10T22:49:11.264Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-05-10T22:49:11.264Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-05-10T22:49:11.264Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-05-10T22:49:11.264Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-05-10T22:49:11.264Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T22:49:11.532Z] OK: 268 MiB in 57 packages [2023-05-10T22:49:12.501Z] Removing intermediate container 23646aa8fb6e [2023-05-10T22:49:12.501Z] ---> e4b7ae0f101d [2023-05-10T22:49:12.501Z] Step 8/12 : WORKDIR /device-rest-go [2023-05-10T22:49:12.501Z] ---> Running in e00b67d9766c [2023-05-10T22:49:13.086Z] Removing intermediate container e00b67d9766c [2023-05-10T22:49:13.086Z] ---> ecf41aca5a4a [2023-05-10T22:49:13.086Z] Step 9/12 : COPY go.mod vendor* ./ [2023-05-10T22:49:13.673Z] ---> f1d5b30e1cb1 [2023-05-10T22:49:13.673Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T22:49:13.673Z] ---> Running in 3ca20361232f [2023-05-10T22:50:21.570Z] Removing intermediate container 3ca20361232f [2023-05-10T22:50:21.570Z] ---> b7bbb1e79a3a [2023-05-10T22:50:21.570Z] Step 11/12 : COPY . . [2023-05-10T22:50:21.570Z] ---> a036995d23d9 [2023-05-10T22:50:21.570Z] Step 12/12 : RUN $MAKE [2023-05-10T22:50:21.570Z] ---> Running in 86208aaac0c2 [2023-05-10T22:50:21.570Z] noop [2023-05-10T22:50:21.570Z] Removing intermediate container 86208aaac0c2 [2023-05-10T22:50:21.570Z] ---> 1a4cba660116 [2023-05-10T22:50:21.570Z] Successfully built 1a4cba660116 [2023-05-10T22:50:21.570Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T22:50:22.058Z] + docker inspect -f . ci-base-image-arm64 [2023-05-10T22:50:22.058Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T22:50:22.358Z] prd-ubuntu20.04-docker-arm64-4c-16g-14981 does not seem to be running inside a container [2023-05-10T22:50:22.428Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-10T22:50:23.687Z] $ docker top 5860c71108e33862ea059150ab948d5501d29d0acc40ab1415ea3e8a177ce628 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T22:50:24.579Z] + go version [2023-05-10T22:50:24.579Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-05-10T22:50:24.618Z] $ docker stop --time=1 5860c71108e33862ea059150ab948d5501d29d0acc40ab1415ea3e8a177ce628 [2023-05-10T22:50:26.279Z] $ docker rm -f --volumes 5860c71108e33862ea059150ab948d5501d29d0acc40ab1415ea3e8a177ce628 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T22:50:27.156Z] + docker inspect -f . ci-base-image-arm64 [2023-05-10T22:50:27.156Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T22:50:27.424Z] prd-ubuntu20.04-docker-arm64-4c-16g-14981 does not seem to be running inside a container [2023-05-10T22:50:27.497Z] $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-05-10T22:50:28.732Z] $ docker top 789897f4637f9461cc95b8da0bd9ba3664fa5adf01da40c2b703bdde7363b237 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T22:50:29.624Z] + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh [2023-05-10T22:50:30.337Z] + make test [2023-05-10T22:50:30.337Z] go test ./... -coverprofile=coverage.out ./... [2023-05-10T22:51:09.268Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-05-10T22:53:31.005Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-05-10T22:53:31.005Z] ok github.com/edgexfoundry/device-rest-go/driver 0.071s coverage: 32.2% of statements [2023-05-10T22:53:31.005Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-05-10T22:53:31.005Z] go vet ./... [2023-05-10T22:53:57.764Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-05-10T22:53:57.764Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-05-10T22:53:57.764Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-05-10T22:53:58.065Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-05-10T22:53:58.097Z] $ docker stop --time=1 789897f4637f9461cc95b8da0bd9ba3664fa5adf01da40c2b703bdde7363b237 [2023-05-10T22:53:59.970Z] $ docker rm -f --volumes 789897f4637f9461cc95b8da0bd9ba3664fa5adf01da40c2b703bdde7363b237 [Pipeline] // withDockerContainer [Pipeline] sh [2023-05-10T22:54:01.170Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-05-10T22:54:01.207Z] Warning: overwriting stash ‘coverage-report’ [2023-05-10T22:54:01.674Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-05-10T22:54:02.263Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-05-10T22:54:02.682Z] + ls -al . [2023-05-10T22:54:02.682Z] total 180 [2023-05-10T22:54:02.682Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 22:50 . [2023-05-10T22:54:02.682Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:48 .. [2023-05-10T22:54:02.682Z] -rw-rw-r-- 1 jenkins jenkins 151 May 10 22:48 .dockerignore [2023-05-10T22:54:02.682Z] drwxrwxr-x 8 jenkins jenkins 4096 May 10 22:48 .git [2023-05-10T22:54:02.682Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 22:48 .github [2023-05-10T22:54:02.682Z] -rw-rw-r-- 1 jenkins jenkins 329 May 10 22:48 .gitignore [2023-05-10T22:54:02.682Z] -rw-rw-r-- 1 jenkins jenkins 41 May 10 22:48 .golangci.yml [2023-05-10T22:54:02.682Z] -rw-rw-r-- 1 jenkins jenkins 9331 May 10 22:48 Attribution.txt [2023-05-10T22:54:02.682Z] -rw-rw-r-- 1 jenkins jenkins 13085 May 10 22:48 CHANGELOG.md [2023-05-10T22:54:02.682Z] -rw-rw-r-- 1 jenkins jenkins 1578 May 10 22:48 Dockerfile [2023-05-10T22:54:02.682Z] -rw-rw-r-- 1 jenkins jenkins 677 May 10 22:48 GOVERNANCE.md [2023-05-10T22:54:02.682Z] -rw-rw-r-- 1 jenkins jenkins 680 May 10 22:48 Jenkinsfile [2023-05-10T22:54:02.682Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 10 22:48 LICENSE [2023-05-10T22:54:02.682Z] -rw-rw-r-- 1 jenkins jenkins 1779 May 10 22:48 Makefile [2023-05-10T22:54:02.682Z] -rw-rw-r-- 1 jenkins jenkins 620 May 10 22:48 OWNERS.md [2023-05-10T22:54:02.682Z] -rw-rw-r-- 1 jenkins jenkins 15827 May 10 22:48 README.md [2023-05-10T22:54:02.682Z] -rw-rw-r-- 1 jenkins jenkins 5 May 10 22:44 VERSION [2023-05-10T22:54:02.682Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 22:48 bin [2023-05-10T22:54:02.682Z] drwxrwxr-x 3 jenkins jenkins 4096 May 10 22:48 cmd [2023-05-10T22:54:02.682Z] -rw-r--r-- 1 jenkins jenkins 14663 May 10 22:53 coverage.out [2023-05-10T22:54:02.682Z] drwxrwxr-x 2 jenkins jenkins 4096 May 10 22:48 driver [2023-05-10T22:54:02.682Z] -rw-rw-r-- 1 jenkins jenkins 3402 May 10 22:48 go.mod [2023-05-10T22:54:02.682Z] -rw-rw-r-- 1 jenkins jenkins 31328 May 10 22:48 go.sum [2023-05-10T22:54:02.682Z] drwxrwxr-x 4 jenkins jenkins 4096 May 10 22:48 snap [2023-05-10T22:54:02.682Z] -rw-rw-r-- 1 jenkins jenkins 713 May 10 22:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T22:54:03.099Z] + 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=c3ef6fd0f20712086d9baf3294a43e7204ba39be --label arch=arm64 --label version=0.0.0 . [2023-05-10T22:54:03.099Z] Sending build context to Docker daemon 154.6kB [2023-05-10T22:54:03.380Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-05-10T22:54:03.380Z] Step 2/25 : FROM ${BASE} AS builder [2023-05-10T22:54:03.380Z] ---> 1a4cba660116 [2023-05-10T22:54:03.380Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-05-10T22:54:03.380Z] ---> Running in 5cad1aa74121 [2023-05-10T22:54:03.989Z] Removing intermediate container 5cad1aa74121 [2023-05-10T22:54:03.989Z] ---> 0d3628318b26 [2023-05-10T22:54:03.989Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-05-10T22:54:03.989Z] ---> Running in 5e6d84a83821 [2023-05-10T22:54:04.265Z] Removing intermediate container 5e6d84a83821 [2023-05-10T22:54:04.265Z] ---> a07260e65cb3 [2023-05-10T22:54:04.265Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-05-10T22:54:04.265Z] ---> Running in 379b50c255e8 [2023-05-10T22:54:04.555Z] Removing intermediate container 379b50c255e8 [2023-05-10T22:54:04.555Z] ---> 0c9e93e79928 [2023-05-10T22:54:04.555Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-05-10T22:54:04.828Z] ---> Running in ac5ef19b67e9 [2023-05-10T22:54:05.097Z] Removing intermediate container ac5ef19b67e9 [2023-05-10T22:54:05.097Z] ---> 08a7cc376751 [2023-05-10T22:54:05.097Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-05-10T22:54:05.097Z] ---> Running in 98b52992b9ff [2023-05-10T22:54:06.064Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-10T22:54:07.030Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-10T22:54:07.993Z] OK: 268 MiB in 57 packages [2023-05-10T22:54:08.958Z] Removing intermediate container 98b52992b9ff [2023-05-10T22:54:08.958Z] ---> 2f909d411b19 [2023-05-10T22:54:08.958Z] Step 8/25 : WORKDIR /device-rest-go [2023-05-10T22:54:08.958Z] ---> Running in f91bab81980c [2023-05-10T22:54:09.227Z] Removing intermediate container f91bab81980c [2023-05-10T22:54:09.227Z] ---> 7a892cad4f12 [2023-05-10T22:54:09.227Z] Step 9/25 : COPY go.mod vendor* ./ [2023-05-10T22:54:09.813Z] ---> 18613feaa970 [2023-05-10T22:54:09.813Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-05-10T22:54:09.813Z] ---> Running in b5dd0609442e [2023-05-10T22:54:12.407Z] Removing intermediate container b5dd0609442e [2023-05-10T22:54:12.407Z] ---> 9bcebb19e6b1 [2023-05-10T22:54:12.407Z] Step 11/25 : COPY . . [2023-05-10T22:54:12.678Z] ---> 12b089406401 [2023-05-10T22:54:12.678Z] Step 12/25 : RUN $MAKE [2023-05-10T22:54:12.959Z] ---> Running in 34d74dc15386 [2023-05-10T22:54:13.929Z] 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-10T22:56:36.676Z] Removing intermediate container 34d74dc15386 [2023-05-10T22:56:36.676Z] ---> 078c9113425c [2023-05-10T22:56:36.676Z] Step 13/25 : FROM alpine:3.17 [2023-05-10T22:56:36.676Z] 3.17: Pulling from library/alpine [2023-05-10T22:56:36.676Z] c41833b44d91: Already exists [2023-05-10T22:56:36.676Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-05-10T22:56:36.676Z] Status: Downloaded newer image for alpine:3.17 [2023-05-10T22:56:36.676Z] ---> 51e60588ff2c [2023-05-10T22:56:36.676Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-05-10T22:56:36.676Z] ---> Running in 708d853f8ca8 [2023-05-10T22:56:36.676Z] Removing intermediate container 708d853f8ca8 [2023-05-10T22:56:36.676Z] ---> 6cde355ec934 [2023-05-10T22:56:36.676Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-05-10T22:56:36.676Z] ---> Running in 09a0e0162493 [2023-05-10T22:56:36.676Z] Removing intermediate container 09a0e0162493 [2023-05-10T22:56:36.676Z] ---> 8caa23bde541 [2023-05-10T22:56:36.676Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-05-10T22:56:36.676Z] ---> Running in 11dd59e3ab41 [2023-05-10T22:56:36.676Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-05-10T22:56:36.676Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-05-10T22:56:36.676Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-05-10T22:56:36.676Z] Executing busybox-1.35.0-r29.trigger [2023-05-10T22:56:36.676Z] OK: 8 MiB in 16 packages [2023-05-10T22:56:36.676Z] Removing intermediate container 11dd59e3ab41 [2023-05-10T22:56:36.676Z] ---> 37211a2a625d [2023-05-10T22:56:36.676Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-05-10T22:56:36.676Z] ---> 9a5838a8e2cb [2023-05-10T22:56:36.676Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-05-10T22:56:37.261Z] ---> 1390eba07802 [2023-05-10T22:56:37.261Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-05-10T22:56:37.845Z] ---> 7ec0ab81fb9e [2023-05-10T22:56:37.845Z] Step 20/25 : EXPOSE 59986 [2023-05-10T22:56:37.845Z] ---> Running in b8cc387e7ebf [2023-05-10T22:56:38.112Z] Removing intermediate container b8cc387e7ebf [2023-05-10T22:56:38.112Z] ---> a310d21c65c7 [2023-05-10T22:56:38.113Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-05-10T22:56:38.113Z] ---> Running in 6a7d3a517c8e [2023-05-10T22:56:38.379Z] Removing intermediate container 6a7d3a517c8e [2023-05-10T22:56:38.379Z] ---> f26914e37986 [2023-05-10T22:56:38.379Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-05-10T22:56:38.379Z] ---> Running in 7ec2eab4d9c9 [2023-05-10T22:56:38.646Z] Removing intermediate container 7ec2eab4d9c9 [2023-05-10T22:56:38.646Z] ---> 0d157440bf0d [2023-05-10T22:56:38.646Z] Step 23/25 : LABEL arch=arm64 [2023-05-10T22:56:38.914Z] ---> Running in 08cd7560de91 [2023-05-10T22:56:39.182Z] Removing intermediate container 08cd7560de91 [2023-05-10T22:56:39.182Z] ---> 2a1b880d3c0b [2023-05-10T22:56:39.182Z] Step 24/25 : LABEL git_sha=c3ef6fd0f20712086d9baf3294a43e7204ba39be [2023-05-10T22:56:39.182Z] ---> Running in ea820aef2184 [2023-05-10T22:56:39.452Z] Removing intermediate container ea820aef2184 [2023-05-10T22:56:39.452Z] ---> 862ffd783a3d [2023-05-10T22:56:39.452Z] Step 25/25 : LABEL version=0.0.0 [2023-05-10T22:56:39.452Z] ---> Running in 3ea3336b4508 [2023-05-10T22:56:39.723Z] Removing intermediate container 3ea3336b4508 [2023-05-10T22:56:39.723Z] ---> c72740e29921 [2023-05-10T22:56:39.723Z] [Warning] One or more build-args [ARCH] were not consumed [2023-05-10T22:56:39.723Z] Successfully built c72740e29921 [2023-05-10T22:56:39.723Z] 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-10T22:56:40.532Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-10T22:56:40.532Z] [2023-05-10T22:56:40.532Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T22:56:40.946Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-10T22:56:40.946Z] arm64: Pulling from edgex-lftools-log-publisher [2023-05-10T22:56:40.946Z] 8998bd30e6a1: Pulling fs layer [2023-05-10T22:56:40.946Z] 04944245beec: Pulling fs layer [2023-05-10T22:56:40.946Z] 699f458cf7ca: Pulling fs layer [2023-05-10T22:56:40.946Z] 765212b225bb: Pulling fs layer [2023-05-10T22:56:40.946Z] f23df028b6ca: Pulling fs layer [2023-05-10T22:56:40.946Z] d65c8cfc05b1: Pulling fs layer [2023-05-10T22:56:40.946Z] 2437ff75d9bd: Pulling fs layer [2023-05-10T22:56:40.946Z] d65c8cfc05b1: Waiting [2023-05-10T22:56:40.946Z] 765212b225bb: Waiting [2023-05-10T22:56:40.946Z] 2437ff75d9bd: Waiting [2023-05-10T22:56:40.946Z] f23df028b6ca: Waiting [2023-05-10T22:56:41.218Z] 04944245beec: Verifying Checksum [2023-05-10T22:56:41.218Z] 04944245beec: Download complete [2023-05-10T22:56:41.218Z] 765212b225bb: Verifying Checksum [2023-05-10T22:56:41.218Z] 765212b225bb: Download complete [2023-05-10T22:56:41.218Z] f23df028b6ca: Download complete [2023-05-10T22:56:41.218Z] d65c8cfc05b1: Verifying Checksum [2023-05-10T22:56:41.218Z] d65c8cfc05b1: Download complete [2023-05-10T22:56:41.492Z] 699f458cf7ca: Verifying Checksum [2023-05-10T22:56:41.492Z] 699f458cf7ca: Download complete [2023-05-10T22:56:41.767Z] 8998bd30e6a1: Verifying Checksum [2023-05-10T22:56:41.768Z] 8998bd30e6a1: Download complete [2023-05-10T22:56:44.353Z] 2437ff75d9bd: Verifying Checksum [2023-05-10T22:56:44.353Z] 2437ff75d9bd: Download complete [2023-05-10T22:56:45.774Z] 8998bd30e6a1: Pull complete [2023-05-10T22:56:46.366Z] 04944245beec: Pull complete [2023-05-10T22:56:47.783Z] 699f458cf7ca: Pull complete [2023-05-10T22:56:47.783Z] 765212b225bb: Pull complete [2023-05-10T22:56:48.748Z] f23df028b6ca: Pull complete [2023-05-10T22:56:49.018Z] d65c8cfc05b1: Pull complete [2023-05-10T22:57:04.041Z] 2437ff75d9bd: Pull complete [2023-05-10T22:57:04.041Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-05-10T22:57:04.041Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-05-10T22:57:04.041Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T22:57:04.377Z] prd-ubuntu20.04-docker-arm64-4c-16g-14981 does not seem to be running inside a container [2023-05-10T22:57:04.445Z] $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-05-10T22:57:07.240Z] $ docker top a5999d88efbe6d481be3cc5f407797b9e8da43b6e46732d0549dd25a75f4f39c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-05-10T22:57:08.169Z] ---> job-cost.sh [2023-05-10T22:57:08.169Z] lf-activate-venv: SKIPPING [2023-05-10T22:57:08.169Z] INFO: No Stack... [2023-05-10T22:57:08.754Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-05-10T22:57:09.341Z] INFO: Archiving Costs [Pipeline] sh [2023-05-10T22:57:10.003Z] + + cutcat -d, /w/workspace/device-rest-go/1/archives/cost.csv -f6 [2023-05-10T22:57:10.003Z] [Pipeline] lock [2023-05-10T22:57:10.095Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-316-1-stack-cost] [2023-05-10T22:57:10.100Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-316-1-stack-cost] did not exist. Created. [2023-05-10T22:57:10.100Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-316-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-05-10T22:57:10.834Z] /w/workspace/device-rest-go/1@tmp/durable-cde44d59/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-05-10T22:57:11.512Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-05-10T22:57:11.546Z] Warning: overwriting stash ‘stack-cost’ [2023-05-10T22:57:11.593Z] Stashed 1 file(s) [Pipeline] } [2023-05-10T22:57:11.613Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-316-1-stack-cost] [Pipeline] // lock [Pipeline] } [2023-05-10T22:57:11.698Z] $ docker stop --time=1 a5999d88efbe6d481be3cc5f407797b9e8da43b6e46732d0549dd25a75f4f39c [2023-05-10T22:57:14.047Z] $ docker rm -f --volumes a5999d88efbe6d481be3cc5f407797b9e8da43b6e46732d0549dd25a75f4f39c [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-10T22:57:15.026Z] provisioning config files... [2023-05-10T22:57:15.033Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-316@tmp/config14109697215359007769tmp [Pipeline] { [Pipeline] sh [2023-05-10T22:57:15.363Z] + set +x [2023-05-10T22:57:15.363Z] + curl -s https://codecov.io/bash [2023-05-10T22:57:15.363Z] + bash -s -- [2023-05-10T22:57:15.363Z] [2023-05-10T22:57:15.363Z] _____ _ [2023-05-10T22:57:15.363Z] / ____| | | [2023-05-10T22:57:15.363Z] | | ___ __| | ___ ___ _____ __ [2023-05-10T22:57:15.363Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-05-10T22:57:15.363Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-05-10T22:57:15.363Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-05-10T22:57:15.363Z] Bash-1.0.6 [2023-05-10T22:57:15.363Z] [2023-05-10T22:57:15.363Z] [2023-05-10T22:57:15.363Z] ==> git version 2.25.1 found [2023-05-10T22:57:15.363Z] ==> 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-10T22:57:15.363Z] Release-Date: 2020-01-08 [2023-05-10T22:57:15.363Z] 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-10T22:57:15.363Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-05-10T22:57:15.363Z] ==> Jenkins CI detected. [2023-05-10T22:57:15.363Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-316 [2023-05-10T22:57:15.363Z] project root: . [2023-05-10T22:57:15.363Z] --> token set from env [2023-05-10T22:57:15.363Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-05-10T22:57:15.363Z] ==> Running gcov in . (disable via -X gcov) [2023-05-10T22:57:15.363Z] ==> Python coveragepy not found [2023-05-10T22:57:15.363Z] ==> Searching for coverage reports in: [2023-05-10T22:57:15.363Z] + . [2023-05-10T22:57:15.363Z] -> Found 1 reports [2023-05-10T22:57:15.363Z] ==> Detecting git/mercurial file structure [2023-05-10T22:57:15.623Z] ==> Reading reports [2023-05-10T22:57:15.623Z] + ./coverage.out bytes=14663 [2023-05-10T22:57:15.623Z] ==> Appending adjustments [2023-05-10T22:57:15.623Z] https://docs.codecov.io/docs/fixing-reports [2023-05-10T22:57:15.623Z] + Found adjustments [2023-05-10T22:57:15.623Z] ==> Gzipping contents [2023-05-10T22:57:15.623Z] 4.0K /tmp/codecov.rd4PvA.gz [2023-05-10T22:57:15.623Z] ==> Uploading reports [2023-05-10T22:57:15.623Z] url: https://codecov.io [2023-05-10T22:57:15.623Z] query: branch=PR-316&commit=c3ef6fd0f20712086d9baf3294a43e7204ba39be&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-316%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=316&job=&cmd_args= [2023-05-10T22:57:15.623Z] -> Pinging Codecov [2023-05-10T22:57:15.623Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-316&commit=c3ef6fd0f20712086d9baf3294a43e7204ba39be&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-316%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=316&job=&cmd_args= [2023-05-10T22:57:15.623Z] -> Uploading to [2023-05-10T22:57:15.623Z] https://storage.googleapis.com/codecov/v4/raw/2023-05-10/4E5D53B4F1F92C436F7061BF334D961C/c3ef6fd0f20712086d9baf3294a43e7204ba39be/ac62fee2-7f5a-4e0f-a96a-f631ccda5694.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230510T225715Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7709dbd0f04c6678457fa0a6faa419c4e38eeefbbf7bba45b63548dbb405e028 [2023-05-10T22:57:15.623Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-05-10T22:57:15.623Z] Dload Upload Total Spent Left Speed [2023-05-10T22:57:15.883Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 12067 --:--:-- --:--:-- --:--:-- 12067 [2023-05-10T22:57:15.883Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/c3ef6fd0f20712086d9baf3294a43e7204ba39be [Pipeline] } [2023-05-10T22:57:15.909Z] 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-10T22:57:17.665Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-316/archives ] [2023-05-10T22:57:17.665Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-316/archives [2023-05-10T22:57:17.665Z] total 16 [2023-05-10T22:57:17.665Z] drwxr-xr-x 3 root root 4096 May 10 22:46 . [2023-05-10T22:57:17.665Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 22:46 .. [2023-05-10T22:57:17.665Z] drwxr-xr-x 2 root root 4096 May 10 22:46 cost [2023-05-10T22:57:17.665Z] -rw-r--r-- 1 root root 86 May 10 22:46 cost.csv [2023-05-10T22:57:17.665Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-316/archives [2023-05-10T22:57:17.665Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-316/archives [2023-05-10T22:57:17.665Z] total 16 [2023-05-10T22:57:17.665Z] drwxr-xr-x 3 jenkins jenkins 4096 May 10 22:46 . [2023-05-10T22:57:17.665Z] drwxrwxr-x 10 jenkins jenkins 4096 May 10 22:46 .. [2023-05-10T22:57:17.665Z] drwxr-xr-x 2 jenkins jenkins 4096 May 10 22:46 cost [2023-05-10T22:57:17.665Z] -rw-r--r-- 1 jenkins jenkins 86 May 10 22:46 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-05-10T22:57:17.994Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T22:57:18.889Z] ---> package-listing.sh [2023-05-10T22:57:18.889Z] ++ facter osfamily [2023-05-10T22:57:18.889Z] ++ tr '[:upper:]' '[:lower:]' [2023-05-10T22:57:19.148Z] + OS_FAMILY=debian [2023-05-10T22:57:19.148Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-316 [2023-05-10T22:57:19.148Z] + START_PACKAGES=/tmp/packages_start.txt [2023-05-10T22:57:19.148Z] + END_PACKAGES=/tmp/packages_end.txt [2023-05-10T22:57:19.148Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-05-10T22:57:19.148Z] + PACKAGES=/tmp/packages_start.txt [2023-05-10T22:57:19.148Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-316 ']' [2023-05-10T22:57:19.148Z] + PACKAGES=/tmp/packages_end.txt [2023-05-10T22:57:19.148Z] + case "${OS_FAMILY}" in [2023-05-10T22:57:19.148Z] + dpkg -l [2023-05-10T22:57:19.148Z] + grep '^ii' [2023-05-10T22:57:19.148Z] + '[' -f /tmp/packages_start.txt ']' [2023-05-10T22:57:19.148Z] + '[' -f /tmp/packages_end.txt ']' [2023-05-10T22:57:19.148Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-05-10T22:57:19.148Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-316 ']' [2023-05-10T22:57:19.148Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-316/archives/ [2023-05-10T22:57:19.148Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-316/archives/ [Pipeline] echo [2023-05-10T22:57:19.188Z] 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-316/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-05-10T22:57:19.476Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-05-10T22:57:20.101Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-05-10T22:57:20.102Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-05-10T22:57:20.247Z] prd-ubuntu20.04-docker-8c-8g-14980 does not seem to be running inside a container [2023-05-10T22:57:20.275Z] $ 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-316/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-316 -v /w/workspace/gexfoundry_device-rest-go_PR-316:/w/workspace/gexfoundry_device-rest-go_PR-316:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-316@tmp:/w/workspace/gexfoundry_device-rest-go_PR-316@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-05-10T22:57:20.457Z] $ docker top 8f65489cf91291be33503e4b00d015f7d50672f25e8f5c50be87dca7773ee5f6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-05-10T22:57:20.836Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-05-10T22:57:21.148Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-05-10T22:57:21.454Z] + ls /var/log/sa-host [2023-05-10T22:57:21.454Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-05-10T22:57:21.680Z] provisioning config files... [2023-05-10T22:57:21.689Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-316@tmp/config17597616907891827475tmp [Pipeline] { [Pipeline] echo [2023-05-10T22:57:21.739Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T22:57:22.044Z] ---> create-netrc.sh [Pipeline] } [2023-05-10T22:57:22.068Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-05-10T22:57:22.469Z] ---> python-tools-install.sh [Pipeline] echo [2023-05-10T22:57:22.502Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T22:57:22.815Z] ---> sudo-logs.sh [2023-05-10T22:57:22.815Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-05-10T22:57:22.895Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T22:57:23.207Z] ---> job-cost.sh [2023-05-10T22:57:23.207Z] lf-activate-venv: SKIPPING [2023-05-10T22:57:23.207Z] DEBUG: total: 0.2199999988079071 [2023-05-10T22:57:23.207Z] INFO: Retrieving Stack Cost... [2023-05-10T22:57:23.775Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-05-10T22:57:24.035Z] INFO: Archiving Costs [Pipeline] echo [2023-05-10T22:57:24.068Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-05-10T22:57:24.381Z] ---> logs-deploy.sh [2023-05-10T22:57:24.381Z] lf-activate-venv: SKIPPING [2023-05-10T22:57:24.381Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-316/1 [2023-05-10T22:57:24.381Z] INFO: archiving workspace using pattern(s): [2023-05-10T22:57:25.320Z] Archives upload complete. [2023-05-10T22:57:25.320Z] INFO: archiving logs to Nexus