Pull request #187 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 970cf146fa6a294cb89ac37a37482cebec6dc33c+1b7989097685cbbb7d11325d5e96f20d406e46c7 (57db7947a0418bbf432b2f9bb2c8440640a8b1a2) 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-ssh5921099738896299313.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-ssh3443984680256887930.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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 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-187/workspace@libs/edgex-global-pipelines # 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-187/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh10667215381626327876.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-187/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh11535870780432090359.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 61d3a14f5ee21304eadc9c25f102bcac80e1a589 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 61d3a14f5ee21304eadc9c25f102bcac80e1a589 # timeout=10 Commit message: "Merge pull request #384 from ernestojeda/add-go-1_17-lts" > 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 shared 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-ssh3048988482808690946.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 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-187/workspace@libs/lf-pipelines # 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-187/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh4481092451504148899.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 b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > 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 61d3a14f5ee21304eadc9c25f102bcac80e1a589 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared 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 [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-42634 in /w/workspace/gexfoundry_device-rest-go_PR-187 [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-187 # 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 1b7989097685cbbb7d11325d5e96f20d406e46c7 into PR head commit 970cf146fa6a294cb89ac37a37482cebec6dc33c Merge succeeded, producing 970cf146fa6a294cb89ac37a37482cebec6dc33c Checking out Revision 970cf146fa6a294cb89ac37a37482cebec6dc33c (PR-187) > 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/187/head:refs/remotes/origin/PR-187 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 970cf146fa6a294cb89ac37a37482cebec6dc33c # 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 1b7989097685cbbb7d11325d5e96f20d406e46c7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 970cf146fa6a294cb89ac37a37482cebec6dc33c # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-05-09T20:14:03.930Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-09T20:14:04.118Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-09T20:14:04.229Z] ========================================================= [2022-05-09T20:14:04.229Z] EdgeX Global Pipelines Version Info [2022-05-09T20:14:04.229Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-09T20:14:05.032Z] ------------------- [2022-05-09T20:14:05.032Z] stable info: [2022-05-09T20:14:05.032Z] ------------------- [2022-05-09T20:14:05.032Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-09T20:14:05.032Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-09T20:14:05.032Z] Message: update stable to v1.0.227 [2022-05-09T20:14:05.612Z] ------------------- [2022-05-09T20:14:05.612Z] experimental info: [2022-05-09T20:14:05.612Z] ------------------- [2022-05-09T20:14:05.612Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-09T20:14:05.612Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-09T20:14:05.612Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-09T20:14:05.865Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-05-09T20:14:05.914Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-05-09T20:14:05.953Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-09T20:14:05.998Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-09T20:14:06.046Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-09T20:14:06.089Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-09T20:14:06.142Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-09T20:14:06.192Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-09T20:14:06.238Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-09T20:14:06.277Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-09T20:14:06.332Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-09T20:14:06.381Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-05-09T20:14:06.433Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-09T20:14:06.479Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-09T20:14:06.526Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-09T20:14:06.572Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-09T20:14:06.621Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-09T20:14:06.671Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-09T20:14:06.716Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-09T20:14:06.758Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-09T20:14:06.800Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-09T20:14:06.847Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-09T20:14:06.896Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-09T20:14:06.946Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-09T20:14:06.997Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-09T20:14:07.040Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-05-09T20:14:07.092Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-187 [Pipeline] echo [2022-05-09T20:14:07.139Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-187 [Pipeline] echo [2022-05-09T20:14:07.183Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-187 [Pipeline] echo [2022-05-09T20:14:07.231Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 970cf146fa6a294cb89ac37a37482cebec6dc33c [Pipeline] echo [2022-05-09T20:14:07.274Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 970cf14 [Pipeline] echo [2022-05-09T20:14:07.323Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-09T20:14:07.462Z] provisioning config files... [2022-05-09T20:14:07.484Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-187@tmp/config3335136585202292590tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T20:14:07.854Z] ---> docker-login.sh [2022-05-09T20:14:07.854Z] nexus3.edgexfoundry.org:10001 [2022-05-09T20:14:08.114Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T20:14:08.114Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T20:14:08.114Z] Configure a credential helper to remove this warning. See [2022-05-09T20:14:08.114Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T20:14:08.114Z] [2022-05-09T20:14:08.114Z] Login Succeeded [2022-05-09T20:14:08.114Z] nexus3.edgexfoundry.org:10002 [2022-05-09T20:14:08.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T20:14:08.375Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T20:14:08.375Z] Configure a credential helper to remove this warning. See [2022-05-09T20:14:08.375Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T20:14:08.375Z] [2022-05-09T20:14:08.375Z] Login Succeeded [2022-05-09T20:14:08.375Z] nexus3.edgexfoundry.org:10003 [2022-05-09T20:14:08.375Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T20:14:08.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T20:14:08.645Z] Configure a credential helper to remove this warning. See [2022-05-09T20:14:08.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T20:14:08.645Z] [2022-05-09T20:14:08.645Z] Login Succeeded [2022-05-09T20:14:08.645Z] nexus3.edgexfoundry.org:10004 [2022-05-09T20:14:08.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T20:14:08.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T20:14:08.645Z] Configure a credential helper to remove this warning. See [2022-05-09T20:14:08.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T20:14:08.645Z] [2022-05-09T20:14:08.645Z] Login Succeeded [2022-05-09T20:14:08.645Z] docker.io [2022-05-09T20:14:08.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T20:14:09.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T20:14:09.219Z] Configure a credential helper to remove this warning. See [2022-05-09T20:14:09.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T20:14:09.219Z] [2022-05-09T20:14:09.219Z] Login Succeeded [2022-05-09T20:14:09.219Z] ---> docker-login.sh ends [Pipeline] } [2022-05-09T20:14:09.314Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-05-09T20:14:09.990Z] + git rev-list -1 --merges 970cf146fa6a294cb89ac37a37482cebec6dc33c~1..970cf146fa6a294cb89ac37a37482cebec6dc33c [Pipeline] echo [2022-05-09T20:14:10.118Z] -----------> git rev-list -1 --merges 970cf146fa6a294cb89ac37a37482cebec6dc33c~1..970cf146fa6a294cb89ac37a37482cebec6dc33c 970cf146fa6a294cb89ac37a37482cebec6dc33c [false] [Pipeline] sh [2022-05-09T20:14:10.427Z] + git log --format=format:%s -1 970cf146fa6a294cb89ac37a37482cebec6dc33c [Pipeline] echo [2022-05-09T20:14:10.462Z] ========================================================= [2022-05-09T20:14:10.462Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-09T20:14:10.462Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-09T20:14:10.892Z] + git log --format=format:%s -1 970cf146fa6a294cb89ac37a37482cebec6dc33c [Pipeline] echo [2022-05-09T20:14:10.922Z] [semverPrep] GIT_COMMIT: 970cf146fa6a294cb89ac37a37482cebec6dc33c, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo [2022-05-09T20:14:10.947Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-09T20:14:11.351Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-09T20:14:11.351Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-09T20:14:11.351Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-09T20:14:11.351Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-09T20:14:11.351Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-09T20:14:11.351Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-09T20:14:11.351Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:14:11.718Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-09T20:14:11.718Z] [2022-05-09T20:14:11.718Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:14:12.066Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-09T20:14:12.066Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-09T20:14:12.066Z] 1fe172e4850f: Pulling fs layer [2022-05-09T20:14:12.066Z] caf521ccaac6: Pulling fs layer [2022-05-09T20:14:12.066Z] 3ead6fa29328: Pulling fs layer [2022-05-09T20:14:12.066Z] 5c2a1cbceb83: Pulling fs layer [2022-05-09T20:14:12.066Z] a8d5f1318db7: Pulling fs layer [2022-05-09T20:14:12.066Z] c427282e49a2: Pulling fs layer [2022-05-09T20:14:12.066Z] 5c2a1cbceb83: Waiting [2022-05-09T20:14:12.066Z] a8d5f1318db7: Waiting [2022-05-09T20:14:12.066Z] 1827001aaf11: Pulling fs layer [2022-05-09T20:14:12.066Z] 0714d37db230: Pulling fs layer [2022-05-09T20:14:12.066Z] ac28cf19c067: Pulling fs layer [2022-05-09T20:14:12.066Z] ca983d60f3e2: Pulling fs layer [2022-05-09T20:14:12.066Z] 9f894cec8388: Pulling fs layer [2022-05-09T20:14:12.066Z] c427282e49a2: Waiting [2022-05-09T20:14:12.066Z] 1827001aaf11: Waiting [2022-05-09T20:14:12.066Z] 0714d37db230: Waiting [2022-05-09T20:14:12.066Z] ac28cf19c067: Waiting [2022-05-09T20:14:12.066Z] ca983d60f3e2: Waiting [2022-05-09T20:14:12.066Z] 9f894cec8388: Waiting [2022-05-09T20:14:12.066Z] caf521ccaac6: Verifying Checksum [2022-05-09T20:14:12.066Z] caf521ccaac6: Download complete [2022-05-09T20:14:12.066Z] 5c2a1cbceb83: Verifying Checksum [2022-05-09T20:14:12.066Z] 5c2a1cbceb83: Download complete [2022-05-09T20:14:12.327Z] a8d5f1318db7: Verifying Checksum [2022-05-09T20:14:12.327Z] a8d5f1318db7: Download complete [2022-05-09T20:14:12.327Z] c427282e49a2: Download complete [2022-05-09T20:14:12.327Z] 3ead6fa29328: Verifying Checksum [2022-05-09T20:14:12.327Z] 3ead6fa29328: Download complete [2022-05-09T20:14:12.327Z] 0714d37db230: Verifying Checksum [2022-05-09T20:14:12.327Z] 0714d37db230: Download complete [2022-05-09T20:14:12.327Z] ac28cf19c067: Verifying Checksum [2022-05-09T20:14:12.327Z] ac28cf19c067: Download complete [2022-05-09T20:14:12.327Z] ca983d60f3e2: Verifying Checksum [2022-05-09T20:14:12.327Z] ca983d60f3e2: Download complete [2022-05-09T20:14:12.327Z] 9f894cec8388: Verifying Checksum [2022-05-09T20:14:12.327Z] 9f894cec8388: Download complete [2022-05-09T20:14:12.327Z] 1fe172e4850f: Verifying Checksum [2022-05-09T20:14:12.327Z] 1fe172e4850f: Download complete [2022-05-09T20:14:12.894Z] 1827001aaf11: Verifying Checksum [2022-05-09T20:14:12.894Z] 1827001aaf11: Download complete [2022-05-09T20:14:13.545Z] 1fe172e4850f: Pull complete [2022-05-09T20:14:13.805Z] caf521ccaac6: Pull complete [2022-05-09T20:14:14.378Z] 3ead6fa29328: Pull complete [2022-05-09T20:14:14.378Z] 5c2a1cbceb83: Pull complete [2022-05-09T20:14:14.642Z] a8d5f1318db7: Pull complete [2022-05-09T20:14:14.642Z] c427282e49a2: Pull complete [2022-05-09T20:14:16.561Z] 1827001aaf11: Pull complete [2022-05-09T20:14:16.561Z] 0714d37db230: Pull complete [2022-05-09T20:14:16.824Z] ac28cf19c067: Pull complete [2022-05-09T20:14:17.085Z] ca983d60f3e2: Pull complete [2022-05-09T20:14:17.085Z] 9f894cec8388: Pull complete [2022-05-09T20:14:17.085Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-09T20:14:17.085Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-09T20:14:17.085Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-09T20:14:17.189Z] prd-ubuntu20.04-docker-8c-8g-42634 does not seem to be running inside a container [2022-05-09T20:14:17.233Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-187 -v /w/workspace/gexfoundry_device-rest-go_PR-187:/w/workspace/gexfoundry_device-rest-go_PR-187:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-187@tmp:/w/workspace/gexfoundry_device-rest-go_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat [2022-05-09T20:14:19.558Z] $ docker top 8ecb607c4325f248bb72bac59478f8aaf5109dd78fe06a79c54dbe8325ed513a -eo pid,comm [2022-05-09T20:14:19.630Z] 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-05-09T20:14:19.630Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-09T20:14:19.772Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-09T20:14:19.772Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-09T20:14:19.884Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-09T20:14:19.889Z] $ docker exec 8ecb607c4325f248bb72bac59478f8aaf5109dd78fe06a79c54dbe8325ed513a ssh-agent [2022-05-09T20:14:20.003Z] SSH_AUTH_SOCK=/tmp/ssh-sWLRHVboCuxm/agent.32 [2022-05-09T20:14:20.003Z] SSH_AGENT_PID=38 [2022-05-09T20:14:20.010Z] Running ssh-add (command line suppressed) [2022-05-09T20:14:20.120Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-187@tmp/private_key_2005092846075155219.key (/w/workspace/gexfoundry_device-rest-go_PR-187@tmp/private_key_2005092846075155219.key) [2022-05-09T20:14:20.135Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-09T20:14:20.470Z] + git tag --points-at HEAD [Pipeline] } [2022-05-09T20:14:20.497Z] $ docker exec --env ******** --env ******** 8ecb607c4325f248bb72bac59478f8aaf5109dd78fe06a79c54dbe8325ed513a ssh-agent -k [2022-05-09T20:14:20.601Z] unset SSH_AUTH_SOCK; [2022-05-09T20:14:20.601Z] unset SSH_AGENT_PID; [2022-05-09T20:14:20.601Z] echo Agent pid 38 killed; [2022-05-09T20:14:20.614Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-09T20:14:20.702Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-09T20:14:20.702Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-09T20:14:20.822Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-09T20:14:20.827Z] $ docker exec 8ecb607c4325f248bb72bac59478f8aaf5109dd78fe06a79c54dbe8325ed513a ssh-agent [2022-05-09T20:14:20.949Z] SSH_AUTH_SOCK=/tmp/ssh-pyih1nzID1ZX/agent.73 [2022-05-09T20:14:20.949Z] SSH_AGENT_PID=80 [2022-05-09T20:14:20.955Z] Running ssh-add (command line suppressed) [2022-05-09T20:14:21.071Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-187@tmp/private_key_5440052280957147295.key (/w/workspace/gexfoundry_device-rest-go_PR-187@tmp/private_key_5440052280957147295.key) [2022-05-09T20:14:21.083Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-09T20:14:21.418Z] + git semver init [2022-05-09T20:14:21.681Z] 2022-05-09 20:14:21,597 [run_init] DEBUG init version:0.0.0 force:False [2022-05-09T20:14:21.681Z] 2022-05-09 20:14:21,597 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-187/.semver [2022-05-09T20:14:21.681Z] 2022-05-09 20:14:21,598 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-187/.semver [2022-05-09T20:14:21.681Z] 2022-05-09 20:14:21,598 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-187/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-187, universal_newlines=False, shell=None, istream=None) [2022-05-09T20:14:22.622Z] 2022-05-09 20:14:22,605 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-187/.git/info/exclude [2022-05-09T20:14:22.622Z] 2022-05-09 20:14:22,605 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-187/.semver/PR-187 with force:False [2022-05-09T20:14:22.622Z] 2022-05-09 20:14:22,606 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-187/.semver/PR-187 [2022-05-09T20:14:22.622Z] 2022-05-09 20:14:22,610 [execute] INFO git cat-file --batch-check [2022-05-09T20:14:22.622Z] 2022-05-09 20:14:22,610 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-187/.semver, universal_newlines=False, shell=None, istream=) [2022-05-09T20:14:22.622Z] 2022-05-09 20:14:22,615 [execute] INFO git cat-file --batch [2022-05-09T20:14:22.622Z] 2022-05-09 20:14:22,615 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-187/.semver, universal_newlines=False, shell=None, istream=) [2022-05-09T20:14:22.622Z] 2022-05-09 20:14:22,618 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-187/.semver/PR-187 [2022-05-09T20:14:22.622Z] 0.0.0 [Pipeline] } [2022-05-09T20:14:22.901Z] $ docker exec --env ******** --env ******** 8ecb607c4325f248bb72bac59478f8aaf5109dd78fe06a79c54dbe8325ed513a ssh-agent -k [2022-05-09T20:14:23.012Z] unset SSH_AUTH_SOCK; [2022-05-09T20:14:23.012Z] unset SSH_AGENT_PID; [2022-05-09T20:14:23.012Z] echo Agent pid 80 killed; [2022-05-09T20:14:23.022Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-09T20:14:23.460Z] + git semver [Pipeline] } [2022-05-09T20:14:23.749Z] $ docker stop --time=1 8ecb607c4325f248bb72bac59478f8aaf5109dd78fe06a79c54dbe8325ed513a [2022-05-09T20:14:25.072Z] $ docker rm -f 8ecb607c4325f248bb72bac59478f8aaf5109dd78fe06a79c54dbe8325ed513a [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-09T20:14:25.488Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-09T20:14:25.824Z] Stashed 1 file(s) [Pipeline] echo [2022-05-09T20:14:25.841Z] [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-05-09T20:14:26.449Z] provisioning config files... [2022-05-09T20:14:26.459Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-187@tmp/config4377478129146146200tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T20:14:26.816Z] ---> docker-login.sh [2022-05-09T20:14:26.816Z] nexus3.edgexfoundry.org:10001 [2022-05-09T20:14:26.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T20:14:26.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T20:14:26.816Z] Configure a credential helper to remove this warning. See [2022-05-09T20:14:26.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T20:14:26.816Z] [2022-05-09T20:14:26.816Z] Login Succeeded [2022-05-09T20:14:26.816Z] nexus3.edgexfoundry.org:10002 [2022-05-09T20:14:26.816Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T20:14:26.816Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T20:14:26.816Z] Configure a credential helper to remove this warning. See [2022-05-09T20:14:26.816Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T20:14:26.816Z] [2022-05-09T20:14:26.816Z] Login Succeeded [2022-05-09T20:14:27.076Z] nexus3.edgexfoundry.org:10003 [2022-05-09T20:14:27.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T20:14:27.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T20:14:27.076Z] Configure a credential helper to remove this warning. See [2022-05-09T20:14:27.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T20:14:27.076Z] [2022-05-09T20:14:27.076Z] Login Succeeded [2022-05-09T20:14:27.076Z] nexus3.edgexfoundry.org:10004 [2022-05-09T20:14:27.076Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T20:14:27.076Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T20:14:27.076Z] Configure a credential helper to remove this warning. See [2022-05-09T20:14:27.076Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T20:14:27.076Z] [2022-05-09T20:14:27.076Z] Login Succeeded [2022-05-09T20:14:27.076Z] docker.io [2022-05-09T20:14:27.335Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T20:14:27.594Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T20:14:27.594Z] Configure a credential helper to remove this warning. See [2022-05-09T20:14:27.594Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T20:14:27.594Z] [2022-05-09T20:14:27.594Z] Login Succeeded [2022-05-09T20:14:27.594Z] ---> docker-login.sh ends [Pipeline] } [2022-05-09T20:14:27.623Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-09T20:14:27.814Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-09T20:14:27.845Z] ========================================================= [2022-05-09T20:14:27.845Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-09T20:14:27.845Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:14:28.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-05-09T20:14:28.271Z] Sending build context to Docker daemon 10.62MB [2022-05-09T20:14:28.271Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-09T20:14:28.271Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-09T20:14:28.271Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-09T20:14:28.271Z] 59bf1c3509f3: Pulling fs layer [2022-05-09T20:14:28.271Z] 666ba61612fd: Pulling fs layer [2022-05-09T20:14:28.271Z] 8ed8ca486205: Pulling fs layer [2022-05-09T20:14:28.271Z] 4fe6c5a15a65: Pulling fs layer [2022-05-09T20:14:28.271Z] 22a0e8bec74d: Pulling fs layer [2022-05-09T20:14:28.271Z] ca2b28591e48: Pulling fs layer [2022-05-09T20:14:28.271Z] a51346096db8: Pulling fs layer [2022-05-09T20:14:28.271Z] daebc70d1ce1: Pulling fs layer [2022-05-09T20:14:28.271Z] 0e18a0eac166: Pulling fs layer [2022-05-09T20:14:28.271Z] 4fe6c5a15a65: Waiting [2022-05-09T20:14:28.271Z] ca2b28591e48: Waiting [2022-05-09T20:14:28.271Z] daebc70d1ce1: Waiting [2022-05-09T20:14:28.271Z] 0e18a0eac166: Waiting [2022-05-09T20:14:28.271Z] 8ed8ca486205: Download complete [2022-05-09T20:14:28.271Z] 666ba61612fd: Verifying Checksum [2022-05-09T20:14:28.271Z] 666ba61612fd: Download complete [2022-05-09T20:14:28.534Z] 22a0e8bec74d: Verifying Checksum [2022-05-09T20:14:28.534Z] 22a0e8bec74d: Download complete [2022-05-09T20:14:28.534Z] ca2b28591e48: Verifying Checksum [2022-05-09T20:14:28.534Z] ca2b28591e48: Download complete [2022-05-09T20:14:28.534Z] 59bf1c3509f3: Verifying Checksum [2022-05-09T20:14:28.534Z] 59bf1c3509f3: Download complete [2022-05-09T20:14:28.534Z] a51346096db8: Verifying Checksum [2022-05-09T20:14:28.534Z] a51346096db8: Download complete [2022-05-09T20:14:28.534Z] daebc70d1ce1: Verifying Checksum [2022-05-09T20:14:28.534Z] daebc70d1ce1: Download complete [2022-05-09T20:14:28.534Z] 59bf1c3509f3: Pull complete [2022-05-09T20:14:28.797Z] 666ba61612fd: Pull complete [2022-05-09T20:14:28.797Z] 8ed8ca486205: Pull complete [2022-05-09T20:14:29.058Z] 0e18a0eac166: Verifying Checksum [2022-05-09T20:14:29.058Z] 0e18a0eac166: Download complete [2022-05-09T20:14:29.058Z] 4fe6c5a15a65: Verifying Checksum [2022-05-09T20:14:29.058Z] 4fe6c5a15a65: Download complete [2022-05-09T20:14:32.351Z] 4fe6c5a15a65: Pull complete [2022-05-09T20:14:32.351Z] 22a0e8bec74d: Pull complete [2022-05-09T20:14:32.612Z] ca2b28591e48: Pull complete [2022-05-09T20:14:32.871Z] a51346096db8: Pull complete [2022-05-09T20:14:32.871Z] daebc70d1ce1: Pull complete [2022-05-09T20:14:35.404Z] 0e18a0eac166: Pull complete [2022-05-09T20:14:35.405Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-09T20:14:35.405Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-09T20:14:35.405Z] ---> f018257e8ee9 [2022-05-09T20:14:35.405Z] Step 3/12 : ARG MAKE='make build' [2022-05-09T20:14:36.911Z] ---> Running in f729b7403b12 [2022-05-09T20:14:37.210Z] Removing intermediate container f729b7403b12 [2022-05-09T20:14:37.210Z] ---> 7d41a7ebbf52 [2022-05-09T20:14:37.210Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-09T20:14:37.494Z] ---> Running in 65044983269b [2022-05-09T20:14:37.494Z] Removing intermediate container 65044983269b [2022-05-09T20:14:37.494Z] ---> 1838fcd23ef6 [2022-05-09T20:14:37.494Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-09T20:14:37.809Z] ---> Running in 387d2fb2685e [2022-05-09T20:14:38.068Z] Removing intermediate container 387d2fb2685e [2022-05-09T20:14:38.068Z] ---> ffff5d93287a [2022-05-09T20:14:38.068Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-09T20:14:38.068Z] ---> Running in 6f7982d5c8f6 [2022-05-09T20:14:38.637Z] Removing intermediate container 6f7982d5c8f6 [2022-05-09T20:14:38.637Z] ---> 7d7b5b3d9ec3 [2022-05-09T20:14:38.637Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-09T20:14:38.637Z] ---> Running in 92040e92f625 [2022-05-09T20:14:39.207Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-09T20:14:39.780Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-09T20:14:40.350Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-09T20:14:40.350Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-09T20:14:40.350Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-09T20:14:40.350Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-09T20:14:40.611Z] Executing busybox-1.34.1-r3.trigger [2022-05-09T20:14:40.611Z] OK: 224 MiB in 56 packages [2022-05-09T20:14:41.182Z] Removing intermediate container 92040e92f625 [2022-05-09T20:14:41.182Z] ---> 50d21a2de67a [2022-05-09T20:14:41.182Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-09T20:14:41.182Z] ---> Running in 962a4c03783d [2022-05-09T20:14:41.182Z] Removing intermediate container 962a4c03783d [2022-05-09T20:14:41.182Z] ---> 1f6b2592897f [2022-05-09T20:14:41.182Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-09T20:14:41.264Z] Still waiting to schedule task [2022-05-09T20:14:41.264Z] ‘prd-centos7-blackbox-4c-2g-41381’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-09T20:14:41.264Z] ‘prd-centos7-builder-2c-1g-42638’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-09T20:14:41.264Z] ‘prd-ubuntu18.04-docker-8c-8g-41080’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-09T20:14:41.264Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-42637’ is offline [2022-05-09T20:14:41.442Z] ---> 01f5a980bab1 [2022-05-09T20:14:41.442Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-09T20:14:41.442Z] ---> Running in e756737f4299 [2022-05-09T20:14:56.357Z] Removing intermediate container e756737f4299 [2022-05-09T20:14:56.357Z] ---> ee4513b6400c [2022-05-09T20:14:56.357Z] Step 11/12 : COPY . . [2022-05-09T20:14:56.357Z] ---> c49ea3fd21f7 [2022-05-09T20:14:56.357Z] Step 12/12 : RUN $MAKE [2022-05-09T20:14:56.357Z] ---> Running in f9579dc7c5dd [2022-05-09T20:14:56.939Z] noop [2022-05-09T20:14:57.200Z] Removing intermediate container f9579dc7c5dd [2022-05-09T20:14:57.200Z] ---> 8348c2b7b34b [2022-05-09T20:14:57.200Z] Successfully built 8348c2b7b34b [2022-05-09T20:14:57.200Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:14:57.525Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-09T20:14:57.525Z] . [Pipeline] withDockerContainer [2022-05-09T20:14:57.631Z] prd-ubuntu20.04-docker-8c-8g-42634 does not seem to be running inside a container [2022-05-09T20:14:57.669Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-187 -v /w/workspace/gexfoundry_device-rest-go_PR-187:/w/workspace/gexfoundry_device-rest-go_PR-187:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-187@tmp:/w/workspace/gexfoundry_device-rest-go_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-09T20:14:58.051Z] $ docker top 53e1cb054449d24e371e452819d08013b4f6749a1780d58db1131d4b3a4264e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-09T20:14:58.466Z] + go version [2022-05-09T20:14:58.466Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-09T20:14:58.499Z] $ docker stop --time=1 53e1cb054449d24e371e452819d08013b4f6749a1780d58db1131d4b3a4264e4 [2022-05-09T20:14:59.762Z] $ docker rm -f 53e1cb054449d24e371e452819d08013b4f6749a1780d58db1131d4b3a4264e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:15:00.448Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-09T20:15:00.448Z] . [Pipeline] withDockerContainer [2022-05-09T20:15:00.540Z] prd-ubuntu20.04-docker-8c-8g-42634 does not seem to be running inside a container [2022-05-09T20:15:00.706Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-187 -v /w/workspace/gexfoundry_device-rest-go_PR-187:/w/workspace/gexfoundry_device-rest-go_PR-187:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-187@tmp:/w/workspace/gexfoundry_device-rest-go_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2022-05-09T20:15:01.089Z] $ docker top 0e9d43d682f1dcc4e5caf14b7909c49bc8aaf6bea162b307236297180a1d4b3b -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-09T20:15:01.538Z] + make test [2022-05-09T20:15:01.538Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-09T20:15:01.797Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-09T20:15:11.776Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-09T20:15:11.776Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements [2022-05-09T20:15:17.051Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-09T20:15:21.243Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-09T20:15:21.243Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-09T20:15:21.243Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-09T20:15:21.533Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-09T20:15:21.564Z] $ docker stop --time=1 0e9d43d682f1dcc4e5caf14b7909c49bc8aaf6bea162b307236297180a1d4b3b [2022-05-09T20:15:23.492Z] $ docker rm -f 0e9d43d682f1dcc4e5caf14b7909c49bc8aaf6bea162b307236297180a1d4b3b [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-09T20:15:24.013Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-09T20:15:24.083Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-09T20:15:25.046Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-09T20:15:25.358Z] + ls -al . [2022-05-09T20:15:25.358Z] total 168 [2022-05-09T20:15:25.358Z] drwxrwxr-x 9 jenkins jenkins 4096 May 9 20:15 . [2022-05-09T20:15:25.358Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 20:13 .. [2022-05-09T20:15:25.358Z] -rw-rw-r-- 1 jenkins jenkins 151 May 9 20:13 .dockerignore [2022-05-09T20:15:25.358Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 20:14 .git [2022-05-09T20:15:25.358Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 20:13 .github [2022-05-09T20:15:25.358Z] -rw-rw-r-- 1 jenkins jenkins 329 May 9 20:13 .gitignore [2022-05-09T20:15:25.358Z] -rw-rw-r-- 1 jenkins jenkins 41 May 9 20:13 .golangci.yml [2022-05-09T20:15:25.358Z] drwxr-xr-x 3 jenkins jenkins 4096 May 9 20:14 .semver [2022-05-09T20:15:25.358Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 9 20:13 Attribution.txt [2022-05-09T20:15:25.358Z] -rw-rw-r-- 1 jenkins jenkins 7459 May 9 20:13 CHANGELOG.md [2022-05-09T20:15:25.358Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 9 20:13 Dockerfile [2022-05-09T20:15:25.358Z] -rw-rw-r-- 1 jenkins jenkins 677 May 9 20:13 GOVERNANCE.md [2022-05-09T20:15:25.358Z] -rw-rw-r-- 1 jenkins jenkins 680 May 9 20:13 Jenkinsfile [2022-05-09T20:15:25.358Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 9 20:13 LICENSE [2022-05-09T20:15:25.358Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 9 20:13 Makefile [2022-05-09T20:15:25.358Z] -rw-rw-r-- 1 jenkins jenkins 620 May 9 20:13 OWNERS.md [2022-05-09T20:15:25.358Z] -rw-rw-r-- 1 jenkins jenkins 8003 May 9 20:13 README.md [2022-05-09T20:15:25.358Z] -rw-rw-r-- 1 jenkins jenkins 5 May 9 20:14 VERSION [2022-05-09T20:15:25.358Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 20:13 bin [2022-05-09T20:15:25.358Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 20:13 cmd [2022-05-09T20:15:25.358Z] -rw-r--r-- 1 jenkins jenkins 9355 May 9 20:15 coverage.out [2022-05-09T20:15:25.358Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 20:13 driver [2022-05-09T20:15:25.358Z] -rw-rw-r-- 1 jenkins jenkins 3333 May 9 20:13 go.mod [2022-05-09T20:15:25.358Z] -rw-rw-r-- 1 jenkins jenkins 35377 May 9 20:13 go.sum [2022-05-09T20:15:25.358Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 20:13 snap [2022-05-09T20:15:25.358Z] -rw-rw-r-- 1 jenkins jenkins 713 May 9 20:13 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:15:25.695Z] + 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=970cf146fa6a294cb89ac37a37482cebec6dc33c --label arch=amd64 --label version=0.0.0 . [2022-05-09T20:15:25.695Z] Sending build context to Docker daemon 10.63MB [2022-05-09T20:15:25.695Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-09T20:15:25.695Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-09T20:15:25.695Z] ---> 8348c2b7b34b [2022-05-09T20:15:25.695Z] Step 3/25 : ARG MAKE='make build' [2022-05-09T20:15:25.955Z] ---> Running in 31af01d4f7f9 [2022-05-09T20:15:25.955Z] Removing intermediate container 31af01d4f7f9 [2022-05-09T20:15:25.955Z] ---> e76f995b975f [2022-05-09T20:15:25.955Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-09T20:15:25.955Z] ---> Running in 284dfedc7347 [2022-05-09T20:15:26.215Z] Removing intermediate container 284dfedc7347 [2022-05-09T20:15:26.215Z] ---> 4c6cbb332859 [2022-05-09T20:15:26.215Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-09T20:15:26.215Z] ---> Running in d3825cbc44cc [2022-05-09T20:15:26.215Z] Removing intermediate container d3825cbc44cc [2022-05-09T20:15:26.215Z] ---> 49eb634cacbc [2022-05-09T20:15:26.215Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-09T20:15:26.215Z] ---> Running in c8f0162518fd [2022-05-09T20:15:26.782Z] Removing intermediate container c8f0162518fd [2022-05-09T20:15:26.782Z] ---> 8815985b7f3f [2022-05-09T20:15:26.782Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-09T20:15:26.782Z] ---> Running in 41ba35b7176d [2022-05-09T20:15:27.040Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-09T20:15:27.980Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-09T20:15:28.240Z] OK: 224 MiB in 56 packages [2022-05-09T20:15:28.810Z] Removing intermediate container 41ba35b7176d [2022-05-09T20:15:28.810Z] ---> 0cdd9611915b [2022-05-09T20:15:28.810Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-09T20:15:28.810Z] ---> Running in 6505088e02cd [2022-05-09T20:15:29.070Z] Removing intermediate container 6505088e02cd [2022-05-09T20:15:29.070Z] ---> c427c9056e4c [2022-05-09T20:15:29.070Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-09T20:15:29.070Z] ---> 3858eced1584 [2022-05-09T20:15:29.070Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-09T20:15:29.331Z] ---> Running in 21800a426093 [2022-05-09T20:15:29.903Z] Removing intermediate container 21800a426093 [2022-05-09T20:15:29.903Z] ---> 0026006ba42a [2022-05-09T20:15:29.903Z] Step 11/25 : COPY . . [2022-05-09T20:15:30.162Z] ---> e246911fd290 [2022-05-09T20:15:30.162Z] Step 12/25 : RUN $MAKE [2022-05-09T20:15:30.423Z] ---> Running in 9dd1acc52871 [2022-05-09T20:15:30.683Z] 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-05-09T20:15:52.624Z] Removing intermediate container 9dd1acc52871 [2022-05-09T20:15:52.624Z] ---> cf2ba75cbad8 [2022-05-09T20:15:52.624Z] Step 13/25 : FROM alpine:3.14 [2022-05-09T20:15:52.624Z] 3.14: Pulling from library/alpine [2022-05-09T20:15:52.624Z] 8663204ce13b: Pulling fs layer [2022-05-09T20:15:52.624Z] 8663204ce13b: Verifying Checksum [2022-05-09T20:15:52.624Z] 8663204ce13b: Download complete [2022-05-09T20:15:52.624Z] 8663204ce13b: Pull complete [2022-05-09T20:15:52.624Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-09T20:15:52.624Z] Status: Downloaded newer image for alpine:3.14 [2022-05-09T20:15:52.624Z] ---> e04c818066af [2022-05-09T20:15:52.624Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-09T20:15:52.624Z] ---> Running in a8dea2d23ac3 [2022-05-09T20:15:52.624Z] Removing intermediate container a8dea2d23ac3 [2022-05-09T20:15:52.624Z] ---> d9d9a01c9b8a [2022-05-09T20:15:52.624Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-09T20:15:52.624Z] ---> Running in c9e8d2bf956b [2022-05-09T20:15:52.624Z] Removing intermediate container c9e8d2bf956b [2022-05-09T20:15:52.624Z] ---> b3b753479aed [2022-05-09T20:15:52.624Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-09T20:15:52.624Z] ---> Running in d633d6b80e78 [2022-05-09T20:15:52.624Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-09T20:15:52.624Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-09T20:15:52.624Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-09T20:15:52.624Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-09T20:15:52.624Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-09T20:15:52.624Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-09T20:15:52.624Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-09T20:15:52.624Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-09T20:15:52.624Z] Executing busybox-1.33.1-r7.trigger [2022-05-09T20:15:52.624Z] OK: 8 MiB in 20 packages [2022-05-09T20:15:52.624Z] Removing intermediate container d633d6b80e78 [2022-05-09T20:15:52.624Z] ---> 68ddef42f24e [2022-05-09T20:15:52.624Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-09T20:15:53.197Z] ---> 37c8f11fb78c [2022-05-09T20:15:53.197Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-09T20:15:53.490Z] ---> d15e8ed9ea2e [2022-05-09T20:15:53.490Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-09T20:15:53.490Z] ---> 826a200dfbd4 [2022-05-09T20:15:53.490Z] Step 20/25 : EXPOSE 59986 [2022-05-09T20:15:53.754Z] ---> Running in 0367a060cd1e [2022-05-09T20:15:53.754Z] Removing intermediate container 0367a060cd1e [2022-05-09T20:15:53.754Z] ---> c6697e8a0b4b [2022-05-09T20:15:53.754Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-09T20:15:54.015Z] ---> Running in 12e96442c099 [2022-05-09T20:15:54.015Z] Removing intermediate container 12e96442c099 [2022-05-09T20:15:54.015Z] ---> 33f8eb5c84cd [2022-05-09T20:15:54.015Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-09T20:15:54.015Z] ---> Running in 4e662d4f8658 [2022-05-09T20:15:54.015Z] Removing intermediate container 4e662d4f8658 [2022-05-09T20:15:54.015Z] ---> 32077a2a387c [2022-05-09T20:15:54.015Z] Step 23/25 : LABEL arch=amd64 [2022-05-09T20:15:54.276Z] ---> Running in 86becf376bfb [2022-05-09T20:15:54.276Z] Removing intermediate container 86becf376bfb [2022-05-09T20:15:54.276Z] ---> 58d436229cf3 [2022-05-09T20:15:54.276Z] Step 24/25 : LABEL git_sha=970cf146fa6a294cb89ac37a37482cebec6dc33c [2022-05-09T20:15:54.276Z] ---> Running in 37f8ace7cf1a [2022-05-09T20:15:54.536Z] Removing intermediate container 37f8ace7cf1a [2022-05-09T20:15:54.536Z] ---> b2da7d7b4634 [2022-05-09T20:15:54.536Z] Step 25/25 : LABEL version=0.0.0 [2022-05-09T20:15:54.536Z] ---> Running in d4cf94adf69f [2022-05-09T20:15:54.536Z] Removing intermediate container d4cf94adf69f [2022-05-09T20:15:54.536Z] ---> 8b741d22c4d6 [2022-05-09T20:15:54.536Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-09T20:15:54.536Z] Successfully built 8b741d22c4d6 [2022-05-09T20:15:54.536Z] Successfully tagged device-rest:latest [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] sh [2022-05-09T20:15:55.282Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-09T20:15:55.282Z] [2022-05-09T20:15:55.282Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:15:55.648Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-09T20:15:55.648Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-09T20:15:55.648Z] 5eb5b503b376: Pulling fs layer [2022-05-09T20:15:55.648Z] 5c69ac0246d0: Pulling fs layer [2022-05-09T20:15:55.648Z] ec43610c2a17: Pulling fs layer [2022-05-09T20:15:55.648Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-09T20:15:55.648Z] 33b1e0a273af: Pulling fs layer [2022-05-09T20:15:55.648Z] 5d3b04190fa2: Pulling fs layer [2022-05-09T20:15:55.648Z] 2f39f015ded8: Pulling fs layer [2022-05-09T20:15:55.648Z] 3a2ae6a8a46f: Waiting [2022-05-09T20:15:55.648Z] 33b1e0a273af: Waiting [2022-05-09T20:15:55.648Z] 5d3b04190fa2: Waiting [2022-05-09T20:15:55.648Z] 2f39f015ded8: Waiting [2022-05-09T20:15:55.648Z] 5c69ac0246d0: Verifying Checksum [2022-05-09T20:15:55.648Z] 5c69ac0246d0: Download complete [2022-05-09T20:15:55.648Z] 3a2ae6a8a46f: Download complete [2022-05-09T20:15:55.908Z] 33b1e0a273af: Verifying Checksum [2022-05-09T20:15:55.908Z] 33b1e0a273af: Download complete [2022-05-09T20:15:55.908Z] ec43610c2a17: Verifying Checksum [2022-05-09T20:15:55.908Z] ec43610c2a17: Download complete [2022-05-09T20:15:55.908Z] 5d3b04190fa2: Verifying Checksum [2022-05-09T20:15:55.908Z] 5d3b04190fa2: Download complete [2022-05-09T20:15:55.908Z] 5eb5b503b376: Download complete [2022-05-09T20:15:56.477Z] 2f39f015ded8: Verifying Checksum [2022-05-09T20:15:56.477Z] 2f39f015ded8: Download complete [2022-05-09T20:15:57.412Z] 5eb5b503b376: Pull complete [2022-05-09T20:15:57.412Z] 5c69ac0246d0: Pull complete [2022-05-09T20:15:57.987Z] ec43610c2a17: Pull complete [2022-05-09T20:15:57.987Z] 3a2ae6a8a46f: Pull complete [2022-05-09T20:15:58.247Z] 33b1e0a273af: Pull complete [2022-05-09T20:15:58.507Z] 5d3b04190fa2: Pull complete [2022-05-09T20:16:02.703Z] 2f39f015ded8: Pull complete [2022-05-09T20:16:02.703Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-09T20:16:02.703Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-09T20:16:02.703Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-09T20:16:02.790Z] prd-ubuntu20.04-docker-8c-8g-42634 does not seem to be running inside a container [2022-05-09T20:16:02.834Z] $ 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-187 -v /w/workspace/gexfoundry_device-rest-go_PR-187:/w/workspace/gexfoundry_device-rest-go_PR-187:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-187@tmp:/w/workspace/gexfoundry_device-rest-go_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-09T20:16:05.020Z] $ docker top be282b1d6e05e6e3fdd6fce4b044bc8a9eabee4bf4b90e39a18a7ca222f19fc9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T20:16:05.475Z] ---> job-cost.sh [2022-05-09T20:16:05.475Z] lf-activate-venv: SKIPPING [2022-05-09T20:16:05.475Z] INFO: No Stack... [2022-05-09T20:16:05.734Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-09T20:16:06.306Z] INFO: Archiving Costs [Pipeline] sh [2022-05-09T20:16:06.630Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-187/archives/cost.csv [2022-05-09T20:16:06.630Z] + cut -d, -f6 [Pipeline] lock [2022-05-09T20:16:06.679Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-187-1-stack-cost] [2022-05-09T20:16:06.683Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-187-1-stack-cost] did not exist. Created. [2022-05-09T20:16:06.684Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-187-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-09T20:16:07.075Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-09T20:16:07.125Z] Stashed 1 file(s) [Pipeline] } [2022-05-09T20:16:07.148Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-187-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-09T20:16:07.219Z] $ docker stop --time=1 be282b1d6e05e6e3fdd6fce4b044bc8a9eabee4bf4b90e39a18a7ca222f19fc9 [2022-05-09T20:16:08.374Z] $ docker rm -f be282b1d6e05e6e3fdd6fce4b044bc8a9eabee4bf4b90e39a18a7ca222f19fc9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-09T20:16:55.557Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-42645 in /w/workspace/gexfoundry_device-rest-go_PR-187 [Pipeline] { [Pipeline] ws [2022-05-09T20:16:55.607Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-05-09T20:16:56.158Z] The recommended git tool is: git [2022-05-09T20:17:03.475Z] using credential edgex-jenkins-ssh [2022-05-09T20:17:03.494Z] Cloning the remote Git repository [2022-05-09T20:17:03.570Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-05-09T20:17:03.717Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-05-09T20:17:03.861Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-09T20:17:03.862Z] > git --version # timeout=10 [2022-05-09T20:17:03.894Z] > git --version # 'git version 2.25.1' [2022-05-09T20:17:03.896Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-09T20:17:04.029Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-09T20:17:05.975Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-09T20:17:05.997Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-09T20:17:06.031Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-09T20:17:06.077Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-09T20:17:06.078Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-09T20:17:06.094Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/187/head:refs/remotes/origin/PR-187 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-09T20:17:06.686Z] Merging remotes/origin/main commit 1b7989097685cbbb7d11325d5e96f20d406e46c7 into PR head commit 970cf146fa6a294cb89ac37a37482cebec6dc33c [2022-05-09T20:17:06.949Z] Merge succeeded, producing 970cf146fa6a294cb89ac37a37482cebec6dc33c [2022-05-09T20:17:06.950Z] Checking out Revision 970cf146fa6a294cb89ac37a37482cebec6dc33c (PR-187) [2022-05-09T20:17:06.708Z] > git config core.sparsecheckout # timeout=10 [2022-05-09T20:17:06.727Z] > git checkout -f 970cf146fa6a294cb89ac37a37482cebec6dc33c # timeout=10 [2022-05-09T20:17:06.833Z] > git remote # timeout=10 [2022-05-09T20:17:06.857Z] > git config --get remote.origin.url # timeout=10 [2022-05-09T20:17:06.885Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-09T20:17:06.901Z] > git merge 1b7989097685cbbb7d11325d5e96f20d406e46c7 # timeout=10 [2022-05-09T20:17:06.932Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-09T20:17:06.960Z] > git config core.sparsecheckout # timeout=10 [2022-05-09T20:17:06.975Z] > git checkout -f 970cf146fa6a294cb89ac37a37482cebec6dc33c # timeout=10 [2022-05-09T20:17:11.471Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [2022-05-09T20:17:11.541Z] > git --version # timeout=10 [2022-05-09T20:17:11.553Z] > git --version # 'git version 2.25.1' [2022-05-09T20:17:11.575Z] fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-09T20:17:12.691Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-09T20:17:12.692Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-09T20:17:12.692Z] Dload Upload Total Spent Left Speed [2022-05-09T20:17:12.692Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 177k 0 --:--:-- --:--:-- --:--:-- 180k [Pipeline] sh [2022-05-09T20:17:13.251Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-09T20:17:13.640Z] + sudo tee /etc/docker/daemon.new [2022-05-09T20:17:13.640Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-09T20:17:13.640Z] { [2022-05-09T20:17:13.640Z] "registry-mirrors": [ [2022-05-09T20:17:13.640Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-09T20:17:13.640Z] ], [2022-05-09T20:17:13.640Z] "bip": "10.250.0.254/24", [2022-05-09T20:17:13.640Z] "hosts": [ [2022-05-09T20:17:13.640Z] "tcp://0.0.0.0:5555", [2022-05-09T20:17:13.640Z] "unix:///var/run/docker.sock" [2022-05-09T20:17:13.640Z] ], [2022-05-09T20:17:13.640Z] "mtu": 1458, [2022-05-09T20:17:13.640Z] "selinux-enabled": true, [2022-05-09T20:17:13.640Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-09T20:17:13.640Z] } [Pipeline] sh [2022-05-09T20:17:14.017Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-09T20:17:14.464Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-09T20:17:32.913Z] provisioning config files... [2022-05-09T20:17:32.946Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config4681725208123929198tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T20:17:33.556Z] ---> docker-login.sh [2022-05-09T20:17:33.556Z] nexus3.edgexfoundry.org:10001 [2022-05-09T20:17:34.158Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T20:17:34.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T20:17:34.760Z] Configure a credential helper to remove this warning. See [2022-05-09T20:17:34.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T20:17:34.760Z] [2022-05-09T20:17:34.760Z] Login Succeeded [2022-05-09T20:17:34.760Z] nexus3.edgexfoundry.org:10002 [2022-05-09T20:17:35.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T20:17:35.035Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T20:17:35.035Z] Configure a credential helper to remove this warning. See [2022-05-09T20:17:35.035Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T20:17:35.035Z] [2022-05-09T20:17:35.035Z] Login Succeeded [2022-05-09T20:17:35.035Z] nexus3.edgexfoundry.org:10003 [2022-05-09T20:17:35.645Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T20:17:35.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T20:17:35.645Z] Configure a credential helper to remove this warning. See [2022-05-09T20:17:35.645Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T20:17:35.645Z] [2022-05-09T20:17:35.645Z] Login Succeeded [2022-05-09T20:17:35.645Z] nexus3.edgexfoundry.org:10004 [2022-05-09T20:17:35.922Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T20:17:36.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T20:17:36.197Z] Configure a credential helper to remove this warning. See [2022-05-09T20:17:36.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T20:17:36.197Z] [2022-05-09T20:17:36.197Z] Login Succeeded [2022-05-09T20:17:36.197Z] docker.io [2022-05-09T20:17:36.475Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T20:17:37.079Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T20:17:37.079Z] Configure a credential helper to remove this warning. See [2022-05-09T20:17:37.079Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T20:17:37.079Z] [2022-05-09T20:17:37.079Z] Login Succeeded [2022-05-09T20:17:37.079Z] ---> docker-login.sh ends [Pipeline] } [2022-05-09T20:17:37.107Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-09T20:17:37.564Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-09T20:17:37.597Z] ========================================================= [2022-05-09T20:17:37.597Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-09T20:17:37.597Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:17:38.048Z] + 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-05-09T20:17:38.048Z] Sending build context to Docker daemon 124.4kB [2022-05-09T20:17:38.325Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-09T20:17:38.325Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-09T20:17:38.609Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-09T20:17:38.609Z] 9b3977197b4f: Pulling fs layer [2022-05-09T20:17:38.609Z] 1a89e8eeedd5: Pulling fs layer [2022-05-09T20:17:38.609Z] 94645a83ff95: Pulling fs layer [2022-05-09T20:17:38.609Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-09T20:17:38.609Z] 0c92f367c5e7: Pulling fs layer [2022-05-09T20:17:38.609Z] 3f3a8bcf1eab: Waiting [2022-05-09T20:17:38.609Z] 3096ccb668a1: Pulling fs layer [2022-05-09T20:17:38.609Z] e8cf19c19ddd: Pulling fs layer [2022-05-09T20:17:38.609Z] a4caa8a26152: Pulling fs layer [2022-05-09T20:17:38.609Z] 0c92f367c5e7: Waiting [2022-05-09T20:17:38.609Z] a4caa8a26152: Waiting [2022-05-09T20:17:38.609Z] 3096ccb668a1: Waiting [2022-05-09T20:17:38.609Z] e8cf19c19ddd: Waiting [2022-05-09T20:17:38.609Z] 94645a83ff95: Verifying Checksum [2022-05-09T20:17:38.609Z] 94645a83ff95: Download complete [2022-05-09T20:17:38.609Z] 1a89e8eeedd5: Download complete [2022-05-09T20:17:38.609Z] 0c92f367c5e7: Verifying Checksum [2022-05-09T20:17:38.609Z] 0c92f367c5e7: Download complete [2022-05-09T20:17:38.609Z] 3096ccb668a1: Verifying Checksum [2022-05-09T20:17:38.609Z] 3096ccb668a1: Download complete [2022-05-09T20:17:38.609Z] 9b3977197b4f: Verifying Checksum [2022-05-09T20:17:38.609Z] 9b3977197b4f: Download complete [2022-05-09T20:17:38.609Z] e8cf19c19ddd: Verifying Checksum [2022-05-09T20:17:38.609Z] e8cf19c19ddd: Download complete [2022-05-09T20:17:39.639Z] 9b3977197b4f: Pull complete [2022-05-09T20:17:39.929Z] 1a89e8eeedd5: Pull complete [2022-05-09T20:17:40.534Z] 94645a83ff95: Pull complete [2022-05-09T20:17:40.813Z] a4caa8a26152: Verifying Checksum [2022-05-09T20:17:40.813Z] a4caa8a26152: Download complete [2022-05-09T20:17:41.423Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-09T20:17:41.423Z] 3f3a8bcf1eab: Download complete [2022-05-09T20:17:53.842Z] 3f3a8bcf1eab: Pull complete [2022-05-09T20:17:54.118Z] 0c92f367c5e7: Pull complete [2022-05-09T20:17:54.716Z] 3096ccb668a1: Pull complete [2022-05-09T20:17:54.716Z] e8cf19c19ddd: Pull complete [2022-05-09T20:18:01.461Z] a4caa8a26152: Pull complete [2022-05-09T20:18:01.461Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-09T20:18:01.461Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-09T20:18:01.461Z] ---> 725f1c02e7f9 [2022-05-09T20:18:01.461Z] Step 3/12 : ARG MAKE='make build' [2022-05-09T20:18:02.465Z] ---> Running in d0fb205deb63 [2022-05-09T20:18:02.740Z] Removing intermediate container d0fb205deb63 [2022-05-09T20:18:02.740Z] ---> be2da1fbb8ed [2022-05-09T20:18:02.740Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-09T20:18:02.740Z] ---> Running in 37909f07becb [2022-05-09T20:18:03.352Z] Removing intermediate container 37909f07becb [2022-05-09T20:18:03.352Z] ---> 08dda0dbecd4 [2022-05-09T20:18:03.352Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-09T20:18:03.352Z] ---> Running in dfaf725cc30c [2022-05-09T20:18:04.798Z] Removing intermediate container dfaf725cc30c [2022-05-09T20:18:04.798Z] ---> abc2953f8959 [2022-05-09T20:18:04.798Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-09T20:18:04.798Z] ---> Running in b5451e690735 [2022-05-09T20:18:06.783Z] Removing intermediate container b5451e690735 [2022-05-09T20:18:06.783Z] ---> 9a2f0c0c702b [2022-05-09T20:18:06.783Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-09T20:18:06.783Z] ---> Running in 7300ab411c1c [2022-05-09T20:18:07.780Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-09T20:18:08.385Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-09T20:18:09.370Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-09T20:18:09.370Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-09T20:18:09.645Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-09T20:18:09.645Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-09T20:18:09.921Z] Executing busybox-1.34.1-r3.trigger [2022-05-09T20:18:09.921Z] OK: 224 MiB in 56 packages [2022-05-09T20:18:10.908Z] Removing intermediate container 7300ab411c1c [2022-05-09T20:18:10.908Z] ---> f948ad0518ac [2022-05-09T20:18:10.908Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-09T20:18:10.908Z] ---> Running in a15becba81b3 [2022-05-09T20:18:11.511Z] Removing intermediate container a15becba81b3 [2022-05-09T20:18:11.511Z] ---> f7667c736825 [2022-05-09T20:18:11.511Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-09T20:18:12.114Z] ---> bf0e7e953286 [2022-05-09T20:18:12.114Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-09T20:18:12.114Z] ---> Running in c4229fad47cd [2022-05-09T20:19:08.699Z] Removing intermediate container c4229fad47cd [2022-05-09T20:19:08.699Z] ---> 24ca40c38955 [2022-05-09T20:19:08.699Z] Step 11/12 : COPY . . [2022-05-09T20:19:08.699Z] ---> d94627c5ca8c [2022-05-09T20:19:08.699Z] Step 12/12 : RUN $MAKE [2022-05-09T20:19:08.699Z] ---> Running in 77087250f49f [2022-05-09T20:19:08.699Z] noop [2022-05-09T20:19:08.699Z] Removing intermediate container 77087250f49f [2022-05-09T20:19:08.699Z] ---> 30337b827d65 [2022-05-09T20:19:08.699Z] Successfully built 30337b827d65 [2022-05-09T20:19:08.699Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:19:09.081Z] + docker inspect -f . ci-base-image-arm64 [2022-05-09T20:19:09.081Z] . [Pipeline] withDockerContainer [2022-05-09T20:19:09.332Z] prd-ubuntu20.04-docker-arm64-4c-16g-42645 does not seem to be running inside a container [2022-05-09T20:19:09.421Z] $ 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 ******** ci-base-image-arm64 cat [2022-05-09T20:19:10.863Z] $ docker top 9997ff4f0a2b41606fa86a028ad28f0c4e3f849504ecaae5ccc385691687f3af -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-09T20:19:11.898Z] + go version [2022-05-09T20:19:11.898Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-09T20:19:11.934Z] $ docker stop --time=1 9997ff4f0a2b41606fa86a028ad28f0c4e3f849504ecaae5ccc385691687f3af [2022-05-09T20:19:13.606Z] $ docker rm -f 9997ff4f0a2b41606fa86a028ad28f0c4e3f849504ecaae5ccc385691687f3af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:19:14.496Z] + docker inspect -f . ci-base-image-arm64 [2022-05-09T20:19:14.496Z] . [Pipeline] withDockerContainer [2022-05-09T20:19:14.743Z] prd-ubuntu20.04-docker-arm64-4c-16g-42645 does not seem to be running inside a container [2022-05-09T20:19:14.835Z] $ 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 ******** ci-base-image-arm64 cat [2022-05-09T20:19:16.115Z] $ docker top a3ef654c5e864709607cb2d878d68893eb8ee221b7d41c5882d8e03adba839ed -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-09T20:19:17.132Z] + make test [2022-05-09T20:19:17.132Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-09T20:19:19.124Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-09T20:20:56.015Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-09T20:20:56.015Z] ok github.com/edgexfoundry/device-rest-go/driver 0.076s coverage: 55.2% of statements [2022-05-09T20:20:56.015Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-09T20:20:56.015Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-09T20:21:18.253Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-09T20:21:18.253Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-09T20:21:18.253Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-09T20:21:18.566Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-09T20:21:18.598Z] $ docker stop --time=1 a3ef654c5e864709607cb2d878d68893eb8ee221b7d41c5882d8e03adba839ed [2022-05-09T20:21:20.408Z] $ docker rm -f a3ef654c5e864709607cb2d878d68893eb8ee221b7d41c5882d8e03adba839ed [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-09T20:21:21.416Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-09T20:21:21.454Z] Warning: overwriting stash ‘coverage-report’ [2022-05-09T20:21:21.917Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-09T20:21:22.500Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-09T20:21:22.843Z] + ls -al . [2022-05-09T20:21:22.843Z] total 164 [2022-05-09T20:21:22.843Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 20:21 . [2022-05-09T20:21:22.843Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 20:17 .. [2022-05-09T20:21:22.843Z] -rw-rw-r-- 1 jenkins jenkins 151 May 9 20:17 .dockerignore [2022-05-09T20:21:22.843Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 20:17 .git [2022-05-09T20:21:22.843Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 20:17 .github [2022-05-09T20:21:22.843Z] -rw-rw-r-- 1 jenkins jenkins 329 May 9 20:17 .gitignore [2022-05-09T20:21:22.843Z] -rw-rw-r-- 1 jenkins jenkins 41 May 9 20:17 .golangci.yml [2022-05-09T20:21:22.843Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 9 20:17 Attribution.txt [2022-05-09T20:21:22.843Z] -rw-rw-r-- 1 jenkins jenkins 7459 May 9 20:17 CHANGELOG.md [2022-05-09T20:21:22.843Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 9 20:17 Dockerfile [2022-05-09T20:21:22.843Z] -rw-rw-r-- 1 jenkins jenkins 677 May 9 20:17 GOVERNANCE.md [2022-05-09T20:21:22.843Z] -rw-rw-r-- 1 jenkins jenkins 680 May 9 20:17 Jenkinsfile [2022-05-09T20:21:22.843Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 9 20:17 LICENSE [2022-05-09T20:21:22.843Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 9 20:17 Makefile [2022-05-09T20:21:22.843Z] -rw-rw-r-- 1 jenkins jenkins 620 May 9 20:17 OWNERS.md [2022-05-09T20:21:22.843Z] -rw-rw-r-- 1 jenkins jenkins 8003 May 9 20:17 README.md [2022-05-09T20:21:22.843Z] -rw-rw-r-- 1 jenkins jenkins 5 May 9 20:14 VERSION [2022-05-09T20:21:22.843Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 20:17 bin [2022-05-09T20:21:22.843Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 20:17 cmd [2022-05-09T20:21:22.843Z] -rw-r--r-- 1 jenkins jenkins 9355 May 9 20:20 coverage.out [2022-05-09T20:21:22.843Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 20:17 driver [2022-05-09T20:21:22.843Z] -rw-rw-r-- 1 jenkins jenkins 3333 May 9 20:17 go.mod [2022-05-09T20:21:22.843Z] -rw-rw-r-- 1 jenkins jenkins 35377 May 9 20:17 go.sum [2022-05-09T20:21:22.843Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 20:17 snap [2022-05-09T20:21:22.843Z] -rw-rw-r-- 1 jenkins jenkins 713 May 9 20:17 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:21:23.206Z] + 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=970cf146fa6a294cb89ac37a37482cebec6dc33c --label arch=arm64 --label version=0.0.0 . [2022-05-09T20:21:23.206Z] Sending build context to Docker daemon 134.7kB [2022-05-09T20:21:23.484Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-09T20:21:23.484Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-09T20:21:23.484Z] ---> 30337b827d65 [2022-05-09T20:21:23.484Z] Step 3/25 : ARG MAKE='make build' [2022-05-09T20:21:23.484Z] ---> Running in 4591f1200182 [2022-05-09T20:21:23.760Z] Removing intermediate container 4591f1200182 [2022-05-09T20:21:23.760Z] ---> 3f28cbe4ea2e [2022-05-09T20:21:23.760Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-09T20:21:24.043Z] ---> Running in e39819ba0140 [2022-05-09T20:21:24.322Z] Removing intermediate container e39819ba0140 [2022-05-09T20:21:24.322Z] ---> 093f7baf24c9 [2022-05-09T20:21:24.322Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-09T20:21:24.322Z] ---> Running in f852f82f8fc3 [2022-05-09T20:21:24.603Z] Removing intermediate container f852f82f8fc3 [2022-05-09T20:21:24.603Z] ---> 32be24451a67 [2022-05-09T20:21:24.603Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-09T20:21:24.603Z] ---> Running in fe5bca77e1b2 [2022-05-09T20:21:26.576Z] Removing intermediate container fe5bca77e1b2 [2022-05-09T20:21:26.576Z] ---> 632eec8000a7 [2022-05-09T20:21:26.576Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-09T20:21:26.576Z] ---> Running in 30630a92d6c6 [2022-05-09T20:21:27.169Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-09T20:21:28.144Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-09T20:21:29.120Z] OK: 224 MiB in 56 packages [2022-05-09T20:21:29.719Z] Removing intermediate container 30630a92d6c6 [2022-05-09T20:21:29.719Z] ---> e2a7b37f34c9 [2022-05-09T20:21:29.719Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-09T20:21:29.992Z] ---> Running in 196ebb4c39fb [2022-05-09T20:21:30.268Z] Removing intermediate container 196ebb4c39fb [2022-05-09T20:21:30.268Z] ---> 0adb2f8beca7 [2022-05-09T20:21:30.268Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-09T20:21:30.554Z] ---> 710cad81b7d1 [2022-05-09T20:21:30.554Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-09T20:21:30.831Z] ---> Running in 0e8a2961799c [2022-05-09T20:21:32.813Z] Removing intermediate container 0e8a2961799c [2022-05-09T20:21:32.813Z] ---> 17d3f3d8ab20 [2022-05-09T20:21:32.813Z] Step 11/25 : COPY . . [2022-05-09T20:21:33.090Z] ---> 6c5d38f4c85e [2022-05-09T20:21:33.090Z] Step 12/25 : RUN $MAKE [2022-05-09T20:21:33.090Z] ---> Running in 0924b6b75eb3 [2022-05-09T20:21:34.070Z] 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-05-09T20:23:55.994Z] Removing intermediate container 0924b6b75eb3 [2022-05-09T20:23:55.994Z] ---> e4713906e3b5 [2022-05-09T20:23:55.994Z] Step 13/25 : FROM alpine:3.14 [2022-05-09T20:23:55.994Z] 3.14: Pulling from library/alpine [2022-05-09T20:23:55.994Z] 455c02918c45: Pulling fs layer [2022-05-09T20:23:55.994Z] 455c02918c45: Download complete [2022-05-09T20:23:55.994Z] 455c02918c45: Pull complete [2022-05-09T20:23:55.994Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-09T20:23:55.994Z] Status: Downloaded newer image for alpine:3.14 [2022-05-09T20:23:55.994Z] ---> ac73e934f311 [2022-05-09T20:23:55.994Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-09T20:23:55.994Z] ---> Running in ae775098da72 [2022-05-09T20:23:55.994Z] Removing intermediate container ae775098da72 [2022-05-09T20:23:55.994Z] ---> d8ccd2866536 [2022-05-09T20:23:55.994Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-09T20:23:55.994Z] ---> Running in 17eeabfb0e7c [2022-05-09T20:23:55.994Z] Removing intermediate container 17eeabfb0e7c [2022-05-09T20:23:55.994Z] ---> c4826a0377b9 [2022-05-09T20:23:55.994Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-09T20:23:55.994Z] ---> Running in e3ccf6e4bf1b [2022-05-09T20:23:55.994Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-09T20:23:55.994Z] WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/main: temporary error (try again later) [2022-05-09T20:23:55.994Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-09T20:23:58.620Z] WARNING: Ignoring https://dl-cdn.alpinelinux.org/alpine/v3.14/community: temporary error (try again later) [2022-05-09T20:23:58.620Z] ERROR: unable to select packages: [2022-05-09T20:23:58.620Z]  dumb-init (no such package): [2022-05-09T20:23:58.620Z] required by: world[dumb-init] [2022-05-09T20:23:58.620Z] zeromq (no such package): [2022-05-09T20:23:58.620Z] required by: world[zeromq] [2022-05-09T20:23:58.894Z] The command '/bin/sh -c apk add --update --no-cache zeromq dumb-init' returned a non-zero code: 2 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:23:59.624Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-09T20:23:59.624Z] [2022-05-09T20:23:59.624Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:24:00.005Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-09T20:24:00.284Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-09T20:24:00.284Z] 8998bd30e6a1: Pulling fs layer [2022-05-09T20:24:00.284Z] 04944245beec: Pulling fs layer [2022-05-09T20:24:00.284Z] 699f458cf7ca: Pulling fs layer [2022-05-09T20:24:00.284Z] 765212b225bb: Pulling fs layer [2022-05-09T20:24:00.284Z] f23df028b6ca: Pulling fs layer [2022-05-09T20:24:00.284Z] d65c8cfc05b1: Pulling fs layer [2022-05-09T20:24:00.284Z] 2437ff75d9bd: Pulling fs layer [2022-05-09T20:24:00.284Z] f23df028b6ca: Waiting [2022-05-09T20:24:00.284Z] 2437ff75d9bd: Waiting [2022-05-09T20:24:00.284Z] 765212b225bb: Waiting [2022-05-09T20:24:00.284Z] d65c8cfc05b1: Waiting [2022-05-09T20:24:00.284Z] 04944245beec: Verifying Checksum [2022-05-09T20:24:00.284Z] 04944245beec: Download complete [2022-05-09T20:24:00.284Z] 765212b225bb: Verifying Checksum [2022-05-09T20:24:00.284Z] 765212b225bb: Download complete [2022-05-09T20:24:00.284Z] f23df028b6ca: Verifying Checksum [2022-05-09T20:24:00.284Z] f23df028b6ca: Download complete [2022-05-09T20:24:00.284Z] d65c8cfc05b1: Verifying Checksum [2022-05-09T20:24:00.284Z] d65c8cfc05b1: Download complete [2022-05-09T20:24:00.558Z] 699f458cf7ca: Verifying Checksum [2022-05-09T20:24:00.558Z] 699f458cf7ca: Download complete [2022-05-09T20:24:00.833Z] 8998bd30e6a1: Verifying Checksum [2022-05-09T20:24:00.833Z] 8998bd30e6a1: Download complete [2022-05-09T20:24:03.459Z] 2437ff75d9bd: Verifying Checksum [2022-05-09T20:24:03.459Z] 2437ff75d9bd: Download complete [2022-05-09T20:24:04.899Z] 8998bd30e6a1: Pull complete [2022-05-09T20:24:05.498Z] 04944245beec: Pull complete [2022-05-09T20:24:06.947Z] 699f458cf7ca: Pull complete [2022-05-09T20:24:07.225Z] 765212b225bb: Pull complete [2022-05-09T20:24:08.207Z] f23df028b6ca: Pull complete [2022-05-09T20:24:08.482Z] d65c8cfc05b1: Pull complete [2022-05-09T20:24:23.583Z] 2437ff75d9bd: Pull complete [2022-05-09T20:24:23.583Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-09T20:24:23.583Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-09T20:24:23.583Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-09T20:24:23.872Z] prd-ubuntu20.04-docker-arm64-4c-16g-42645 does not seem to be running inside a container [2022-05-09T20:24:23.968Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2022-05-09T20:24:27.449Z] $ docker top 24d8c7480ff74b5f5dbdcb43f9ed41bc7141b8d3597bf3c11ae17404d7f52896 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T20:24:28.465Z] ---> job-cost.sh [2022-05-09T20:24:28.465Z] lf-activate-venv: SKIPPING [2022-05-09T20:24:28.465Z] INFO: No Stack... [2022-05-09T20:24:29.065Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-09T20:24:29.663Z] INFO: Archiving Costs [Pipeline] sh [2022-05-09T20:24:30.348Z] + + cat /w/workspace/device-rest-go/1/archives/cost.csv [2022-05-09T20:24:30.348Z] cut -d, -f6 [Pipeline] lock [2022-05-09T20:24:30.517Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-187-1-stack-cost] [2022-05-09T20:24:30.522Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-187-1-stack-cost] did not exist. Created. [2022-05-09T20:24:30.522Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-187-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-09T20:24:31.355Z] /w/workspace/device-rest-go/1@tmp/durable-80569927/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-09T20:24:32.073Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-09T20:24:32.114Z] Warning: overwriting stash ‘stack-cost’ [2022-05-09T20:24:32.167Z] Stashed 1 file(s) [Pipeline] } [2022-05-09T20:24:32.181Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-187-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-09T20:24:32.255Z] $ docker stop --time=1 24d8c7480ff74b5f5dbdcb43f9ed41bc7141b8d3597bf3c11ae17404d7f52896 [2022-05-09T20:24:33.810Z] $ docker rm -f 24d8c7480ff74b5f5dbdcb43f9ed41bc7141b8d3597bf3c11ae17404d7f52896 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-09T20:24:34.593Z] Failed in branch arm64 [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) Stage "CodeCov" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [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-05-09T20:24:36.521Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-187/archives ] [2022-05-09T20:24:36.521Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-187/archives [2022-05-09T20:24:36.521Z] total 16 [2022-05-09T20:24:36.521Z] drwxr-xr-x 3 root root 4096 May 9 20:16 . [2022-05-09T20:24:36.521Z] drwxrwxr-x 10 jenkins jenkins 4096 May 9 20:16 .. [2022-05-09T20:24:36.521Z] drwxr-xr-x 2 root root 4096 May 9 20:16 cost [2022-05-09T20:24:36.521Z] -rw-r--r-- 1 root root 85 May 9 20:16 cost.csv [2022-05-09T20:24:36.521Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-187/archives [2022-05-09T20:24:36.521Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-187/archives [2022-05-09T20:24:36.521Z] total 16 [2022-05-09T20:24:36.521Z] drwxr-xr-x 3 jenkins jenkins 4096 May 9 20:16 . [2022-05-09T20:24:36.521Z] drwxrwxr-x 10 jenkins jenkins 4096 May 9 20:16 .. [2022-05-09T20:24:36.521Z] drwxr-xr-x 2 jenkins jenkins 4096 May 9 20:16 cost [2022-05-09T20:24:36.521Z] -rw-r--r-- 1 jenkins jenkins 85 May 9 20:16 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-09T20:24:36.854Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T20:24:37.767Z] ---> package-listing.sh [2022-05-09T20:24:37.767Z] ++ facter osfamily [2022-05-09T20:24:37.767Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-09T20:24:38.028Z] + OS_FAMILY=debian [2022-05-09T20:24:38.028Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-187 [2022-05-09T20:24:38.028Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-09T20:24:38.029Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-09T20:24:38.029Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-09T20:24:38.029Z] + PACKAGES=/tmp/packages_start.txt [2022-05-09T20:24:38.029Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-187 ']' [2022-05-09T20:24:38.029Z] + PACKAGES=/tmp/packages_end.txt [2022-05-09T20:24:38.029Z] + case "${OS_FAMILY}" in [2022-05-09T20:24:38.029Z] + dpkg -l [2022-05-09T20:24:38.029Z] + grep '^ii' [2022-05-09T20:24:38.029Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-09T20:24:38.029Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-09T20:24:38.029Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-09T20:24:38.029Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-187 ']' [2022-05-09T20:24:38.029Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-187/archives/ [2022-05-09T20:24:38.029Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-187/archives/ [Pipeline] echo [2022-05-09T20:24:38.065Z] 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-187/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2022-05-09T20:24:38.358Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:24:39.055Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-09T20:24:39.055Z] . [Pipeline] withDockerContainer [2022-05-09T20:24:39.145Z] prd-ubuntu20.04-docker-8c-8g-42634 does not seem to be running inside a container [2022-05-09T20:24:39.186Z] $ 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-187/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-187 -v /w/workspace/gexfoundry_device-rest-go_PR-187:/w/workspace/gexfoundry_device-rest-go_PR-187:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-187@tmp:/w/workspace/gexfoundry_device-rest-go_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-05-09T20:24:39.401Z] $ docker top c395b399075bb218b726538890ad53ae64104b6ab007e5b90e728d8624345698 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-09T20:24:39.788Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-09T20:24:40.101Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-09T20:24:40.411Z] + ls /var/log/sa-host [2022-05-09T20:24:40.411Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-09T20:24:40.568Z] provisioning config files... [2022-05-09T20:24:40.578Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-187@tmp/config4788881897550907743tmp [Pipeline] { [Pipeline] echo [2022-05-09T20:24:40.624Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T20:24:40.943Z] ---> create-netrc.sh [Pipeline] } [2022-05-09T20:24:40.971Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-09T20:24:41.374Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-09T20:24:41.405Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T20:24:41.718Z] ---> sudo-logs.sh [2022-05-09T20:24:41.719Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-09T20:24:41.799Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T20:24:42.114Z] ---> job-cost.sh [2022-05-09T20:24:42.114Z] lf-activate-venv: SKIPPING [2022-05-09T20:24:42.115Z] DEBUG: total: 0.2199999988079071 [2022-05-09T20:24:42.115Z] INFO: Retrieving Stack Cost... [2022-05-09T20:24:42.373Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-09T20:24:42.944Z] INFO: Archiving Costs [Pipeline] echo [2022-05-09T20:24:42.977Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T20:24:43.289Z] ---> logs-deploy.sh [2022-05-09T20:24:43.289Z] lf-activate-venv: SKIPPING [2022-05-09T20:24:43.289Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-187/1 [2022-05-09T20:24:43.289Z] INFO: archiving workspace using pattern(s): [2022-05-09T20:24:44.228Z] Archives upload complete. [2022-05-09T20:24:44.228Z] INFO: archiving logs to Nexus