Pull request #197 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of weichou1229 for edgexfoundry/device-rest-go Loading trusted files from base branch main at 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 rather than cf50e945790f732748d4250969162252e0801495 Obtained Jenkinsfile from 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 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-ssh1580467342010970322.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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-ssh13116458089987682796.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 2c7614b56cb57ece5b5bdf52d827492071d4cc62 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-197/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-197/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh7749572065743417179.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-197/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh4062620553522652946.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 2c7614b56cb57ece5b5bdf52d827492071d4cc62 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 2c7614b56cb57ece5b5bdf52d827492071d4cc62 # timeout=10 Commit message: "Merge pull request #399 from ernestojeda/fix-go-mod-version" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh1247602563950535765.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-197/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-197/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh5875066032111219099.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 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.17 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 ‘prd-ubuntu20.04-docker-8c-8g-2571’ Running on prd-ubuntu20.04-docker-8c-8g-2573 in /w/workspace/gexfoundry_device-rest-go_PR-197 [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-197 # 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 Merging remotes/origin/main commit 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 into PR head commit cf50e945790f732748d4250969162252e0801495 Merge succeeded, producing cf50e945790f732748d4250969162252e0801495 Checking out Revision cf50e945790f732748d4250969162252e0801495 (PR-197) > 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/197/head:refs/remotes/origin/PR-197 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cf50e945790f732748d4250969162252e0801495 # 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 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cf50e945790f732748d4250969162252e0801495 # timeout=10 Commit message: "build: Upgrade sdk and paho.mqtt lib" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-17T11:55:09.249Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-17T11:55:09.422Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-17T11:55:09.519Z] ========================================================= [2022-06-17T11:55:09.519Z] EdgeX Global Pipelines Version Info [2022-06-17T11:55:09.519Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-17T11:55:10.314Z] ------------------- [2022-06-17T11:55:10.314Z] stable info: [2022-06-17T11:55:10.314Z] ------------------- [2022-06-17T11:55:10.314Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-17T11:55:10.314Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-17T11:55:10.314Z] Message: update stable to v1.0.234 [2022-06-17T11:55:10.889Z] ------------------- [2022-06-17T11:55:10.889Z] experimental info: [2022-06-17T11:55:10.889Z] ------------------- [2022-06-17T11:55:10.889Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-17T11:55:10.889Z] Commit SHA: 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [2022-06-17T11:55:10.889Z] Message: update experimental to v1.0.234 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-17T11:55:11.254Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-06-17T11:55:11.293Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-06-17T11:55:11.333Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-17T11:55:11.374Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-17T11:55:11.413Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-17T11:55:11.452Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-17T11:55:11.494Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-17T11:55:11.535Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-17T11:55:11.573Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-17T11:55:11.614Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-17T11:55:11.657Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-17T11:55:11.704Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-06-17T11:55:11.745Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-17T11:55:11.785Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-17T11:55:11.825Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-17T11:55:11.865Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-17T11:55:11.912Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-17T11:55:11.963Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-17T11:55:12.007Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-17T11:55:12.052Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-17T11:55:12.093Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-17T11:55:12.140Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-17T11:55:12.224Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-17T11:55:12.274Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-17T11:55:12.315Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-17T11:55:12.355Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-17T11:55:12.392Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-17T11:55:12.432Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-197 [Pipeline] echo [2022-06-17T11:55:12.471Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-197 [Pipeline] echo [2022-06-17T11:55:12.517Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-197 [Pipeline] echo [2022-06-17T11:55:12.560Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cf50e945790f732748d4250969162252e0801495 [Pipeline] echo [2022-06-17T11:55:12.600Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cf50e94 [Pipeline] echo [2022-06-17T11:55:12.644Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T11:55:12.799Z] provisioning config files... [2022-06-17T11:55:12.813Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-197@tmp/config3208850669101256196tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T11:55:13.163Z] ---> docker-login.sh [2022-06-17T11:55:13.163Z] nexus3.edgexfoundry.org:10001 [2022-06-17T11:55:13.425Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:55:13.425Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:55:13.425Z] Configure a credential helper to remove this warning. See [2022-06-17T11:55:13.425Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:55:13.425Z] [2022-06-17T11:55:13.425Z] Login Succeeded [2022-06-17T11:55:13.425Z] nexus3.edgexfoundry.org:10002 [2022-06-17T11:55:13.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:55:13.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:55:13.692Z] Configure a credential helper to remove this warning. See [2022-06-17T11:55:13.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:55:13.692Z] [2022-06-17T11:55:13.692Z] Login Succeeded [2022-06-17T11:55:13.692Z] nexus3.edgexfoundry.org:10003 [2022-06-17T11:55:13.692Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:55:13.692Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:55:13.692Z] Configure a credential helper to remove this warning. See [2022-06-17T11:55:13.692Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:55:13.692Z] [2022-06-17T11:55:13.692Z] Login Succeeded [2022-06-17T11:55:13.692Z] nexus3.edgexfoundry.org:10004 [2022-06-17T11:55:13.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:55:13.953Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:55:13.953Z] Configure a credential helper to remove this warning. See [2022-06-17T11:55:13.953Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:55:13.953Z] [2022-06-17T11:55:13.953Z] Login Succeeded [2022-06-17T11:55:13.953Z] docker.io [2022-06-17T11:55:13.953Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:55:14.526Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:55:14.526Z] Configure a credential helper to remove this warning. See [2022-06-17T11:55:14.526Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:55:14.526Z] [2022-06-17T11:55:14.526Z] Login Succeeded [2022-06-17T11:55:14.526Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T11:55:14.556Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-17T11:55:15.163Z] + git rev-list -1 --merges cf50e945790f732748d4250969162252e0801495~1..cf50e945790f732748d4250969162252e0801495 [Pipeline] echo [2022-06-17T11:55:15.211Z] -----------> git rev-list -1 --merges cf50e945790f732748d4250969162252e0801495~1..cf50e945790f732748d4250969162252e0801495 cf50e945790f732748d4250969162252e0801495 [false] [Pipeline] sh [2022-06-17T11:55:15.523Z] + git log --format=format:%s -1 cf50e945790f732748d4250969162252e0801495 [Pipeline] echo [2022-06-17T11:55:15.559Z] ========================================================= [2022-06-17T11:55:15.559Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-17T11:55:15.559Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T11:55:15.987Z] + git log --format=format:%s -1 cf50e945790f732748d4250969162252e0801495 [Pipeline] echo [2022-06-17T11:55:16.017Z] [semverPrep] GIT_COMMIT: cf50e945790f732748d4250969162252e0801495, Commit Message: build: Upgrade sdk and paho.mqtt lib [Pipeline] echo [2022-06-17T11:55:16.048Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-17T11:55:16.420Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-17T11:55:16.420Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-17T11:55:16.420Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-17T11:55:16.420Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-17T11:55:16.420Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-17T11:55:16.420Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-17T11:55:16.420Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T11:55:16.856Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T11:55:16.856Z] [2022-06-17T11:55:16.856Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T11:55:17.228Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T11:55:17.228Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-17T11:55:17.228Z] 42c077c10790: Pulling fs layer [2022-06-17T11:55:17.228Z] f63e77b7563a: Pulling fs layer [2022-06-17T11:55:17.228Z] bd5fdadae976: Pulling fs layer [2022-06-17T11:55:17.228Z] 205491f53016: Pulling fs layer [2022-06-17T11:55:17.228Z] df18705c85c3: Pulling fs layer [2022-06-17T11:55:17.228Z] bdb3f477010e: Pulling fs layer [2022-06-17T11:55:17.228Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-17T11:55:17.228Z] 2c6e9b1d212d: Pulling fs layer [2022-06-17T11:55:17.228Z] bdb8f0575790: Pulling fs layer [2022-06-17T11:55:17.228Z] 386e3cb2ff24: Pulling fs layer [2022-06-17T11:55:17.228Z] 2343380bae48: Pulling fs layer [2022-06-17T11:55:17.228Z] 205491f53016: Waiting [2022-06-17T11:55:17.228Z] df18705c85c3: Waiting [2022-06-17T11:55:17.228Z] bdb3f477010e: Waiting [2022-06-17T11:55:17.228Z] 386e3cb2ff24: Waiting [2022-06-17T11:55:17.228Z] c8a8fc8e1c8f: Waiting [2022-06-17T11:55:17.228Z] 2343380bae48: Waiting [2022-06-17T11:55:17.228Z] 2c6e9b1d212d: Waiting [2022-06-17T11:55:17.228Z] bdb8f0575790: Waiting [2022-06-17T11:55:17.228Z] f63e77b7563a: Verifying Checksum [2022-06-17T11:55:17.228Z] f63e77b7563a: Download complete [2022-06-17T11:55:17.228Z] 205491f53016: Verifying Checksum [2022-06-17T11:55:17.228Z] 205491f53016: Download complete [2022-06-17T11:55:17.489Z] df18705c85c3: Verifying Checksum [2022-06-17T11:55:17.489Z] df18705c85c3: Download complete [2022-06-17T11:55:17.489Z] bd5fdadae976: Verifying Checksum [2022-06-17T11:55:17.489Z] bd5fdadae976: Download complete [2022-06-17T11:55:17.489Z] bdb3f477010e: Verifying Checksum [2022-06-17T11:55:17.489Z] bdb3f477010e: Download complete [2022-06-17T11:55:17.489Z] 2c6e9b1d212d: Verifying Checksum [2022-06-17T11:55:17.489Z] 2c6e9b1d212d: Download complete [2022-06-17T11:55:17.489Z] bdb8f0575790: Download complete [2022-06-17T11:55:17.489Z] 386e3cb2ff24: Verifying Checksum [2022-06-17T11:55:17.489Z] 386e3cb2ff24: Download complete [2022-06-17T11:55:17.489Z] 2343380bae48: Verifying Checksum [2022-06-17T11:55:17.489Z] 2343380bae48: Download complete [2022-06-17T11:55:17.489Z] 42c077c10790: Verifying Checksum [2022-06-17T11:55:17.489Z] 42c077c10790: Download complete [2022-06-17T11:55:17.751Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-17T11:55:17.751Z] c8a8fc8e1c8f: Download complete [2022-06-17T11:55:18.691Z] 42c077c10790: Pull complete [2022-06-17T11:55:18.951Z] f63e77b7563a: Pull complete [2022-06-17T11:55:19.213Z] bd5fdadae976: Pull complete [2022-06-17T11:55:19.476Z] 205491f53016: Pull complete [2022-06-17T11:55:19.735Z] df18705c85c3: Pull complete [2022-06-17T11:55:19.735Z] bdb3f477010e: Pull complete [2022-06-17T11:55:21.651Z] c8a8fc8e1c8f: Pull complete [2022-06-17T11:55:21.651Z] 2c6e9b1d212d: Pull complete [2022-06-17T11:55:21.651Z] bdb8f0575790: Pull complete [2022-06-17T11:55:21.651Z] 386e3cb2ff24: Pull complete [2022-06-17T11:55:21.914Z] 2343380bae48: Pull complete [2022-06-17T11:55:21.914Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-17T11:55:21.914Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-17T11:55:21.914Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T11:55:22.165Z] prd-ubuntu20.04-docker-8c-8g-2573 does not seem to be running inside a container [2022-06-17T11:55:22.208Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-197 -v /w/workspace/gexfoundry_device-rest-go_PR-197:/w/workspace/gexfoundry_device-rest-go_PR-197:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-197@tmp:/w/workspace/gexfoundry_device-rest-go_PR-197@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-17T11:55:23.766Z] $ docker top dbdf1bc12d2e26d0f7428b75a0596da8049213b00a09f09b3da954296848b49a -eo pid,comm [2022-06-17T11:55:23.821Z] 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). [2022-06-17T11:55:23.821Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-17T11:55:23.957Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-17T11:55:23.957Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-17T11:55:24.087Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-17T11:55:24.096Z] $ docker exec dbdf1bc12d2e26d0f7428b75a0596da8049213b00a09f09b3da954296848b49a ssh-agent [2022-06-17T11:55:24.212Z] SSH_AUTH_SOCK=/tmp/ssh-mh7T4dVq4WCF/agent.34 [2022-06-17T11:55:24.212Z] SSH_AGENT_PID=41 [2022-06-17T11:55:24.218Z] Running ssh-add (command line suppressed) [2022-06-17T11:55:24.351Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-197@tmp/private_key_6780876827502866598.key (/w/workspace/gexfoundry_device-rest-go_PR-197@tmp/private_key_6780876827502866598.key) [2022-06-17T11:55:24.363Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-17T11:55:24.706Z] + git tag --points-at HEAD [Pipeline] } [2022-06-17T11:55:24.736Z] $ docker exec --env ******** --env ******** dbdf1bc12d2e26d0f7428b75a0596da8049213b00a09f09b3da954296848b49a ssh-agent -k [2022-06-17T11:55:24.845Z] unset SSH_AUTH_SOCK; [2022-06-17T11:55:24.846Z] unset SSH_AGENT_PID; [2022-06-17T11:55:24.846Z] echo Agent pid 41 killed; [2022-06-17T11:55:24.850Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-17T11:55:24.941Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-17T11:55:24.941Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-17T11:55:25.076Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-17T11:55:25.085Z] $ docker exec dbdf1bc12d2e26d0f7428b75a0596da8049213b00a09f09b3da954296848b49a ssh-agent [2022-06-17T11:55:25.179Z] SSH_AUTH_SOCK=/tmp/ssh-08gg0yryZCqm/agent.73 [2022-06-17T11:55:25.179Z] SSH_AGENT_PID=79 [2022-06-17T11:55:25.185Z] Running ssh-add (command line suppressed) [2022-06-17T11:55:25.295Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-197@tmp/private_key_1230781101914040098.key (/w/workspace/gexfoundry_device-rest-go_PR-197@tmp/private_key_1230781101914040098.key) [2022-06-17T11:55:25.304Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-17T11:55:25.633Z] + git semver init [2022-06-17T11:55:25.896Z] 2022-06-17 11:55:25,825 [run_init] DEBUG init version:0.0.0 force:False [2022-06-17T11:55:25.896Z] 2022-06-17 11:55:25,826 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-197/.semver [2022-06-17T11:55:25.896Z] 2022-06-17 11:55:25,827 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-197/.semver [2022-06-17T11:55:25.896Z] 2022-06-17 11:55:25,827 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-197/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-197, universal_newlines=False, shell=None, istream=None) [2022-06-17T11:55:26.838Z] 2022-06-17 11:55:26,725 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-197/.git/info/exclude [2022-06-17T11:55:26.838Z] 2022-06-17 11:55:26,726 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-197/.semver/PR-197 with force:False [2022-06-17T11:55:26.838Z] 2022-06-17 11:55:26,726 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-197/.semver/PR-197 [2022-06-17T11:55:26.838Z] 2022-06-17 11:55:26,730 [execute] INFO git cat-file --batch-check [2022-06-17T11:55:26.838Z] 2022-06-17 11:55:26,730 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-197/.semver, universal_newlines=False, shell=None, istream=) [2022-06-17T11:55:26.838Z] 2022-06-17 11:55:26,736 [execute] INFO git cat-file --batch [2022-06-17T11:55:26.838Z] 2022-06-17 11:55:26,736 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-197/.semver, universal_newlines=False, shell=None, istream=) [2022-06-17T11:55:26.838Z] 2022-06-17 11:55:26,739 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-197/.semver/PR-197 [2022-06-17T11:55:26.838Z] 0.0.0 [Pipeline] } [2022-06-17T11:55:26.868Z] $ docker exec --env ******** --env ******** dbdf1bc12d2e26d0f7428b75a0596da8049213b00a09f09b3da954296848b49a ssh-agent -k [2022-06-17T11:55:26.974Z] unset SSH_AUTH_SOCK; [2022-06-17T11:55:26.974Z] unset SSH_AGENT_PID; [2022-06-17T11:55:26.974Z] echo Agent pid 79 killed; [2022-06-17T11:55:26.984Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-17T11:55:27.402Z] + git semver [Pipeline] } [2022-06-17T11:55:27.694Z] $ docker stop --time=1 dbdf1bc12d2e26d0f7428b75a0596da8049213b00a09f09b3da954296848b49a [2022-06-17T11:55:29.063Z] $ docker rm -f dbdf1bc12d2e26d0f7428b75a0596da8049213b00a09f09b3da954296848b49a [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T11:55:29.476Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-17T11:55:29.781Z] Stashed 1 file(s) [Pipeline] echo [2022-06-17T11:55:29.800Z] [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 [2022-06-17T11:55:30.356Z] provisioning config files... [2022-06-17T11:55:30.367Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-197@tmp/config6301117427169545344tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T11:55:30.723Z] ---> docker-login.sh [2022-06-17T11:55:30.724Z] nexus3.edgexfoundry.org:10001 [2022-06-17T11:55:30.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:55:30.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:55:30.724Z] Configure a credential helper to remove this warning. See [2022-06-17T11:55:30.724Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:55:30.724Z] [2022-06-17T11:55:30.724Z] Login Succeeded [2022-06-17T11:55:30.724Z] nexus3.edgexfoundry.org:10002 [2022-06-17T11:55:30.724Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:55:30.724Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:55:30.724Z] Configure a credential helper to remove this warning. See [2022-06-17T11:55:30.724Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:55:30.724Z] [2022-06-17T11:55:30.724Z] Login Succeeded [2022-06-17T11:55:30.984Z] nexus3.edgexfoundry.org:10003 [2022-06-17T11:55:30.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:55:30.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:55:30.984Z] Configure a credential helper to remove this warning. See [2022-06-17T11:55:30.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:55:30.984Z] [2022-06-17T11:55:30.984Z] Login Succeeded [2022-06-17T11:55:30.984Z] nexus3.edgexfoundry.org:10004 [2022-06-17T11:55:30.984Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:55:30.984Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:55:30.984Z] Configure a credential helper to remove this warning. See [2022-06-17T11:55:30.984Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:55:30.984Z] [2022-06-17T11:55:30.984Z] Login Succeeded [2022-06-17T11:55:30.984Z] docker.io [2022-06-17T11:55:31.245Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:55:31.506Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:55:31.506Z] Configure a credential helper to remove this warning. See [2022-06-17T11:55:31.506Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:55:31.506Z] [2022-06-17T11:55:31.506Z] Login Succeeded [2022-06-17T11:55:31.506Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T11:55:31.533Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-17T11:55:31.733Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T11:55:31.773Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T11:55:31.804Z] ========================================================= [2022-06-17T11:55:31.804Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-17T11:55:31.804Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T11:55:32.271Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-17T11:55:32.271Z] Sending build context to Docker daemon 10.65MB [2022-06-17T11:55:32.271Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T11:55:32.271Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-17T11:55:32.271Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-17T11:55:32.271Z] 59bf1c3509f3: Pulling fs layer [2022-06-17T11:55:32.271Z] 666ba61612fd: Pulling fs layer [2022-06-17T11:55:32.271Z] 8ed8ca486205: Pulling fs layer [2022-06-17T11:55:32.271Z] cc1cd167ecdc: Pulling fs layer [2022-06-17T11:55:32.271Z] c516ae0d96e1: Pulling fs layer [2022-06-17T11:55:32.271Z] 684cea983483: Pulling fs layer [2022-06-17T11:55:32.271Z] dd3240ac7de5: Pulling fs layer [2022-06-17T11:55:32.271Z] b1e948a4e11c: Pulling fs layer [2022-06-17T11:55:32.271Z] a8fd76ee1af6: Pulling fs layer [2022-06-17T11:55:32.271Z] 646ad004c059: Pulling fs layer [2022-06-17T11:55:32.271Z] cc1cd167ecdc: Waiting [2022-06-17T11:55:32.271Z] c516ae0d96e1: Waiting [2022-06-17T11:55:32.271Z] 684cea983483: Waiting [2022-06-17T11:55:32.271Z] dd3240ac7de5: Waiting [2022-06-17T11:55:32.271Z] b1e948a4e11c: Waiting [2022-06-17T11:55:32.271Z] a8fd76ee1af6: Waiting [2022-06-17T11:55:32.271Z] 646ad004c059: Waiting [2022-06-17T11:55:32.271Z] 8ed8ca486205: Verifying Checksum [2022-06-17T11:55:32.271Z] 8ed8ca486205: Download complete [2022-06-17T11:55:32.271Z] 666ba61612fd: Verifying Checksum [2022-06-17T11:55:32.271Z] 666ba61612fd: Download complete [2022-06-17T11:55:32.533Z] c516ae0d96e1: Download complete [2022-06-17T11:55:32.533Z] 684cea983483: Verifying Checksum [2022-06-17T11:55:32.533Z] 684cea983483: Download complete [2022-06-17T11:55:32.533Z] dd3240ac7de5: Download complete [2022-06-17T11:55:32.533Z] 59bf1c3509f3: Download complete [2022-06-17T11:55:32.533Z] b1e948a4e11c: Verifying Checksum [2022-06-17T11:55:32.533Z] b1e948a4e11c: Download complete [2022-06-17T11:55:32.533Z] 59bf1c3509f3: Pull complete [2022-06-17T11:55:32.794Z] 666ba61612fd: Pull complete [2022-06-17T11:55:32.794Z] 8ed8ca486205: Pull complete [2022-06-17T11:55:32.794Z] 646ad004c059: Verifying Checksum [2022-06-17T11:55:32.794Z] 646ad004c059: Download complete [2022-06-17T11:55:33.366Z] cc1cd167ecdc: Verifying Checksum [2022-06-17T11:55:33.366Z] cc1cd167ecdc: Download complete [2022-06-17T11:55:33.366Z] a8fd76ee1af6: Verifying Checksum [2022-06-17T11:55:33.366Z] a8fd76ee1af6: Download complete [2022-06-17T11:55:37.564Z] cc1cd167ecdc: Pull complete [2022-06-17T11:55:37.564Z] c516ae0d96e1: Pull complete [2022-06-17T11:55:37.564Z] 684cea983483: Pull complete [2022-06-17T11:55:37.564Z] dd3240ac7de5: Pull complete [2022-06-17T11:55:37.564Z] b1e948a4e11c: Pull complete [2022-06-17T11:55:39.475Z] a8fd76ee1af6: Pull complete [2022-06-17T11:55:40.045Z] 646ad004c059: Pull complete [2022-06-17T11:55:40.045Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-17T11:55:40.045Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-17T11:55:40.045Z] ---> 8f69c11f6b0c [2022-06-17T11:55:40.045Z] Step 3/12 : ARG MAKE='make build' [2022-06-17T11:55:42.602Z] ---> Running in 5c8dd5f25094 [2022-06-17T11:55:42.602Z] Removing intermediate container 5c8dd5f25094 [2022-06-17T11:55:42.602Z] ---> 4fbad6b27a6c [2022-06-17T11:55:42.602Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T11:55:42.602Z] ---> Running in e910114d095c [2022-06-17T11:55:42.602Z] Removing intermediate container e910114d095c [2022-06-17T11:55:42.602Z] ---> 1bfc80df2096 [2022-06-17T11:55:42.602Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T11:55:42.602Z] ---> Running in 61a21f1914fa [2022-06-17T11:55:42.602Z] Removing intermediate container 61a21f1914fa [2022-06-17T11:55:42.602Z] ---> 6c0bd4fdb803 [2022-06-17T11:55:42.602Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T11:55:42.602Z] ---> Running in 18e6baac1e41 [2022-06-17T11:55:43.174Z] Removing intermediate container 18e6baac1e41 [2022-06-17T11:55:43.174Z] ---> 3c9e9fe5e492 [2022-06-17T11:55:43.174Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T11:55:43.174Z] ---> Running in 9bcdade4663b [2022-06-17T11:55:43.437Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T11:55:44.380Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T11:55:44.380Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-17T11:55:44.640Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-17T11:55:44.640Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-17T11:55:44.640Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-17T11:55:44.901Z] Executing busybox-1.34.1-r3.trigger [2022-06-17T11:55:44.901Z] OK: 224 MiB in 56 packages [2022-06-17T11:55:45.167Z] Removing intermediate container 9bcdade4663b [2022-06-17T11:55:45.167Z] ---> c4681f195409 [2022-06-17T11:55:45.167Z] Step 8/12 : WORKDIR /device-rest-go [2022-06-17T11:55:45.196Z] Still waiting to schedule task [2022-06-17T11:55:45.197Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-2572’ [2022-06-17T11:55:45.427Z] ---> Running in 367587d1aba2 [2022-06-17T11:55:45.428Z] Removing intermediate container 367587d1aba2 [2022-06-17T11:55:45.428Z] ---> 47d88e631d32 [2022-06-17T11:55:45.428Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-17T11:55:45.428Z] ---> 99a56756fbfa [2022-06-17T11:55:45.428Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T11:55:45.688Z] ---> Running in ad93ff75d441 [2022-06-17T11:56:00.597Z] Removing intermediate container ad93ff75d441 [2022-06-17T11:56:00.597Z] ---> d3c51e720551 [2022-06-17T11:56:00.597Z] Step 11/12 : COPY . . [2022-06-17T11:56:00.597Z] ---> 45b7ae799f29 [2022-06-17T11:56:00.597Z] Step 12/12 : RUN $MAKE [2022-06-17T11:56:00.597Z] ---> Running in 334e7bb86666 [2022-06-17T11:56:00.597Z] noop [2022-06-17T11:56:00.855Z] Removing intermediate container 334e7bb86666 [2022-06-17T11:56:00.855Z] ---> 3daac50019d8 [2022-06-17T11:56:00.855Z] Successfully built 3daac50019d8 [2022-06-17T11:56:00.855Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T11:56:01.296Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-17T11:56:01.296Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T11:56:01.444Z] prd-ubuntu20.04-docker-8c-8g-2573 does not seem to be running inside a container [2022-06-17T11:56:01.483Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-197 -v /w/workspace/gexfoundry_device-rest-go_PR-197:/w/workspace/gexfoundry_device-rest-go_PR-197:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-197@tmp:/w/workspace/gexfoundry_device-rest-go_PR-197@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-17T11:56:01.899Z] $ docker top 691f75bb20fac00e4cba7f1373a79dda0ad4b6d20905bc94ade0fd8e458407b2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T11:56:02.280Z] + go version [2022-06-17T11:56:02.280Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-17T11:56:02.318Z] $ docker stop --time=1 691f75bb20fac00e4cba7f1373a79dda0ad4b6d20905bc94ade0fd8e458407b2 [2022-06-17T11:56:03.607Z] $ docker rm -f 691f75bb20fac00e4cba7f1373a79dda0ad4b6d20905bc94ade0fd8e458407b2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T11:56:04.298Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-17T11:56:04.298Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T11:56:04.450Z] prd-ubuntu20.04-docker-8c-8g-2573 does not seem to be running inside a container [2022-06-17T11:56:04.534Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-197 -v /w/workspace/gexfoundry_device-rest-go_PR-197:/w/workspace/gexfoundry_device-rest-go_PR-197:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-197@tmp:/w/workspace/gexfoundry_device-rest-go_PR-197@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-06-17T11:56:04.911Z] $ docker top 865d0988f9dfa4e9af94b8a174401b6132dd43f036e0443752ee812db437ddd5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-17T11:56:05.341Z] + make test [2022-06-17T11:56:05.341Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-17T11:56:05.600Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-17T11:56:15.585Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-17T11:56:15.585Z] ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 55.2% of statements [2022-06-17T11:56:20.868Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-17T11:56:24.163Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-17T11:56:24.163Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-17T11:56:24.163Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-17T11:56:24.767Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-17T11:56:24.800Z] $ docker stop --time=1 865d0988f9dfa4e9af94b8a174401b6132dd43f036e0443752ee812db437ddd5 [2022-06-17T11:56:26.776Z] $ docker rm -f 865d0988f9dfa4e9af94b8a174401b6132dd43f036e0443752ee812db437ddd5 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T11:56:27.278Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-17T11:56:27.336Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-17T11:56:27.977Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-17T11:56:28.289Z] + ls -al . [2022-06-17T11:56:28.289Z] total 172 [2022-06-17T11:56:28.289Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 17 11:56 . [2022-06-17T11:56:28.289Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 11:55 .. [2022-06-17T11:56:28.289Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 17 11:55 .dockerignore [2022-06-17T11:56:28.289Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 11:55 .git [2022-06-17T11:56:28.289Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 11:55 .github [2022-06-17T11:56:28.289Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 17 11:55 .gitignore [2022-06-17T11:56:28.289Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 17 11:55 .golangci.yml [2022-06-17T11:56:28.289Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 17 11:55 .semver [2022-06-17T11:56:28.289Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jun 17 11:55 Attribution.txt [2022-06-17T11:56:28.289Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jun 17 11:55 CHANGELOG.md [2022-06-17T11:56:28.289Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jun 17 11:55 Dockerfile [2022-06-17T11:56:28.289Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 17 11:55 GOVERNANCE.md [2022-06-17T11:56:28.289Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 17 11:55 Jenkinsfile [2022-06-17T11:56:28.289Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 17 11:55 LICENSE [2022-06-17T11:56:28.289Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jun 17 11:55 Makefile [2022-06-17T11:56:28.289Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 17 11:55 OWNERS.md [2022-06-17T11:56:28.289Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jun 17 11:55 README.md [2022-06-17T11:56:28.289Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 11:55 VERSION [2022-06-17T11:56:28.289Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 11:55 bin [2022-06-17T11:56:28.289Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 11:55 cmd [2022-06-17T11:56:28.289Z] -rw-r--r-- 1 jenkins jenkins 9355 Jun 17 11:56 coverage.out [2022-06-17T11:56:28.289Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 11:55 driver [2022-06-17T11:56:28.289Z] -rw-rw-r-- 1 jenkins jenkins 3337 Jun 17 11:55 go.mod [2022-06-17T11:56:28.289Z] -rw-rw-r-- 1 jenkins jenkins 36102 Jun 17 11:55 go.sum [2022-06-17T11:56:28.289Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 11:55 snap [2022-06-17T11:56:28.289Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 17 11:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T11:56:28.676Z] + 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=cf50e945790f732748d4250969162252e0801495 --label arch=amd64 --label version=0.0.0 . [2022-06-17T11:56:28.676Z] Sending build context to Docker daemon 10.66MB [2022-06-17T11:56:28.676Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T11:56:28.676Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-17T11:56:28.676Z] ---> 3daac50019d8 [2022-06-17T11:56:28.676Z] Step 3/25 : ARG MAKE='make build' [2022-06-17T11:56:28.676Z] ---> Running in 1216c0750c96 [2022-06-17T11:56:28.936Z] Removing intermediate container 1216c0750c96 [2022-06-17T11:56:28.936Z] ---> 21813a92d7de [2022-06-17T11:56:28.936Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T11:56:28.936Z] ---> Running in da0dffbd8ff0 [2022-06-17T11:56:28.936Z] Removing intermediate container da0dffbd8ff0 [2022-06-17T11:56:28.936Z] ---> bd1a632fbf25 [2022-06-17T11:56:28.936Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T11:56:28.936Z] ---> Running in 8a0f26037903 [2022-06-17T11:56:29.197Z] Removing intermediate container 8a0f26037903 [2022-06-17T11:56:29.197Z] ---> a31bd61bda8a [2022-06-17T11:56:29.197Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T11:56:29.197Z] ---> Running in 59325ad2569e [2022-06-17T11:56:29.767Z] Removing intermediate container 59325ad2569e [2022-06-17T11:56:29.767Z] ---> c3b770eec391 [2022-06-17T11:56:29.767Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T11:56:29.767Z] ---> Running in 88d1d97f4fbc [2022-06-17T11:56:30.030Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-17T11:56:30.973Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-17T11:56:31.235Z] OK: 224 MiB in 56 packages [2022-06-17T11:56:31.497Z] Removing intermediate container 88d1d97f4fbc [2022-06-17T11:56:31.497Z] ---> 48a965c31870 [2022-06-17T11:56:31.497Z] Step 8/25 : WORKDIR /device-rest-go [2022-06-17T11:56:31.772Z] ---> Running in e9db65e6424c [2022-06-17T11:56:31.772Z] Removing intermediate container e9db65e6424c [2022-06-17T11:56:31.772Z] ---> 39c7f65cf193 [2022-06-17T11:56:31.772Z] Step 9/25 : COPY go.mod vendor* ./ [2022-06-17T11:56:31.772Z] ---> 058f3d222fa5 [2022-06-17T11:56:31.772Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T11:56:32.035Z] ---> Running in f820dfa8b823 [2022-06-17T11:56:32.604Z] Removing intermediate container f820dfa8b823 [2022-06-17T11:56:32.604Z] ---> 3909907d558f [2022-06-17T11:56:32.604Z] Step 11/25 : COPY . . [2022-06-17T11:56:32.867Z] ---> cd9bf0016856 [2022-06-17T11:56:32.867Z] Step 12/25 : RUN $MAKE [2022-06-17T11:56:32.867Z] ---> Running in 06595050b7e6 [2022-06-17T11:56:33.125Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-06-17T11:56:55.074Z] Removing intermediate container 06595050b7e6 [2022-06-17T11:56:55.074Z] ---> e1f45ae04883 [2022-06-17T11:56:55.074Z] Step 13/25 : FROM alpine:3.14 [2022-06-17T11:56:55.074Z] 3.14: Pulling from library/alpine [2022-06-17T11:56:55.074Z] 8663204ce13b: Pulling fs layer [2022-06-17T11:56:55.074Z] 8663204ce13b: Verifying Checksum [2022-06-17T11:56:55.074Z] 8663204ce13b: Download complete [2022-06-17T11:56:55.074Z] 8663204ce13b: Pull complete [2022-06-17T11:56:55.074Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-17T11:56:55.074Z] Status: Downloaded newer image for alpine:3.14 [2022-06-17T11:56:55.074Z] ---> e04c818066af [2022-06-17T11:56:55.074Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-17T11:56:55.074Z] ---> Running in 02e8098ceeda [2022-06-17T11:56:55.074Z] Removing intermediate container 02e8098ceeda [2022-06-17T11:56:55.074Z] ---> 731a8fb14b0a [2022-06-17T11:56:55.074Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-17T11:56:55.074Z] ---> Running in 926fc57f4e60 [2022-06-17T11:56:55.074Z] Removing intermediate container 926fc57f4e60 [2022-06-17T11:56:55.074Z] ---> e66fdb4ad41e [2022-06-17T11:56:55.074Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-17T11:56:55.074Z] ---> Running in d440b540690f [2022-06-17T11:56:55.074Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-17T11:56:55.074Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-17T11:56:55.074Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-17T11:56:55.074Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-17T11:56:55.074Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-17T11:56:55.074Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-17T11:56:55.074Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-17T11:56:55.074Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-17T11:56:55.074Z] Executing busybox-1.33.1-r7.trigger [2022-06-17T11:56:55.074Z] OK: 8 MiB in 20 packages [2022-06-17T11:56:55.074Z] Removing intermediate container d440b540690f [2022-06-17T11:56:55.074Z] ---> 46ad27d863a5 [2022-06-17T11:56:55.074Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-06-17T11:56:55.074Z] ---> 57334ee66a51 [2022-06-17T11:56:55.074Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-17T11:56:55.074Z] ---> 2b2e3b4d202c [2022-06-17T11:56:55.074Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-17T11:56:55.074Z] ---> a4fa07c5520d [2022-06-17T11:56:55.074Z] Step 20/25 : EXPOSE 59986 [2022-06-17T11:56:55.075Z] ---> Running in b1733725474a [2022-06-17T11:56:55.075Z] Removing intermediate container b1733725474a [2022-06-17T11:56:55.075Z] ---> f37f845fedc3 [2022-06-17T11:56:55.075Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-06-17T11:56:55.075Z] ---> Running in 70426b2c84d5 [2022-06-17T11:56:55.075Z] Removing intermediate container 70426b2c84d5 [2022-06-17T11:56:55.075Z] ---> 2be374c0677b [2022-06-17T11:56:55.075Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-17T11:56:55.075Z] ---> Running in 5981fe9a0f22 [2022-06-17T11:56:55.336Z] Removing intermediate container 5981fe9a0f22 [2022-06-17T11:56:55.336Z] ---> b2c86b057e0a [2022-06-17T11:56:55.336Z] Step 23/25 : LABEL arch=amd64 [2022-06-17T11:56:55.336Z] ---> Running in 502e277cfce1 [2022-06-17T11:56:55.336Z] Removing intermediate container 502e277cfce1 [2022-06-17T11:56:55.336Z] ---> 9bd8239306d9 [2022-06-17T11:56:55.336Z] Step 24/25 : LABEL git_sha=cf50e945790f732748d4250969162252e0801495 [2022-06-17T11:56:55.336Z] ---> Running in 836c2908f239 [2022-06-17T11:56:55.597Z] Removing intermediate container 836c2908f239 [2022-06-17T11:56:55.597Z] ---> fe640fe02baf [2022-06-17T11:56:55.597Z] Step 25/25 : LABEL version=0.0.0 [2022-06-17T11:56:55.597Z] ---> Running in 191a9a3e9ad7 [2022-06-17T11:56:55.597Z] Removing intermediate container 191a9a3e9ad7 [2022-06-17T11:56:55.597Z] ---> 1ed9ec386919 [2022-06-17T11:56:55.597Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-17T11:56:55.597Z] Successfully built 1ed9ec386919 [2022-06-17T11:56:55.597Z] 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 [2022-06-17T11:56:56.446Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T11:56:56.446Z] [2022-06-17T11:56:56.446Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T11:56:56.799Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T11:56:56.799Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-17T11:56:56.799Z] 5eb5b503b376: Pulling fs layer [2022-06-17T11:56:56.799Z] 5c69ac0246d0: Pulling fs layer [2022-06-17T11:56:56.799Z] ec43610c2a17: Pulling fs layer [2022-06-17T11:56:56.799Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-17T11:56:56.799Z] 33b1e0a273af: Pulling fs layer [2022-06-17T11:56:56.799Z] 5d3b04190fa2: Pulling fs layer [2022-06-17T11:56:56.799Z] 2f39f015ded8: Pulling fs layer [2022-06-17T11:56:56.799Z] 3a2ae6a8a46f: Waiting [2022-06-17T11:56:56.799Z] 33b1e0a273af: Waiting [2022-06-17T11:56:56.799Z] 5d3b04190fa2: Waiting [2022-06-17T11:56:56.799Z] 5c69ac0246d0: Verifying Checksum [2022-06-17T11:56:56.799Z] 5c69ac0246d0: Download complete [2022-06-17T11:56:56.799Z] 3a2ae6a8a46f: Download complete [2022-06-17T11:56:56.799Z] 33b1e0a273af: Verifying Checksum [2022-06-17T11:56:56.799Z] 33b1e0a273af: Download complete [2022-06-17T11:56:56.799Z] ec43610c2a17: Verifying Checksum [2022-06-17T11:56:56.800Z] ec43610c2a17: Download complete [2022-06-17T11:56:56.800Z] 5d3b04190fa2: Verifying Checksum [2022-06-17T11:56:56.800Z] 5d3b04190fa2: Download complete [2022-06-17T11:56:57.059Z] 5eb5b503b376: Verifying Checksum [2022-06-17T11:56:57.059Z] 5eb5b503b376: Download complete [2022-06-17T11:56:57.636Z] 2f39f015ded8: Verifying Checksum [2022-06-17T11:56:57.636Z] 2f39f015ded8: Download complete [2022-06-17T11:56:58.205Z] 5eb5b503b376: Pull complete [2022-06-17T11:56:58.466Z] 5c69ac0246d0: Pull complete [2022-06-17T11:56:58.726Z] ec43610c2a17: Pull complete [2022-06-17T11:56:58.727Z] 3a2ae6a8a46f: Pull complete [2022-06-17T11:56:58.986Z] 33b1e0a273af: Pull complete [2022-06-17T11:56:59.246Z] 5d3b04190fa2: Pull complete [2022-06-17T11:57:03.436Z] 2f39f015ded8: Pull complete [2022-06-17T11:57:03.696Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-17T11:57:03.696Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T11:57:03.696Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T11:57:03.918Z] prd-ubuntu20.04-docker-8c-8g-2573 does not seem to be running inside a container [2022-06-17T11:57:03.959Z] $ 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-197 -v /w/workspace/gexfoundry_device-rest-go_PR-197:/w/workspace/gexfoundry_device-rest-go_PR-197:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-197@tmp:/w/workspace/gexfoundry_device-rest-go_PR-197@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-17T11:57:05.829Z] $ docker top f9b0765305049010ad8508584994cf43fd20002f3af5e2747dd56606312358e0 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T11:57:06.270Z] ---> job-cost.sh [2022-06-17T11:57:06.270Z] lf-activate-venv: SKIPPING [2022-06-17T11:57:06.270Z] INFO: No Stack... [2022-06-17T11:57:06.538Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-17T11:57:07.108Z] INFO: Archiving Costs [Pipeline] sh [2022-06-17T11:57:07.415Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-197/archives/cost.csv [2022-06-17T11:57:07.415Z] + cut -d, -f6 [Pipeline] lock [2022-06-17T11:57:07.453Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-197-1-stack-cost] [2022-06-17T11:57:07.458Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-197-1-stack-cost] did not exist. Created. [2022-06-17T11:57:07.458Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-197-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-17T11:57:07.847Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-17T11:57:07.900Z] Stashed 1 file(s) [Pipeline] } [2022-06-17T11:57:07.923Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-197-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-17T11:57:08.008Z] $ docker stop --time=1 f9b0765305049010ad8508584994cf43fd20002f3af5e2747dd56606312358e0 [2022-06-17T11:57:09.183Z] $ docker rm -f f9b0765305049010ad8508584994cf43fd20002f3af5e2747dd56606312358e0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-17T11:58:50.811Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-2574 in /w/workspace/gexfoundry_device-rest-go_PR-197 [Pipeline] { [Pipeline] ws [2022-06-17T11:58:50.852Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-06-17T11:58:50.946Z] The recommended git tool is: git [2022-06-17T11:58:57.358Z] using credential edgex-jenkins-ssh [2022-06-17T11:58:57.438Z] Cloning the remote Git repository [2022-06-17T11:58:57.553Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-06-17T11:58:57.663Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-06-17T11:58:57.830Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-06-17T11:58:57.831Z] > git --version # timeout=10 [2022-06-17T11:58:57.857Z] > git --version # 'git version 2.25.1' [2022-06-17T11:58:57.859Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T11:58:57.922Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-17T11:58:59.666Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-06-17T11:58:59.683Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-17T11:58:59.713Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-06-17T11:58:59.754Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-06-17T11:58:59.754Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T11:58:59.766Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/197/head:refs/remotes/origin/PR-197 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-06-17T11:59:00.245Z] Merging remotes/origin/main commit 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 into PR head commit cf50e945790f732748d4250969162252e0801495 [2022-06-17T11:59:00.465Z] Merge succeeded, producing cf50e945790f732748d4250969162252e0801495 [2022-06-17T11:59:00.466Z] Checking out Revision cf50e945790f732748d4250969162252e0801495 (PR-197) [2022-06-17T11:59:00.270Z] > git config core.sparsecheckout # timeout=10 [2022-06-17T11:59:00.297Z] > git checkout -f cf50e945790f732748d4250969162252e0801495 # timeout=10 [2022-06-17T11:59:00.379Z] > git remote # timeout=10 [2022-06-17T11:59:00.395Z] > git config --get remote.origin.url # timeout=10 [2022-06-17T11:59:00.414Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-17T11:59:00.427Z] > git merge 1cad1b3ab7defbb98e091de6cdc18e5f9044bad9 # timeout=10 [2022-06-17T11:59:00.452Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-06-17T11:59:00.479Z] > git config core.sparsecheckout # timeout=10 [2022-06-17T11:59:00.491Z] > git checkout -f cf50e945790f732748d4250969162252e0801495 # timeout=10 [2022-06-17T11:59:04.655Z] Commit message: "build: Upgrade sdk and paho.mqtt lib" [2022-06-17T11:59:04.715Z] > git --version # timeout=10 [2022-06-17T11:59:04.729Z] > git --version # 'git version 2.25.1' [2022-06-17T11:59:04.742Z] fatal: bad object 2c7614b56cb57ece5b5bdf52d827492071d4cc62 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T11:59:05.787Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-17T11:59:05.787Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-17T11:59:05.787Z] Dload Upload Total Spent Left Speed [2022-06-17T11:59:05.787Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 66956 0 --:--:-- --:--:-- --:--:-- 66956 [Pipeline] sh [2022-06-17T11:59:06.720Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-17T11:59:07.079Z] + sudo+ sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-06-17T11:59:07.079Z] tee /etc/docker/daemon.new [2022-06-17T11:59:07.079Z] { [2022-06-17T11:59:07.079Z] "registry-mirrors": [ [2022-06-17T11:59:07.079Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-17T11:59:07.079Z] ], [2022-06-17T11:59:07.079Z] "bip": "10.250.0.254/24", [2022-06-17T11:59:07.079Z] "hosts": [ [2022-06-17T11:59:07.079Z] "tcp://0.0.0.0:5555", [2022-06-17T11:59:07.079Z] "unix:///var/run/docker.sock" [2022-06-17T11:59:07.079Z] ], [2022-06-17T11:59:07.079Z] "mtu": 1458, [2022-06-17T11:59:07.079Z] "selinux-enabled": true, [2022-06-17T11:59:07.079Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-17T11:59:07.079Z] } [Pipeline] sh [2022-06-17T11:59:07.442Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-17T11:59:07.802Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T11:59:26.222Z] provisioning config files... [2022-06-17T11:59:26.249Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config3842564996731442314tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T11:59:26.651Z] ---> docker-login.sh [2022-06-17T11:59:26.651Z] nexus3.edgexfoundry.org:10001 [2022-06-17T11:59:27.249Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:59:27.524Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:59:27.524Z] Configure a credential helper to remove this warning. See [2022-06-17T11:59:27.524Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:59:27.524Z] [2022-06-17T11:59:27.524Z] Login Succeeded [2022-06-17T11:59:27.524Z] nexus3.edgexfoundry.org:10002 [2022-06-17T11:59:27.804Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:59:28.080Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:59:28.080Z] Configure a credential helper to remove this warning. See [2022-06-17T11:59:28.080Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:59:28.080Z] [2022-06-17T11:59:28.080Z] Login Succeeded [2022-06-17T11:59:28.080Z] nexus3.edgexfoundry.org:10003 [2022-06-17T11:59:28.357Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:59:28.357Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:59:28.357Z] Configure a credential helper to remove this warning. See [2022-06-17T11:59:28.357Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:59:28.357Z] [2022-06-17T11:59:28.357Z] Login Succeeded [2022-06-17T11:59:28.357Z] nexus3.edgexfoundry.org:10004 [2022-06-17T11:59:28.957Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:59:28.957Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:59:28.957Z] Configure a credential helper to remove this warning. See [2022-06-17T11:59:28.957Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:59:28.957Z] [2022-06-17T11:59:28.957Z] Login Succeeded [2022-06-17T11:59:28.957Z] docker.io [2022-06-17T11:59:29.233Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-17T11:59:29.830Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-17T11:59:29.830Z] Configure a credential helper to remove this warning. See [2022-06-17T11:59:29.830Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-17T11:59:29.830Z] [2022-06-17T11:59:29.830Z] Login Succeeded [2022-06-17T11:59:29.830Z] ---> docker-login.sh ends [Pipeline] } [2022-06-17T11:59:29.859Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-17T11:59:30.231Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T11:59:30.267Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-17T11:59:30.298Z] ========================================================= [2022-06-17T11:59:30.298Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-17T11:59:30.298Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T11:59:30.806Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-17T11:59:30.806Z] Sending build context to Docker daemon 129kB [2022-06-17T11:59:31.086Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T11:59:31.086Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-17T11:59:31.368Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-17T11:59:31.368Z] 9b3977197b4f: Pulling fs layer [2022-06-17T11:59:31.368Z] 1a89e8eeedd5: Pulling fs layer [2022-06-17T11:59:31.368Z] 94645a83ff95: Pulling fs layer [2022-06-17T11:59:31.368Z] e6fb740bc735: Pulling fs layer [2022-06-17T11:59:31.368Z] 3a77bd46dcc9: Pulling fs layer [2022-06-17T11:59:31.368Z] 355e64cbe906: Pulling fs layer [2022-06-17T11:59:31.368Z] 63ab81a10011: Pulling fs layer [2022-06-17T11:59:31.368Z] 555d1d1c4555: Pulling fs layer [2022-06-17T11:59:31.368Z] 7d9057610161: Pulling fs layer [2022-06-17T11:59:31.368Z] 355e64cbe906: Waiting [2022-06-17T11:59:31.368Z] e6fb740bc735: Waiting [2022-06-17T11:59:31.368Z] 63ab81a10011: Waiting [2022-06-17T11:59:31.368Z] 3a77bd46dcc9: Waiting [2022-06-17T11:59:31.368Z] 555d1d1c4555: Waiting [2022-06-17T11:59:31.368Z] 7d9057610161: Waiting [2022-06-17T11:59:31.368Z] 94645a83ff95: Verifying Checksum [2022-06-17T11:59:31.368Z] 94645a83ff95: Download complete [2022-06-17T11:59:31.368Z] 1a89e8eeedd5: Verifying Checksum [2022-06-17T11:59:31.368Z] 1a89e8eeedd5: Download complete [2022-06-17T11:59:31.368Z] 3a77bd46dcc9: Verifying Checksum [2022-06-17T11:59:31.368Z] 3a77bd46dcc9: Download complete [2022-06-17T11:59:31.368Z] 355e64cbe906: Verifying Checksum [2022-06-17T11:59:31.368Z] 355e64cbe906: Download complete [2022-06-17T11:59:31.368Z] 63ab81a10011: Verifying Checksum [2022-06-17T11:59:31.368Z] 63ab81a10011: Download complete [2022-06-17T11:59:31.368Z] 9b3977197b4f: Verifying Checksum [2022-06-17T11:59:32.352Z] 9b3977197b4f: Pull complete [2022-06-17T11:59:32.352Z] 7d9057610161: Verifying Checksum [2022-06-17T11:59:32.352Z] 7d9057610161: Download complete [2022-06-17T11:59:32.960Z] 1a89e8eeedd5: Pull complete [2022-06-17T11:59:33.237Z] 94645a83ff95: Pull complete [2022-06-17T11:59:33.516Z] 555d1d1c4555: Verifying Checksum [2022-06-17T11:59:33.516Z] 555d1d1c4555: Download complete [2022-06-17T11:59:34.115Z] e6fb740bc735: Download complete [2022-06-17T11:59:46.541Z] e6fb740bc735: Pull complete [2022-06-17T11:59:46.541Z] 3a77bd46dcc9: Pull complete [2022-06-17T11:59:46.541Z] 355e64cbe906: Pull complete [2022-06-17T11:59:46.820Z] 63ab81a10011: Pull complete [2022-06-17T11:59:53.557Z] 555d1d1c4555: Pull complete [2022-06-17T11:59:55.545Z] 7d9057610161: Pull complete [2022-06-17T11:59:55.545Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-17T11:59:55.545Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-17T11:59:55.545Z] ---> 819e984ddca1 [2022-06-17T11:59:55.545Z] Step 3/12 : ARG MAKE='make build' [2022-06-17T11:59:56.156Z] ---> Running in 099076a7bd57 [2022-06-17T11:59:56.437Z] Removing intermediate container 099076a7bd57 [2022-06-17T11:59:56.437Z] ---> a404b07eb1c0 [2022-06-17T11:59:56.437Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T11:59:56.437Z] ---> Running in 3d95b22cc6b8 [2022-06-17T11:59:56.729Z] Removing intermediate container 3d95b22cc6b8 [2022-06-17T11:59:56.729Z] ---> 14907614e406 [2022-06-17T11:59:56.729Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T11:59:57.008Z] ---> Running in 7e3349e12016 [2022-06-17T11:59:58.465Z] Removing intermediate container 7e3349e12016 [2022-06-17T11:59:58.465Z] ---> 0f21a9943cb2 [2022-06-17T11:59:58.465Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T11:59:58.465Z] ---> Running in 5d91f155b418 [2022-06-17T12:00:00.451Z] Removing intermediate container 5d91f155b418 [2022-06-17T12:00:00.451Z] ---> ffceb1e29a30 [2022-06-17T12:00:00.451Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T12:00:00.451Z] ---> Running in aaf104b0d26d [2022-06-17T12:00:01.047Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T12:00:02.024Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T12:00:03.000Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-17T12:00:03.000Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-17T12:00:03.000Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-17T12:00:03.274Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-17T12:00:03.274Z] Executing busybox-1.34.1-r3.trigger [2022-06-17T12:00:03.274Z] OK: 224 MiB in 56 packages [2022-06-17T12:00:04.267Z] Removing intermediate container aaf104b0d26d [2022-06-17T12:00:04.267Z] ---> 0cb6a5a1ca7b [2022-06-17T12:00:04.267Z] Step 8/12 : WORKDIR /device-rest-go [2022-06-17T12:00:04.267Z] ---> Running in 734b335d3358 [2022-06-17T12:00:04.542Z] Removing intermediate container 734b335d3358 [2022-06-17T12:00:04.542Z] ---> 56d7ee7cc0b5 [2022-06-17T12:00:04.542Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-17T12:00:05.143Z] ---> 7a1ef229f57a [2022-06-17T12:00:05.143Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T12:00:05.143Z] ---> Running in cd7da09eaf87 [2022-06-17T12:00:52.130Z] Removing intermediate container cd7da09eaf87 [2022-06-17T12:00:52.130Z] ---> 60dfcfd35efd [2022-06-17T12:00:52.130Z] Step 11/12 : COPY . . [2022-06-17T12:00:52.130Z] ---> caa8adc81c3d [2022-06-17T12:00:52.130Z] Step 12/12 : RUN $MAKE [2022-06-17T12:00:52.130Z] ---> Running in 26e059c04289 [2022-06-17T12:00:52.130Z] noop [2022-06-17T12:00:52.130Z] Removing intermediate container 26e059c04289 [2022-06-17T12:00:52.130Z] ---> 02baffbef938 [2022-06-17T12:00:52.130Z] Successfully built 02baffbef938 [2022-06-17T12:00:52.130Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T12:00:52.602Z] + docker inspect -f . ci-base-image-arm64 [2022-06-17T12:00:52.602Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T12:00:52.906Z] prd-ubuntu20.04-docker-arm64-4c-16g-2574 does not seem to be running inside a container [2022-06-17T12:00:52.995Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-17T12:00:54.212Z] $ docker top c0892d85790e30de7fafc7e146efeeadb6e74adca4d52d803ea25a893f2eee0d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T12:00:55.128Z] + go version [2022-06-17T12:00:55.128Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-17T12:00:55.166Z] $ docker stop --time=1 c0892d85790e30de7fafc7e146efeeadb6e74adca4d52d803ea25a893f2eee0d [2022-06-17T12:00:56.791Z] $ docker rm -f c0892d85790e30de7fafc7e146efeeadb6e74adca4d52d803ea25a893f2eee0d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T12:00:57.688Z] + docker inspect -f . ci-base-image-arm64 [2022-06-17T12:00:57.688Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T12:00:57.999Z] prd-ubuntu20.04-docker-arm64-4c-16g-2574 does not seem to be running inside a container [2022-06-17T12:00:58.080Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2022-06-17T12:00:59.320Z] $ docker top f23da660066c59b99b9892b1bfb3d8c58798829d790a0c3a55d975c28ce4a048 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-17T12:01:00.282Z] + make test [2022-06-17T12:01:00.282Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-17T12:01:01.726Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-17T12:02:23.623Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-17T12:02:23.623Z] ok github.com/edgexfoundry/device-rest-go/driver 0.066s coverage: 55.2% of statements [2022-06-17T12:02:23.623Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-17T12:02:23.623Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-17T12:02:45.830Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-17T12:02:45.830Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-17T12:02:45.830Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-17T12:02:48.484Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-17T12:02:48.520Z] $ docker stop --time=1 f23da660066c59b99b9892b1bfb3d8c58798829d790a0c3a55d975c28ce4a048 [2022-06-17T12:02:50.336Z] $ docker rm -f f23da660066c59b99b9892b1bfb3d8c58798829d790a0c3a55d975c28ce4a048 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-17T12:02:51.325Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-17T12:02:51.358Z] Warning: overwriting stash ‘coverage-report’ [2022-06-17T12:02:51.803Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-17T12:02:52.404Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-17T12:02:52.759Z] + ls -al . [2022-06-17T12:02:52.759Z] total 168 [2022-06-17T12:02:52.759Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 12:02 . [2022-06-17T12:02:52.759Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 17 11:58 .. [2022-06-17T12:02:52.759Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 17 11:59 .dockerignore [2022-06-17T12:02:52.759Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 17 11:59 .git [2022-06-17T12:02:52.759Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 11:59 .github [2022-06-17T12:02:52.759Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 17 11:59 .gitignore [2022-06-17T12:02:52.759Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 17 11:59 .golangci.yml [2022-06-17T12:02:52.759Z] -rw-rw-r-- 1 jenkins jenkins 8724 Jun 17 11:59 Attribution.txt [2022-06-17T12:02:52.759Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jun 17 11:59 CHANGELOG.md [2022-06-17T12:02:52.759Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jun 17 11:59 Dockerfile [2022-06-17T12:02:52.759Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 17 11:59 GOVERNANCE.md [2022-06-17T12:02:52.759Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 17 11:59 Jenkinsfile [2022-06-17T12:02:52.759Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 17 11:59 LICENSE [2022-06-17T12:02:52.759Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jun 17 11:59 Makefile [2022-06-17T12:02:52.759Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 17 11:59 OWNERS.md [2022-06-17T12:02:52.759Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jun 17 11:59 README.md [2022-06-17T12:02:52.759Z] -rw-rw-r-- 1 jenkins jenkins 5 Jun 17 11:55 VERSION [2022-06-17T12:02:52.759Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 11:59 bin [2022-06-17T12:02:52.759Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 11:59 cmd [2022-06-17T12:02:52.759Z] -rw-r--r-- 1 jenkins jenkins 9355 Jun 17 12:02 coverage.out [2022-06-17T12:02:52.759Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 17 11:59 driver [2022-06-17T12:02:52.759Z] -rw-rw-r-- 1 jenkins jenkins 3337 Jun 17 11:59 go.mod [2022-06-17T12:02:52.759Z] -rw-rw-r-- 1 jenkins jenkins 36102 Jun 17 11:59 go.sum [2022-06-17T12:02:52.759Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 17 11:59 snap [2022-06-17T12:02:52.759Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 17 11:59 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T12:02:53.201Z] + 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=cf50e945790f732748d4250969162252e0801495 --label arch=arm64 --label version=0.0.0 . [2022-06-17T12:02:53.201Z] Sending build context to Docker daemon 139.3kB [2022-06-17T12:02:53.492Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-17T12:02:53.492Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-17T12:02:53.492Z] ---> 02baffbef938 [2022-06-17T12:02:53.492Z] Step 3/25 : ARG MAKE='make build' [2022-06-17T12:02:53.492Z] ---> Running in fa9027f5daf7 [2022-06-17T12:02:54.100Z] Removing intermediate container fa9027f5daf7 [2022-06-17T12:02:54.100Z] ---> 05c4159b8f44 [2022-06-17T12:02:54.100Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-17T12:02:54.100Z] ---> Running in 0191d14c3f3c [2022-06-17T12:02:54.380Z] Removing intermediate container 0191d14c3f3c [2022-06-17T12:02:54.380Z] ---> fe0afa77563f [2022-06-17T12:02:54.380Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-06-17T12:02:54.380Z] ---> Running in 6d3314e4f33d [2022-06-17T12:02:54.664Z] Removing intermediate container 6d3314e4f33d [2022-06-17T12:02:54.664Z] ---> f1b79ba4d9f5 [2022-06-17T12:02:54.664Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-17T12:02:54.664Z] ---> Running in 63e22aff2676 [2022-06-17T12:02:56.659Z] Removing intermediate container 63e22aff2676 [2022-06-17T12:02:56.659Z] ---> c9d32354578c [2022-06-17T12:02:56.659Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-17T12:02:56.659Z] ---> Running in ffc8150190d7 [2022-06-17T12:02:57.642Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-17T12:02:58.626Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-17T12:02:59.624Z] OK: 224 MiB in 56 packages [2022-06-17T12:03:00.231Z] Removing intermediate container ffc8150190d7 [2022-06-17T12:03:00.231Z] ---> da0d940cbfa1 [2022-06-17T12:03:00.231Z] Step 8/25 : WORKDIR /device-rest-go [2022-06-17T12:03:00.231Z] ---> Running in 4017d557e2cc [2022-06-17T12:03:00.508Z] Removing intermediate container 4017d557e2cc [2022-06-17T12:03:00.508Z] ---> a7851283f3f1 [2022-06-17T12:03:00.508Z] Step 9/25 : COPY go.mod vendor* ./ [2022-06-17T12:03:01.115Z] ---> 4490f9f75907 [2022-06-17T12:03:01.115Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-17T12:03:01.405Z] ---> Running in 449f8607c137 [2022-06-17T12:03:03.396Z] Removing intermediate container 449f8607c137 [2022-06-17T12:03:03.396Z] ---> 058ce5d9d80a [2022-06-17T12:03:03.396Z] Step 11/25 : COPY . . [2022-06-17T12:03:03.675Z] ---> c74d692aad3b [2022-06-17T12:03:03.675Z] Step 12/25 : RUN $MAKE [2022-06-17T12:03:03.952Z] ---> Running in 301067f1db36 [2022-06-17T12:03:04.939Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-06-17T12:05:11.857Z] Removing intermediate container 301067f1db36 [2022-06-17T12:05:11.857Z] ---> 021b5a455a9f [2022-06-17T12:05:11.857Z] Step 13/25 : FROM alpine:3.14 [2022-06-17T12:05:11.857Z] 3.14: Pulling from library/alpine [2022-06-17T12:05:11.857Z] 455c02918c45: Pulling fs layer [2022-06-17T12:05:11.857Z] 455c02918c45: Verifying Checksum [2022-06-17T12:05:11.857Z] 455c02918c45: Download complete [2022-06-17T12:05:11.857Z] 455c02918c45: Pull complete [2022-06-17T12:05:11.857Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-17T12:05:11.857Z] Status: Downloaded newer image for alpine:3.14 [2022-06-17T12:05:11.857Z] ---> ac73e934f311 [2022-06-17T12:05:11.857Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-17T12:05:11.857Z] ---> Running in e56a0c60bf1c [2022-06-17T12:05:11.857Z] Removing intermediate container e56a0c60bf1c [2022-06-17T12:05:11.857Z] ---> 4313f85651f4 [2022-06-17T12:05:11.857Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-17T12:05:11.857Z] ---> Running in 272e940bf891 [2022-06-17T12:05:11.857Z] Removing intermediate container 272e940bf891 [2022-06-17T12:05:11.857Z] ---> 9cac678cea31 [2022-06-17T12:05:11.857Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-17T12:05:11.857Z] ---> Running in 99a8cde098e0 [2022-06-17T12:05:11.857Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-17T12:05:11.857Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-17T12:05:11.857Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-17T12:05:11.857Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-17T12:05:11.857Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-17T12:05:11.857Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-17T12:05:11.857Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-17T12:05:11.857Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-17T12:05:11.857Z] Executing busybox-1.33.1-r7.trigger [2022-06-17T12:05:11.857Z] OK: 8 MiB in 20 packages [2022-06-17T12:05:11.857Z] Removing intermediate container 99a8cde098e0 [2022-06-17T12:05:11.857Z] ---> 8cd4f89d0dba [2022-06-17T12:05:11.857Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-06-17T12:05:12.462Z] ---> dcaa678d64d2 [2022-06-17T12:05:12.462Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-17T12:05:13.062Z] ---> 01b353cd4bdf [2022-06-17T12:05:13.062Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-17T12:05:13.669Z] ---> e20efb8a7bd5 [2022-06-17T12:05:13.669Z] Step 20/25 : EXPOSE 59986 [2022-06-17T12:05:13.669Z] ---> Running in 769313873c46 [2022-06-17T12:05:13.943Z] Removing intermediate container 769313873c46 [2022-06-17T12:05:13.943Z] ---> 8f2f4975796f [2022-06-17T12:05:13.943Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-06-17T12:05:13.943Z] ---> Running in 5cefec3a7f0a [2022-06-17T12:05:14.226Z] Removing intermediate container 5cefec3a7f0a [2022-06-17T12:05:14.226Z] ---> 518f1f1338f1 [2022-06-17T12:05:14.226Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-17T12:05:14.503Z] ---> Running in af4f02473c61 [2022-06-17T12:05:14.779Z] Removing intermediate container af4f02473c61 [2022-06-17T12:05:14.779Z] ---> 4083e550c6e1 [2022-06-17T12:05:14.779Z] Step 23/25 : LABEL arch=arm64 [2022-06-17T12:05:14.779Z] ---> Running in 75ed919c806a [2022-06-17T12:05:15.053Z] Removing intermediate container 75ed919c806a [2022-06-17T12:05:15.053Z] ---> 6de04f01d2db [2022-06-17T12:05:15.053Z] Step 24/25 : LABEL git_sha=cf50e945790f732748d4250969162252e0801495 [2022-06-17T12:05:15.053Z] ---> Running in ab81ffbd66be [2022-06-17T12:05:15.652Z] Removing intermediate container ab81ffbd66be [2022-06-17T12:05:15.652Z] ---> 811b7cea2e1c [2022-06-17T12:05:15.652Z] Step 25/25 : LABEL version=0.0.0 [2022-06-17T12:05:15.652Z] ---> Running in 16c778f45b01 [2022-06-17T12:05:15.926Z] Removing intermediate container 16c778f45b01 [2022-06-17T12:05:15.926Z] ---> 47b6795094fe [2022-06-17T12:05:15.926Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-17T12:05:15.926Z] Successfully built 47b6795094fe [2022-06-17T12:05:15.926Z] 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 [2022-06-17T12:05:16.748Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T12:05:16.748Z] [2022-06-17T12:05:16.748Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T12:05:17.179Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T12:05:17.456Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-17T12:05:17.456Z] 8998bd30e6a1: Pulling fs layer [2022-06-17T12:05:17.456Z] 04944245beec: Pulling fs layer [2022-06-17T12:05:17.456Z] 699f458cf7ca: Pulling fs layer [2022-06-17T12:05:17.456Z] 765212b225bb: Pulling fs layer [2022-06-17T12:05:17.456Z] f23df028b6ca: Pulling fs layer [2022-06-17T12:05:17.456Z] d65c8cfc05b1: Pulling fs layer [2022-06-17T12:05:17.456Z] 2437ff75d9bd: Pulling fs layer [2022-06-17T12:05:17.456Z] f23df028b6ca: Waiting [2022-06-17T12:05:17.456Z] d65c8cfc05b1: Waiting [2022-06-17T12:05:17.456Z] 2437ff75d9bd: Waiting [2022-06-17T12:05:17.456Z] 765212b225bb: Waiting [2022-06-17T12:05:17.456Z] 04944245beec: Verifying Checksum [2022-06-17T12:05:17.456Z] 04944245beec: Download complete [2022-06-17T12:05:17.456Z] 765212b225bb: Verifying Checksum [2022-06-17T12:05:17.456Z] 765212b225bb: Download complete [2022-06-17T12:05:17.456Z] f23df028b6ca: Verifying Checksum [2022-06-17T12:05:17.456Z] f23df028b6ca: Download complete [2022-06-17T12:05:17.456Z] d65c8cfc05b1: Verifying Checksum [2022-06-17T12:05:17.456Z] d65c8cfc05b1: Download complete [2022-06-17T12:05:17.735Z] 699f458cf7ca: Verifying Checksum [2022-06-17T12:05:17.735Z] 699f458cf7ca: Download complete [2022-06-17T12:05:18.013Z] 8998bd30e6a1: Verifying Checksum [2022-06-17T12:05:18.013Z] 8998bd30e6a1: Download complete [2022-06-17T12:05:20.649Z] 2437ff75d9bd: Verifying Checksum [2022-06-17T12:05:20.649Z] 2437ff75d9bd: Download complete [2022-06-17T12:05:22.636Z] 8998bd30e6a1: Pull complete [2022-06-17T12:05:22.913Z] 04944245beec: Pull complete [2022-06-17T12:05:24.346Z] 699f458cf7ca: Pull complete [2022-06-17T12:05:24.622Z] 765212b225bb: Pull complete [2022-06-17T12:05:25.605Z] f23df028b6ca: Pull complete [2022-06-17T12:05:25.605Z] d65c8cfc05b1: Pull complete [2022-06-17T12:05:40.692Z] 2437ff75d9bd: Pull complete [2022-06-17T12:05:40.692Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-17T12:05:40.692Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-17T12:05:40.692Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T12:05:41.065Z] prd-ubuntu20.04-docker-arm64-4c-16g-2574 does not seem to be running inside a container [2022-06-17T12:05:41.161Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-06-17T12:05:43.815Z] $ docker top dd8815f514648b800457bbcde9c56b3cdb2106b33bad8f08c25aa63a9d5bd9df -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-17T12:05:44.809Z] ---> job-cost.sh [2022-06-17T12:05:44.809Z] lf-activate-venv: SKIPPING [2022-06-17T12:05:44.809Z] INFO: No Stack... [2022-06-17T12:05:45.083Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-17T12:05:46.064Z] INFO: Archiving Costs [Pipeline] sh [2022-06-17T12:05:46.751Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [2022-06-17T12:05:46.751Z] + cut -d, -f6 [Pipeline] lock [2022-06-17T12:05:46.842Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-197-1-stack-cost] [2022-06-17T12:05:46.846Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-197-1-stack-cost] did not exist. Created. [2022-06-17T12:05:46.847Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-197-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-17T12:05:47.597Z] /w/workspace/device-rest-go/1@tmp/durable-564b32da/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-17T12:05:48.309Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-17T12:05:48.346Z] Warning: overwriting stash ‘stack-cost’ [2022-06-17T12:05:48.397Z] Stashed 1 file(s) [Pipeline] } [2022-06-17T12:05:48.413Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-197-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-17T12:05:48.495Z] $ docker stop --time=1 dd8815f514648b800457bbcde9c56b3cdb2106b33bad8f08c25aa63a9d5bd9df [2022-06-17T12:05:50.010Z] $ docker rm -f dd8815f514648b800457bbcde9c56b3cdb2106b33bad8f08c25aa63a9d5bd9df [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 [2022-06-17T12:05:51.015Z] provisioning config files... [2022-06-17T12:05:51.024Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-197@tmp/config4342518236699307905tmp [Pipeline] { [Pipeline] sh [2022-06-17T12:05:51.356Z] + set +x [2022-06-17T12:05:51.356Z] + bash -s+ -- [2022-06-17T12:05:51.356Z] curl -s https://codecov.io/bash [2022-06-17T12:05:51.356Z] [2022-06-17T12:05:51.356Z] _____ _ [2022-06-17T12:05:51.356Z] / ____| | | [2022-06-17T12:05:51.356Z] | | ___ __| | ___ ___ _____ __ [2022-06-17T12:05:51.356Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-17T12:05:51.356Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-17T12:05:51.356Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-17T12:05:51.356Z] Bash-1.0.6 [2022-06-17T12:05:51.356Z] [2022-06-17T12:05:51.356Z] [2022-06-17T12:05:51.356Z] ==> git version 2.25.1 found [2022-06-17T12:05:51.356Z] ==> 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 [2022-06-17T12:05:51.356Z] Release-Date: 2020-01-08 [2022-06-17T12:05:51.356Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-06-17T12:05:51.356Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-17T12:05:51.356Z] ==> Jenkins CI detected. [2022-06-17T12:05:51.356Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-197 [2022-06-17T12:05:51.356Z] project root: . [2022-06-17T12:05:51.356Z] --> token set from env [2022-06-17T12:05:51.356Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-17T12:05:51.356Z] ==> Running gcov in . (disable via -X gcov) [2022-06-17T12:05:51.356Z] ==> Python coveragepy not found [2022-06-17T12:05:51.356Z] ==> Searching for coverage reports in: [2022-06-17T12:05:51.356Z] + . [2022-06-17T12:05:51.356Z] -> Found 1 reports [2022-06-17T12:05:51.356Z] ==> Detecting git/mercurial file structure [2022-06-17T12:05:51.356Z] ==> Reading reports [2022-06-17T12:05:51.356Z] + ./coverage.out bytes=9355 [2022-06-17T12:05:51.356Z] ==> Appending adjustments [2022-06-17T12:05:51.356Z] https://docs.codecov.io/docs/fixing-reports [2022-06-17T12:05:51.617Z] + Found adjustments [2022-06-17T12:05:51.617Z] ==> Gzipping contents [2022-06-17T12:05:51.617Z] 4.0K /tmp/codecov.L7Z5z5.gz [2022-06-17T12:05:51.617Z] ==> Uploading reports [2022-06-17T12:05:51.617Z] url: https://codecov.io [2022-06-17T12:05:51.617Z] query: branch=PR-197&commit=cf50e945790f732748d4250969162252e0801495&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-197%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=197&job=&cmd_args= [2022-06-17T12:05:51.617Z] -> Pinging Codecov [2022-06-17T12:05:51.617Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-197&commit=cf50e945790f732748d4250969162252e0801495&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-197%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=197&job=&cmd_args= [2022-06-17T12:05:51.880Z] -> Uploading to [2022-06-17T12:05:51.880Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-17/4E5D53B4F1F92C436F7061BF334D961C/cf50e945790f732748d4250969162252e0801495/8c25dc95-ba70-48b1-a602-44818bf28a74.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220617%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220617T120551Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3a088b66602aeb6191423bc6d770972894f575edb5f1ebace251c1e1b8eb5277 [2022-06-17T12:05:51.880Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-17T12:05:51.880Z] Dload Upload Total Spent Left Speed [2022-06-17T12:05:52.141Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 7955 --:--:-- --:--:-- --:--:-- 7991 [2022-06-17T12:05:52.141Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/cf50e945790f732748d4250969162252e0801495 [Pipeline] } [2022-06-17T12:05:52.169Z] 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 [2022-06-17T12:05:54.029Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-197/archives ] [2022-06-17T12:05:54.029Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-197/archives [2022-06-17T12:05:54.029Z] total 16 [2022-06-17T12:05:54.029Z] drwxr-xr-x 3 root root 4096 Jun 17 11:57 . [2022-06-17T12:05:54.029Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 17 11:57 .. [2022-06-17T12:05:54.030Z] drwxr-xr-x 2 root root 4096 Jun 17 11:57 cost [2022-06-17T12:05:54.030Z] -rw-r--r-- 1 root root 85 Jun 17 11:57 cost.csv [2022-06-17T12:05:54.030Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-197/archives [2022-06-17T12:05:54.030Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-197/archives [2022-06-17T12:05:54.030Z] total 16 [2022-06-17T12:05:54.030Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 17 11:57 . [2022-06-17T12:05:54.030Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 17 11:57 .. [2022-06-17T12:05:54.030Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 17 11:57 cost [2022-06-17T12:05:54.030Z] -rw-r--r-- 1 jenkins jenkins 85 Jun 17 11:57 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-17T12:05:54.359Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T12:05:55.249Z] ---> package-listing.sh [2022-06-17T12:05:55.249Z] ++ facter osfamily [2022-06-17T12:05:55.249Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-17T12:05:55.512Z] + OS_FAMILY=debian [2022-06-17T12:05:55.512Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-197 [2022-06-17T12:05:55.512Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-17T12:05:55.512Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-17T12:05:55.512Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-17T12:05:55.512Z] + PACKAGES=/tmp/packages_start.txt [2022-06-17T12:05:55.512Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-197 ']' [2022-06-17T12:05:55.512Z] + PACKAGES=/tmp/packages_end.txt [2022-06-17T12:05:55.512Z] + case "${OS_FAMILY}" in [2022-06-17T12:05:55.512Z] + dpkg -l [2022-06-17T12:05:55.512Z] + grep '^ii' [2022-06-17T12:05:55.512Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-17T12:05:55.512Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-17T12:05:55.512Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-17T12:05:55.512Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-197 ']' [2022-06-17T12:05:55.512Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-197/archives/ [2022-06-17T12:05:55.512Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-197/archives/ [Pipeline] echo [2022-06-17T12:05:55.546Z] 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-197/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-06-17T12:05:55.842Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-17T12:05:56.484Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-17T12:05:56.484Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-17T12:05:56.621Z] prd-ubuntu20.04-docker-8c-8g-2573 does not seem to be running inside a container [2022-06-17T12:05:56.661Z] $ 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-197/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-197 -v /w/workspace/gexfoundry_device-rest-go_PR-197:/w/workspace/gexfoundry_device-rest-go_PR-197:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-197@tmp:/w/workspace/gexfoundry_device-rest-go_PR-197@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-17T12:05:56.888Z] $ docker top 9057a338b6872e09d399d486937b15441f866f8767c2c59fd0927c26c8e5844d -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-17T12:05:57.284Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-17T12:05:57.602Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-17T12:05:57.913Z] + ls /var/log/sa-host [2022-06-17T12:05:57.913Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-17T12:05:58.029Z] provisioning config files... [2022-06-17T12:05:58.038Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-197@tmp/config3174615355169607363tmp [Pipeline] { [Pipeline] echo [2022-06-17T12:05:58.091Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T12:05:58.401Z] ---> create-netrc.sh [Pipeline] } [2022-06-17T12:05:58.430Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-17T12:05:58.828Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-17T12:05:58.860Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T12:05:59.172Z] ---> sudo-logs.sh [2022-06-17T12:05:59.172Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-17T12:05:59.258Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T12:05:59.570Z] ---> job-cost.sh [2022-06-17T12:05:59.570Z] lf-activate-venv: SKIPPING [2022-06-17T12:05:59.570Z] DEBUG: total: 0.2199999988079071 [2022-06-17T12:05:59.570Z] INFO: Retrieving Stack Cost... [2022-06-17T12:05:59.832Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-17T12:06:00.402Z] INFO: Archiving Costs [Pipeline] echo [2022-06-17T12:06:00.436Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-17T12:06:00.747Z] ---> logs-deploy.sh [2022-06-17T12:06:00.747Z] lf-activate-venv: SKIPPING [2022-06-17T12:06:00.747Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-197/1 [2022-06-17T12:06:00.747Z] INFO: archiving workspace using pattern(s): [2022-06-17T12:06:01.690Z] Archives upload complete. [2022-06-17T12:06:01.690Z] INFO: archiving logs to Nexus