Pull request #297 event Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from db9efb490de7778646f037f9e3397b71150b5e7b+f5cefbfc3079018690f325d1bed071e9846b5efb (95d6886acbfc9db2097c2a6fe976d1d245f86993) 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-ssh8884812991058056518.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh390418895845795461.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-297/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > 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-297/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3072455353114360864.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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 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-ssh12454287492143166585.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-297/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags 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-297/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh2786328960641746013.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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-9428 in /w/workspace/gexfoundry_device-rest-go_PR-297 [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-297 # 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 f5cefbfc3079018690f325d1bed071e9846b5efb into PR head commit db9efb490de7778646f037f9e3397b71150b5e7b Merge succeeded, producing db9efb490de7778646f037f9e3397b71150b5e7b Checking out Revision db9efb490de7778646f037f9e3397b71150b5e7b (PR-297) Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-04-24T01:32:11.509Z] Timeout set to expire in 6 hr 0 min [Pipeline] { > 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/297/head:refs/remotes/origin/PR-297 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f db9efb490de7778646f037f9e3397b71150b5e7b # 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 f5cefbfc3079018690f325d1bed071e9846b5efb # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f db9efb490de7778646f037f9e3397b71150b5e7b # timeout=10 > git rev-list --no-walk c7cf61063326e8e2a4d7c4cb426cea306f29b9f0 # timeout=10 [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-04-24T01:32:11.577Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-04-24T01:32:11.594Z] ========================================================= [2023-04-24T01:32:11.594Z] EdgeX Global Pipelines Version Info [2023-04-24T01:32:11.594Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-04-24T01:32:12.313Z] ------------------- [2023-04-24T01:32:12.313Z] stable info: [2023-04-24T01:32:12.313Z] ------------------- [2023-04-24T01:32:12.313Z] Commited By: Bill Mahoney bill.mahoney@intel.com [2023-04-24T01:32:12.313Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-24T01:32:12.313Z] Message: update stable to v1.0.248 [2023-04-24T01:32:12.882Z] ------------------- [2023-04-24T01:32:12.882Z] experimental info: [2023-04-24T01:32:12.882Z] ------------------- [2023-04-24T01:32:12.882Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-04-24T01:32:12.882Z] Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 [2023-04-24T01:32:12.882Z] Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-04-24T01:32:13.082Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-04-24T01:32:13.096Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-04-24T01:32:13.110Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-04-24T01:32:13.125Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-04-24T01:32:13.140Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-04-24T01:32:13.159Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo [2023-04-24T01:32:13.177Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-04-24T01:32:13.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-04-24T01:32:13.214Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-04-24T01:32:13.234Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-04-24T01:32:13.248Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-04-24T01:32:13.267Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-04-24T01:32:13.285Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-04-24T01:32:13.300Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-04-24T01:32:13.315Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-04-24T01:32:13.332Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-04-24T01:32:13.352Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-04-24T01:32:13.371Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-04-24T01:32:13.387Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-04-24T01:32:13.400Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-04-24T01:32:13.416Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-04-24T01:32:13.433Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-04-24T01:32:13.453Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-04-24T01:32:13.471Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-04-24T01:32:13.491Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-04-24T01:32:13.506Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-04-24T01:32:13.523Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-04-24T01:32:13.542Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-297 [Pipeline] echo [2023-04-24T01:32:13.560Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-297 [Pipeline] echo [2023-04-24T01:32:13.577Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-297 [Pipeline] echo [2023-04-24T01:32:13.592Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = db9efb490de7778646f037f9e3397b71150b5e7b [Pipeline] echo [2023-04-24T01:32:13.635Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = db9efb4 [Pipeline] echo [2023-04-24T01:32:13.651Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T01:32:13.707Z] provisioning config files... [2023-04-24T01:32:13.721Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-297@tmp/config253443241465478015tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T01:32:14.061Z] ---> docker-login.sh [2023-04-24T01:32:14.061Z] nexus3.edgexfoundry.org:10001 [2023-04-24T01:32:14.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T01:32:14.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T01:32:14.324Z] Configure a credential helper to remove this warning. See [2023-04-24T01:32:14.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T01:32:14.324Z] [2023-04-24T01:32:14.324Z] Login Succeeded [2023-04-24T01:32:14.324Z] nexus3.edgexfoundry.org:10002 [2023-04-24T01:32:14.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T01:32:14.324Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T01:32:14.324Z] Configure a credential helper to remove this warning. See [2023-04-24T01:32:14.324Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T01:32:14.324Z] [2023-04-24T01:32:14.324Z] Login Succeeded [2023-04-24T01:32:14.324Z] nexus3.edgexfoundry.org:10003 [2023-04-24T01:32:14.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T01:32:14.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T01:32:14.586Z] Configure a credential helper to remove this warning. See [2023-04-24T01:32:14.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T01:32:14.586Z] [2023-04-24T01:32:14.586Z] Login Succeeded [2023-04-24T01:32:14.586Z] nexus3.edgexfoundry.org:10004 [2023-04-24T01:32:14.586Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T01:32:14.586Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T01:32:14.586Z] Configure a credential helper to remove this warning. See [2023-04-24T01:32:14.586Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T01:32:14.586Z] [2023-04-24T01:32:14.586Z] Login Succeeded [2023-04-24T01:32:14.586Z] docker.io [2023-04-24T01:32:14.846Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T01:32:14.846Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T01:32:14.846Z] Configure a credential helper to remove this warning. See [2023-04-24T01:32:14.846Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T01:32:14.846Z] [2023-04-24T01:32:14.846Z] Login Succeeded [2023-04-24T01:32:14.846Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T01:32:14.853Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-04-24T01:32:15.237Z] + git rev-list -1 --merges db9efb490de7778646f037f9e3397b71150b5e7b~1..db9efb490de7778646f037f9e3397b71150b5e7b [Pipeline] echo [2023-04-24T01:32:15.291Z] -----------> git rev-list -1 --merges db9efb490de7778646f037f9e3397b71150b5e7b~1..db9efb490de7778646f037f9e3397b71150b5e7b db9efb490de7778646f037f9e3397b71150b5e7b [false] [Pipeline] sh [2023-04-24T01:32:15.583Z] + git log --format=format:%s -1 db9efb490de7778646f037f9e3397b71150b5e7b [Pipeline] echo [2023-04-24T01:32:15.599Z] ========================================================= [2023-04-24T01:32:15.599Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-04-24T01:32:15.599Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T01:32:15.958Z] + git log --format=format:%s -1 db9efb490de7778646f037f9e3397b71150b5e7b [Pipeline] echo [2023-04-24T01:32:15.969Z] [semverPrep] GIT_COMMIT: db9efb490de7778646f037f9e3397b71150b5e7b, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3 [Pipeline] echo [2023-04-24T01:32:15.978Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-04-24T01:32:16.339Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-04-24T01:32:16.340Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-04-24T01:32:16.340Z] + [ -e /tmp/ssh_known_hosts ] [2023-04-24T01:32:16.340Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-04-24T01:32:16.340Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-04-24T01:32:16.340Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-04-24T01:32:16.340Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T01:32:16.707Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T01:32:16.707Z] [2023-04-24T01:32:16.707Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T01:32:17.027Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T01:32:17.027Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-04-24T01:32:17.027Z] b85a868b505f: Pulling fs layer [2023-04-24T01:32:17.027Z] e2be974225ed: Pulling fs layer [2023-04-24T01:32:17.027Z] 339a4e72a1f5: Pulling fs layer [2023-04-24T01:32:17.027Z] 988bab9f4d93: Pulling fs layer [2023-04-24T01:32:17.027Z] 1469e6f7b9e6: Pulling fs layer [2023-04-24T01:32:17.027Z] eaf3925da568: Pulling fs layer [2023-04-24T01:32:17.027Z] bab4dde63d76: Pulling fs layer [2023-04-24T01:32:17.027Z] bde34c3a00c8: Pulling fs layer [2023-04-24T01:32:17.027Z] b352a97aabf1: Pulling fs layer [2023-04-24T01:32:17.027Z] 4872d77fe225: Pulling fs layer [2023-04-24T01:32:17.027Z] 5851b861e8e6: Pulling fs layer [2023-04-24T01:32:17.027Z] bab4dde63d76: Waiting [2023-04-24T01:32:17.027Z] bde34c3a00c8: Waiting [2023-04-24T01:32:17.027Z] b352a97aabf1: Waiting [2023-04-24T01:32:17.027Z] 4872d77fe225: Waiting [2023-04-24T01:32:17.027Z] 988bab9f4d93: Waiting [2023-04-24T01:32:17.027Z] 5851b861e8e6: Waiting [2023-04-24T01:32:17.027Z] 1469e6f7b9e6: Waiting [2023-04-24T01:32:17.027Z] eaf3925da568: Waiting [2023-04-24T01:32:17.027Z] e2be974225ed: Download complete [2023-04-24T01:32:17.027Z] 988bab9f4d93: Verifying Checksum [2023-04-24T01:32:17.027Z] 988bab9f4d93: Download complete [2023-04-24T01:32:17.289Z] 1469e6f7b9e6: Verifying Checksum [2023-04-24T01:32:17.289Z] 1469e6f7b9e6: Download complete [2023-04-24T01:32:17.289Z] 339a4e72a1f5: Verifying Checksum [2023-04-24T01:32:17.289Z] 339a4e72a1f5: Download complete [2023-04-24T01:32:17.289Z] eaf3925da568: Verifying Checksum [2023-04-24T01:32:17.289Z] eaf3925da568: Download complete [2023-04-24T01:32:17.289Z] bde34c3a00c8: Verifying Checksum [2023-04-24T01:32:17.289Z] bde34c3a00c8: Download complete [2023-04-24T01:32:17.289Z] b352a97aabf1: Verifying Checksum [2023-04-24T01:32:17.289Z] b352a97aabf1: Download complete [2023-04-24T01:32:17.289Z] 4872d77fe225: Verifying Checksum [2023-04-24T01:32:17.289Z] 4872d77fe225: Download complete [2023-04-24T01:32:17.289Z] 5851b861e8e6: Download complete [2023-04-24T01:32:17.289Z] b85a868b505f: Verifying Checksum [2023-04-24T01:32:17.289Z] b85a868b505f: Download complete [2023-04-24T01:32:17.554Z] bab4dde63d76: Verifying Checksum [2023-04-24T01:32:17.554Z] bab4dde63d76: Download complete [2023-04-24T01:32:18.936Z] b85a868b505f: Pull complete [2023-04-24T01:32:18.936Z] e2be974225ed: Pull complete [2023-04-24T01:32:19.196Z] 339a4e72a1f5: Pull complete [2023-04-24T01:32:19.457Z] 988bab9f4d93: Pull complete [2023-04-24T01:32:19.717Z] 1469e6f7b9e6: Pull complete [2023-04-24T01:32:19.717Z] eaf3925da568: Pull complete [2023-04-24T01:32:21.627Z] bab4dde63d76: Pull complete [2023-04-24T01:32:21.627Z] bde34c3a00c8: Pull complete [2023-04-24T01:32:21.627Z] b352a97aabf1: Pull complete [2023-04-24T01:32:21.627Z] 4872d77fe225: Pull complete [2023-04-24T01:32:21.889Z] 5851b861e8e6: Pull complete [2023-04-24T01:32:21.889Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-04-24T01:32:21.889Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-04-24T01:32:21.889Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T01:32:21.998Z] prd-ubuntu20.04-docker-8c-8g-9428 does not seem to be running inside a container [2023-04-24T01:32:22.046Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-297 -v /w/workspace/gexfoundry_device-rest-go_PR-297:/w/workspace/gexfoundry_device-rest-go_PR-297:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-297@tmp:/w/workspace/gexfoundry_device-rest-go_PR-297@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-04-24T01:32:25.275Z] $ docker top 30787413e538983f87f7ad73e5c8d042ac7f95bb2ee0b522914ffe526d128034 -eo pid,comm [2023-04-24T01:32:25.334Z] 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-04-24T01:32:25.334Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-04-24T01:32:25.380Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T01:32:25.380Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T01:32:25.485Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T01:32:25.489Z] $ docker exec 30787413e538983f87f7ad73e5c8d042ac7f95bb2ee0b522914ffe526d128034 ssh-agent [2023-04-24T01:32:25.610Z] SSH_AUTH_SOCK=/tmp/ssh-gvDLHMnBKGIm/agent.32 [2023-04-24T01:32:25.610Z] SSH_AGENT_PID=38 [2023-04-24T01:32:25.617Z] Running ssh-add (command line suppressed) [2023-04-24T01:32:25.709Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-297@tmp/private_key_1219937091392481086.key (/w/workspace/gexfoundry_device-rest-go_PR-297@tmp/private_key_1219937091392481086.key) [2023-04-24T01:32:25.724Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T01:32:26.015Z] + git tag --points-at HEAD [Pipeline] } [2023-04-24T01:32:26.026Z] $ docker exec --env ******** --env ******** 30787413e538983f87f7ad73e5c8d042ac7f95bb2ee0b522914ffe526d128034 ssh-agent -k [2023-04-24T01:32:26.131Z] unset SSH_AUTH_SOCK; [2023-04-24T01:32:26.131Z] unset SSH_AGENT_PID; [2023-04-24T01:32:26.131Z] echo Agent pid 38 killed; [2023-04-24T01:32:26.143Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-04-24T01:32:26.173Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-04-24T01:32:26.173Z] [ssh-agent] Looking for ssh-agent implementation... [2023-04-24T01:32:26.284Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-04-24T01:32:26.286Z] $ docker exec 30787413e538983f87f7ad73e5c8d042ac7f95bb2ee0b522914ffe526d128034 ssh-agent [2023-04-24T01:32:26.406Z] SSH_AUTH_SOCK=/tmp/ssh-DFMHlOEzNTYl/agent.71 [2023-04-24T01:32:26.406Z] SSH_AGENT_PID=78 [2023-04-24T01:32:26.411Z] Running ssh-add (command line suppressed) [2023-04-24T01:32:26.516Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-297@tmp/private_key_1843779137693586119.key (/w/workspace/gexfoundry_device-rest-go_PR-297@tmp/private_key_1843779137693586119.key) [2023-04-24T01:32:26.531Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-04-24T01:32:26.825Z] + git semver init [2023-04-24T01:32:27.085Z] 2023-04-24 01:32:27,075 [run_init] DEBUG init version:0.0.0 force:False [2023-04-24T01:32:27.085Z] 2023-04-24 01:32:27,076 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-297/.semver [2023-04-24T01:32:27.085Z] 2023-04-24 01:32:27,076 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-297/.semver [2023-04-24T01:32:27.085Z] 2023-04-24 01:32:27,077 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-297/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-297, universal_newlines=False, shell=None, istream=None) [2023-04-24T01:32:28.470Z] 2023-04-24 01:32:28,185 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-297/.git/info/exclude [2023-04-24T01:32:28.470Z] 2023-04-24 01:32:28,185 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-297/.semver/PR-297 with force:False [2023-04-24T01:32:28.470Z] 2023-04-24 01:32:28,185 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-297/.semver/PR-297 [2023-04-24T01:32:28.470Z] 2023-04-24 01:32:28,189 [execute] INFO git cat-file --batch-check [2023-04-24T01:32:28.470Z] 2023-04-24 01:32:28,190 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-297/.semver, universal_newlines=False, shell=None, istream=) [2023-04-24T01:32:28.470Z] 2023-04-24 01:32:28,196 [execute] INFO git cat-file --batch [2023-04-24T01:32:28.470Z] 2023-04-24 01:32:28,196 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-297/.semver, universal_newlines=False, shell=None, istream=) [2023-04-24T01:32:28.470Z] 2023-04-24 01:32:28,202 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-297/.semver/PR-297 [2023-04-24T01:32:28.470Z] 0.0.0 [Pipeline] } [2023-04-24T01:32:28.481Z] $ docker exec --env ******** --env ******** 30787413e538983f87f7ad73e5c8d042ac7f95bb2ee0b522914ffe526d128034 ssh-agent -k [2023-04-24T01:32:28.588Z] unset SSH_AUTH_SOCK; [2023-04-24T01:32:28.589Z] unset SSH_AGENT_PID; [2023-04-24T01:32:28.589Z] echo Agent pid 78 killed; [2023-04-24T01:32:28.599Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-04-24T01:32:28.901Z] + git semver [Pipeline] } [2023-04-24T01:32:29.176Z] $ docker stop --time=1 30787413e538983f87f7ad73e5c8d042ac7f95bb2ee0b522914ffe526d128034 [2023-04-24T01:32:30.466Z] $ docker rm -f --volumes 30787413e538983f87f7ad73e5c8d042ac7f95bb2ee0b522914ffe526d128034 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T01:32:30.814Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-04-24T01:32:31.025Z] Stashed 1 file(s) [Pipeline] echo [2023-04-24T01:32:31.028Z] [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-04-24T01:32:31.149Z] provisioning config files... [2023-04-24T01:32:31.160Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-297@tmp/config10184776896145143359tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T01:32:31.460Z] ---> docker-login.sh [2023-04-24T01:32:31.460Z] nexus3.edgexfoundry.org:10001 [2023-04-24T01:32:31.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T01:32:31.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T01:32:31.460Z] Configure a credential helper to remove this warning. See [2023-04-24T01:32:31.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T01:32:31.460Z] [2023-04-24T01:32:31.460Z] Login Succeeded [2023-04-24T01:32:31.460Z] nexus3.edgexfoundry.org:10002 [2023-04-24T01:32:31.460Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T01:32:31.460Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T01:32:31.460Z] Configure a credential helper to remove this warning. See [2023-04-24T01:32:31.460Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T01:32:31.460Z] [2023-04-24T01:32:31.460Z] Login Succeeded [2023-04-24T01:32:31.460Z] nexus3.edgexfoundry.org:10003 [2023-04-24T01:32:31.725Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T01:32:31.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T01:32:31.725Z] Configure a credential helper to remove this warning. See [2023-04-24T01:32:31.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T01:32:31.726Z] [2023-04-24T01:32:31.726Z] Login Succeeded [2023-04-24T01:32:31.726Z] nexus3.edgexfoundry.org:10004 [2023-04-24T01:32:31.726Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T01:32:31.726Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T01:32:31.726Z] Configure a credential helper to remove this warning. See [2023-04-24T01:32:31.726Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T01:32:31.726Z] [2023-04-24T01:32:31.726Z] Login Succeeded [2023-04-24T01:32:31.726Z] docker.io [2023-04-24T01:32:31.986Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T01:32:31.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T01:32:31.986Z] Configure a credential helper to remove this warning. See [2023-04-24T01:32:31.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T01:32:31.986Z] [2023-04-24T01:32:31.986Z] Login Succeeded [2023-04-24T01:32:31.986Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T01:32:32.000Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-24T01:32:32.072Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T01:32:32.088Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T01:32:32.103Z] ========================================================= [2023-04-24T01:32:32.103Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] [2023-04-24T01:32:32.103Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T01:32:32.438Z] + 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-04-24T01:32:32.439Z] Sending build context to Docker daemon 10.9MB [2023-04-24T01:32:32.439Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T01:32:32.439Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-24T01:32:32.439Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base [2023-04-24T01:32:32.439Z] 63b65145d645: Pulling fs layer [2023-04-24T01:32:32.439Z] a2d21d5440eb: Pulling fs layer [2023-04-24T01:32:32.439Z] 935e6c44a52c: Pulling fs layer [2023-04-24T01:32:32.439Z] 94cc34f8dd06: Pulling fs layer [2023-04-24T01:32:32.439Z] 30dea6a524f1: Pulling fs layer [2023-04-24T01:32:32.439Z] a2aff8979fd8: Pulling fs layer [2023-04-24T01:32:32.439Z] 94cc34f8dd06: Waiting [2023-04-24T01:32:32.439Z] 30dea6a524f1: Waiting [2023-04-24T01:32:32.439Z] 6808be2612f2: Pulling fs layer [2023-04-24T01:32:32.439Z] f25807f1079a: Pulling fs layer [2023-04-24T01:32:32.439Z] a2aff8979fd8: Waiting [2023-04-24T01:32:32.439Z] 6808be2612f2: Waiting [2023-04-24T01:32:32.439Z] f25807f1079a: Waiting [2023-04-24T01:32:32.439Z] a2d21d5440eb: Download complete [2023-04-24T01:32:32.439Z] 94cc34f8dd06: Verifying Checksum [2023-04-24T01:32:32.439Z] 94cc34f8dd06: Download complete [2023-04-24T01:32:32.698Z] 30dea6a524f1: Verifying Checksum [2023-04-24T01:32:32.698Z] 30dea6a524f1: Download complete [2023-04-24T01:32:32.698Z] 63b65145d645: Verifying Checksum [2023-04-24T01:32:32.698Z] 63b65145d645: Download complete [2023-04-24T01:32:32.698Z] a2aff8979fd8: Verifying Checksum [2023-04-24T01:32:32.698Z] a2aff8979fd8: Download complete [2023-04-24T01:32:32.698Z] 63b65145d645: Pull complete [2023-04-24T01:32:32.960Z] a2d21d5440eb: Pull complete [2023-04-24T01:32:33.223Z] f25807f1079a: Download complete [2023-04-24T01:32:33.223Z] 935e6c44a52c: Verifying Checksum [2023-04-24T01:32:33.223Z] 935e6c44a52c: Download complete [2023-04-24T01:32:33.487Z] 6808be2612f2: Verifying Checksum [2023-04-24T01:32:33.487Z] 6808be2612f2: Download complete [2023-04-24T01:32:36.776Z] 935e6c44a52c: Pull complete [2023-04-24T01:32:36.776Z] 94cc34f8dd06: Pull complete [2023-04-24T01:32:36.776Z] 30dea6a524f1: Pull complete [2023-04-24T01:32:36.776Z] a2aff8979fd8: Pull complete [2023-04-24T01:32:39.310Z] 6808be2612f2: Pull complete [2023-04-24T01:32:39.890Z] f25807f1079a: Pull complete [2023-04-24T01:32:39.890Z] Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 [2023-04-24T01:32:39.890Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine [2023-04-24T01:32:39.890Z] ---> 3b553350e43f [2023-04-24T01:32:39.890Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-24T01:32:43.330Z] ---> Running in 8eee87ff1bec [2023-04-24T01:32:43.589Z] Removing intermediate container 8eee87ff1bec [2023-04-24T01:32:43.589Z] ---> 7ae99f4532e8 [2023-04-24T01:32:43.589Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T01:32:43.849Z] ---> Running in 94d48ab5fc44 [2023-04-24T01:32:44.108Z] Removing intermediate container 94d48ab5fc44 [2023-04-24T01:32:44.108Z] ---> 70ddf4fd7945 [2023-04-24T01:32:44.108Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-24T01:32:44.367Z] ---> Running in 1b83f77300b7 [2023-04-24T01:32:44.933Z] Removing intermediate container 1b83f77300b7 [2023-04-24T01:32:44.933Z] ---> 08f42aae9ad1 [2023-04-24T01:32:44.933Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T01:32:45.191Z] ---> Running in 67f4f26452e0 [2023-04-24T01:32:45.761Z] Removing intermediate container 67f4f26452e0 [2023-04-24T01:32:45.761Z] ---> 2e6064c9c990 [2023-04-24T01:32:45.761Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T01:32:45.761Z] ---> Running in 9974f5b85aaf [2023-04-24T01:32:46.112Z] Still waiting to schedule task [2023-04-24T01:32:46.112Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2023-04-24T01:32:46.330Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T01:32:46.330Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T01:32:46.590Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-24T01:32:46.590Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-24T01:32:46.590Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-24T01:32:46.590Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-24T01:32:46.590Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T01:32:46.590Z] OK: 269 MiB in 57 packages [2023-04-24T01:32:46.849Z] Removing intermediate container 9974f5b85aaf [2023-04-24T01:32:46.849Z] ---> 8f08fab6292a [2023-04-24T01:32:46.849Z] Step 8/12 : WORKDIR /device-rest-go [2023-04-24T01:32:47.108Z] ---> Running in 9fca04539e6e [2023-04-24T01:32:47.108Z] Removing intermediate container 9fca04539e6e [2023-04-24T01:32:47.108Z] ---> 6c3781d94740 [2023-04-24T01:32:47.108Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-24T01:32:47.108Z] ---> 4280d6233a75 [2023-04-24T01:32:47.108Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T01:32:47.108Z] ---> Running in 5620da0f0312 [2023-04-24T01:33:19.564Z] Removing intermediate container 5620da0f0312 [2023-04-24T01:33:19.564Z] ---> e622d7bf54b6 [2023-04-24T01:33:19.564Z] Step 11/12 : COPY . . [2023-04-24T01:33:19.564Z] ---> 381c87920dfd [2023-04-24T01:33:19.564Z] Step 12/12 : RUN $MAKE [2023-04-24T01:33:19.564Z] ---> Running in 03539a34eede [2023-04-24T01:33:19.823Z] noop [2023-04-24T01:33:20.082Z] Removing intermediate container 03539a34eede [2023-04-24T01:33:20.082Z] ---> 2df316652452 [2023-04-24T01:33:20.082Z] Successfully built 2df316652452 [2023-04-24T01:33:20.082Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T01:33:20.403Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-24T01:33:20.404Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T01:33:20.488Z] prd-ubuntu20.04-docker-8c-8g-9428 does not seem to be running inside a container [2023-04-24T01:33:20.521Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-297 -v /w/workspace/gexfoundry_device-rest-go_PR-297:/w/workspace/gexfoundry_device-rest-go_PR-297:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-297@tmp:/w/workspace/gexfoundry_device-rest-go_PR-297@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-x86_64 cat [2023-04-24T01:33:20.860Z] $ docker top 32c5374947a6c5708fb6a7dedd1c0d4839df70660345c5c43dd71c01f178252c -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T01:33:21.219Z] + go version [2023-04-24T01:33:21.219Z] go version go1.20.2 linux/amd64 [Pipeline] } [2023-04-24T01:33:21.229Z] $ docker stop --time=1 32c5374947a6c5708fb6a7dedd1c0d4839df70660345c5c43dd71c01f178252c [2023-04-24T01:33:22.496Z] $ docker rm -f --volumes 32c5374947a6c5708fb6a7dedd1c0d4839df70660345c5c43dd71c01f178252c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T01:33:22.943Z] + docker inspect -f . ci-base-image-x86_64 [2023-04-24T01:33:22.943Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T01:33:23.023Z] prd-ubuntu20.04-docker-8c-8g-9428 does not seem to be running inside a container [2023-04-24T01:33:23.056Z] $ 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-297 -v /w/workspace/gexfoundry_device-rest-go_PR-297:/w/workspace/gexfoundry_device-rest-go_PR-297:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-297@tmp:/w/workspace/gexfoundry_device-rest-go_PR-297@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-x86_64 cat [2023-04-24T01:33:23.500Z] $ docker top 4439ef24fa8e82de9533a445bc6e215349aa78703c5a743a4f4a4805da06ef95 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T01:33:23.849Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-297 [Pipeline] fileExists [Pipeline] sh [2023-04-24T01:33:24.148Z] + make test [2023-04-24T01:33:24.148Z] go test ./... -coverprofile=coverage.out ./... [2023-04-24T01:33:29.415Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-04-24T01:33:39.650Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-04-24T01:33:39.650Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 32.2% of statements [2023-04-24T01:33:44.018Z] go vet ./... [2023-04-24T01:33:47.344Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-24T01:33:47.344Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-24T01:33:47.344Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-24T01:33:47.370Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-24T01:33:47.383Z] $ docker stop --time=1 4439ef24fa8e82de9533a445bc6e215349aa78703c5a743a4f4a4805da06ef95 [2023-04-24T01:33:51.183Z] $ docker rm -f --volumes 4439ef24fa8e82de9533a445bc6e215349aa78703c5a743a4f4a4805da06ef95 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T01:33:51.832Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-24T01:33:51.901Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-04-24T01:33:52.369Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-24T01:33:52.655Z] + ls -al . [2023-04-24T01:33:52.655Z] total 184 [2023-04-24T01:33:52.655Z] drwxrwxr-x 9 jenkins jenkins 4096 Apr 24 01:33 . [2023-04-24T01:33:52.655Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 01:32 .. [2023-04-24T01:33:52.655Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 24 01:32 .dockerignore [2023-04-24T01:33:52.655Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 01:32 .git [2023-04-24T01:33:52.655Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 01:32 .github [2023-04-24T01:33:52.655Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 24 01:32 .gitignore [2023-04-24T01:33:52.655Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 01:32 .golangci.yml [2023-04-24T01:33:52.655Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 01:32 .semver [2023-04-24T01:33:52.655Z] -rw-rw-r-- 1 jenkins jenkins 9331 Apr 24 01:32 Attribution.txt [2023-04-24T01:33:52.655Z] -rw-rw-r-- 1 jenkins jenkins 13085 Apr 24 01:32 CHANGELOG.md [2023-04-24T01:33:52.655Z] -rw-rw-r-- 1 jenkins jenkins 1578 Apr 24 01:32 Dockerfile [2023-04-24T01:33:52.655Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 01:32 GOVERNANCE.md [2023-04-24T01:33:52.655Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 24 01:32 Jenkinsfile [2023-04-24T01:33:52.655Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 01:32 LICENSE [2023-04-24T01:33:52.655Z] -rw-rw-r-- 1 jenkins jenkins 1779 Apr 24 01:32 Makefile [2023-04-24T01:33:52.655Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 24 01:32 OWNERS.md [2023-04-24T01:33:52.655Z] -rw-rw-r-- 1 jenkins jenkins 15321 Apr 24 01:32 README.md [2023-04-24T01:33:52.655Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 01:32 VERSION [2023-04-24T01:33:52.655Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 01:32 bin [2023-04-24T01:33:52.655Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 01:32 cmd [2023-04-24T01:33:52.655Z] -rw-r--r-- 1 jenkins jenkins 14663 Apr 24 01:33 coverage.out [2023-04-24T01:33:52.655Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 01:32 driver [2023-04-24T01:33:52.655Z] -rw-rw-r-- 1 jenkins jenkins 3402 Apr 24 01:32 go.mod [2023-04-24T01:33:52.655Z] -rw-rw-r-- 1 jenkins jenkins 31443 Apr 24 01:32 go.sum [2023-04-24T01:33:52.655Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 01:32 snap [2023-04-24T01:33:52.655Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 24 01:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T01:33:52.958Z] + 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=db9efb490de7778646f037f9e3397b71150b5e7b --label arch=amd64 --label version=0.0.0 . [2023-04-24T01:33:52.958Z] Sending build context to Docker daemon 10.92MB [2023-04-24T01:33:52.958Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T01:33:52.958Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-24T01:33:52.958Z] ---> 2df316652452 [2023-04-24T01:33:52.958Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-24T01:33:53.216Z] ---> Running in 3bfbc6cefbb5 [2023-04-24T01:33:53.494Z] Removing intermediate container 3bfbc6cefbb5 [2023-04-24T01:33:53.494Z] ---> 187e3ab57777 [2023-04-24T01:33:53.494Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T01:33:53.753Z] ---> Running in 0ae0876269c4 [2023-04-24T01:33:53.754Z] Removing intermediate container 0ae0876269c4 [2023-04-24T01:33:53.754Z] ---> 320180874b11 [2023-04-24T01:33:53.754Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-24T01:33:53.754Z] ---> Running in e2a7b886cb87 [2023-04-24T01:33:53.754Z] Removing intermediate container e2a7b886cb87 [2023-04-24T01:33:53.754Z] ---> 71bbd254cd90 [2023-04-24T01:33:53.754Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T01:33:53.754Z] ---> Running in e6b85981dacd [2023-04-24T01:33:54.012Z] Removing intermediate container e6b85981dacd [2023-04-24T01:33:54.012Z] ---> 3c5be9d21726 [2023-04-24T01:33:54.012Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T01:33:54.012Z] ---> Running in 6b15d3b2547e [2023-04-24T01:33:54.271Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T01:33:54.271Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T01:33:54.531Z] OK: 269 MiB in 57 packages [2023-04-24T01:33:54.790Z] Removing intermediate container 6b15d3b2547e [2023-04-24T01:33:54.790Z] ---> 30aa39d747a2 [2023-04-24T01:33:54.790Z] Step 8/25 : WORKDIR /device-rest-go [2023-04-24T01:33:54.790Z] ---> Running in 095a2132e33e [2023-04-24T01:33:55.051Z] Removing intermediate container 095a2132e33e [2023-04-24T01:33:55.051Z] ---> 40ee78cb813c [2023-04-24T01:33:55.051Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-24T01:33:55.311Z] ---> 7e3a4555b57b [2023-04-24T01:33:55.311Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T01:33:55.311Z] ---> Running in f0ecd79097f1 [2023-04-24T01:33:55.879Z] Removing intermediate container f0ecd79097f1 [2023-04-24T01:33:55.880Z] ---> 2bcfdc058ff3 [2023-04-24T01:33:55.880Z] Step 11/25 : COPY . . [2023-04-24T01:33:56.466Z] ---> 400fb2423daf [2023-04-24T01:33:56.466Z] Step 12/25 : RUN $MAKE [2023-04-24T01:33:56.466Z] ---> Running in 0c595103b459 [2023-04-24T01:33:56.724Z] 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-04-24T01:34:18.682Z] Removing intermediate container 0c595103b459 [2023-04-24T01:34:18.682Z] ---> 5ec43c454814 [2023-04-24T01:34:18.682Z] Step 13/25 : FROM alpine:3.17 [2023-04-24T01:34:18.682Z] 3.17: Pulling from library/alpine [2023-04-24T01:34:18.682Z] f56be85fc22e: Pulling fs layer [2023-04-24T01:34:18.683Z] f56be85fc22e: Verifying Checksum [2023-04-24T01:34:18.683Z] f56be85fc22e: Download complete [2023-04-24T01:34:18.683Z] f56be85fc22e: Pull complete [2023-04-24T01:34:18.683Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-24T01:34:18.683Z] Status: Downloaded newer image for alpine:3.17 [2023-04-24T01:34:18.683Z] ---> 9ed4aefc74f6 [2023-04-24T01:34:18.683Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-24T01:34:18.683Z] ---> Running in 118af40f4642 [2023-04-24T01:34:18.683Z] Removing intermediate container 118af40f4642 [2023-04-24T01:34:18.683Z] ---> 247c202b92ef [2023-04-24T01:34:18.683Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-04-24T01:34:18.683Z] ---> Running in c5a00b80ba11 [2023-04-24T01:34:18.683Z] Removing intermediate container c5a00b80ba11 [2023-04-24T01:34:18.683Z] ---> af9c8427e792 [2023-04-24T01:34:18.683Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-04-24T01:34:18.941Z] ---> Running in 5d4dd25e99ed [2023-04-24T01:34:19.510Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz [2023-04-24T01:34:19.510Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz [2023-04-24T01:34:19.770Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-24T01:34:19.770Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T01:34:19.770Z] OK: 7 MiB in 16 packages [2023-04-24T01:34:20.028Z] Removing intermediate container 5d4dd25e99ed [2023-04-24T01:34:20.028Z] ---> 975749ba2f46 [2023-04-24T01:34:20.028Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-04-24T01:34:20.660Z] ---> d9728c5ca967 [2023-04-24T01:34:20.660Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-04-24T01:34:20.919Z] ---> 12ce1a708c23 [2023-04-24T01:34:20.919Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-04-24T01:34:20.919Z] ---> 9be17b679c7c [2023-04-24T01:34:20.919Z] Step 20/25 : EXPOSE 59986 [2023-04-24T01:34:20.919Z] ---> Running in 7f5c48275427 [2023-04-24T01:34:21.178Z] Removing intermediate container 7f5c48275427 [2023-04-24T01:34:21.178Z] ---> 1e587baf3f35 [2023-04-24T01:34:21.178Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-04-24T01:34:21.178Z] ---> Running in 9f50e944c69b [2023-04-24T01:34:21.178Z] Removing intermediate container 9f50e944c69b [2023-04-24T01:34:21.178Z] ---> e1c6db1b7587 [2023-04-24T01:34:21.178Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-24T01:34:21.178Z] ---> Running in 7b14b861765f [2023-04-24T01:34:21.437Z] Removing intermediate container 7b14b861765f [2023-04-24T01:34:21.437Z] ---> 70569c875d0e [2023-04-24T01:34:21.437Z] Step 23/25 : LABEL arch=amd64 [2023-04-24T01:34:21.437Z] ---> Running in ebd13d2755c3 [2023-04-24T01:34:21.437Z] Removing intermediate container ebd13d2755c3 [2023-04-24T01:34:21.437Z] ---> 2f9138d907f0 [2023-04-24T01:34:21.437Z] Step 24/25 : LABEL git_sha=db9efb490de7778646f037f9e3397b71150b5e7b [2023-04-24T01:34:21.437Z] ---> Running in 4935e2248376 [2023-04-24T01:34:21.437Z] Removing intermediate container 4935e2248376 [2023-04-24T01:34:21.437Z] ---> 624ce07f9eb5 [2023-04-24T01:34:21.437Z] Step 25/25 : LABEL version=0.0.0 [2023-04-24T01:34:21.437Z] ---> Running in 307afaa3729d [2023-04-24T01:34:21.697Z] Removing intermediate container 307afaa3729d [2023-04-24T01:34:21.698Z] ---> 44a9719eeb38 [2023-04-24T01:34:21.698Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-24T01:34:21.698Z] Successfully built 44a9719eeb38 [2023-04-24T01:34:21.698Z] 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-04-24T01:34:22.143Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T01:34:22.143Z] [2023-04-24T01:34:22.143Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T01:34:22.455Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T01:34:22.455Z] latest: Pulling from edgex-lftools-log-publisher [2023-04-24T01:34:22.455Z] 5eb5b503b376: Pulling fs layer [2023-04-24T01:34:22.455Z] 5c69ac0246d0: Pulling fs layer [2023-04-24T01:34:22.455Z] ec43610c2a17: Pulling fs layer [2023-04-24T01:34:22.455Z] 3a2ae6a8a46f: Pulling fs layer [2023-04-24T01:34:22.455Z] 33b1e0a273af: Pulling fs layer [2023-04-24T01:34:22.455Z] 5d3b04190fa2: Pulling fs layer [2023-04-24T01:34:22.455Z] 2f39f015ded8: Pulling fs layer [2023-04-24T01:34:22.455Z] 3a2ae6a8a46f: Waiting [2023-04-24T01:34:22.455Z] 33b1e0a273af: Waiting [2023-04-24T01:34:22.455Z] 5d3b04190fa2: Waiting [2023-04-24T01:34:22.455Z] 5c69ac0246d0: Verifying Checksum [2023-04-24T01:34:22.455Z] 5c69ac0246d0: Download complete [2023-04-24T01:34:22.455Z] 3a2ae6a8a46f: Download complete [2023-04-24T01:34:22.455Z] 33b1e0a273af: Verifying Checksum [2023-04-24T01:34:22.455Z] 33b1e0a273af: Download complete [2023-04-24T01:34:22.455Z] 5d3b04190fa2: Verifying Checksum [2023-04-24T01:34:22.455Z] 5d3b04190fa2: Download complete [2023-04-24T01:34:22.455Z] ec43610c2a17: Verifying Checksum [2023-04-24T01:34:22.455Z] ec43610c2a17: Download complete [2023-04-24T01:34:22.714Z] 5eb5b503b376: Verifying Checksum [2023-04-24T01:34:22.714Z] 5eb5b503b376: Download complete [2023-04-24T01:34:23.282Z] 2f39f015ded8: Verifying Checksum [2023-04-24T01:34:23.282Z] 2f39f015ded8: Download complete [2023-04-24T01:34:23.853Z] 5eb5b503b376: Pull complete [2023-04-24T01:34:24.113Z] 5c69ac0246d0: Pull complete [2023-04-24T01:34:24.680Z] ec43610c2a17: Pull complete [2023-04-24T01:34:24.680Z] 3a2ae6a8a46f: Pull complete [2023-04-24T01:34:24.680Z] 33b1e0a273af: Pull complete [2023-04-24T01:34:24.939Z] 5d3b04190fa2: Pull complete [2023-04-24T01:34:29.298Z] 2f39f015ded8: Pull complete [2023-04-24T01:34:29.298Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-04-24T01:34:29.298Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T01:34:29.298Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T01:34:29.390Z] prd-ubuntu20.04-docker-8c-8g-9428 does not seem to be running inside a container [2023-04-24T01:34:29.421Z] $ 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-297 -v /w/workspace/gexfoundry_device-rest-go_PR-297:/w/workspace/gexfoundry_device-rest-go_PR-297:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-297@tmp:/w/workspace/gexfoundry_device-rest-go_PR-297@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:latest cat [2023-04-24T01:34:33.416Z] $ docker top 3de9ee7d3b819cd5fb99177195d03a71dfae74783aecbcf1513422b80786205f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T01:34:33.791Z] ---> job-cost.sh [2023-04-24T01:34:33.791Z] lf-activate-venv: SKIPPING [2023-04-24T01:34:33.791Z] INFO: No Stack... [2023-04-24T01:34:34.051Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-24T01:34:34.310Z] INFO: Archiving Costs [Pipeline] sh [2023-04-24T01:34:34.608Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-297/archives/cost.csv [2023-04-24T01:34:34.608Z] + cut -d, -f6 [Pipeline] lock [2023-04-24T01:34:34.617Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-297-2-stack-cost] [2023-04-24T01:34:34.626Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-297-2-stack-cost] did not exist. Created. [2023-04-24T01:34:34.627Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-297-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-24T01:34:34.937Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-04-24T01:34:34.969Z] Stashed 1 file(s) [Pipeline] } [2023-04-24T01:34:34.976Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-297-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-24T01:34:34.995Z] $ docker stop --time=1 3de9ee7d3b819cd5fb99177195d03a71dfae74783aecbcf1513422b80786205f [2023-04-24T01:34:36.150Z] $ docker rm -f --volumes 3de9ee7d3b819cd5fb99177195d03a71dfae74783aecbcf1513422b80786205f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-04-24T01:35:22.720Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-9434 in /w/workspace/gexfoundry_device-rest-go_PR-297 [Pipeline] { [Pipeline] ws [2023-04-24T01:35:22.734Z] Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout [2023-04-24T01:35:22.789Z] The recommended git tool is: git [2023-04-24T01:35:32.384Z] using credential edgex-jenkins-ssh [2023-04-24T01:35:32.406Z] Cloning the remote Git repository [2023-04-24T01:35:32.476Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-04-24T01:35:32.663Z] > git init /w/workspace/device-rest-go/2 # timeout=10 [2023-04-24T01:35:33.116Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-04-24T01:35:33.125Z] > git --version # timeout=10 [2023-04-24T01:35:33.171Z] > git --version # 'git version 2.25.1' [2023-04-24T01:35:33.202Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T01:35:33.621Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-24T01:35:41.503Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-04-24T01:35:41.538Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-04-24T01:35:43.032Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-04-24T01:35:43.094Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-04-24T01:35:43.096Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T01:35:43.118Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/297/head:refs/remotes/origin/PR-297 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-04-24T01:35:43.705Z] Merging remotes/origin/main commit f5cefbfc3079018690f325d1bed071e9846b5efb into PR head commit db9efb490de7778646f037f9e3397b71150b5e7b [2023-04-24T01:35:44.267Z] Merge succeeded, producing db9efb490de7778646f037f9e3397b71150b5e7b [2023-04-24T01:35:44.267Z] Checking out Revision db9efb490de7778646f037f9e3397b71150b5e7b (PR-297) [2023-04-24T01:35:45.127Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v3" [2023-04-24T01:35:43.729Z] > git config core.sparsecheckout # timeout=10 [2023-04-24T01:35:43.947Z] > git checkout -f db9efb490de7778646f037f9e3397b71150b5e7b # timeout=10 [2023-04-24T01:35:44.064Z] > git remote # timeout=10 [2023-04-24T01:35:44.111Z] > git config --get remote.origin.url # timeout=10 [2023-04-24T01:35:44.141Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-04-24T01:35:44.174Z] > git merge f5cefbfc3079018690f325d1bed071e9846b5efb # timeout=10 [2023-04-24T01:35:44.229Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-04-24T01:35:44.273Z] > git config core.sparsecheckout # timeout=10 [2023-04-24T01:35:44.328Z] > git checkout -f db9efb490de7778646f037f9e3397b71150b5e7b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T01:35:46.122Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-04-24T01:35:46.123Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-24T01:35:46.123Z] Dload Upload Total Spent Left Speed [2023-04-24T01:35:46.123Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 185k 0 --:--:-- --:--:-- --:--:-- 185k [Pipeline] sh [2023-04-24T01:35:47.041Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-04-24T01:35:47.437Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-04-24T01:35:47.437Z] + sudo tee /etc/docker/daemon.new [2023-04-24T01:35:47.437Z] { [2023-04-24T01:35:47.437Z] "registry-mirrors": [ [2023-04-24T01:35:47.437Z] "https://nexus3.edgexfoundry.org:10001" [2023-04-24T01:35:47.437Z] ], [2023-04-24T01:35:47.437Z] "bip": "10.250.0.254/24", [2023-04-24T01:35:47.437Z] "hosts": [ [2023-04-24T01:35:47.437Z] "tcp://0.0.0.0:5555", [2023-04-24T01:35:47.437Z] "unix:///var/run/docker.sock" [2023-04-24T01:35:47.437Z] ], [2023-04-24T01:35:47.437Z] "mtu": 1458, [2023-04-24T01:35:47.437Z] "selinux-enabled": true, [2023-04-24T01:35:47.437Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-04-24T01:35:47.437Z] } [Pipeline] sh [2023-04-24T01:35:47.814Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-04-24T01:35:48.205Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T01:36:06.591Z] provisioning config files... [2023-04-24T01:36:06.627Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config12909926426825382627tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T01:36:07.017Z] ---> docker-login.sh [2023-04-24T01:36:07.017Z] nexus3.edgexfoundry.org:10001 [2023-04-24T01:36:07.616Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T01:36:07.616Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T01:36:07.616Z] Configure a credential helper to remove this warning. See [2023-04-24T01:36:07.616Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T01:36:07.616Z] [2023-04-24T01:36:07.616Z] Login Succeeded [2023-04-24T01:36:07.616Z] nexus3.edgexfoundry.org:10002 [2023-04-24T01:36:07.889Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T01:36:08.162Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T01:36:08.162Z] Configure a credential helper to remove this warning. See [2023-04-24T01:36:08.162Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T01:36:08.162Z] [2023-04-24T01:36:08.162Z] Login Succeeded [2023-04-24T01:36:08.162Z] nexus3.edgexfoundry.org:10003 [2023-04-24T01:36:08.437Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T01:36:08.437Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T01:36:08.437Z] Configure a credential helper to remove this warning. See [2023-04-24T01:36:08.437Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T01:36:08.437Z] [2023-04-24T01:36:08.437Z] Login Succeeded [2023-04-24T01:36:08.437Z] nexus3.edgexfoundry.org:10004 [2023-04-24T01:36:08.709Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T01:36:08.986Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T01:36:08.986Z] Configure a credential helper to remove this warning. See [2023-04-24T01:36:08.986Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T01:36:08.986Z] [2023-04-24T01:36:08.986Z] Login Succeeded [2023-04-24T01:36:08.986Z] docker.io [2023-04-24T01:36:09.258Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-04-24T01:36:09.531Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-04-24T01:36:09.532Z] Configure a credential helper to remove this warning. See [2023-04-24T01:36:09.532Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-04-24T01:36:09.532Z] [2023-04-24T01:36:09.532Z] Login Succeeded [2023-04-24T01:36:09.532Z] ---> docker-login.sh ends [Pipeline] } [2023-04-24T01:36:09.549Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-04-24T01:36:09.924Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T01:36:09.944Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-04-24T01:36:09.959Z] ========================================================= [2023-04-24T01:36:09.959Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] [2023-04-24T01:36:09.959Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T01:36:10.327Z] + 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-04-24T01:36:10.327Z] Sending build context to Docker daemon 138.8kB [2023-04-24T01:36:10.599Z] Step 1/12 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T01:36:10.599Z] Step 2/12 : FROM ${BASE} AS builder [2023-04-24T01:36:10.879Z] 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-04-24T01:36:10.879Z] af6eaf76a39c: Pulling fs layer [2023-04-24T01:36:10.879Z] 55522c791124: Pulling fs layer [2023-04-24T01:36:10.879Z] ce5c4a1c91eb: Pulling fs layer [2023-04-24T01:36:10.879Z] 169dfbe0d373: Pulling fs layer [2023-04-24T01:36:10.879Z] e1ff8fa3b103: Pulling fs layer [2023-04-24T01:36:10.879Z] 52ebb69f0ebf: Pulling fs layer [2023-04-24T01:36:10.879Z] 5abe8eddf0d5: Pulling fs layer [2023-04-24T01:36:10.879Z] e1ff8fa3b103: Waiting [2023-04-24T01:36:10.879Z] 52ebb69f0ebf: Waiting [2023-04-24T01:36:10.879Z] 5abe8eddf0d5: Waiting [2023-04-24T01:36:10.879Z] 169dfbe0d373: Waiting [2023-04-24T01:36:11.206Z] 55522c791124: Verifying Checksum [2023-04-24T01:36:11.206Z] 55522c791124: Download complete [2023-04-24T01:36:11.206Z] 169dfbe0d373: Verifying Checksum [2023-04-24T01:36:11.206Z] 169dfbe0d373: Download complete [2023-04-24T01:36:11.206Z] e1ff8fa3b103: Verifying Checksum [2023-04-24T01:36:11.206Z] e1ff8fa3b103: Download complete [2023-04-24T01:36:11.206Z] af6eaf76a39c: Verifying Checksum [2023-04-24T01:36:11.206Z] af6eaf76a39c: Download complete [2023-04-24T01:36:12.208Z] af6eaf76a39c: Pull complete [2023-04-24T01:36:12.485Z] 5abe8eddf0d5: Verifying Checksum [2023-04-24T01:36:12.485Z] 5abe8eddf0d5: Download complete [2023-04-24T01:36:12.768Z] 55522c791124: Pull complete [2023-04-24T01:36:14.218Z] 52ebb69f0ebf: Download complete [2023-04-24T01:36:14.218Z] ce5c4a1c91eb: Verifying Checksum [2023-04-24T01:36:14.218Z] ce5c4a1c91eb: Download complete [2023-04-24T01:36:24.358Z] ce5c4a1c91eb: Pull complete [2023-04-24T01:36:24.358Z] 169dfbe0d373: Pull complete [2023-04-24T01:36:24.652Z] e1ff8fa3b103: Pull complete [2023-04-24T01:36:31.377Z] 52ebb69f0ebf: Pull complete [2023-04-24T01:36:32.373Z] 5abe8eddf0d5: Pull complete [2023-04-24T01:36:32.654Z] Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f [2023-04-24T01:36:32.654Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine [2023-04-24T01:36:32.654Z] ---> 6cb57ee374ae [2023-04-24T01:36:32.654Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-04-24T01:36:34.629Z] ---> Running in 2eb509341170 [2023-04-24T01:36:34.903Z] Removing intermediate container 2eb509341170 [2023-04-24T01:36:34.903Z] ---> 37474446e6c0 [2023-04-24T01:36:34.903Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T01:36:34.903Z] ---> Running in a44390269880 [2023-04-24T01:36:35.184Z] Removing intermediate container a44390269880 [2023-04-24T01:36:35.184Z] ---> 865c67d39f9d [2023-04-24T01:36:35.184Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-24T01:36:35.464Z] ---> Running in 393c33f0aa03 [2023-04-24T01:36:35.741Z] Removing intermediate container 393c33f0aa03 [2023-04-24T01:36:35.741Z] ---> 5aa0bff6125e [2023-04-24T01:36:35.741Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T01:36:35.741Z] ---> Running in 441a27d659de [2023-04-24T01:36:36.020Z] Removing intermediate container 441a27d659de [2023-04-24T01:36:36.020Z] ---> e7a7918a1b98 [2023-04-24T01:36:36.020Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T01:36:36.292Z] ---> Running in 096eb6220561 [2023-04-24T01:36:37.724Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T01:36:38.322Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T01:36:39.756Z] (1/4) Installing openssh-keygen (9.1_p1-r2) [2023-04-24T01:36:39.756Z] (2/4) Installing libedit (20221030.3.1-r0) [2023-04-24T01:36:39.756Z] (3/4) Installing openssh-client-common (9.1_p1-r2) [2023-04-24T01:36:39.756Z] (4/4) Installing openssh-client-default (9.1_p1-r2) [2023-04-24T01:36:39.756Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T01:36:39.756Z] OK: 268 MiB in 57 packages [2023-04-24T01:36:41.209Z] Removing intermediate container 096eb6220561 [2023-04-24T01:36:41.209Z] ---> c2244a572e2b [2023-04-24T01:36:41.209Z] Step 8/12 : WORKDIR /device-rest-go [2023-04-24T01:36:41.209Z] ---> Running in 58bec81bb093 [2023-04-24T01:36:41.489Z] Removing intermediate container 58bec81bb093 [2023-04-24T01:36:41.489Z] ---> 931cdb23bc3e [2023-04-24T01:36:41.489Z] Step 9/12 : COPY go.mod vendor* ./ [2023-04-24T01:36:42.089Z] ---> 76332fb97f62 [2023-04-24T01:36:42.089Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T01:36:42.361Z] ---> Running in cb34c30de1f3 [2023-04-24T01:38:05.223Z] Removing intermediate container cb34c30de1f3 [2023-04-24T01:38:05.223Z] ---> 8207b6ada271 [2023-04-24T01:38:05.223Z] Step 11/12 : COPY . . [2023-04-24T01:38:05.223Z] ---> e3345841db49 [2023-04-24T01:38:05.223Z] Step 12/12 : RUN $MAKE [2023-04-24T01:38:05.223Z] ---> Running in acacc802a96b [2023-04-24T01:38:05.223Z] noop [2023-04-24T01:38:05.223Z] Removing intermediate container acacc802a96b [2023-04-24T01:38:05.223Z] ---> 9a387a2d84a2 [2023-04-24T01:38:05.223Z] Successfully built 9a387a2d84a2 [2023-04-24T01:38:05.223Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T01:38:05.622Z] + docker inspect -f . ci-base-image-arm64 [2023-04-24T01:38:05.622Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T01:38:05.875Z] prd-ubuntu20.04-docker-arm64-4c-16g-9434 does not seem to be running inside a container [2023-04-24T01:38:05.969Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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-04-24T01:38:07.424Z] $ docker top 6ec9b0e748f5f8343eb1f94af65cc4833fe67f99467ac2a1f643c6997da40855 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T01:38:08.334Z] + go version [2023-04-24T01:38:08.334Z] go version go1.20.2 linux/arm64 [Pipeline] } [2023-04-24T01:38:08.356Z] $ docker stop --time=1 6ec9b0e748f5f8343eb1f94af65cc4833fe67f99467ac2a1f643c6997da40855 [2023-04-24T01:38:11.073Z] $ docker rm -f --volumes 6ec9b0e748f5f8343eb1f94af65cc4833fe67f99467ac2a1f643c6997da40855 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T01:38:11.685Z] + docker inspect -f . ci-base-image-arm64 [2023-04-24T01:38:11.685Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T01:38:11.931Z] prd-ubuntu20.04-docker-arm64-4c-16g-9434 does not seem to be running inside a container [2023-04-24T01:38:12.020Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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-04-24T01:38:13.436Z] $ docker top 8923d4e7c1823ff93c96a2ca91ee84c2b07a09350dbd7ff1e20bf1177555eb76 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T01:38:14.347Z] + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh [2023-04-24T01:38:15.095Z] + make test [2023-04-24T01:38:15.095Z] go test ./... -coverprofile=coverage.out ./... [2023-04-24T01:39:02.104Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-04-24T01:41:24.257Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-04-24T01:41:25.687Z] ok github.com/edgexfoundry/device-rest-go/driver 0.075s coverage: 32.2% of statements [2023-04-24T01:41:26.282Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-04-24T01:41:26.282Z] go vet ./... [2023-04-24T01:42:05.260Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-04-24T01:42:05.260Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-04-24T01:42:05.260Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-04-24T01:42:05.284Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-04-24T01:42:05.296Z] $ docker stop --time=1 8923d4e7c1823ff93c96a2ca91ee84c2b07a09350dbd7ff1e20bf1177555eb76 [2023-04-24T01:42:07.300Z] $ docker rm -f --volumes 8923d4e7c1823ff93c96a2ca91ee84c2b07a09350dbd7ff1e20bf1177555eb76 [Pipeline] // withDockerContainer [Pipeline] sh [2023-04-24T01:42:08.681Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-04-24T01:42:08.712Z] Warning: overwriting stash ‘coverage-report’ [2023-04-24T01:42:09.383Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-04-24T01:42:09.813Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-04-24T01:42:10.169Z] + ls -al . [2023-04-24T01:42:10.169Z] total 180 [2023-04-24T01:42:10.169Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 01:38 . [2023-04-24T01:42:10.169Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 01:35 .. [2023-04-24T01:42:10.169Z] -rw-rw-r-- 1 jenkins jenkins 151 Apr 24 01:35 .dockerignore [2023-04-24T01:42:10.169Z] drwxrwxr-x 8 jenkins jenkins 4096 Apr 24 01:35 .git [2023-04-24T01:42:10.169Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 01:35 .github [2023-04-24T01:42:10.169Z] -rw-rw-r-- 1 jenkins jenkins 329 Apr 24 01:35 .gitignore [2023-04-24T01:42:10.169Z] -rw-rw-r-- 1 jenkins jenkins 41 Apr 24 01:35 .golangci.yml [2023-04-24T01:42:10.169Z] -rw-rw-r-- 1 jenkins jenkins 9331 Apr 24 01:35 Attribution.txt [2023-04-24T01:42:10.169Z] -rw-rw-r-- 1 jenkins jenkins 13085 Apr 24 01:35 CHANGELOG.md [2023-04-24T01:42:10.169Z] -rw-rw-r-- 1 jenkins jenkins 1578 Apr 24 01:35 Dockerfile [2023-04-24T01:42:10.169Z] -rw-rw-r-- 1 jenkins jenkins 677 Apr 24 01:35 GOVERNANCE.md [2023-04-24T01:42:10.169Z] -rw-rw-r-- 1 jenkins jenkins 680 Apr 24 01:35 Jenkinsfile [2023-04-24T01:42:10.169Z] -rw-rw-r-- 1 jenkins jenkins 11340 Apr 24 01:35 LICENSE [2023-04-24T01:42:10.169Z] -rw-rw-r-- 1 jenkins jenkins 1779 Apr 24 01:35 Makefile [2023-04-24T01:42:10.169Z] -rw-rw-r-- 1 jenkins jenkins 620 Apr 24 01:35 OWNERS.md [2023-04-24T01:42:10.169Z] -rw-rw-r-- 1 jenkins jenkins 15321 Apr 24 01:35 README.md [2023-04-24T01:42:10.169Z] -rw-rw-r-- 1 jenkins jenkins 5 Apr 24 01:32 VERSION [2023-04-24T01:42:10.169Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 01:35 bin [2023-04-24T01:42:10.169Z] drwxrwxr-x 3 jenkins jenkins 4096 Apr 24 01:35 cmd [2023-04-24T01:42:10.169Z] -rw-r--r-- 1 jenkins jenkins 14663 Apr 24 01:41 coverage.out [2023-04-24T01:42:10.169Z] drwxrwxr-x 2 jenkins jenkins 4096 Apr 24 01:35 driver [2023-04-24T01:42:10.169Z] -rw-rw-r-- 1 jenkins jenkins 3402 Apr 24 01:35 go.mod [2023-04-24T01:42:10.169Z] -rw-rw-r-- 1 jenkins jenkins 31443 Apr 24 01:35 go.sum [2023-04-24T01:42:10.169Z] drwxrwxr-x 4 jenkins jenkins 4096 Apr 24 01:35 snap [2023-04-24T01:42:10.169Z] -rw-rw-r-- 1 jenkins jenkins 713 Apr 24 01:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T01:42:10.551Z] + 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=db9efb490de7778646f037f9e3397b71150b5e7b --label arch=arm64 --label version=0.0.0 . [2023-04-24T01:42:10.551Z] Sending build context to Docker daemon 154.1kB [2023-04-24T01:42:10.831Z] Step 1/25 : ARG BASE=golang:1.20-alpine3.17 [2023-04-24T01:42:10.831Z] Step 2/25 : FROM ${BASE} AS builder [2023-04-24T01:42:10.831Z] ---> 9a387a2d84a2 [2023-04-24T01:42:10.831Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-04-24T01:42:11.105Z] ---> Running in fbecfaed036b [2023-04-24T01:42:13.732Z] Removing intermediate container fbecfaed036b [2023-04-24T01:42:13.732Z] ---> 8cbfe98f04ad [2023-04-24T01:42:13.732Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-04-24T01:42:13.732Z] ---> Running in 2348697b2c33 [2023-04-24T01:42:13.732Z] Removing intermediate container 2348697b2c33 [2023-04-24T01:42:13.732Z] ---> d3a83bc327f6 [2023-04-24T01:42:13.732Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-04-24T01:42:14.008Z] ---> Running in c7d6878438d3 [2023-04-24T01:42:14.282Z] Removing intermediate container c7d6878438d3 [2023-04-24T01:42:14.282Z] ---> d65af48ac0d2 [2023-04-24T01:42:14.282Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-04-24T01:42:14.282Z] ---> Running in cd67c692be35 [2023-04-24T01:42:14.877Z] Removing intermediate container cd67c692be35 [2023-04-24T01:42:14.877Z] ---> 6e78cccaf299 [2023-04-24T01:42:14.877Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-04-24T01:42:14.877Z] ---> Running in 3c07e9d097cc [2023-04-24T01:42:15.859Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T01:42:16.835Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T01:42:17.813Z] OK: 268 MiB in 57 packages [2023-04-24T01:42:18.912Z] Removing intermediate container 3c07e9d097cc [2023-04-24T01:42:18.912Z] ---> 81c2922e29ec [2023-04-24T01:42:18.912Z] Step 8/25 : WORKDIR /device-rest-go [2023-04-24T01:42:18.912Z] ---> Running in c040297fc871 [2023-04-24T01:42:19.186Z] Removing intermediate container c040297fc871 [2023-04-24T01:42:19.186Z] ---> 7688f3ea8276 [2023-04-24T01:42:19.186Z] Step 9/25 : COPY go.mod vendor* ./ [2023-04-24T01:42:19.784Z] ---> 0d746846ea95 [2023-04-24T01:42:19.784Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-04-24T01:42:19.784Z] ---> Running in 2d4cc9bf76f2 [2023-04-24T01:42:23.161Z] Removing intermediate container 2d4cc9bf76f2 [2023-04-24T01:42:23.161Z] ---> f2dea411c72a [2023-04-24T01:42:23.161Z] Step 11/25 : COPY . . [2023-04-24T01:42:23.432Z] ---> 55f74dd751f7 [2023-04-24T01:42:23.433Z] Step 12/25 : RUN $MAKE [2023-04-24T01:42:23.433Z] ---> Running in af1063843992 [2023-04-24T01:42:24.408Z] 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-04-24T01:45:16.800Z] Removing intermediate container af1063843992 [2023-04-24T01:45:16.800Z] ---> 684532f37536 [2023-04-24T01:45:16.800Z] Step 13/25 : FROM alpine:3.17 [2023-04-24T01:45:16.800Z] 3.17: Pulling from library/alpine [2023-04-24T01:45:16.800Z] c41833b44d91: Pulling fs layer [2023-04-24T01:45:16.800Z] c41833b44d91: Verifying Checksum [2023-04-24T01:45:16.800Z] c41833b44d91: Download complete [2023-04-24T01:45:16.800Z] c41833b44d91: Pull complete [2023-04-24T01:45:16.800Z] Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 [2023-04-24T01:45:16.800Z] Status: Downloaded newer image for alpine:3.17 [2023-04-24T01:45:16.800Z] ---> 51e60588ff2c [2023-04-24T01:45:16.800Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-04-24T01:45:16.800Z] ---> Running in 8d7644dbd40a [2023-04-24T01:45:16.800Z] Removing intermediate container 8d7644dbd40a [2023-04-24T01:45:16.800Z] ---> d5a197ec42e4 [2023-04-24T01:45:16.800Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-04-24T01:45:16.800Z] ---> Running in 9f6fcf5f2e7d [2023-04-24T01:45:16.800Z] Removing intermediate container 9f6fcf5f2e7d [2023-04-24T01:45:16.800Z] ---> b7ca2870dec3 [2023-04-24T01:45:16.800Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-04-24T01:45:16.800Z] ---> Running in 2b1ee964d035 [2023-04-24T01:45:16.800Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz [2023-04-24T01:45:16.800Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz [2023-04-24T01:45:16.800Z] (1/1) Installing dumb-init (1.2.5-r2) [2023-04-24T01:45:16.800Z] Executing busybox-1.35.0-r29.trigger [2023-04-24T01:45:16.800Z] OK: 8 MiB in 16 packages [2023-04-24T01:45:16.800Z] Removing intermediate container 2b1ee964d035 [2023-04-24T01:45:16.800Z] ---> ee486d275708 [2023-04-24T01:45:16.800Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-04-24T01:45:16.800Z] ---> 1f229704e710 [2023-04-24T01:45:16.800Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-04-24T01:45:16.800Z] ---> 634e6de12dcf [2023-04-24T01:45:16.800Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-04-24T01:45:16.800Z] ---> 5b7fdbd45c61 [2023-04-24T01:45:16.800Z] Step 20/25 : EXPOSE 59986 [2023-04-24T01:45:16.800Z] ---> Running in 597d56ba9008 [2023-04-24T01:45:16.800Z] Removing intermediate container 597d56ba9008 [2023-04-24T01:45:16.801Z] ---> f70ad98b3c88 [2023-04-24T01:45:16.801Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-04-24T01:45:16.801Z] ---> Running in 02c6e1955a85 [2023-04-24T01:45:16.801Z] Removing intermediate container 02c6e1955a85 [2023-04-24T01:45:16.801Z] ---> 01afb4c77fb8 [2023-04-24T01:45:16.801Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-04-24T01:45:16.801Z] ---> Running in 39fbd465f3be [2023-04-24T01:45:16.801Z] Removing intermediate container 39fbd465f3be [2023-04-24T01:45:16.801Z] ---> 54a2418561ad [2023-04-24T01:45:16.801Z] Step 23/25 : LABEL arch=arm64 [2023-04-24T01:45:16.801Z] ---> Running in c5d359237aef [2023-04-24T01:45:16.801Z] Removing intermediate container c5d359237aef [2023-04-24T01:45:16.801Z] ---> 6feb3c893e1f [2023-04-24T01:45:16.801Z] Step 24/25 : LABEL git_sha=db9efb490de7778646f037f9e3397b71150b5e7b [2023-04-24T01:45:16.801Z] ---> Running in 53b6c789ae7b [2023-04-24T01:45:16.801Z] Removing intermediate container 53b6c789ae7b [2023-04-24T01:45:16.801Z] ---> bb925fa1a233 [2023-04-24T01:45:16.801Z] Step 25/25 : LABEL version=0.0.0 [2023-04-24T01:45:16.801Z] ---> Running in 9af6d8f6a90d [2023-04-24T01:45:16.801Z] Removing intermediate container 9af6d8f6a90d [2023-04-24T01:45:16.801Z] ---> 496b62382012 [2023-04-24T01:45:16.801Z] [Warning] One or more build-args [ARCH] were not consumed [2023-04-24T01:45:16.801Z] Successfully built 496b62382012 [2023-04-24T01:45:16.801Z] 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-04-24T01:45:17.310Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T01:45:17.310Z] [2023-04-24T01:45:17.311Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T01:45:17.669Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T01:45:17.945Z] arm64: Pulling from edgex-lftools-log-publisher [2023-04-24T01:45:17.945Z] 8998bd30e6a1: Pulling fs layer [2023-04-24T01:45:17.945Z] 04944245beec: Pulling fs layer [2023-04-24T01:45:17.945Z] 699f458cf7ca: Pulling fs layer [2023-04-24T01:45:17.945Z] 765212b225bb: Pulling fs layer [2023-04-24T01:45:17.945Z] f23df028b6ca: Pulling fs layer [2023-04-24T01:45:17.945Z] d65c8cfc05b1: Pulling fs layer [2023-04-24T01:45:17.945Z] 2437ff75d9bd: Pulling fs layer [2023-04-24T01:45:17.945Z] f23df028b6ca: Waiting [2023-04-24T01:45:17.945Z] d65c8cfc05b1: Waiting [2023-04-24T01:45:17.945Z] 2437ff75d9bd: Waiting [2023-04-24T01:45:17.945Z] 765212b225bb: Waiting [2023-04-24T01:45:17.945Z] 04944245beec: Verifying Checksum [2023-04-24T01:45:17.945Z] 04944245beec: Download complete [2023-04-24T01:45:17.945Z] 765212b225bb: Verifying Checksum [2023-04-24T01:45:17.945Z] 765212b225bb: Download complete [2023-04-24T01:45:17.945Z] f23df028b6ca: Download complete [2023-04-24T01:45:18.219Z] d65c8cfc05b1: Verifying Checksum [2023-04-24T01:45:18.219Z] d65c8cfc05b1: Download complete [2023-04-24T01:45:18.219Z] 699f458cf7ca: Verifying Checksum [2023-04-24T01:45:18.219Z] 699f458cf7ca: Download complete [2023-04-24T01:45:18.817Z] 8998bd30e6a1: Verifying Checksum [2023-04-24T01:45:18.817Z] 8998bd30e6a1: Download complete [2023-04-24T01:45:21.425Z] 2437ff75d9bd: Verifying Checksum [2023-04-24T01:45:21.425Z] 2437ff75d9bd: Download complete [2023-04-24T01:45:22.859Z] 8998bd30e6a1: Pull complete [2023-04-24T01:45:23.491Z] 04944245beec: Pull complete [2023-04-24T01:45:24.956Z] 699f458cf7ca: Pull complete [2023-04-24T01:45:25.229Z] 765212b225bb: Pull complete [2023-04-24T01:45:26.199Z] f23df028b6ca: Pull complete [2023-04-24T01:45:26.470Z] d65c8cfc05b1: Pull complete [2023-04-24T01:45:41.495Z] 2437ff75d9bd: Pull complete [2023-04-24T01:45:41.495Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-04-24T01:45:41.495Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-04-24T01:45:41.495Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T01:45:41.723Z] prd-ubuntu20.04-docker-arm64-4c-16g-9434 does not seem to be running inside a container [2023-04-24T01:45:41.798Z] $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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-04-24T01:45:44.803Z] $ docker top 2c19e958212186b15f6b843916f15292a63220a2d34e386517bb582178ffafd1 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-04-24T01:45:45.663Z] ---> job-cost.sh [2023-04-24T01:45:45.663Z] lf-activate-venv: SKIPPING [2023-04-24T01:45:45.663Z] INFO: No Stack... [2023-04-24T01:45:45.931Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-04-24T01:45:46.897Z] INFO: Archiving Costs [Pipeline] sh [2023-04-24T01:45:47.231Z] + cat /w/workspace/device-rest-go/2/archives/cost.csv [2023-04-24T01:45:47.231Z] + cut -d, -f6 [Pipeline] lock [2023-04-24T01:45:47.323Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-297-2-stack-cost] [2023-04-24T01:45:47.329Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-297-2-stack-cost] did not exist. Created. [2023-04-24T01:45:47.329Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-297-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-04-24T01:45:48.011Z] /w/workspace/device-rest-go/2@tmp/durable-7386e2da/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-04-24T01:45:48.688Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-04-24T01:45:48.711Z] Warning: overwriting stash ‘stack-cost’ [2023-04-24T01:45:48.763Z] Stashed 1 file(s) [Pipeline] } [2023-04-24T01:45:48.772Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-297-2-stack-cost] [Pipeline] // lock [Pipeline] } [2023-04-24T01:45:48.787Z] $ docker stop --time=1 2c19e958212186b15f6b843916f15292a63220a2d34e386517bb582178ffafd1 [2023-04-24T01:45:50.312Z] $ docker rm -f --volumes 2c19e958212186b15f6b843916f15292a63220a2d34e386517bb582178ffafd1 [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-04-24T01:45:50.722Z] provisioning config files... [2023-04-24T01:45:50.729Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-297@tmp/config5075413984038241818tmp [Pipeline] { [Pipeline] sh [2023-04-24T01:45:51.022Z] + set +x [2023-04-24T01:45:51.022Z] + curl -s https://codecov.io/bash [2023-04-24T01:45:51.022Z] + bash -s -- [2023-04-24T01:45:51.022Z] [2023-04-24T01:45:51.022Z] _____ _ [2023-04-24T01:45:51.022Z] / ____| | | [2023-04-24T01:45:51.022Z] | | ___ __| | ___ ___ _____ __ [2023-04-24T01:45:51.022Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-04-24T01:45:51.022Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-04-24T01:45:51.022Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-04-24T01:45:51.022Z] Bash-1.0.6 [2023-04-24T01:45:51.022Z] [2023-04-24T01:45:51.022Z] [2023-04-24T01:45:51.022Z] ==> git version 2.25.1 found [2023-04-24T01:45:51.022Z] ==> 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-04-24T01:45:51.022Z] Release-Date: 2020-01-08 [2023-04-24T01:45:51.022Z] 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-04-24T01:45:51.022Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-04-24T01:45:51.022Z] ==> Jenkins CI detected. [2023-04-24T01:45:51.022Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-297 [2023-04-24T01:45:51.022Z] project root: . [2023-04-24T01:45:51.022Z] --> token set from env [2023-04-24T01:45:51.022Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-04-24T01:45:51.022Z] ==> Running gcov in . (disable via -X gcov) [2023-04-24T01:45:51.022Z] ==> Python coveragepy not found [2023-04-24T01:45:51.022Z] ==> Searching for coverage reports in: [2023-04-24T01:45:51.022Z] + . [2023-04-24T01:45:51.022Z] -> Found 1 reports [2023-04-24T01:45:51.022Z] ==> Detecting git/mercurial file structure [2023-04-24T01:45:51.022Z] ==> Reading reports [2023-04-24T01:45:51.022Z] + ./coverage.out bytes=14663 [2023-04-24T01:45:51.022Z] ==> Appending adjustments [2023-04-24T01:45:51.022Z] https://docs.codecov.io/docs/fixing-reports [2023-04-24T01:45:51.281Z] + Found adjustments [2023-04-24T01:45:51.281Z] ==> Gzipping contents [2023-04-24T01:45:51.281Z] 4.0K /tmp/codecov.b17juh.gz [2023-04-24T01:45:51.281Z] ==> Uploading reports [2023-04-24T01:45:51.281Z] url: https://codecov.io [2023-04-24T01:45:51.281Z] query: branch=PR-297&commit=db9efb490de7778646f037f9e3397b71150b5e7b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-297%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=297&job=&cmd_args= [2023-04-24T01:45:51.281Z] -> Pinging Codecov [2023-04-24T01:45:51.281Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-297&commit=db9efb490de7778646f037f9e3397b71150b5e7b&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-297%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=297&job=&cmd_args= [2023-04-24T01:45:51.281Z] -> Uploading to [2023-04-24T01:45:51.281Z] https://storage.googleapis.com/codecov/v4/raw/2023-04-24/4E5D53B4F1F92C436F7061BF334D961C/db9efb490de7778646f037f9e3397b71150b5e7b/a6910ac4-1af1-4e68-8cbc-6d17b9719bc4.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230424%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230424T014551Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cbbd4866caf83e8d29519cff469b636d15ef2b1a01c1ade06496e5675193551c [2023-04-24T01:45:51.281Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-04-24T01:45:51.281Z] Dload Upload Total Spent Left Speed [2023-04-24T01:45:51.539Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 12125 --:--:-- --:--:-- --:--:-- 12125 [2023-04-24T01:45:51.539Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/db9efb490de7778646f037f9e3397b71150b5e7b [Pipeline] } [2023-04-24T01:45:51.545Z] 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-04-24T01:45:52.241Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-297/archives ] [2023-04-24T01:45:52.241Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-297/archives [2023-04-24T01:45:52.241Z] total 16 [2023-04-24T01:45:52.241Z] drwxr-xr-x 3 root root 4096 Apr 24 01:34 . [2023-04-24T01:45:52.241Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 01:34 .. [2023-04-24T01:45:52.241Z] drwxr-xr-x 2 root root 4096 Apr 24 01:34 cost [2023-04-24T01:45:52.241Z] -rw-r--r-- 1 root root 86 Apr 24 01:34 cost.csv [2023-04-24T01:45:52.241Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-297/archives [2023-04-24T01:45:52.241Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-297/archives [2023-04-24T01:45:52.241Z] total 16 [2023-04-24T01:45:52.241Z] drwxr-xr-x 3 jenkins jenkins 4096 Apr 24 01:34 . [2023-04-24T01:45:52.241Z] drwxrwxr-x 10 jenkins jenkins 4096 Apr 24 01:34 .. [2023-04-24T01:45:52.241Z] drwxr-xr-x 2 jenkins jenkins 4096 Apr 24 01:34 cost [2023-04-24T01:45:52.241Z] -rw-r--r-- 1 jenkins jenkins 86 Apr 24 01:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-04-24T01:45:52.527Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T01:45:53.382Z] ---> package-listing.sh [2023-04-24T01:45:53.382Z] ++ facter osfamily [2023-04-24T01:45:53.382Z] ++ tr '[:upper:]' '[:lower:]' [2023-04-24T01:45:53.642Z] + OS_FAMILY=debian [2023-04-24T01:45:53.642Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-297 [2023-04-24T01:45:53.642Z] + START_PACKAGES=/tmp/packages_start.txt [2023-04-24T01:45:53.642Z] + END_PACKAGES=/tmp/packages_end.txt [2023-04-24T01:45:53.642Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-04-24T01:45:53.642Z] + PACKAGES=/tmp/packages_start.txt [2023-04-24T01:45:53.642Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-297 ']' [2023-04-24T01:45:53.642Z] + PACKAGES=/tmp/packages_end.txt [2023-04-24T01:45:53.642Z] + case "${OS_FAMILY}" in [2023-04-24T01:45:53.642Z] + grep '^ii' [2023-04-24T01:45:53.642Z] + dpkg -l [2023-04-24T01:45:53.642Z] + '[' -f /tmp/packages_start.txt ']' [2023-04-24T01:45:53.642Z] + '[' -f /tmp/packages_end.txt ']' [2023-04-24T01:45:53.642Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-04-24T01:45:53.642Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-297 ']' [2023-04-24T01:45:53.642Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-297/archives/ [2023-04-24T01:45:53.642Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-297/archives/ [Pipeline] echo [2023-04-24T01:45:53.651Z] 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-297/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-04-24T01:45:53.928Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-04-24T01:45:54.548Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-04-24T01:45:54.548Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-04-24T01:45:54.623Z] prd-ubuntu20.04-docker-8c-8g-9428 does not seem to be running inside a container [2023-04-24T01:45:54.651Z] $ 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-297/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-297 -v /w/workspace/gexfoundry_device-rest-go_PR-297:/w/workspace/gexfoundry_device-rest-go_PR-297:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-297@tmp:/w/workspace/gexfoundry_device-rest-go_PR-297@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-04-24T01:45:54.839Z] $ docker top 88e603d74172815976df45cef631b83e5b3b11f3be1bbf1f4d796046d6353119 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-04-24T01:45:55.182Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-04-24T01:45:55.467Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-04-24T01:45:55.756Z] + ls /var/log/sa-host [2023-04-24T01:45:55.757Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-04-24T01:45:55.833Z] provisioning config files... [2023-04-24T01:45:55.841Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-297@tmp/config17521419634898676792tmp [Pipeline] { [Pipeline] echo [2023-04-24T01:45:55.854Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T01:45:56.137Z] ---> create-netrc.sh [Pipeline] } [2023-04-24T01:45:56.144Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-04-24T01:45:56.479Z] ---> python-tools-install.sh [Pipeline] echo [2023-04-24T01:45:56.489Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T01:45:56.777Z] ---> sudo-logs.sh [2023-04-24T01:45:56.777Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-04-24T01:45:56.801Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T01:45:57.080Z] ---> job-cost.sh [2023-04-24T01:45:57.080Z] lf-activate-venv: SKIPPING [2023-04-24T01:45:57.080Z] DEBUG: total: 0.2199999988079071 [2023-04-24T01:45:57.080Z] INFO: Retrieving Stack Cost... [2023-04-24T01:45:57.341Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-04-24T01:45:57.600Z] INFO: Archiving Costs [Pipeline] echo [2023-04-24T01:45:57.611Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-04-24T01:45:57.893Z] ---> logs-deploy.sh [2023-04-24T01:45:57.893Z] lf-activate-venv: SKIPPING [2023-04-24T01:45:57.893Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-297/2 [2023-04-24T01:45:57.893Z] INFO: archiving workspace using pattern(s): [2023-04-24T01:45:58.828Z] Archives upload complete. [2023-04-24T01:45:58.828Z] INFO: archiving logs to Nexus