Pull request #229 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of sudhamani-hcl for edgexfoundry/device-rest-go Obtained Jenkinsfile from ece7ffade000858fee4541ef3a3e1d788d5f8f01+7d8e6f5ecbf08d53345d5c199887d0d319da1d2d (d55d2958c14fb7525d25537c0e28957636a9ea55) 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-ssh3368418954508167536.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh4694417795398273177.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-229/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-229/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15287126452439839213.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh8101306523578746126.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-229/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-229/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11009580022818629560.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.18 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-4132 in /w/workspace/gexfoundry_device-rest-go_PR-229 [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-229 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/229/head:refs/remotes/origin/PR-229 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d into PR head commit ece7ffade000858fee4541ef3a3e1d788d5f8f01 Merge succeeded, producing 44461bbb6a37b6b2b38bcde41d803a92ddc3be0c Checking out Revision 44461bbb6a37b6b2b38bcde41d803a92ddc3be0c (PR-229) > git config core.sparsecheckout # timeout=10 > git checkout -f ece7ffade000858fee4541ef3a3e1d788d5f8f01 # 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 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 44461bbb6a37b6b2b38bcde41d803a92ddc3be0c # timeout=10 Commit message: "Merge commit '7d8e6f5ecbf08d53345d5c199887d0d319da1d2d' into HEAD" First time build. Skipping changelog. > git rev-list --no-walk 9ee4829bfbebd90a491c140a2f85133524a62f18 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-31T13:55:52.988Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-31T13:55:53.035Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-31T13:55:53.052Z] ========================================================= [2023-01-31T13:55:53.052Z] EdgeX Global Pipelines Version Info [2023-01-31T13:55:53.052Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-31T13:55:53.782Z] ------------------- [2023-01-31T13:55:53.782Z] stable info: [2023-01-31T13:55:53.782Z] ------------------- [2023-01-31T13:55:53.782Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-31T13:55:53.782Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-31T13:55:53.782Z] Message: update stable to v1.0.244 [2023-01-31T13:55:54.354Z] ------------------- [2023-01-31T13:55:54.354Z] experimental info: [2023-01-31T13:55:54.354Z] ------------------- [2023-01-31T13:55:54.354Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-31T13:55:54.354Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-31T13:55:54.354Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-31T13:55:54.535Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-01-31T13:55:54.546Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-01-31T13:55:54.559Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-31T13:55:54.570Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-31T13:55:54.580Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-31T13:55:54.592Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-31T13:55:54.603Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-31T13:55:54.616Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-31T13:55:54.629Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-31T13:55:54.640Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-31T13:55:54.651Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-31T13:55:54.667Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-01-31T13:55:54.680Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-31T13:55:54.692Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-31T13:55:54.704Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-31T13:55:54.715Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-31T13:55:54.724Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-31T13:55:54.737Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-31T13:55:54.749Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-31T13:55:54.761Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-31T13:55:54.774Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-31T13:55:54.785Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-31T13:55:54.795Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-31T13:55:54.812Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-31T13:55:54.824Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-31T13:55:54.836Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-31T13:55:54.847Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-31T13:55:54.859Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-229 [Pipeline] echo [2023-01-31T13:55:54.873Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-229 [Pipeline] echo [2023-01-31T13:55:54.886Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-229 [Pipeline] echo [2023-01-31T13:55:54.898Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 44461bbb6a37b6b2b38bcde41d803a92ddc3be0c [Pipeline] echo [2023-01-31T13:55:54.908Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 44461bb [Pipeline] echo [2023-01-31T13:55:54.918Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-31T13:55:54.962Z] provisioning config files... [2023-01-31T13:55:54.976Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config3217635469603750810tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-31T13:55:55.288Z] ---> docker-login.sh [2023-01-31T13:55:55.288Z] nexus3.edgexfoundry.org:10001 [2023-01-31T13:55:55.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T13:55:55.554Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T13:55:55.554Z] Configure a credential helper to remove this warning. See [2023-01-31T13:55:55.554Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T13:55:55.554Z] [2023-01-31T13:55:55.554Z] Login Succeeded [2023-01-31T13:55:55.554Z] nexus3.edgexfoundry.org:10002 [2023-01-31T13:55:55.554Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T13:55:55.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T13:55:55.815Z] Configure a credential helper to remove this warning. See [2023-01-31T13:55:55.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T13:55:55.815Z] [2023-01-31T13:55:55.815Z] Login Succeeded [2023-01-31T13:55:55.815Z] nexus3.edgexfoundry.org:10003 [2023-01-31T13:55:55.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T13:55:55.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T13:55:55.815Z] Configure a credential helper to remove this warning. See [2023-01-31T13:55:55.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T13:55:55.815Z] [2023-01-31T13:55:55.815Z] Login Succeeded [2023-01-31T13:55:55.815Z] nexus3.edgexfoundry.org:10004 [2023-01-31T13:55:55.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T13:55:55.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T13:55:55.815Z] Configure a credential helper to remove this warning. See [2023-01-31T13:55:55.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T13:55:55.815Z] [2023-01-31T13:55:55.815Z] Login Succeeded [2023-01-31T13:55:56.075Z] docker.io [2023-01-31T13:55:56.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T13:55:56.334Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T13:55:56.334Z] Configure a credential helper to remove this warning. See [2023-01-31T13:55:56.334Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T13:55:56.334Z] [2023-01-31T13:55:56.334Z] Login Succeeded [2023-01-31T13:55:56.334Z] ---> docker-login.sh ends [Pipeline] } [2023-01-31T13:55:56.342Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-31T13:55:56.713Z] + git rev-list -1 --merges 44461bbb6a37b6b2b38bcde41d803a92ddc3be0c~1..44461bbb6a37b6b2b38bcde41d803a92ddc3be0c [Pipeline] echo [2023-01-31T13:55:56.760Z] -----------> git rev-list -1 --merges 44461bbb6a37b6b2b38bcde41d803a92ddc3be0c~1..44461bbb6a37b6b2b38bcde41d803a92ddc3be0c 44461bbb6a37b6b2b38bcde41d803a92ddc3be0c [2023-01-31T13:55:56.760Z] 44461bbb6a37b6b2b38bcde41d803a92ddc3be0c [false] [Pipeline] sh [2023-01-31T13:55:57.046Z] + git log --format=format:%s -1 44461bbb6a37b6b2b38bcde41d803a92ddc3be0c [Pipeline] echo [2023-01-31T13:55:57.060Z] ========================================================= [2023-01-31T13:55:57.060Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-31T13:55:57.060Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-31T13:55:57.376Z] + git log --format=format:%s -1 44461bbb6a37b6b2b38bcde41d803a92ddc3be0c [Pipeline] echo [2023-01-31T13:55:57.388Z] [semverPrep] GIT_COMMIT: 44461bbb6a37b6b2b38bcde41d803a92ddc3be0c, Commit Message: Merge commit '7d8e6f5ecbf08d53345d5c199887d0d319da1d2d' into HEAD [Pipeline] echo [2023-01-31T13:55:57.398Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-31T13:55:57.762Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-31T13:55:57.762Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-31T13:55:57.762Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-31T13:55:57.762Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-31T13:55:57.762Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-31T13:55:57.762Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-31T13:55:57.762Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T13:55:58.117Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-31T13:55:58.117Z] [2023-01-31T13:55:58.117Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T13:55:58.433Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-31T13:55:58.434Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-31T13:55:58.434Z] b85a868b505f: Pulling fs layer [2023-01-31T13:55:58.434Z] e2be974225ed: Pulling fs layer [2023-01-31T13:55:58.434Z] 339a4e72a1f5: Pulling fs layer [2023-01-31T13:55:58.434Z] 988bab9f4d93: Pulling fs layer [2023-01-31T13:55:58.434Z] 1469e6f7b9e6: Pulling fs layer [2023-01-31T13:55:58.434Z] eaf3925da568: Pulling fs layer [2023-01-31T13:55:58.434Z] bab4dde63d76: Pulling fs layer [2023-01-31T13:55:58.434Z] bde34c3a00c8: Pulling fs layer [2023-01-31T13:55:58.434Z] b352a97aabf1: Pulling fs layer [2023-01-31T13:55:58.434Z] 4872d77fe225: Pulling fs layer [2023-01-31T13:55:58.434Z] 5851b861e8e6: Pulling fs layer [2023-01-31T13:55:58.434Z] 988bab9f4d93: Waiting [2023-01-31T13:55:58.434Z] bab4dde63d76: Waiting [2023-01-31T13:55:58.434Z] b352a97aabf1: Waiting [2023-01-31T13:55:58.434Z] 5851b861e8e6: Waiting [2023-01-31T13:55:58.434Z] 4872d77fe225: Waiting [2023-01-31T13:55:58.434Z] 1469e6f7b9e6: Waiting [2023-01-31T13:55:58.434Z] bde34c3a00c8: Waiting [2023-01-31T13:55:58.434Z] eaf3925da568: Waiting [2023-01-31T13:55:58.434Z] e2be974225ed: Verifying Checksum [2023-01-31T13:55:58.434Z] e2be974225ed: Download complete [2023-01-31T13:55:58.434Z] 988bab9f4d93: Verifying Checksum [2023-01-31T13:55:58.434Z] 988bab9f4d93: Download complete [2023-01-31T13:55:59.020Z] 339a4e72a1f5: Verifying Checksum [2023-01-31T13:55:59.020Z] 339a4e72a1f5: Download complete [2023-01-31T13:55:59.020Z] 1469e6f7b9e6: Verifying Checksum [2023-01-31T13:55:59.020Z] 1469e6f7b9e6: Download complete [2023-01-31T13:55:59.020Z] eaf3925da568: Verifying Checksum [2023-01-31T13:55:59.020Z] eaf3925da568: Download complete [2023-01-31T13:55:59.020Z] bde34c3a00c8: Verifying Checksum [2023-01-31T13:55:59.020Z] bde34c3a00c8: Download complete [2023-01-31T13:55:59.020Z] b352a97aabf1: Download complete [2023-01-31T13:55:59.020Z] 4872d77fe225: Verifying Checksum [2023-01-31T13:55:59.020Z] 4872d77fe225: Download complete [2023-01-31T13:55:59.020Z] 5851b861e8e6: Verifying Checksum [2023-01-31T13:55:59.020Z] 5851b861e8e6: Download complete [2023-01-31T13:55:59.020Z] b85a868b505f: Verifying Checksum [2023-01-31T13:55:59.020Z] b85a868b505f: Download complete [2023-01-31T13:55:59.280Z] bab4dde63d76: Verifying Checksum [2023-01-31T13:55:59.280Z] bab4dde63d76: Download complete [2023-01-31T13:56:00.657Z] b85a868b505f: Pull complete [2023-01-31T13:56:00.657Z] e2be974225ed: Pull complete [2023-01-31T13:56:00.916Z] 339a4e72a1f5: Pull complete [2023-01-31T13:56:01.177Z] 988bab9f4d93: Pull complete [2023-01-31T13:56:01.436Z] 1469e6f7b9e6: Pull complete [2023-01-31T13:56:01.436Z] eaf3925da568: Pull complete [2023-01-31T13:56:03.340Z] bab4dde63d76: Pull complete [2023-01-31T13:56:03.340Z] bde34c3a00c8: Pull complete [2023-01-31T13:56:03.340Z] b352a97aabf1: Pull complete [2023-01-31T13:56:03.600Z] 4872d77fe225: Pull complete [2023-01-31T13:56:03.600Z] 5851b861e8e6: Pull complete [2023-01-31T13:56:03.600Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-31T13:56:03.600Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-31T13:56:03.600Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T13:56:03.696Z] prd-ubuntu20.04-docker-8c-8g-4132 does not seem to be running inside a container [2023-01-31T13:56:03.661Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@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-devops/py-git-semver:0.1.4 cat [2023-01-31T13:56:05.553Z] $ docker top 544723404b9ca86240f1dd4490cfbc19c3ca15c195fbdaf8bd552386f1700e96 -eo pid,comm [2023-01-31T13:56:05.679Z] 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-01-31T13:56:05.679Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-31T13:56:05.720Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-31T13:56:05.720Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-31T13:56:05.833Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-31T13:56:05.789Z] $ docker exec 544723404b9ca86240f1dd4490cfbc19c3ca15c195fbdaf8bd552386f1700e96 ssh-agent [2023-01-31T13:56:05.941Z] SSH_AUTH_SOCK=/tmp/ssh-d3feTQmF9PEW/agent.32 [2023-01-31T13:56:05.942Z] SSH_AGENT_PID=38 [2023-01-31T13:56:05.948Z] Running ssh-add (command line suppressed) [2023-01-31T13:56:06.030Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_6398652864147376871.key (/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_6398652864147376871.key) [2023-01-31T13:56:06.104Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-31T13:56:06.411Z] + git tag --points-at HEAD [Pipeline] } [2023-01-31T13:56:06.387Z] $ docker exec --env ******** --env ******** 544723404b9ca86240f1dd4490cfbc19c3ca15c195fbdaf8bd552386f1700e96 ssh-agent -k [2023-01-31T13:56:06.479Z] unset SSH_AUTH_SOCK; [2023-01-31T13:56:06.479Z] unset SSH_AGENT_PID; [2023-01-31T13:56:06.479Z] echo Agent pid 38 killed; [2023-01-31T13:56:06.531Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-31T13:56:06.555Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-31T13:56:06.555Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-31T13:56:06.669Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-31T13:56:06.630Z] $ docker exec 544723404b9ca86240f1dd4490cfbc19c3ca15c195fbdaf8bd552386f1700e96 ssh-agent [2023-01-31T13:56:06.781Z] SSH_AUTH_SOCK=/tmp/ssh-kX19dryMa2P6/agent.70 [2023-01-31T13:56:06.781Z] SSH_AGENT_PID=76 [2023-01-31T13:56:06.785Z] Running ssh-add (command line suppressed) [2023-01-31T13:56:06.860Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_7167950790032740979.key (/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/private_key_7167950790032740979.key) [2023-01-31T13:56:06.914Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-31T13:56:07.200Z] + git semver init [2023-01-31T13:56:07.461Z] 2023-01-31 13:56:07,328 [run_init] DEBUG init version:0.0.0 force:False [2023-01-31T13:56:07.461Z] 2023-01-31 13:56:07,329 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-229/.semver [2023-01-31T13:56:07.461Z] 2023-01-31 13:56:07,330 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-229/.semver [2023-01-31T13:56:07.461Z] 2023-01-31 13:56:07,330 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-229/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-229, universal_newlines=False, shell=None, istream=None) [2023-01-31T13:56:08.843Z] 2023-01-31 13:56:08,388 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-229/.git/info/exclude [2023-01-31T13:56:08.843Z] 2023-01-31 13:56:08,388 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-229/.semver/PR-229 with force:False [2023-01-31T13:56:08.843Z] 2023-01-31 13:56:08,388 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-229/.semver/PR-229 [2023-01-31T13:56:08.843Z] 2023-01-31 13:56:08,392 [execute] INFO git cat-file --batch-check [2023-01-31T13:56:08.843Z] 2023-01-31 13:56:08,393 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-229/.semver, universal_newlines=False, shell=None, istream=) [2023-01-31T13:56:08.843Z] 2023-01-31 13:56:08,399 [execute] INFO git cat-file --batch [2023-01-31T13:56:08.843Z] 2023-01-31 13:56:08,399 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-229/.semver, universal_newlines=False, shell=None, istream=) [2023-01-31T13:56:08.843Z] 2023-01-31 13:56:08,404 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-229/.semver/PR-229 [2023-01-31T13:56:08.843Z] 0.0.0 [Pipeline] } [2023-01-31T13:56:08.824Z] $ docker exec --env ******** --env ******** 544723404b9ca86240f1dd4490cfbc19c3ca15c195fbdaf8bd552386f1700e96 ssh-agent -k [2023-01-31T13:56:08.932Z] unset SSH_AUTH_SOCK; [2023-01-31T13:56:08.932Z] unset SSH_AGENT_PID; [2023-01-31T13:56:08.932Z] echo Agent pid 76 killed; [2023-01-31T13:56:08.972Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-31T13:56:09.270Z] + git semver [Pipeline] } [2023-01-31T13:56:09.520Z] $ docker stop --time=1 544723404b9ca86240f1dd4490cfbc19c3ca15c195fbdaf8bd552386f1700e96 [2023-01-31T13:56:10.812Z] $ docker rm -f --volumes 544723404b9ca86240f1dd4490cfbc19c3ca15c195fbdaf8bd552386f1700e96 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-31T13:56:11.172Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-31T13:56:11.380Z] Stashed 1 file(s) [Pipeline] echo [2023-01-31T13:56:11.384Z] [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-01-31T13:56:11.530Z] provisioning config files... [2023-01-31T13:56:11.538Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config11449668930107335751tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-31T13:56:11.835Z] ---> docker-login.sh [2023-01-31T13:56:11.835Z] nexus3.edgexfoundry.org:10001 [2023-01-31T13:56:11.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T13:56:11.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T13:56:11.835Z] Configure a credential helper to remove this warning. See [2023-01-31T13:56:11.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T13:56:11.835Z] [2023-01-31T13:56:11.835Z] Login Succeeded [2023-01-31T13:56:11.835Z] nexus3.edgexfoundry.org:10002 [2023-01-31T13:56:11.835Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T13:56:11.835Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T13:56:11.835Z] Configure a credential helper to remove this warning. See [2023-01-31T13:56:11.835Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T13:56:11.835Z] [2023-01-31T13:56:11.835Z] Login Succeeded [2023-01-31T13:56:12.096Z] nexus3.edgexfoundry.org:10003 [2023-01-31T13:56:12.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T13:56:12.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T13:56:12.096Z] Configure a credential helper to remove this warning. See [2023-01-31T13:56:12.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T13:56:12.096Z] [2023-01-31T13:56:12.096Z] Login Succeeded [2023-01-31T13:56:12.096Z] nexus3.edgexfoundry.org:10004 [2023-01-31T13:56:12.096Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T13:56:12.096Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T13:56:12.096Z] Configure a credential helper to remove this warning. See [2023-01-31T13:56:12.096Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T13:56:12.096Z] [2023-01-31T13:56:12.096Z] Login Succeeded [2023-01-31T13:56:12.096Z] docker.io [2023-01-31T13:56:12.355Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T13:56:12.614Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T13:56:12.614Z] Configure a credential helper to remove this warning. See [2023-01-31T13:56:12.614Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T13:56:12.614Z] [2023-01-31T13:56:12.614Z] Login Succeeded [2023-01-31T13:56:12.614Z] ---> docker-login.sh ends [Pipeline] } [2023-01-31T13:56:12.622Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-31T13:56:12.677Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-31T13:56:12.688Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-31T13:56:12.695Z] ========================================================= [2023-01-31T13:56:12.695Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-31T13:56:12.695Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T13:56:13.005Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-31T13:56:13.005Z] Sending build context to Docker daemon 10.81MB [2023-01-31T13:56:13.005Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-31T13:56:13.005Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-31T13:56:13.005Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-31T13:56:13.005Z] 213ec9aee27d: Pulling fs layer [2023-01-31T13:56:13.005Z] 4583459ba037: Pulling fs layer [2023-01-31T13:56:13.005Z] 93c1e223e6f2: Pulling fs layer [2023-01-31T13:56:13.005Z] 53926ce57604: Pulling fs layer [2023-01-31T13:56:13.005Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-31T13:56:13.005Z] 22ff95d597cd: Pulling fs layer [2023-01-31T13:56:13.005Z] 12d6caf4c0d1: Pulling fs layer [2023-01-31T13:56:13.005Z] 96b7cbca73a9: Pulling fs layer [2023-01-31T13:56:13.005Z] a7acece74701: Pulling fs layer [2023-01-31T13:56:13.005Z] 53926ce57604: Waiting [2023-01-31T13:56:13.005Z] 21b2b0c7a3f4: Waiting [2023-01-31T13:56:13.005Z] 12d6caf4c0d1: Waiting [2023-01-31T13:56:13.005Z] 22ff95d597cd: Waiting [2023-01-31T13:56:13.005Z] 96b7cbca73a9: Waiting [2023-01-31T13:56:13.005Z] a7acece74701: Waiting [2023-01-31T13:56:13.005Z] 93c1e223e6f2: Verifying Checksum [2023-01-31T13:56:13.005Z] 93c1e223e6f2: Download complete [2023-01-31T13:56:13.005Z] 4583459ba037: Verifying Checksum [2023-01-31T13:56:13.005Z] 4583459ba037: Download complete [2023-01-31T13:56:13.272Z] 21b2b0c7a3f4: Verifying Checksum [2023-01-31T13:56:13.272Z] 21b2b0c7a3f4: Download complete [2023-01-31T13:56:13.272Z] 22ff95d597cd: Download complete [2023-01-31T13:56:13.272Z] 213ec9aee27d: Verifying Checksum [2023-01-31T13:56:13.272Z] 213ec9aee27d: Download complete [2023-01-31T13:56:13.272Z] 12d6caf4c0d1: Download complete [2023-01-31T13:56:13.545Z] 213ec9aee27d: Pull complete [2023-01-31T13:56:13.545Z] 4583459ba037: Pull complete [2023-01-31T13:56:13.545Z] 93c1e223e6f2: Pull complete [2023-01-31T13:56:15.081Z] a7acece74701: Verifying Checksum [2023-01-31T13:56:15.081Z] a7acece74701: Download complete [2023-01-31T13:56:15.081Z] 53926ce57604: Verifying Checksum [2023-01-31T13:56:15.081Z] 53926ce57604: Download complete [2023-01-31T13:56:15.081Z] 96b7cbca73a9: Verifying Checksum [2023-01-31T13:56:15.081Z] 96b7cbca73a9: Download complete [2023-01-31T13:56:19.264Z] 53926ce57604: Pull complete [2023-01-31T13:56:19.264Z] 21b2b0c7a3f4: Pull complete [2023-01-31T13:56:19.264Z] 22ff95d597cd: Pull complete [2023-01-31T13:56:19.264Z] 12d6caf4c0d1: Pull complete [2023-01-31T13:56:21.162Z] 96b7cbca73a9: Pull complete [2023-01-31T13:56:21.729Z] a7acece74701: Pull complete [2023-01-31T13:56:21.729Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-31T13:56:21.729Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-31T13:56:21.729Z] ---> db6d94c90886 [2023-01-31T13:56:21.729Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-31T13:56:25.020Z] ---> Running in 8c13097ea41e [2023-01-31T13:56:25.020Z] Removing intermediate container 8c13097ea41e [2023-01-31T13:56:25.020Z] ---> 750fad81d235 [2023-01-31T13:56:25.020Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-31T13:56:25.280Z] ---> Running in afdbb7f9b3fe [2023-01-31T13:56:25.280Z] Removing intermediate container afdbb7f9b3fe [2023-01-31T13:56:25.280Z] ---> 9b676bd5895b [2023-01-31T13:56:25.280Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-31T13:56:25.280Z] ---> Running in 2bd88b9c1de7 [2023-01-31T13:56:25.280Z] Removing intermediate container 2bd88b9c1de7 [2023-01-31T13:56:25.280Z] ---> 8a3f8d79ae24 [2023-01-31T13:56:25.280Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-31T13:56:25.538Z] ---> Running in 7eccc8352919 [2023-01-31T13:56:25.538Z] Removing intermediate container 7eccc8352919 [2023-01-31T13:56:25.538Z] ---> cac48c1dcd45 [2023-01-31T13:56:25.538Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-31T13:56:25.538Z] ---> Running in bf550c9acca2 [2023-01-31T13:56:25.796Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-31T13:56:26.054Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-31T13:56:26.312Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-31T13:56:26.312Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-31T13:56:26.312Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-31T13:56:26.312Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-31T13:56:26.312Z] Executing busybox-1.35.0-r17.trigger [2023-01-31T13:56:26.312Z] OK: 216 MiB in 55 packages [2023-01-31T13:56:26.492Z] Still waiting to schedule task [2023-01-31T13:56:26.493Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4123’ [2023-01-31T13:56:26.878Z] Removing intermediate container bf550c9acca2 [2023-01-31T13:56:26.878Z] ---> 8ac902e6d2e6 [2023-01-31T13:56:26.878Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-31T13:56:26.878Z] ---> Running in ae4f5b04f580 [2023-01-31T13:56:26.878Z] Removing intermediate container ae4f5b04f580 [2023-01-31T13:56:26.878Z] ---> c1e2390e66bf [2023-01-31T13:56:26.878Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-31T13:56:27.135Z] ---> 9fec0c90f750 [2023-01-31T13:56:27.135Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-31T13:56:27.135Z] ---> Running in e38f855d2e0b [2023-01-31T13:56:53.698Z] Removing intermediate container e38f855d2e0b [2023-01-31T13:56:53.698Z] ---> 89b5c80fb0d2 [2023-01-31T13:56:53.698Z] Step 11/12 : COPY . . [2023-01-31T13:56:53.698Z] ---> 7fe4ce37e103 [2023-01-31T13:56:53.698Z] Step 12/12 : RUN $MAKE [2023-01-31T13:56:53.698Z] ---> Running in 95f351e68d91 [2023-01-31T13:56:53.698Z] noop [2023-01-31T13:56:53.698Z] Removing intermediate container 95f351e68d91 [2023-01-31T13:56:53.698Z] ---> 9adea2b39a26 [2023-01-31T13:56:53.698Z] Successfully built 9adea2b39a26 [2023-01-31T13:56:53.698Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T13:56:54.015Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-31T13:56:54.015Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T13:56:54.087Z] prd-ubuntu20.04-docker-8c-8g-4132 does not seem to be running inside a container [2023-01-31T13:56:54.122Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-31T13:56:54.436Z] $ docker top 491a4ba259255909419852b6856cbd06099afa1f940c23af65c3445cea02d35a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-31T13:56:54.766Z] + go version [2023-01-31T13:56:54.766Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-31T13:56:54.788Z] $ docker stop --time=1 491a4ba259255909419852b6856cbd06099afa1f940c23af65c3445cea02d35a [2023-01-31T13:56:56.073Z] $ docker rm -f --volumes 491a4ba259255909419852b6856cbd06099afa1f940c23af65c3445cea02d35a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T13:56:56.481Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-31T13:56:56.481Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T13:56:56.550Z] prd-ubuntu20.04-docker-8c-8g-4132 does not seem to be running inside a container [2023-01-31T13:56:56.587Z] $ 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-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@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 ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-01-31T13:56:56.900Z] $ docker top c7a68cc19ab6227193c8fa3d91a59a4401222aa5d0afdfad7777561bf317b897 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-31T13:56:57.230Z] + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-229 [Pipeline] fileExists [Pipeline] sh [2023-01-31T13:56:57.523Z] + make test [2023-01-31T13:56:57.523Z] go test ./... -coverprofile=coverage.out ./... [2023-01-31T13:56:57.781Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-01-31T13:57:05.890Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-01-31T13:57:06.149Z] ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.9% of statements [2023-01-31T13:57:12.708Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-01-31T13:57:12.708Z] go vet ./... [2023-01-31T13:57:15.989Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-31T13:57:15.989Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-31T13:57:15.989Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-31T13:57:16.004Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-31T13:57:16.030Z] $ docker stop --time=1 c7a68cc19ab6227193c8fa3d91a59a4401222aa5d0afdfad7777561bf317b897 [2023-01-31T13:57:18.003Z] $ docker rm -f --volumes c7a68cc19ab6227193c8fa3d91a59a4401222aa5d0afdfad7777561bf317b897 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-31T13:57:18.422Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-31T13:57:18.471Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-31T13:57:18.980Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-31T13:57:19.269Z] + ls -al . [2023-01-31T13:57:19.269Z] total 196 [2023-01-31T13:57:19.269Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 31 13:56 . [2023-01-31T13:57:19.269Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 13:55 .. [2023-01-31T13:57:19.269Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 31 13:55 .dockerignore [2023-01-31T13:57:19.269Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 31 13:57 .git [2023-01-31T13:57:19.269Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 31 13:55 .github [2023-01-31T13:57:19.269Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 31 13:55 .gitignore [2023-01-31T13:57:19.269Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 31 13:55 .golangci.yml [2023-01-31T13:57:19.269Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 31 13:56 .semver [2023-01-31T13:57:19.269Z] -rw-rw-r-- 1 jenkins jenkins 8996 Jan 31 13:55 Attribution.txt [2023-01-31T13:57:19.269Z] -rw-rw-r-- 1 jenkins jenkins 13085 Jan 31 13:55 CHANGELOG.md [2023-01-31T13:57:19.269Z] -rw-rw-r-- 1 jenkins jenkins 1578 Jan 31 13:55 Dockerfile [2023-01-31T13:57:19.269Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 31 13:55 GOVERNANCE.md [2023-01-31T13:57:19.269Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 31 13:55 Jenkinsfile [2023-01-31T13:57:19.269Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 31 13:55 LICENSE [2023-01-31T13:57:19.269Z] -rw-rw-r-- 1 jenkins jenkins 1744 Jan 31 13:55 Makefile [2023-01-31T13:57:19.269Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 31 13:55 OWNERS.md [2023-01-31T13:57:19.269Z] -rw-rw-r-- 1 jenkins jenkins 15447 Jan 31 13:55 README.md [2023-01-31T13:57:19.269Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 31 13:56 VERSION [2023-01-31T13:57:19.269Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 31 13:55 bin [2023-01-31T13:57:19.269Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 31 13:55 cmd [2023-01-31T13:57:19.269Z] -rw-r--r-- 1 jenkins jenkins 13744 Jan 31 13:57 coverage.out [2023-01-31T13:57:19.269Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 31 13:55 driver [2023-01-31T13:57:19.269Z] -rw-rw-r-- 1 jenkins jenkins 3488 Jan 31 13:55 go.mod [2023-01-31T13:57:19.269Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 31 13:55 go.sum [2023-01-31T13:57:19.269Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 13:55 snap [2023-01-31T13:57:19.269Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 31 13:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T13:57:19.576Z] + 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=44461bbb6a37b6b2b38bcde41d803a92ddc3be0c --label arch=amd64 --label version=0.0.0 . [2023-01-31T13:57:19.576Z] Sending build context to Docker daemon 10.83MB [2023-01-31T13:57:19.576Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-31T13:57:19.576Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-31T13:57:19.576Z] ---> 9adea2b39a26 [2023-01-31T13:57:19.576Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-31T13:57:19.833Z] ---> Running in 4384c7a8d634 [2023-01-31T13:57:19.833Z] Removing intermediate container 4384c7a8d634 [2023-01-31T13:57:19.833Z] ---> 932178501e38 [2023-01-31T13:57:19.833Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-31T13:57:19.833Z] ---> Running in c747b500c2db [2023-01-31T13:57:19.833Z] Removing intermediate container c747b500c2db [2023-01-31T13:57:19.833Z] ---> d6ffe48a8a5f [2023-01-31T13:57:19.833Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-31T13:57:19.833Z] ---> Running in 88c9ec260674 [2023-01-31T13:57:20.092Z] Removing intermediate container 88c9ec260674 [2023-01-31T13:57:20.092Z] ---> 0058e3acdf86 [2023-01-31T13:57:20.092Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-31T13:57:20.092Z] ---> Running in 82beb3984d57 [2023-01-31T13:57:20.092Z] Removing intermediate container 82beb3984d57 [2023-01-31T13:57:20.092Z] ---> 4c229092f161 [2023-01-31T13:57:20.092Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-31T13:57:20.092Z] ---> Running in f6dfc2f1faa6 [2023-01-31T13:57:20.350Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-31T13:57:20.611Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-31T13:57:20.869Z] OK: 216 MiB in 55 packages [2023-01-31T13:57:21.128Z] Removing intermediate container f6dfc2f1faa6 [2023-01-31T13:57:21.128Z] ---> a56de8825c1a [2023-01-31T13:57:21.128Z] Step 8/25 : WORKDIR /device-rest-go [2023-01-31T13:57:21.128Z] ---> Running in b24cbb041862 [2023-01-31T13:57:21.128Z] Removing intermediate container b24cbb041862 [2023-01-31T13:57:21.128Z] ---> 1b1e5930deb3 [2023-01-31T13:57:21.128Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-31T13:57:21.389Z] ---> c0a2ebf7780e [2023-01-31T13:57:21.389Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-31T13:57:21.389Z] ---> Running in f8f6c7adf471 [2023-01-31T13:57:21.960Z] Removing intermediate container f8f6c7adf471 [2023-01-31T13:57:21.960Z] ---> 1405fd42d8f9 [2023-01-31T13:57:21.960Z] Step 11/25 : COPY . . [2023-01-31T13:57:22.220Z] ---> 10585c2854a3 [2023-01-31T13:57:22.220Z] Step 12/25 : RUN $MAKE [2023-01-31T13:57:22.220Z] ---> Running in 2f3faba6a9ac [2023-01-31T13:57:22.479Z] 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-01-31T13:57:44.403Z] Removing intermediate container 2f3faba6a9ac [2023-01-31T13:57:44.403Z] ---> cd01c19e7cec [2023-01-31T13:57:44.403Z] Step 13/25 : FROM alpine:3.16 [2023-01-31T13:57:44.403Z] 3.16: Pulling from library/alpine [2023-01-31T13:57:44.403Z] ca7dd9ec2225: Pulling fs layer [2023-01-31T13:57:44.403Z] ca7dd9ec2225: Verifying Checksum [2023-01-31T13:57:44.403Z] ca7dd9ec2225: Download complete [2023-01-31T13:57:44.403Z] ca7dd9ec2225: Pull complete [2023-01-31T13:57:44.403Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-31T13:57:44.403Z] Status: Downloaded newer image for alpine:3.16 [2023-01-31T13:57:44.403Z] ---> bfe296a52501 [2023-01-31T13:57:44.403Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-31T13:57:44.403Z] ---> Running in 78e0001b8290 [2023-01-31T13:57:44.403Z] Removing intermediate container 78e0001b8290 [2023-01-31T13:57:44.403Z] ---> 64f57327e060 [2023-01-31T13:57:44.403Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-01-31T13:57:44.403Z] ---> Running in 6ede5cf7b10d [2023-01-31T13:57:44.403Z] Removing intermediate container 6ede5cf7b10d [2023-01-31T13:57:44.403Z] ---> 9ce085d1c595 [2023-01-31T13:57:44.403Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-01-31T13:57:44.403Z] ---> Running in 88bd6faf4c67 [2023-01-31T13:57:44.403Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-31T13:57:44.403Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-31T13:57:44.403Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-31T13:57:44.403Z] Executing busybox-1.35.0-r17.trigger [2023-01-31T13:57:44.403Z] OK: 6 MiB in 15 packages [2023-01-31T13:57:44.403Z] Removing intermediate container 88bd6faf4c67 [2023-01-31T13:57:44.403Z] ---> d7dce94bf5b6 [2023-01-31T13:57:44.403Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-01-31T13:57:44.403Z] ---> d5a9282c1b01 [2023-01-31T13:57:44.403Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-01-31T13:57:44.403Z] ---> 320d6f26b8bb [2023-01-31T13:57:44.403Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-01-31T13:57:44.662Z] ---> 06a98c4c62f5 [2023-01-31T13:57:44.662Z] Step 20/25 : EXPOSE 59986 [2023-01-31T13:57:44.662Z] ---> Running in 9db35afcc0df [2023-01-31T13:57:44.662Z] Removing intermediate container 9db35afcc0df [2023-01-31T13:57:44.662Z] ---> 2a8bd60961c8 [2023-01-31T13:57:44.662Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-01-31T13:57:44.662Z] ---> Running in ed5e1034cb6d [2023-01-31T13:57:44.662Z] Removing intermediate container ed5e1034cb6d [2023-01-31T13:57:44.662Z] ---> 27d35b366833 [2023-01-31T13:57:44.662Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-31T13:57:44.662Z] ---> Running in fb93f06a8c26 [2023-01-31T13:57:44.662Z] Removing intermediate container fb93f06a8c26 [2023-01-31T13:57:44.662Z] ---> 78721fa7dda1 [2023-01-31T13:57:44.662Z] Step 23/25 : LABEL arch=amd64 [2023-01-31T13:57:44.920Z] ---> Running in 3d630d4dc96c [2023-01-31T13:57:44.920Z] Removing intermediate container 3d630d4dc96c [2023-01-31T13:57:44.920Z] ---> bf3341d2cf07 [2023-01-31T13:57:44.920Z] Step 24/25 : LABEL git_sha=44461bbb6a37b6b2b38bcde41d803a92ddc3be0c [2023-01-31T13:57:44.920Z] ---> Running in 9dccfd1b6b59 [2023-01-31T13:57:44.920Z] Removing intermediate container 9dccfd1b6b59 [2023-01-31T13:57:44.920Z] ---> a17d7a0ad770 [2023-01-31T13:57:44.920Z] Step 25/25 : LABEL version=0.0.0 [2023-01-31T13:57:44.920Z] ---> Running in b70c29170b0e [2023-01-31T13:57:44.920Z] Removing intermediate container b70c29170b0e [2023-01-31T13:57:44.920Z] ---> 2ec622806821 [2023-01-31T13:57:44.920Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-31T13:57:45.180Z] Successfully built 2ec622806821 [2023-01-31T13:57:45.180Z] 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-01-31T13:57:45.606Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-31T13:57:45.606Z] [2023-01-31T13:57:45.606Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T13:57:45.915Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-31T13:57:45.915Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-31T13:57:45.915Z] 5eb5b503b376: Pulling fs layer [2023-01-31T13:57:45.915Z] 5c69ac0246d0: Pulling fs layer [2023-01-31T13:57:45.915Z] ec43610c2a17: Pulling fs layer [2023-01-31T13:57:45.915Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-31T13:57:45.915Z] 33b1e0a273af: Pulling fs layer [2023-01-31T13:57:45.915Z] 5d3b04190fa2: Pulling fs layer [2023-01-31T13:57:45.915Z] 2f39f015ded8: Pulling fs layer [2023-01-31T13:57:45.915Z] 3a2ae6a8a46f: Waiting [2023-01-31T13:57:45.915Z] 33b1e0a273af: Waiting [2023-01-31T13:57:45.915Z] 5d3b04190fa2: Waiting [2023-01-31T13:57:45.915Z] 2f39f015ded8: Waiting [2023-01-31T13:57:45.915Z] 5c69ac0246d0: Download complete [2023-01-31T13:57:45.915Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-31T13:57:45.915Z] 3a2ae6a8a46f: Download complete [2023-01-31T13:57:46.182Z] 33b1e0a273af: Verifying Checksum [2023-01-31T13:57:46.182Z] 33b1e0a273af: Download complete [2023-01-31T13:57:46.182Z] 5d3b04190fa2: Verifying Checksum [2023-01-31T13:57:46.182Z] 5d3b04190fa2: Download complete [2023-01-31T13:57:46.182Z] ec43610c2a17: Verifying Checksum [2023-01-31T13:57:46.182Z] ec43610c2a17: Download complete [2023-01-31T13:57:46.445Z] 5eb5b503b376: Verifying Checksum [2023-01-31T13:57:47.011Z] 2f39f015ded8: Download complete [2023-01-31T13:57:47.577Z] 5eb5b503b376: Pull complete [2023-01-31T13:57:47.577Z] 5c69ac0246d0: Pull complete [2023-01-31T13:57:48.155Z] ec43610c2a17: Pull complete [2023-01-31T13:57:48.155Z] 3a2ae6a8a46f: Pull complete [2023-01-31T13:57:48.155Z] 33b1e0a273af: Pull complete [2023-01-31T13:57:48.155Z] 5d3b04190fa2: Pull complete [2023-01-31T13:57:52.339Z] 2f39f015ded8: Pull complete [2023-01-31T13:57:52.339Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-31T13:57:52.339Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-31T13:57:52.339Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T13:57:52.425Z] prd-ubuntu20.04-docker-8c-8g-4132 does not seem to be running inside a container [2023-01-31T13:57:52.472Z] $ 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-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-31T13:57:54.917Z] $ docker top d991d23b0bc7a7f4390cc39b19dcd4c82616d0c0a187371d0f4b7f35f74d8868 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-31T13:57:55.284Z] ---> job-cost.sh [2023-01-31T13:57:55.284Z] lf-activate-venv: SKIPPING [2023-01-31T13:57:55.284Z] INFO: No Stack... [2023-01-31T13:57:55.543Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-31T13:57:55.801Z] INFO: Archiving Costs [Pipeline] sh [2023-01-31T13:57:56.087Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-229/archives/cost.csv [2023-01-31T13:57:56.087Z] + cut -d, -f6 [Pipeline] lock [2023-01-31T13:57:56.103Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-229-16-stack-cost] [2023-01-31T13:57:56.110Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-229-16-stack-cost] did not exist. Created. [2023-01-31T13:57:56.111Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-229-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-31T13:57:56.475Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-31T13:57:56.499Z] Stashed 1 file(s) [Pipeline] } [2023-01-31T13:57:56.505Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-229-16-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-31T13:57:56.543Z] $ docker stop --time=1 d991d23b0bc7a7f4390cc39b19dcd4c82616d0c0a187371d0f4b7f35f74d8868 [2023-01-31T13:57:57.685Z] $ docker rm -f --volumes d991d23b0bc7a7f4390cc39b19dcd4c82616d0c0a187371d0f4b7f35f74d8868 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-31T13:59:52.699Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4133 in /w/workspace/gexfoundry_device-rest-go_PR-229 [Pipeline] { [Pipeline] ws [2023-01-31T13:59:52.712Z] Running in /w/workspace/device-rest-go/16 [Pipeline] { [Pipeline] checkout [2023-01-31T13:59:52.746Z] The recommended git tool is: git [2023-01-31T13:59:58.058Z] using credential edgex-jenkins-ssh [2023-01-31T13:59:58.075Z] Cloning the remote Git repository [2023-01-31T13:59:58.120Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-01-31T13:59:58.194Z] > git init /w/workspace/device-rest-go/16 # timeout=10 [2023-01-31T13:59:58.344Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-01-31T13:59:58.345Z] > git --version # timeout=10 [2023-01-31T13:59:58.365Z] > git --version # 'git version 2.25.1' [2023-01-31T13:59:58.367Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-31T13:59:58.425Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-31T14:00:00.244Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-01-31T14:00:00.265Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-31T14:00:01.083Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-01-31T14:00:01.125Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-01-31T14:00:01.126Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-31T14:00:01.143Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/229/head:refs/remotes/origin/PR-229 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2023-01-31T14:00:02.265Z] Merging remotes/origin/main commit 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d into PR head commit ece7ffade000858fee4541ef3a3e1d788d5f8f01 [2023-01-31T14:00:02.516Z] Merge succeeded, producing b3061b699f3c9b8a45a238e5d152677544cbe720 [2023-01-31T14:00:02.517Z] Checking out Revision b3061b699f3c9b8a45a238e5d152677544cbe720 (PR-229) [2023-01-31T14:00:02.281Z] > git config core.sparsecheckout # timeout=10 [2023-01-31T14:00:02.311Z] > git checkout -f ece7ffade000858fee4541ef3a3e1d788d5f8f01 # timeout=10 [2023-01-31T14:00:02.388Z] > git remote # timeout=10 [2023-01-31T14:00:02.404Z] > git config --get remote.origin.url # timeout=10 [2023-01-31T14:00:02.420Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-31T14:00:02.431Z] > git merge 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d # timeout=10 [2023-01-31T14:00:02.495Z] > git rev-parse HEAD^{commit} # timeout=10 [2023-01-31T14:00:02.522Z] > git config core.sparsecheckout # timeout=10 [2023-01-31T14:00:02.537Z] > git checkout -f b3061b699f3c9b8a45a238e5d152677544cbe720 # timeout=10 [2023-01-31T14:00:05.985Z] Commit message: "Merge commit '7d8e6f5ecbf08d53345d5c199887d0d319da1d2d' into HEAD" [2023-01-31T14:00:06.007Z] First time build. Skipping changelog. [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-31T14:00:07.255Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-31T14:00:07.255Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-31T14:00:07.255Z] Dload Upload Total Spent Left Speed [2023-01-31T14:00:07.255Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 75898 0 --:--:-- --:--:-- --:--:-- 76353 [Pipeline] sh [2023-01-31T14:00:05.990Z] > git rev-list --no-walk 9ee4829bfbebd90a491c140a2f85133524a62f18 # timeout=10 [2023-01-31T14:00:07.876Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-31T14:00:08.201Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-31T14:00:08.201Z] + sudo tee /etc/docker/daemon.new [2023-01-31T14:00:08.201Z] { [2023-01-31T14:00:08.201Z] "registry-mirrors": [ [2023-01-31T14:00:08.201Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-31T14:00:08.201Z] ], [2023-01-31T14:00:08.201Z] "bip": "10.250.0.254/24", [2023-01-31T14:00:08.201Z] "hosts": [ [2023-01-31T14:00:08.201Z] "tcp://0.0.0.0:5555", [2023-01-31T14:00:08.201Z] "unix:///var/run/docker.sock" [2023-01-31T14:00:08.201Z] ], [2023-01-31T14:00:08.201Z] "mtu": 1458, [2023-01-31T14:00:08.201Z] "selinux-enabled": true, [2023-01-31T14:00:08.201Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-31T14:00:08.201Z] } [Pipeline] sh [2023-01-31T14:00:08.593Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-31T14:00:08.966Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-31T14:00:27.212Z] provisioning config files... [2023-01-31T14:00:27.234Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/16@tmp/config2747300415627776664tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-31T14:00:27.576Z] ---> docker-login.sh [2023-01-31T14:00:27.576Z] nexus3.edgexfoundry.org:10001 [2023-01-31T14:00:27.842Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T14:00:28.111Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T14:00:28.111Z] Configure a credential helper to remove this warning. See [2023-01-31T14:00:28.111Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T14:00:28.111Z] [2023-01-31T14:00:28.111Z] Login Succeeded [2023-01-31T14:00:28.111Z] nexus3.edgexfoundry.org:10002 [2023-01-31T14:00:28.382Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T14:00:28.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T14:00:28.651Z] Configure a credential helper to remove this warning. See [2023-01-31T14:00:28.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T14:00:28.651Z] [2023-01-31T14:00:28.651Z] Login Succeeded [2023-01-31T14:00:28.651Z] nexus3.edgexfoundry.org:10003 [2023-01-31T14:00:28.920Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T14:00:28.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T14:00:28.920Z] Configure a credential helper to remove this warning. See [2023-01-31T14:00:28.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T14:00:28.920Z] [2023-01-31T14:00:28.920Z] Login Succeeded [2023-01-31T14:00:28.920Z] nexus3.edgexfoundry.org:10004 [2023-01-31T14:00:29.190Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T14:00:29.190Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T14:00:29.190Z] Configure a credential helper to remove this warning. See [2023-01-31T14:00:29.190Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T14:00:29.190Z] [2023-01-31T14:00:29.190Z] Login Succeeded [2023-01-31T14:00:29.190Z] docker.io [2023-01-31T14:00:29.459Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T14:00:29.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T14:00:29.725Z] Configure a credential helper to remove this warning. See [2023-01-31T14:00:29.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T14:00:29.725Z] [2023-01-31T14:00:29.725Z] Login Succeeded [2023-01-31T14:00:29.725Z] ---> docker-login.sh ends [Pipeline] } [2023-01-31T14:00:29.739Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-31T14:00:29.983Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-31T14:00:30.002Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-31T14:00:30.018Z] ========================================================= [2023-01-31T14:00:30.018Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-31T14:00:30.018Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T14:00:30.353Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-01-31T14:00:30.354Z] Sending build context to Docker daemon 142.8kB [2023-01-31T14:00:30.623Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-31T14:00:30.623Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-31T14:00:30.623Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-31T14:00:30.623Z] 9b18e9b68314: Pulling fs layer [2023-01-31T14:00:30.623Z] 35d82f9e3411: Pulling fs layer [2023-01-31T14:00:30.623Z] e16973657156: Pulling fs layer [2023-01-31T14:00:30.623Z] fc693d55d65f: Pulling fs layer [2023-01-31T14:00:30.623Z] 7e9fc2657dce: Pulling fs layer [2023-01-31T14:00:30.623Z] dda99020689f: Pulling fs layer [2023-01-31T14:00:30.623Z] db1c61fa0a46: Pulling fs layer [2023-01-31T14:00:30.623Z] 891c053d2c06: Pulling fs layer [2023-01-31T14:00:30.623Z] fc693d55d65f: Waiting [2023-01-31T14:00:30.623Z] 7e9fc2657dce: Waiting [2023-01-31T14:00:30.623Z] dda99020689f: Waiting [2023-01-31T14:00:30.623Z] 891c053d2c06: Waiting [2023-01-31T14:00:30.623Z] db1c61fa0a46: Waiting [2023-01-31T14:00:30.623Z] e16973657156: Download complete [2023-01-31T14:00:30.623Z] 35d82f9e3411: Verifying Checksum [2023-01-31T14:00:30.623Z] 35d82f9e3411: Download complete [2023-01-31T14:00:30.623Z] 7e9fc2657dce: Verifying Checksum [2023-01-31T14:00:30.623Z] 7e9fc2657dce: Download complete [2023-01-31T14:00:30.893Z] dda99020689f: Verifying Checksum [2023-01-31T14:00:30.893Z] dda99020689f: Download complete [2023-01-31T14:00:30.893Z] 9b18e9b68314: Verifying Checksum [2023-01-31T14:00:30.893Z] 9b18e9b68314: Download complete [2023-01-31T14:00:31.886Z] 9b18e9b68314: Pull complete [2023-01-31T14:00:31.886Z] 891c053d2c06: Verifying Checksum [2023-01-31T14:00:31.886Z] 891c053d2c06: Download complete [2023-01-31T14:00:32.493Z] 35d82f9e3411: Pull complete [2023-01-31T14:00:32.762Z] e16973657156: Pull complete [2023-01-31T14:00:33.032Z] db1c61fa0a46: Download complete [2023-01-31T14:00:33.998Z] fc693d55d65f: Verifying Checksum [2023-01-31T14:00:33.998Z] fc693d55d65f: Download complete [2023-01-31T14:00:46.324Z] fc693d55d65f: Pull complete [2023-01-31T14:00:46.324Z] 7e9fc2657dce: Pull complete [2023-01-31T14:00:46.324Z] dda99020689f: Pull complete [2023-01-31T14:00:52.985Z] db1c61fa0a46: Pull complete [2023-01-31T14:00:54.409Z] 891c053d2c06: Pull complete [2023-01-31T14:00:54.409Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-31T14:00:54.409Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-31T14:00:54.409Z] ---> f96f9c87975a [2023-01-31T14:00:54.409Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-31T14:00:56.445Z] ---> Running in 2b7f4bfb2419 [2023-01-31T14:00:56.445Z] Removing intermediate container 2b7f4bfb2419 [2023-01-31T14:00:56.445Z] ---> 859d0904dca5 [2023-01-31T14:00:56.445Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-31T14:00:56.445Z] ---> Running in e7b3acf120b9 [2023-01-31T14:00:57.028Z] Removing intermediate container e7b3acf120b9 [2023-01-31T14:00:57.028Z] ---> 020486e4e7fb [2023-01-31T14:00:57.028Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-31T14:00:57.028Z] ---> Running in 2778b2ea417b [2023-01-31T14:00:57.297Z] Removing intermediate container 2778b2ea417b [2023-01-31T14:00:57.297Z] ---> b555e2b4e15d [2023-01-31T14:00:57.297Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-31T14:00:57.297Z] ---> Running in 6a5bcd67c23d [2023-01-31T14:00:57.565Z] Removing intermediate container 6a5bcd67c23d [2023-01-31T14:00:57.565Z] ---> f3c45a262d6e [2023-01-31T14:00:57.565Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-31T14:00:57.831Z] ---> Running in cd348c62427b [2023-01-31T14:00:58.791Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-31T14:00:59.058Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-31T14:01:00.022Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-31T14:01:00.022Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-31T14:01:00.022Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-31T14:01:00.022Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-31T14:01:00.303Z] Executing busybox-1.35.0-r17.trigger [2023-01-31T14:01:00.303Z] OK: 226 MiB in 55 packages [2023-01-31T14:01:01.264Z] Removing intermediate container cd348c62427b [2023-01-31T14:01:01.264Z] ---> 0a95a315a103 [2023-01-31T14:01:01.264Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-31T14:01:01.264Z] ---> Running in dbd1b9902c67 [2023-01-31T14:01:01.532Z] Removing intermediate container dbd1b9902c67 [2023-01-31T14:01:01.532Z] ---> 9f1e12947f78 [2023-01-31T14:01:01.532Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-31T14:01:02.115Z] ---> f9cc83e8c153 [2023-01-31T14:01:02.115Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-31T14:01:02.115Z] ---> Running in 06d58d678262 [2023-01-31T14:02:10.014Z] Removing intermediate container 06d58d678262 [2023-01-31T14:02:10.014Z] ---> c92d0f5ccdec [2023-01-31T14:02:10.014Z] Step 11/12 : COPY . . [2023-01-31T14:02:10.014Z] ---> 1dc612b08e2c [2023-01-31T14:02:10.014Z] Step 12/12 : RUN $MAKE [2023-01-31T14:02:10.014Z] ---> Running in b47e4c1e5fbb [2023-01-31T14:02:10.014Z] noop [2023-01-31T14:02:10.014Z] Removing intermediate container b47e4c1e5fbb [2023-01-31T14:02:10.014Z] ---> 001b7031e92f [2023-01-31T14:02:10.014Z] Successfully built 001b7031e92f [2023-01-31T14:02:10.014Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T14:02:10.375Z] + docker inspect -f . ci-base-image-arm64 [2023-01-31T14:02:10.375Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T14:02:10.572Z] prd-ubuntu20.04-docker-arm64-4c-16g-4133 does not seem to be running inside a container [2023-01-31T14:02:10.642Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/16 -v /w/workspace/device-rest-go/16:/w/workspace/device-rest-go/16:rw,z -v /w/workspace/device-rest-go/16@tmp:/w/workspace/device-rest-go/16@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-31T14:02:11.834Z] $ docker top a1adfac80371103104bef0b3e45800b1597263dc3855643689cb160ecc880515 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-31T14:02:12.645Z] + go version [2023-01-31T14:02:12.645Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-31T14:02:12.668Z] $ docker stop --time=1 a1adfac80371103104bef0b3e45800b1597263dc3855643689cb160ecc880515 [2023-01-31T14:02:14.273Z] $ docker rm -f --volumes a1adfac80371103104bef0b3e45800b1597263dc3855643689cb160ecc880515 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T14:02:14.822Z] + docker inspect -f . ci-base-image-arm64 [2023-01-31T14:02:14.822Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T14:02:14.996Z] prd-ubuntu20.04-docker-arm64-4c-16g-4133 does not seem to be running inside a container [2023-01-31T14:02:15.063Z] $ 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/16 -v /w/workspace/device-rest-go/16:/w/workspace/device-rest-go/16:rw,z -v /w/workspace/device-rest-go/16@tmp:/w/workspace/device-rest-go/16@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 ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-01-31T14:02:16.205Z] $ docker top cc6378fce6afe715724180aa3fec5bdca1df8bc8d4dc18dffb889ef61c9c3416 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-31T14:02:17.036Z] + git config --global --add safe.directory /w/workspace/device-rest-go/16 [Pipeline] fileExists [Pipeline] sh [2023-01-31T14:02:17.368Z] + make test [2023-01-31T14:02:17.368Z] go test ./... -coverprofile=coverage.out ./... [2023-01-31T14:02:19.316Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-01-31T14:03:41.019Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-01-31T14:03:41.019Z] ok github.com/edgexfoundry/device-rest-go/driver 0.062s coverage: 33.9% of statements [2023-01-31T14:03:41.019Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-31T14:03:41.019Z] go vet ./... [2023-01-31T14:03:59.216Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-31T14:03:59.216Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-31T14:03:59.216Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-31T14:03:59.235Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-31T14:03:59.254Z] $ docker stop --time=1 cc6378fce6afe715724180aa3fec5bdca1df8bc8d4dc18dffb889ef61c9c3416 [2023-01-31T14:04:01.650Z] $ docker rm -f --volumes cc6378fce6afe715724180aa3fec5bdca1df8bc8d4dc18dffb889ef61c9c3416 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-31T14:04:02.682Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-31T14:04:02.707Z] Warning: overwriting stash ‘coverage-report’ [2023-01-31T14:04:03.246Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-31T14:04:03.633Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-31T14:04:03.947Z] + ls -al . [2023-01-31T14:04:03.947Z] total 192 [2023-01-31T14:04:03.947Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 31 14:02 . [2023-01-31T14:04:03.947Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 13:59 .. [2023-01-31T14:04:03.947Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 31 14:00 .dockerignore [2023-01-31T14:04:03.947Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 31 14:00 .git [2023-01-31T14:04:03.947Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 31 14:00 .github [2023-01-31T14:04:03.947Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 31 14:00 .gitignore [2023-01-31T14:04:03.947Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 31 14:00 .golangci.yml [2023-01-31T14:04:03.947Z] -rw-rw-r-- 1 jenkins jenkins 8996 Jan 31 14:00 Attribution.txt [2023-01-31T14:04:03.947Z] -rw-rw-r-- 1 jenkins jenkins 13085 Jan 31 14:00 CHANGELOG.md [2023-01-31T14:04:03.947Z] -rw-rw-r-- 1 jenkins jenkins 1578 Jan 31 14:00 Dockerfile [2023-01-31T14:04:03.947Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 31 14:00 GOVERNANCE.md [2023-01-31T14:04:03.947Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 31 14:00 Jenkinsfile [2023-01-31T14:04:03.947Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 31 14:00 LICENSE [2023-01-31T14:04:03.947Z] -rw-rw-r-- 1 jenkins jenkins 1744 Jan 31 14:00 Makefile [2023-01-31T14:04:03.947Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 31 14:00 OWNERS.md [2023-01-31T14:04:03.947Z] -rw-rw-r-- 1 jenkins jenkins 15447 Jan 31 14:00 README.md [2023-01-31T14:04:03.947Z] -rw-rw-r-- 1 jenkins jenkins 5 Jan 31 13:56 VERSION [2023-01-31T14:04:03.947Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 31 14:00 bin [2023-01-31T14:04:03.947Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 31 14:00 cmd [2023-01-31T14:04:03.947Z] -rw-r--r-- 1 jenkins jenkins 13744 Jan 31 14:03 coverage.out [2023-01-31T14:04:03.947Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 31 14:00 driver [2023-01-31T14:04:03.947Z] -rw-rw-r-- 1 jenkins jenkins 3488 Jan 31 14:00 go.mod [2023-01-31T14:04:03.947Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 31 14:00 go.sum [2023-01-31T14:04:03.947Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 14:00 snap [2023-01-31T14:04:03.947Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 31 14:00 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T14:04:04.282Z] + 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=b3061b699f3c9b8a45a238e5d152677544cbe720 --label arch=arm64 --label version=0.0.0 . [2023-01-31T14:04:04.283Z] Sending build context to Docker daemon 157.2kB [2023-01-31T14:04:04.551Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-31T14:04:04.551Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-31T14:04:04.551Z] ---> 001b7031e92f [2023-01-31T14:04:04.551Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-31T14:04:04.551Z] ---> Running in 721650424e9d [2023-01-31T14:04:04.819Z] Removing intermediate container 721650424e9d [2023-01-31T14:04:04.819Z] ---> c6a687c34738 [2023-01-31T14:04:04.819Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-31T14:04:05.087Z] ---> Running in eadb292f7b32 [2023-01-31T14:04:05.353Z] Removing intermediate container eadb292f7b32 [2023-01-31T14:04:05.353Z] ---> 2d250231eab7 [2023-01-31T14:04:05.353Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-31T14:04:05.353Z] ---> Running in 53916a93a753 [2023-01-31T14:04:05.619Z] Removing intermediate container 53916a93a753 [2023-01-31T14:04:05.619Z] ---> 418223a445d4 [2023-01-31T14:04:05.619Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-31T14:04:05.619Z] ---> Running in 1cce6f517380 [2023-01-31T14:04:06.028Z] Removing intermediate container 1cce6f517380 [2023-01-31T14:04:06.028Z] ---> e07688b8d96e [2023-01-31T14:04:06.028Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-31T14:04:06.028Z] ---> Running in 4db3289b64f6 [2023-01-31T14:04:07.053Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-31T14:04:07.931Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-31T14:04:08.519Z] OK: 226 MiB in 55 packages [2023-01-31T14:04:09.489Z] Removing intermediate container 4db3289b64f6 [2023-01-31T14:04:09.489Z] ---> 98fb45bee012 [2023-01-31T14:04:09.489Z] Step 8/25 : WORKDIR /device-rest-go [2023-01-31T14:04:09.489Z] ---> Running in 8d79bff02acd [2023-01-31T14:04:09.762Z] Removing intermediate container 8d79bff02acd [2023-01-31T14:04:09.762Z] ---> 1fbe46b8f5c5 [2023-01-31T14:04:09.762Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-31T14:04:10.350Z] ---> a84c420796e1 [2023-01-31T14:04:10.350Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-31T14:04:10.350Z] ---> Running in f1678ea3088a [2023-01-31T14:04:12.314Z] Removing intermediate container f1678ea3088a [2023-01-31T14:04:12.314Z] ---> f83b576323f2 [2023-01-31T14:04:12.314Z] Step 11/25 : COPY . . [2023-01-31T14:04:14.264Z] ---> 6df5c89c7578 [2023-01-31T14:04:14.264Z] Step 12/25 : RUN $MAKE [2023-01-31T14:04:14.264Z] ---> Running in 33fdea4ffb57 [2023-01-31T14:04:15.229Z] 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-01-31T14:06:36.943Z] Removing intermediate container 33fdea4ffb57 [2023-01-31T14:06:36.943Z] ---> 5d0b56f1e072 [2023-01-31T14:06:36.943Z] Step 13/25 : FROM alpine:3.16 [2023-01-31T14:06:36.943Z] 3.16: Pulling from library/alpine [2023-01-31T14:06:36.943Z] 6875df1f5354: Pulling fs layer [2023-01-31T14:06:36.943Z] 6875df1f5354: Verifying Checksum [2023-01-31T14:06:36.943Z] 6875df1f5354: Download complete [2023-01-31T14:06:36.943Z] 6875df1f5354: Pull complete [2023-01-31T14:06:36.943Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-31T14:06:36.943Z] Status: Downloaded newer image for alpine:3.16 [2023-01-31T14:06:36.943Z] ---> 2b4661558fb8 [2023-01-31T14:06:36.943Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-31T14:06:36.943Z] ---> Running in dfc9acc4f3a2 [2023-01-31T14:06:36.943Z] Removing intermediate container dfc9acc4f3a2 [2023-01-31T14:06:36.943Z] ---> e7bf83c7b5f5 [2023-01-31T14:06:36.943Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-01-31T14:06:36.943Z] ---> Running in 6f5f25e170af [2023-01-31T14:06:36.943Z] Removing intermediate container 6f5f25e170af [2023-01-31T14:06:36.943Z] ---> 81b56e412ca7 [2023-01-31T14:06:36.943Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-01-31T14:06:36.943Z] ---> Running in bf44e26896de [2023-01-31T14:06:36.943Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-31T14:06:36.943Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-31T14:06:36.943Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-31T14:06:36.943Z] Executing busybox-1.35.0-r17.trigger [2023-01-31T14:06:36.943Z] OK: 5 MiB in 15 packages [2023-01-31T14:06:36.943Z] Removing intermediate container bf44e26896de [2023-01-31T14:06:36.943Z] ---> c8ba144ac9d5 [2023-01-31T14:06:36.943Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-01-31T14:06:37.527Z] ---> a0da26dba8f2 [2023-01-31T14:06:37.527Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-01-31T14:06:38.110Z] ---> f3260387d121 [2023-01-31T14:06:38.110Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-01-31T14:06:38.694Z] ---> dd25fbff386d [2023-01-31T14:06:38.694Z] Step 20/25 : EXPOSE 59986 [2023-01-31T14:06:38.694Z] ---> Running in 65d3c6f0aaa7 [2023-01-31T14:06:38.961Z] Removing intermediate container 65d3c6f0aaa7 [2023-01-31T14:06:38.961Z] ---> 1eb22d02435a [2023-01-31T14:06:38.961Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-01-31T14:06:38.961Z] ---> Running in f05e74663d64 [2023-01-31T14:06:39.228Z] Removing intermediate container f05e74663d64 [2023-01-31T14:06:39.228Z] ---> db324819960f [2023-01-31T14:06:39.228Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-31T14:06:39.228Z] ---> Running in 48beb489d600 [2023-01-31T14:06:39.501Z] Removing intermediate container 48beb489d600 [2023-01-31T14:06:39.502Z] ---> bf7de46ccefb [2023-01-31T14:06:39.502Z] Step 23/25 : LABEL arch=arm64 [2023-01-31T14:06:39.772Z] ---> Running in 2c465f0bbc3c [2023-01-31T14:06:40.038Z] Removing intermediate container 2c465f0bbc3c [2023-01-31T14:06:40.038Z] ---> ee2c9259542d [2023-01-31T14:06:40.038Z] Step 24/25 : LABEL git_sha=b3061b699f3c9b8a45a238e5d152677544cbe720 [2023-01-31T14:06:40.038Z] ---> Running in a4ea9db8dd12 [2023-01-31T14:06:40.306Z] Removing intermediate container a4ea9db8dd12 [2023-01-31T14:06:40.306Z] ---> 913889579fad [2023-01-31T14:06:40.306Z] Step 25/25 : LABEL version=0.0.0 [2023-01-31T14:06:40.306Z] ---> Running in 9e7f05b83cfa [2023-01-31T14:06:40.573Z] Removing intermediate container 9e7f05b83cfa [2023-01-31T14:06:40.574Z] ---> 9f777f31f8c1 [2023-01-31T14:06:40.574Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-31T14:06:40.574Z] Successfully built 9f777f31f8c1 [2023-01-31T14:06:40.574Z] 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-01-31T14:06:41.020Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-31T14:06:41.020Z] [2023-01-31T14:06:41.020Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T14:06:41.358Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-31T14:06:41.359Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-31T14:06:41.359Z] 8998bd30e6a1: Pulling fs layer [2023-01-31T14:06:41.359Z] 04944245beec: Pulling fs layer [2023-01-31T14:06:41.359Z] 699f458cf7ca: Pulling fs layer [2023-01-31T14:06:41.359Z] 765212b225bb: Pulling fs layer [2023-01-31T14:06:41.359Z] f23df028b6ca: Pulling fs layer [2023-01-31T14:06:41.359Z] 765212b225bb: Waiting [2023-01-31T14:06:41.359Z] f23df028b6ca: Waiting [2023-01-31T14:06:41.359Z] d65c8cfc05b1: Pulling fs layer [2023-01-31T14:06:41.359Z] d65c8cfc05b1: Waiting [2023-01-31T14:06:41.359Z] 2437ff75d9bd: Pulling fs layer [2023-01-31T14:06:41.359Z] 2437ff75d9bd: Waiting [2023-01-31T14:06:41.628Z] 04944245beec: Verifying Checksum [2023-01-31T14:06:41.628Z] 04944245beec: Download complete [2023-01-31T14:06:41.628Z] 765212b225bb: Verifying Checksum [2023-01-31T14:06:41.628Z] 765212b225bb: Download complete [2023-01-31T14:06:41.897Z] f23df028b6ca: Verifying Checksum [2023-01-31T14:06:41.897Z] f23df028b6ca: Download complete [2023-01-31T14:06:41.897Z] d65c8cfc05b1: Verifying Checksum [2023-01-31T14:06:41.897Z] d65c8cfc05b1: Download complete [2023-01-31T14:06:41.897Z] 699f458cf7ca: Verifying Checksum [2023-01-31T14:06:41.897Z] 699f458cf7ca: Download complete [2023-01-31T14:06:42.163Z] 8998bd30e6a1: Verifying Checksum [2023-01-31T14:06:42.163Z] 8998bd30e6a1: Download complete [2023-01-31T14:06:44.738Z] 2437ff75d9bd: Verifying Checksum [2023-01-31T14:06:44.738Z] 2437ff75d9bd: Download complete [2023-01-31T14:06:45.695Z] 8998bd30e6a1: Pull complete [2023-01-31T14:06:46.279Z] 04944245beec: Pull complete [2023-01-31T14:06:47.683Z] 699f458cf7ca: Pull complete [2023-01-31T14:06:47.683Z] 765212b225bb: Pull complete [2023-01-31T14:06:48.266Z] f23df028b6ca: Pull complete [2023-01-31T14:06:49.671Z] d65c8cfc05b1: Pull complete [2023-01-31T14:07:01.982Z] 2437ff75d9bd: Pull complete [2023-01-31T14:07:01.982Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-31T14:07:01.982Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-31T14:07:01.982Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T14:07:02.168Z] prd-ubuntu20.04-docker-arm64-4c-16g-4133 does not seem to be running inside a container [2023-01-31T14:07:02.234Z] $ 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/16 -v /w/workspace/device-rest-go/16:/w/workspace/device-rest-go/16:rw,z -v /w/workspace/device-rest-go/16@tmp:/w/workspace/device-rest-go/16@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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-01-31T14:07:04.769Z] $ docker top dbff62a7e055d4f0cbbc4368f0317bc79f909685a79425daa229bcead459aedf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-31T14:07:05.587Z] ---> job-cost.sh [2023-01-31T14:07:05.587Z] lf-activate-venv: SKIPPING [2023-01-31T14:07:05.587Z] INFO: No Stack... [2023-01-31T14:07:06.165Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-31T14:07:06.745Z] INFO: Archiving Costs [Pipeline] sh [2023-01-31T14:07:07.067Z] + cat /w/workspace/device-rest-go/16/archives/cost.csv [2023-01-31T14:07:07.333Z] + cut -d, -f6 [Pipeline] lock [2023-01-31T14:07:07.366Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-229-16-stack-cost] [2023-01-31T14:07:07.372Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-229-16-stack-cost] did not exist. Created. [2023-01-31T14:07:07.372Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-229-16-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-31T14:07:07.705Z] /w/workspace/device-rest-go/16@tmp/durable-3a2e475e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-31T14:07:08.039Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-31T14:07:08.063Z] Warning: overwriting stash ‘stack-cost’ [2023-01-31T14:07:08.099Z] Stashed 1 file(s) [Pipeline] } [2023-01-31T14:07:08.109Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-229-16-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-31T14:07:08.132Z] $ docker stop --time=1 dbff62a7e055d4f0cbbc4368f0317bc79f909685a79425daa229bcead459aedf [2023-01-31T14:07:09.620Z] $ docker rm -f --volumes dbff62a7e055d4f0cbbc4368f0317bc79f909685a79425daa229bcead459aedf [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-01-31T14:07:10.036Z] provisioning config files... [2023-01-31T14:07:10.043Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config7550958246006461444tmp [Pipeline] { [Pipeline] sh [2023-01-31T14:07:10.346Z] + set +x [2023-01-31T14:07:10.346Z] + curl -s https://codecov.io/bash [2023-01-31T14:07:10.346Z] + bash -s -- [2023-01-31T14:07:10.346Z] [2023-01-31T14:07:10.346Z] _____ _ [2023-01-31T14:07:10.346Z] / ____| | | [2023-01-31T14:07:10.346Z] | | ___ __| | ___ ___ _____ __ [2023-01-31T14:07:10.346Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-31T14:07:10.346Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-31T14:07:10.346Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-31T14:07:10.346Z] Bash-1.0.6 [2023-01-31T14:07:10.346Z] [2023-01-31T14:07:10.346Z] [2023-01-31T14:07:10.346Z] ==> git version 2.25.1 found [2023-01-31T14:07:10.346Z] ==> 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-01-31T14:07:10.346Z] Release-Date: 2020-01-08 [2023-01-31T14:07:10.346Z] 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-01-31T14:07:10.346Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-31T14:07:10.346Z] ==> Jenkins CI detected. [2023-01-31T14:07:10.346Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-229 [2023-01-31T14:07:10.346Z] project root: . [2023-01-31T14:07:10.346Z] --> token set from env [2023-01-31T14:07:10.346Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-31T14:07:10.346Z] ==> Running gcov in . (disable via -X gcov) [2023-01-31T14:07:10.346Z] ==> Python coveragepy not found [2023-01-31T14:07:10.346Z] ==> Searching for coverage reports in: [2023-01-31T14:07:10.346Z] + . [2023-01-31T14:07:10.346Z] -> Found 1 reports [2023-01-31T14:07:10.346Z] ==> Detecting git/mercurial file structure [2023-01-31T14:07:10.606Z] ==> Reading reports [2023-01-31T14:07:10.606Z] + ./coverage.out bytes=13744 [2023-01-31T14:07:10.606Z] ==> Appending adjustments [2023-01-31T14:07:10.606Z] https://docs.codecov.io/docs/fixing-reports [2023-01-31T14:07:10.606Z] + Found adjustments [2023-01-31T14:07:10.606Z] ==> Gzipping contents [2023-01-31T14:07:10.606Z] 4.0K /tmp/codecov.V6IWlB.gz [2023-01-31T14:07:10.606Z] ==> Uploading reports [2023-01-31T14:07:10.606Z] url: https://codecov.io [2023-01-31T14:07:10.606Z] query: branch=PR-229&commit=44461bbb6a37b6b2b38bcde41d803a92ddc3be0c&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-229%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=229&job=&cmd_args= [2023-01-31T14:07:10.606Z] -> Pinging Codecov [2023-01-31T14:07:10.606Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-229&commit=44461bbb6a37b6b2b38bcde41d803a92ddc3be0c&build=16&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-229%2F16%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=229&job=&cmd_args= [2023-01-31T14:07:10.866Z] -> Uploading to [2023-01-31T14:07:10.866Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-31/4E5D53B4F1F92C436F7061BF334D961C/44461bbb6a37b6b2b38bcde41d803a92ddc3be0c/5e29db05-f51d-4c5b-b2e2-50f31eb6e3c2.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230131%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230131T140710Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c960ab4ebc6798efaea59dfee08ab7d582500525978b00569ecd7e11d21714bf [2023-01-31T14:07:10.866Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-31T14:07:10.866Z] Dload Upload Total Spent Left Speed [2023-01-31T14:07:11.127Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2443 0 0 100 2443 0 8787 --:--:-- --:--:-- --:--:-- 8787 [2023-01-31T14:07:11.127Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/44461bbb6a37b6b2b38bcde41d803a92ddc3be0c [Pipeline] } [2023-01-31T14:07:11.136Z] 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-01-31T14:07:11.816Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-229/archives ] [2023-01-31T14:07:11.816Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-229/archives [2023-01-31T14:07:11.816Z] total 16 [2023-01-31T14:07:11.816Z] drwxr-xr-x 3 root root 4096 Jan 31 13:57 . [2023-01-31T14:07:11.816Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 31 13:57 .. [2023-01-31T14:07:11.816Z] drwxr-xr-x 2 root root 4096 Jan 31 13:57 cost [2023-01-31T14:07:11.816Z] -rw-r--r-- 1 root root 87 Jan 31 13:57 cost.csv [2023-01-31T14:07:11.816Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-229/archives [2023-01-31T14:07:11.816Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-229/archives [2023-01-31T14:07:11.816Z] total 16 [2023-01-31T14:07:11.816Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 31 13:57 . [2023-01-31T14:07:11.816Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 31 13:57 .. [2023-01-31T14:07:11.816Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 31 13:57 cost [2023-01-31T14:07:11.816Z] -rw-r--r-- 1 jenkins jenkins 87 Jan 31 13:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-31T14:07:12.108Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-31T14:07:12.969Z] ---> package-listing.sh [2023-01-31T14:07:12.969Z] ++ facter osfamily [2023-01-31T14:07:12.969Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-31T14:07:13.228Z] + OS_FAMILY=debian [2023-01-31T14:07:13.228Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-229 [2023-01-31T14:07:13.228Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-31T14:07:13.228Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-31T14:07:13.228Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-31T14:07:13.228Z] + PACKAGES=/tmp/packages_start.txt [2023-01-31T14:07:13.228Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-229 ']' [2023-01-31T14:07:13.228Z] + PACKAGES=/tmp/packages_end.txt [2023-01-31T14:07:13.228Z] + case "${OS_FAMILY}" in [2023-01-31T14:07:13.228Z] + dpkg -l [2023-01-31T14:07:13.228Z] + grep '^ii' [2023-01-31T14:07:13.228Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-31T14:07:13.228Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-31T14:07:13.228Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-31T14:07:13.228Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-229 ']' [2023-01-31T14:07:13.228Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-229/archives/ [2023-01-31T14:07:13.228Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-229/archives/ [Pipeline] echo [2023-01-31T14:07:13.239Z] 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-229/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-01-31T14:07:13.515Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T14:07:14.081Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-31T14:07:14.081Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T14:07:14.148Z] prd-ubuntu20.04-docker-8c-8g-4132 does not seem to be running inside a container [2023-01-31T14:07:14.204Z] $ 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-229/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-229 -v /w/workspace/gexfoundry_device-rest-go_PR-229:/w/workspace/gexfoundry_device-rest-go_PR-229:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-229@tmp:/w/workspace/gexfoundry_device-rest-go_PR-229@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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-01-31T14:07:14.428Z] $ docker top bb6a227c1c84233d95d21d76c09b12225aa5bf216285117b45c73909909c24b1 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-31T14:07:14.744Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-31T14:07:15.030Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-31T14:07:15.314Z] + ls /var/log/sa-host [2023-01-31T14:07:15.314Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-31T14:07:15.382Z] provisioning config files... [2023-01-31T14:07:15.391Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-229@tmp/config15822110096556982506tmp [Pipeline] { [Pipeline] echo [2023-01-31T14:07:15.405Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-31T14:07:15.689Z] ---> create-netrc.sh [Pipeline] } [2023-01-31T14:07:15.696Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-31T14:07:16.009Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-31T14:07:16.017Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-31T14:07:16.301Z] ---> sudo-logs.sh [2023-01-31T14:07:16.301Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-31T14:07:16.328Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-31T14:07:16.610Z] ---> job-cost.sh [2023-01-31T14:07:16.610Z] lf-activate-venv: SKIPPING [2023-01-31T14:07:16.610Z] DEBUG: total: 0.2199999988079071 [2023-01-31T14:07:16.610Z] INFO: Retrieving Stack Cost... [2023-01-31T14:07:16.868Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-31T14:07:17.435Z] INFO: Archiving Costs [Pipeline] echo [2023-01-31T14:07:17.448Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-31T14:07:17.732Z] ---> logs-deploy.sh [2023-01-31T14:07:17.732Z] lf-activate-venv: SKIPPING [2023-01-31T14:07:17.732Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-229/16 [2023-01-31T14:07:17.732Z] INFO: archiving workspace using pattern(s): [2023-01-31T14:07:18.668Z] Archives upload complete. [2023-01-31T14:07:18.668Z] INFO: archiving logs to Nexus