Pull request #186 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 4cb71774a2d5d5cadafac4e4038bfd054c067146+1b7989097685cbbb7d11325d5e96f20d406e46c7 (b6265d17f2c5e1af4e76d411c7e7d2c8dc078156) 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-ssh10893387535741825682.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-ssh4031164323320158684.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-186/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-186/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh57189704747961771.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-186/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh5649980761877683765.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-ssh15370032842901388519.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-186/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-186/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh2589428659353124163.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-42635 in /w/workspace/gexfoundry_device-rest-go_PR-186 [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-186 # 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 4cb71774a2d5d5cadafac4e4038bfd054c067146 > 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/186/head:refs/remotes/origin/PR-186 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 4cb71774a2d5d5cadafac4e4038bfd054c067146 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 Merge succeeded, producing 4cb71774a2d5d5cadafac4e4038bfd054c067146 Checking out Revision 4cb71774a2d5d5cadafac4e4038bfd054c067146 (PR-186) 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 4cb71774a2d5d5cadafac4e4038bfd054c067146 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/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:04.164Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-05-09T20:14:04.364Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-05-09T20:14:04.455Z] ========================================================= [2022-05-09T20:14:04.455Z] EdgeX Global Pipelines Version Info [2022-05-09T20:14:04.455Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-05-09T20:14:05.298Z] ------------------- [2022-05-09T20:14:05.298Z] stable info: [2022-05-09T20:14:05.298Z] ------------------- [2022-05-09T20:14:05.298Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-09T20:14:05.298Z] Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [2022-05-09T20:14:05.298Z] Message: update stable to v1.0.227 [2022-05-09T20:14:05.873Z] ------------------- [2022-05-09T20:14:05.873Z] experimental info: [2022-05-09T20:14:05.873Z] ------------------- [2022-05-09T20:14:05.873Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-05-09T20:14:05.873Z] Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c [2022-05-09T20:14:05.873Z] Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-05-09T20:14:06.153Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-05-09T20:14:06.196Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-05-09T20:14:06.245Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-05-09T20:14:06.283Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-05-09T20:14:06.329Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-05-09T20:14:06.382Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-05-09T20:14:06.432Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-05-09T20:14:06.481Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-05-09T20:14:06.528Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-05-09T20:14:06.572Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-05-09T20:14:06.619Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-05-09T20:14:06.660Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-05-09T20:14:06.709Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-05-09T20:14:06.755Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-05-09T20:14:06.803Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-05-09T20:14:06.854Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-05-09T20:14:06.901Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-05-09T20:14:06.949Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-05-09T20:14:06.997Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-05-09T20:14:07.043Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-05-09T20:14:07.087Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-05-09T20:14:07.141Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-05-09T20:14:07.188Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-05-09T20:14:07.241Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-05-09T20:14:07.287Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-05-09T20:14:07.333Z] [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.382Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-186 [Pipeline] echo [2022-05-09T20:14:07.428Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-186 [Pipeline] echo [2022-05-09T20:14:07.466Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-186 [Pipeline] echo [2022-05-09T20:14:07.524Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 4cb71774a2d5d5cadafac4e4038bfd054c067146 [Pipeline] echo [2022-05-09T20:14:07.575Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 4cb7177 [Pipeline] echo [2022-05-09T20:14:07.628Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-09T20:14:07.764Z] provisioning config files... [2022-05-09T20:14:07.778Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-186@tmp/config1148252361558692523tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T20:14:08.208Z] ---> docker-login.sh [2022-05-09T20:14:08.209Z] nexus3.edgexfoundry.org:10001 [2022-05-09T20:14:08.471Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T20:14:08.471Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T20:14:08.471Z] Configure a credential helper to remove this warning. See [2022-05-09T20:14:08.471Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T20:14:08.471Z] [2022-05-09T20:14:08.471Z] Login Succeeded [2022-05-09T20:14:08.471Z] nexus3.edgexfoundry.org:10002 [2022-05-09T20:14:08.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T20:14:08.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T20:14:08.736Z] Configure a credential helper to remove this warning. See [2022-05-09T20:14:08.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T20:14:08.736Z] [2022-05-09T20:14:08.736Z] Login Succeeded [2022-05-09T20:14:08.736Z] nexus3.edgexfoundry.org:10003 [2022-05-09T20:14:08.736Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T20:14:08.736Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T20:14:08.736Z] Configure a credential helper to remove this warning. See [2022-05-09T20:14:08.736Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T20:14:08.736Z] [2022-05-09T20:14:08.736Z] Login Succeeded [2022-05-09T20:14:08.736Z] nexus3.edgexfoundry.org:10004 [2022-05-09T20:14:08.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T20:14:08.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T20:14:08.998Z] Configure a credential helper to remove this warning. See [2022-05-09T20:14:08.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T20:14:08.998Z] [2022-05-09T20:14:08.998Z] Login Succeeded [2022-05-09T20:14:08.998Z] docker.io [2022-05-09T20:14:08.998Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T20:14:09.261Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T20:14:09.261Z] Configure a credential helper to remove this warning. See [2022-05-09T20:14:09.261Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T20:14:09.261Z] [2022-05-09T20:14:09.261Z] Login Succeeded [2022-05-09T20:14:09.261Z] ---> docker-login.sh ends [Pipeline] } [2022-05-09T20:14:09.353Z] 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.974Z] + git rev-list -1 --merges 4cb71774a2d5d5cadafac4e4038bfd054c067146~1..4cb71774a2d5d5cadafac4e4038bfd054c067146 [Pipeline] echo [2022-05-09T20:14:10.032Z] -----------> git rev-list -1 --merges 4cb71774a2d5d5cadafac4e4038bfd054c067146~1..4cb71774a2d5d5cadafac4e4038bfd054c067146 4cb71774a2d5d5cadafac4e4038bfd054c067146 [false] [Pipeline] sh [2022-05-09T20:14:10.356Z] + git log --format=format:%s -1 4cb71774a2d5d5cadafac4e4038bfd054c067146 [Pipeline] echo [2022-05-09T20:14:10.391Z] ========================================================= [2022-05-09T20:14:10.392Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-05-09T20:14:10.392Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-09T20:14:10.822Z] + git log --format=format:%s -1 4cb71774a2d5d5cadafac4e4038bfd054c067146 [Pipeline] echo [2022-05-09T20:14:10.850Z] [semverPrep] GIT_COMMIT: 4cb71774a2d5d5cadafac4e4038bfd054c067146, Commit Message: build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2 [Pipeline] echo [2022-05-09T20:14:10.881Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-05-09T20:14:11.280Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-05-09T20:14:11.280Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-05-09T20:14:11.280Z] + [ -e /tmp/ssh_known_hosts ] [2022-05-09T20:14:11.280Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-05-09T20:14:11.280Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-05-09T20:14:11.280Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-05-09T20:14:11.280Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:14:11.652Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-09T20:14:11.652Z] [2022-05-09T20:14:11.652Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:14:11.988Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-09T20:14:11.988Z] latest: Pulling from edgex-devops/py-git-semver [2022-05-09T20:14:11.988Z] 1fe172e4850f: Pulling fs layer [2022-05-09T20:14:11.988Z] caf521ccaac6: Pulling fs layer [2022-05-09T20:14:11.988Z] 3ead6fa29328: Pulling fs layer [2022-05-09T20:14:11.988Z] 5c2a1cbceb83: Pulling fs layer [2022-05-09T20:14:11.988Z] a8d5f1318db7: Pulling fs layer [2022-05-09T20:14:11.988Z] c427282e49a2: Pulling fs layer [2022-05-09T20:14:11.988Z] 1827001aaf11: Pulling fs layer [2022-05-09T20:14:11.988Z] 0714d37db230: Pulling fs layer [2022-05-09T20:14:11.988Z] ac28cf19c067: Pulling fs layer [2022-05-09T20:14:11.988Z] ca983d60f3e2: Pulling fs layer [2022-05-09T20:14:11.988Z] 9f894cec8388: Pulling fs layer [2022-05-09T20:14:11.988Z] ac28cf19c067: Waiting [2022-05-09T20:14:11.988Z] c427282e49a2: Waiting [2022-05-09T20:14:11.988Z] 1827001aaf11: Waiting [2022-05-09T20:14:11.988Z] 9f894cec8388: Waiting [2022-05-09T20:14:11.988Z] ca983d60f3e2: Waiting [2022-05-09T20:14:11.988Z] 0714d37db230: Waiting [2022-05-09T20:14:11.988Z] 5c2a1cbceb83: Waiting [2022-05-09T20:14:11.988Z] a8d5f1318db7: Waiting [2022-05-09T20:14:11.988Z] caf521ccaac6: Download complete [2022-05-09T20:14:11.988Z] 5c2a1cbceb83: Verifying Checksum [2022-05-09T20:14:11.988Z] 5c2a1cbceb83: Download complete [2022-05-09T20:14:11.988Z] a8d5f1318db7: Verifying Checksum [2022-05-09T20:14:11.988Z] a8d5f1318db7: Download complete [2022-05-09T20:14:12.248Z] c427282e49a2: Verifying Checksum [2022-05-09T20:14:12.248Z] c427282e49a2: Download complete [2022-05-09T20:14:12.248Z] 3ead6fa29328: Verifying Checksum [2022-05-09T20:14:12.248Z] 3ead6fa29328: Download complete [2022-05-09T20:14:12.248Z] 0714d37db230: Verifying Checksum [2022-05-09T20:14:12.248Z] 0714d37db230: Download complete [2022-05-09T20:14:12.248Z] ac28cf19c067: Verifying Checksum [2022-05-09T20:14:12.248Z] ac28cf19c067: Download complete [2022-05-09T20:14:12.248Z] ca983d60f3e2: Verifying Checksum [2022-05-09T20:14:12.248Z] ca983d60f3e2: Download complete [2022-05-09T20:14:12.248Z] 9f894cec8388: Verifying Checksum [2022-05-09T20:14:12.248Z] 9f894cec8388: Download complete [2022-05-09T20:14:12.248Z] 1fe172e4850f: Verifying Checksum [2022-05-09T20:14:12.248Z] 1fe172e4850f: Download complete [2022-05-09T20:14:12.508Z] 1827001aaf11: Verifying Checksum [2022-05-09T20:14:12.508Z] 1827001aaf11: Download complete [2022-05-09T20:14:13.989Z] 1fe172e4850f: Pull complete [2022-05-09T20:14:13.989Z] caf521ccaac6: Pull complete [2022-05-09T20:14:14.560Z] 3ead6fa29328: Pull complete [2022-05-09T20:14:14.560Z] 5c2a1cbceb83: Pull complete [2022-05-09T20:14:14.845Z] a8d5f1318db7: Pull complete [2022-05-09T20:14:14.845Z] c427282e49a2: Pull complete [2022-05-09T20:14:17.419Z] 1827001aaf11: Pull complete [2022-05-09T20:14:17.419Z] 0714d37db230: Pull complete [2022-05-09T20:14:17.419Z] ac28cf19c067: Pull complete [2022-05-09T20:14:17.419Z] ca983d60f3e2: Pull complete [2022-05-09T20:14:17.419Z] 9f894cec8388: Pull complete [2022-05-09T20:14:17.419Z] Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee [2022-05-09T20:14:17.419Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [2022-05-09T20:14:17.419Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer [2022-05-09T20:14:17.525Z] prd-ubuntu20.04-docker-8c-8g-42635 does not seem to be running inside a container [2022-05-09T20:14:17.578Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-186 -v /w/workspace/gexfoundry_device-rest-go_PR-186:/w/workspace/gexfoundry_device-rest-go_PR-186:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-186@tmp:/w/workspace/gexfoundry_device-rest-go_PR-186@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.684Z] $ docker top 009240364ba3442e3bf42e654e33afece23f232b1397961dc3b5e41c30235e05 -eo pid,comm [2022-05-09T20:14:19.753Z] 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.753Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-05-09T20:14:19.872Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-09T20:14:19.872Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-09T20:14:20.014Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-09T20:14:20.022Z] $ docker exec 009240364ba3442e3bf42e654e33afece23f232b1397961dc3b5e41c30235e05 ssh-agent [2022-05-09T20:14:20.147Z] SSH_AUTH_SOCK=/tmp/ssh-y4JnR8bzeDCW/agent.32 [2022-05-09T20:14:20.147Z] SSH_AGENT_PID=38 [2022-05-09T20:14:20.154Z] Running ssh-add (command line suppressed) [2022-05-09T20:14:20.291Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-186@tmp/private_key_2015679552708755752.key (/w/workspace/gexfoundry_device-rest-go_PR-186@tmp/private_key_2015679552708755752.key) [2022-05-09T20:14:20.307Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-09T20:14:20.653Z] + git tag --points-at HEAD [Pipeline] } [2022-05-09T20:14:20.684Z] $ docker exec --env ******** --env ******** 009240364ba3442e3bf42e654e33afece23f232b1397961dc3b5e41c30235e05 ssh-agent -k [2022-05-09T20:14:20.794Z] unset SSH_AUTH_SOCK; [2022-05-09T20:14:20.794Z] unset SSH_AGENT_PID; [2022-05-09T20:14:20.795Z] echo Agent pid 38 killed; [2022-05-09T20:14:20.802Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-05-09T20:14:20.896Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-05-09T20:14:20.896Z] [ssh-agent] Looking for ssh-agent implementation... [2022-05-09T20:14:21.032Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-05-09T20:14:21.041Z] $ docker exec 009240364ba3442e3bf42e654e33afece23f232b1397961dc3b5e41c30235e05 ssh-agent [2022-05-09T20:14:21.165Z] SSH_AUTH_SOCK=/tmp/ssh-lWHczqGDTxwx/agent.73 [2022-05-09T20:14:21.165Z] SSH_AGENT_PID=79 [2022-05-09T20:14:21.170Z] Running ssh-add (command line suppressed) [2022-05-09T20:14:21.293Z] Identity added: /w/workspace/gexfoundry_device-rest-go_PR-186@tmp/private_key_5763919133448511119.key (/w/workspace/gexfoundry_device-rest-go_PR-186@tmp/private_key_5763919133448511119.key) [2022-05-09T20:14:21.303Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-05-09T20:14:21.635Z] + git semver init [2022-05-09T20:14:21.897Z] 2022-05-09 20:14:21,822 [run_init] DEBUG init version:0.0.0 force:False [2022-05-09T20:14:21.897Z] 2022-05-09 20:14:21,823 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-186/.semver [2022-05-09T20:14:21.897Z] 2022-05-09 20:14:21,823 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-186/.semver [2022-05-09T20:14:21.897Z] 2022-05-09 20:14:21,823 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-186/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-186, universal_newlines=False, shell=None, istream=None) [2022-05-09T20:14:22.841Z] 2022-05-09 20:14:22,839 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-186/.git/info/exclude [2022-05-09T20:14:22.841Z] 2022-05-09 20:14:22,840 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-186/.semver/PR-186 with force:False [2022-05-09T20:14:22.841Z] 2022-05-09 20:14:22,840 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-186/.semver/PR-186 [2022-05-09T20:14:22.841Z] 2022-05-09 20:14:22,845 [execute] INFO git cat-file --batch-check [2022-05-09T20:14:22.841Z] 2022-05-09 20:14:22,845 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-186/.semver, universal_newlines=False, shell=None, istream=) [2022-05-09T20:14:23.103Z] 2022-05-09 20:14:22,851 [execute] INFO git cat-file --batch [2022-05-09T20:14:23.103Z] 2022-05-09 20:14:22,851 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-186/.semver, universal_newlines=False, shell=None, istream=) [2022-05-09T20:14:23.103Z] 2022-05-09 20:14:22,855 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-186/.semver/PR-186 [2022-05-09T20:14:23.103Z] 0.0.0 [Pipeline] } [2022-05-09T20:14:23.136Z] $ docker exec --env ******** --env ******** 009240364ba3442e3bf42e654e33afece23f232b1397961dc3b5e41c30235e05 ssh-agent -k [2022-05-09T20:14:23.255Z] unset SSH_AUTH_SOCK; [2022-05-09T20:14:23.255Z] unset SSH_AGENT_PID; [2022-05-09T20:14:23.255Z] echo Agent pid 79 killed; [2022-05-09T20:14:23.263Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-05-09T20:14:23.691Z] + git semver [Pipeline] } [2022-05-09T20:14:23.983Z] $ docker stop --time=1 009240364ba3442e3bf42e654e33afece23f232b1397961dc3b5e41c30235e05 [2022-05-09T20:14:25.326Z] $ docker rm -f 009240364ba3442e3bf42e654e33afece23f232b1397961dc3b5e41c30235e05 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-09T20:14:25.733Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-05-09T20:14:26.075Z] Stashed 1 file(s) [Pipeline] echo [2022-05-09T20:14:26.094Z] [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.681Z] provisioning config files... [2022-05-09T20:14:26.693Z] copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-186@tmp/config4122329475647643067tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T20:14:27.043Z] ---> docker-login.sh [2022-05-09T20:14:27.043Z] nexus3.edgexfoundry.org:10001 [2022-05-09T20:14:27.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T20:14:27.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T20:14:27.043Z] Configure a credential helper to remove this warning. See [2022-05-09T20:14:27.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T20:14:27.043Z] [2022-05-09T20:14:27.043Z] Login Succeeded [2022-05-09T20:14:27.043Z] nexus3.edgexfoundry.org:10002 [2022-05-09T20:14:27.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T20:14:27.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T20:14:27.306Z] Configure a credential helper to remove this warning. See [2022-05-09T20:14:27.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T20:14:27.306Z] [2022-05-09T20:14:27.306Z] Login Succeeded [2022-05-09T20:14:27.306Z] nexus3.edgexfoundry.org:10003 [2022-05-09T20:14:27.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T20:14:27.306Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T20:14:27.306Z] Configure a credential helper to remove this warning. See [2022-05-09T20:14:27.306Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T20:14:27.306Z] [2022-05-09T20:14:27.306Z] Login Succeeded [2022-05-09T20:14:27.306Z] nexus3.edgexfoundry.org:10004 [2022-05-09T20:14:27.306Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T20:14:27.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T20:14:27.568Z] Configure a credential helper to remove this warning. See [2022-05-09T20:14:27.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T20:14:27.568Z] [2022-05-09T20:14:27.568Z] Login Succeeded [2022-05-09T20:14:27.568Z] docker.io [2022-05-09T20:14:27.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T20:14:27.829Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T20:14:27.829Z] Configure a credential helper to remove this warning. See [2022-05-09T20:14:27.829Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T20:14:27.829Z] [2022-05-09T20:14:27.829Z] Login Succeeded [2022-05-09T20:14:27.829Z] ---> docker-login.sh ends [Pipeline] } [2022-05-09T20:14:27.853Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-09T20:14:28.057Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-09T20:14:28.090Z] ========================================================= [2022-05-09T20:14:28.090Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-05-09T20:14:28.090Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:14:28.497Z] + 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.497Z] Sending build context to Docker daemon 10.62MB [2022-05-09T20:14:28.497Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-09T20:14:28.497Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-09T20:14:28.497Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-05-09T20:14:28.497Z] 59bf1c3509f3: Pulling fs layer [2022-05-09T20:14:28.497Z] 666ba61612fd: Pulling fs layer [2022-05-09T20:14:28.497Z] 8ed8ca486205: Pulling fs layer [2022-05-09T20:14:28.497Z] 4fe6c5a15a65: Pulling fs layer [2022-05-09T20:14:28.497Z] 22a0e8bec74d: Pulling fs layer [2022-05-09T20:14:28.497Z] ca2b28591e48: Pulling fs layer [2022-05-09T20:14:28.497Z] a51346096db8: Pulling fs layer [2022-05-09T20:14:28.497Z] daebc70d1ce1: Pulling fs layer [2022-05-09T20:14:28.497Z] 0e18a0eac166: Pulling fs layer [2022-05-09T20:14:28.497Z] 4fe6c5a15a65: Waiting [2022-05-09T20:14:28.497Z] 22a0e8bec74d: Waiting [2022-05-09T20:14:28.497Z] ca2b28591e48: Waiting [2022-05-09T20:14:28.497Z] a51346096db8: Waiting [2022-05-09T20:14:28.497Z] daebc70d1ce1: Waiting [2022-05-09T20:14:28.497Z] 0e18a0eac166: Waiting [2022-05-09T20:14:28.497Z] 8ed8ca486205: Download complete [2022-05-09T20:14:28.762Z] 666ba61612fd: Download complete [2022-05-09T20:14:28.762Z] 22a0e8bec74d: Download complete [2022-05-09T20:14:28.762Z] ca2b28591e48: Download complete [2022-05-09T20:14:28.762Z] a51346096db8: Download complete [2022-05-09T20:14:28.762Z] 59bf1c3509f3: Verifying Checksum [2022-05-09T20:14:28.762Z] 59bf1c3509f3: Download complete [2022-05-09T20:14:28.762Z] daebc70d1ce1: Verifying Checksum [2022-05-09T20:14:28.762Z] daebc70d1ce1: Download complete [2022-05-09T20:14:29.027Z] 59bf1c3509f3: Pull complete [2022-05-09T20:14:29.027Z] 666ba61612fd: Pull complete [2022-05-09T20:14:29.027Z] 8ed8ca486205: Pull complete [2022-05-09T20:14:29.601Z] 0e18a0eac166: Verifying Checksum [2022-05-09T20:14:29.601Z] 0e18a0eac166: Download complete [2022-05-09T20:14:29.601Z] 4fe6c5a15a65: Verifying Checksum [2022-05-09T20:14:29.601Z] 4fe6c5a15a65: Download complete [2022-05-09T20:14:33.800Z] 4fe6c5a15a65: Pull complete [2022-05-09T20:14:34.061Z] 22a0e8bec74d: Pull complete [2022-05-09T20:14:34.061Z] ca2b28591e48: Pull complete [2022-05-09T20:14:34.322Z] a51346096db8: Pull complete [2022-05-09T20:14:34.322Z] daebc70d1ce1: Pull complete [2022-05-09T20:14:36.915Z] 0e18a0eac166: Pull complete [2022-05-09T20:14:36.915Z] Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 [2022-05-09T20:14:36.915Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-05-09T20:14:36.915Z] ---> f018257e8ee9 [2022-05-09T20:14:36.915Z] Step 3/12 : ARG MAKE='make build' [2022-05-09T20:14:38.832Z] ---> Running in a4eaeab0e6bb [2022-05-09T20:14:38.832Z] Removing intermediate container a4eaeab0e6bb [2022-05-09T20:14:38.832Z] ---> 7562b6771edd [2022-05-09T20:14:38.832Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-09T20:14:38.832Z] ---> Running in 8384ed3b97a8 [2022-05-09T20:14:38.832Z] Removing intermediate container 8384ed3b97a8 [2022-05-09T20:14:38.832Z] ---> 260a43213833 [2022-05-09T20:14:38.832Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-09T20:14:38.832Z] ---> Running in 19a6895f4739 [2022-05-09T20:14:38.832Z] Removing intermediate container 19a6895f4739 [2022-05-09T20:14:38.832Z] ---> eb7fbdef9136 [2022-05-09T20:14:38.832Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-09T20:14:38.832Z] ---> Running in 098bffdc50d3 [2022-05-09T20:14:39.774Z] Removing intermediate container 098bffdc50d3 [2022-05-09T20:14:39.774Z] ---> 78c8f438b2e1 [2022-05-09T20:14:39.774Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-09T20:14:39.774Z] ---> Running in cdce8ddb9c22 [2022-05-09T20:14:39.774Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-09T20:14:40.719Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-09T20:14:40.986Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-09T20:14:40.986Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-09T20:14:41.248Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-09T20:14:41.248Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-09T20:14:41.511Z] Still waiting to schedule task [2022-05-09T20:14:41.511Z] ‘prd-centos7-blackbox-4c-2g-41381’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-09T20:14:41.511Z] ‘prd-centos7-builder-2c-1g-42638’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-09T20:14:41.511Z] ‘prd-ubuntu18.04-docker-8c-8g-41080’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-05-09T20:14:41.511Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-42637’ is offline [2022-05-09T20:14:41.534Z] Executing busybox-1.34.1-r3.trigger [2022-05-09T20:14:41.534Z] OK: 224 MiB in 56 packages [2022-05-09T20:14:41.799Z] Removing intermediate container cdce8ddb9c22 [2022-05-09T20:14:41.799Z] ---> 0c76947b8e3d [2022-05-09T20:14:41.799Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-09T20:14:41.799Z] ---> Running in a944fc0ed39e [2022-05-09T20:14:42.061Z] Removing intermediate container a944fc0ed39e [2022-05-09T20:14:42.061Z] ---> 84e11d6ceac0 [2022-05-09T20:14:42.061Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-09T20:14:42.061Z] ---> ecc068658bb8 [2022-05-09T20:14:42.061Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-09T20:14:42.321Z] ---> Running in c657ef1268bc [2022-05-09T20:15:00.451Z] Removing intermediate container c657ef1268bc [2022-05-09T20:15:00.451Z] ---> 0c6e8fa00bfb [2022-05-09T20:15:00.451Z] Step 11/12 : COPY . . [2022-05-09T20:15:00.451Z] ---> 769a0edae345 [2022-05-09T20:15:00.451Z] Step 12/12 : RUN $MAKE [2022-05-09T20:15:00.451Z] ---> Running in 2eb3fdf0f675 [2022-05-09T20:15:00.451Z] noop [2022-05-09T20:15:00.451Z] Removing intermediate container 2eb3fdf0f675 [2022-05-09T20:15:00.451Z] ---> be790e75263a [2022-05-09T20:15:00.451Z] Successfully built be790e75263a [2022-05-09T20:15:00.451Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:15:00.786Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-09T20:15:00.786Z] . [Pipeline] withDockerContainer [2022-05-09T20:15:00.888Z] prd-ubuntu20.04-docker-8c-8g-42635 does not seem to be running inside a container [2022-05-09T20:15:00.934Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-186 -v /w/workspace/gexfoundry_device-rest-go_PR-186:/w/workspace/gexfoundry_device-rest-go_PR-186:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-186@tmp:/w/workspace/gexfoundry_device-rest-go_PR-186@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.381Z] $ docker top a6f32651fada1b5ba4effab841c85f7012c6c7ddd500193d35fbf1687592bf9c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-09T20:15:01.803Z] + go version [2022-05-09T20:15:01.803Z] go version go1.17.6 linux/amd64 [Pipeline] } [2022-05-09T20:15:01.841Z] $ docker stop --time=1 a6f32651fada1b5ba4effab841c85f7012c6c7ddd500193d35fbf1687592bf9c [2022-05-09T20:15:03.431Z] $ docker rm -f a6f32651fada1b5ba4effab841c85f7012c6c7ddd500193d35fbf1687592bf9c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:15:04.171Z] + docker inspect -f . ci-base-image-x86_64 [2022-05-09T20:15:04.171Z] . [Pipeline] withDockerContainer [2022-05-09T20:15:04.274Z] prd-ubuntu20.04-docker-8c-8g-42635 does not seem to be running inside a container [2022-05-09T20:15:04.314Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-186 -v /w/workspace/gexfoundry_device-rest-go_PR-186:/w/workspace/gexfoundry_device-rest-go_PR-186:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-186@tmp:/w/workspace/gexfoundry_device-rest-go_PR-186@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:04.875Z] $ docker top c4872dcf340f4a2eb211d59c8abb4ae3aa831c93aca9c0736597821ce7a121b7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-09T20:15:05.332Z] + make test [2022-05-09T20:15:05.332Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-09T20:15:05.594Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-09T20:15:17.816Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-09T20:15:17.816Z] ok github.com/edgexfoundry/device-rest-go/driver 0.018s coverage: 55.2% of statements [2022-05-09T20:15:23.096Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-09T20:15:27.301Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-09T20:15:27.301Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-09T20:15:27.301Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-09T20:15:27.907Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-09T20:15:27.943Z] $ docker stop --time=1 c4872dcf340f4a2eb211d59c8abb4ae3aa831c93aca9c0736597821ce7a121b7 [2022-05-09T20:15:29.744Z] $ docker rm -f c4872dcf340f4a2eb211d59c8abb4ae3aa831c93aca9c0736597821ce7a121b7 [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-09T20:15:30.266Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-09T20:15:30.323Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-05-09T20:15:30.996Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-09T20:15:31.313Z] + ls -al . [2022-05-09T20:15:31.313Z] total 168 [2022-05-09T20:15:31.313Z] drwxrwxr-x 9 jenkins jenkins 4096 May 9 20:15 . [2022-05-09T20:15:31.313Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 20:13 .. [2022-05-09T20:15:31.313Z] -rw-rw-r-- 1 jenkins jenkins 151 May 9 20:14 .dockerignore [2022-05-09T20:15:31.313Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 20:14 .git [2022-05-09T20:15:31.313Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 20:14 .github [2022-05-09T20:15:31.313Z] -rw-rw-r-- 1 jenkins jenkins 329 May 9 20:14 .gitignore [2022-05-09T20:15:31.313Z] -rw-rw-r-- 1 jenkins jenkins 41 May 9 20:14 .golangci.yml [2022-05-09T20:15:31.313Z] drwxr-xr-x 3 jenkins jenkins 4096 May 9 20:14 .semver [2022-05-09T20:15:31.313Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 9 20:14 Attribution.txt [2022-05-09T20:15:31.313Z] -rw-rw-r-- 1 jenkins jenkins 7459 May 9 20:14 CHANGELOG.md [2022-05-09T20:15:31.313Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 9 20:14 Dockerfile [2022-05-09T20:15:31.313Z] -rw-rw-r-- 1 jenkins jenkins 677 May 9 20:14 GOVERNANCE.md [2022-05-09T20:15:31.313Z] -rw-rw-r-- 1 jenkins jenkins 680 May 9 20:14 Jenkinsfile [2022-05-09T20:15:31.313Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 9 20:14 LICENSE [2022-05-09T20:15:31.313Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 9 20:14 Makefile [2022-05-09T20:15:31.313Z] -rw-rw-r-- 1 jenkins jenkins 620 May 9 20:14 OWNERS.md [2022-05-09T20:15:31.313Z] -rw-rw-r-- 1 jenkins jenkins 8003 May 9 20:14 README.md [2022-05-09T20:15:31.313Z] -rw-rw-r-- 1 jenkins jenkins 5 May 9 20:14 VERSION [2022-05-09T20:15:31.313Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 20:14 bin [2022-05-09T20:15:31.313Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 20:14 cmd [2022-05-09T20:15:31.313Z] -rw-r--r-- 1 jenkins jenkins 9355 May 9 20:15 coverage.out [2022-05-09T20:15:31.313Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 20:14 driver [2022-05-09T20:15:31.313Z] -rw-rw-r-- 1 jenkins jenkins 3326 May 9 20:14 go.mod [2022-05-09T20:15:31.313Z] -rw-rw-r-- 1 jenkins jenkins 35363 May 9 20:14 go.sum [2022-05-09T20:15:31.313Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 20:14 snap [2022-05-09T20:15:31.313Z] -rw-rw-r-- 1 jenkins jenkins 713 May 9 20:14 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:15:31.652Z] + 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=4cb71774a2d5d5cadafac4e4038bfd054c067146 --label arch=amd64 --label version=0.0.0 . [2022-05-09T20:15:31.652Z] Sending build context to Docker daemon 10.63MB [2022-05-09T20:15:31.652Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-09T20:15:31.652Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-09T20:15:31.652Z] ---> be790e75263a [2022-05-09T20:15:31.652Z] Step 3/25 : ARG MAKE='make build' [2022-05-09T20:15:31.912Z] ---> Running in 9f13784d2920 [2022-05-09T20:15:31.912Z] Removing intermediate container 9f13784d2920 [2022-05-09T20:15:31.912Z] ---> c450f718bf68 [2022-05-09T20:15:31.912Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-09T20:15:31.912Z] ---> Running in c252577403f2 [2022-05-09T20:15:31.912Z] Removing intermediate container c252577403f2 [2022-05-09T20:15:31.912Z] ---> 0628c9990628 [2022-05-09T20:15:31.912Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-09T20:15:32.172Z] ---> Running in 9386f0a7f72b [2022-05-09T20:15:32.172Z] Removing intermediate container 9386f0a7f72b [2022-05-09T20:15:32.172Z] ---> 834be055429e [2022-05-09T20:15:32.172Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-09T20:15:32.172Z] ---> Running in 8fd2338c3553 [2022-05-09T20:15:32.743Z] Removing intermediate container 8fd2338c3553 [2022-05-09T20:15:32.743Z] ---> 39978f642ac5 [2022-05-09T20:15:32.743Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-09T20:15:32.743Z] ---> Running in ee678f1bf938 [2022-05-09T20:15:33.008Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-05-09T20:15:33.951Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-05-09T20:15:34.210Z] OK: 224 MiB in 56 packages [2022-05-09T20:15:34.469Z] Removing intermediate container ee678f1bf938 [2022-05-09T20:15:34.469Z] ---> 605d17bd3117 [2022-05-09T20:15:34.469Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-09T20:15:34.469Z] ---> Running in 953d5e45029e [2022-05-09T20:15:34.730Z] Removing intermediate container 953d5e45029e [2022-05-09T20:15:34.730Z] ---> 24e78f1fee7e [2022-05-09T20:15:34.730Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-09T20:15:34.730Z] ---> c156935494ea [2022-05-09T20:15:34.730Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-09T20:15:34.990Z] ---> Running in 72897e658dbd [2022-05-09T20:15:35.576Z] Removing intermediate container 72897e658dbd [2022-05-09T20:15:35.576Z] ---> 599a6f3f7dc5 [2022-05-09T20:15:35.576Z] Step 11/25 : COPY . . [2022-05-09T20:15:35.835Z] ---> 0e6f777d45ec [2022-05-09T20:15:35.835Z] Step 12/25 : RUN $MAKE [2022-05-09T20:15:35.835Z] ---> Running in cfef58ca91de [2022-05-09T20:15:36.095Z] 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:58.036Z] Removing intermediate container cfef58ca91de [2022-05-09T20:15:58.036Z] ---> 39d1729c97a2 [2022-05-09T20:15:58.036Z] Step 13/25 : FROM alpine:3.14 [2022-05-09T20:15:58.036Z] 3.14: Pulling from library/alpine [2022-05-09T20:15:58.036Z] 8663204ce13b: Pulling fs layer [2022-05-09T20:15:58.036Z] 8663204ce13b: Download complete [2022-05-09T20:15:58.036Z] 8663204ce13b: Pull complete [2022-05-09T20:15:58.036Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-09T20:15:58.036Z] Status: Downloaded newer image for alpine:3.14 [2022-05-09T20:15:58.036Z] ---> e04c818066af [2022-05-09T20:15:58.036Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-09T20:15:58.036Z] ---> Running in cb3c50bd58c8 [2022-05-09T20:15:58.036Z] Removing intermediate container cb3c50bd58c8 [2022-05-09T20:15:58.036Z] ---> 78efa0a590fe [2022-05-09T20:15:58.036Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-09T20:15:58.036Z] ---> Running in 7df849b23f72 [2022-05-09T20:15:58.036Z] Removing intermediate container 7df849b23f72 [2022-05-09T20:15:58.036Z] ---> 3a1eecf76f76 [2022-05-09T20:15:58.036Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-09T20:15:58.036Z] ---> Running in 523d4d680efb [2022-05-09T20:15:58.036Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-05-09T20:15:58.301Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-05-09T20:15:58.562Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-09T20:15:58.562Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-09T20:15:58.562Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-09T20:15:58.562Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-09T20:15:58.562Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-09T20:15:58.562Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-09T20:15:58.562Z] Executing busybox-1.33.1-r7.trigger [2022-05-09T20:15:58.562Z] OK: 8 MiB in 20 packages [2022-05-09T20:15:58.822Z] Removing intermediate container 523d4d680efb [2022-05-09T20:15:58.822Z] ---> 13152519135a [2022-05-09T20:15:58.822Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-09T20:15:59.768Z] ---> 1b4f969813ce [2022-05-09T20:15:59.768Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-09T20:15:59.768Z] ---> f3b4a47c2a16 [2022-05-09T20:15:59.768Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-09T20:15:59.768Z] ---> 1a83e4729e5f [2022-05-09T20:15:59.768Z] Step 20/25 : EXPOSE 59986 [2022-05-09T20:16:00.030Z] ---> Running in 827d99406c57 [2022-05-09T20:16:00.030Z] Removing intermediate container 827d99406c57 [2022-05-09T20:16:00.030Z] ---> d4bfa876e2c8 [2022-05-09T20:16:00.030Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-09T20:16:00.030Z] ---> Running in 354e01eba9fa [2022-05-09T20:16:00.030Z] Removing intermediate container 354e01eba9fa [2022-05-09T20:16:00.030Z] ---> 26cee59d6088 [2022-05-09T20:16:00.030Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-09T20:16:00.293Z] ---> Running in 5bd1e9f814cc [2022-05-09T20:16:00.293Z] Removing intermediate container 5bd1e9f814cc [2022-05-09T20:16:00.293Z] ---> 0c4161494d11 [2022-05-09T20:16:00.293Z] Step 23/25 : LABEL arch=amd64 [2022-05-09T20:16:00.293Z] ---> Running in 9aeb4b42fa72 [2022-05-09T20:16:00.293Z] Removing intermediate container 9aeb4b42fa72 [2022-05-09T20:16:00.293Z] ---> 650bab64869c [2022-05-09T20:16:00.293Z] Step 24/25 : LABEL git_sha=4cb71774a2d5d5cadafac4e4038bfd054c067146 [2022-05-09T20:16:00.560Z] ---> Running in 90f7d9d3999d [2022-05-09T20:16:00.560Z] Removing intermediate container 90f7d9d3999d [2022-05-09T20:16:00.560Z] ---> 2900b02c3ed7 [2022-05-09T20:16:00.560Z] Step 25/25 : LABEL version=0.0.0 [2022-05-09T20:16:00.560Z] ---> Running in ce3d3a3d2ff3 [2022-05-09T20:16:00.560Z] Removing intermediate container ce3d3a3d2ff3 [2022-05-09T20:16:00.560Z] ---> cd37cb96c60b [2022-05-09T20:16:00.560Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-09T20:16:00.560Z] Successfully built cd37cb96c60b [2022-05-09T20:16:00.825Z] 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:16:01.571Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-09T20:16:01.571Z] [2022-05-09T20:16:01.571Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:16:01.916Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-09T20:16:01.916Z] latest: Pulling from edgex-lftools-log-publisher [2022-05-09T20:16:01.916Z] 5eb5b503b376: Pulling fs layer [2022-05-09T20:16:01.916Z] 5c69ac0246d0: Pulling fs layer [2022-05-09T20:16:01.916Z] ec43610c2a17: Pulling fs layer [2022-05-09T20:16:01.916Z] 3a2ae6a8a46f: Pulling fs layer [2022-05-09T20:16:01.916Z] 33b1e0a273af: Pulling fs layer [2022-05-09T20:16:01.916Z] 5d3b04190fa2: Pulling fs layer [2022-05-09T20:16:01.916Z] 2f39f015ded8: Pulling fs layer [2022-05-09T20:16:01.916Z] 3a2ae6a8a46f: Waiting [2022-05-09T20:16:01.916Z] 33b1e0a273af: Waiting [2022-05-09T20:16:01.916Z] 2f39f015ded8: Waiting [2022-05-09T20:16:01.916Z] 5d3b04190fa2: Waiting [2022-05-09T20:16:01.916Z] 5c69ac0246d0: Verifying Checksum [2022-05-09T20:16:01.916Z] 5c69ac0246d0: Download complete [2022-05-09T20:16:01.916Z] 3a2ae6a8a46f: Download complete [2022-05-09T20:16:01.916Z] 33b1e0a273af: Verifying Checksum [2022-05-09T20:16:01.916Z] 33b1e0a273af: Download complete [2022-05-09T20:16:01.916Z] 5d3b04190fa2: Verifying Checksum [2022-05-09T20:16:01.916Z] 5d3b04190fa2: Download complete [2022-05-09T20:16:02.175Z] ec43610c2a17: Verifying Checksum [2022-05-09T20:16:02.175Z] ec43610c2a17: Download complete [2022-05-09T20:16:02.175Z] 5eb5b503b376: Verifying Checksum [2022-05-09T20:16:02.175Z] 5eb5b503b376: Download complete [2022-05-09T20:16:02.744Z] 2f39f015ded8: Download complete [2022-05-09T20:16:03.685Z] 5eb5b503b376: Pull complete [2022-05-09T20:16:03.685Z] 5c69ac0246d0: Pull complete [2022-05-09T20:16:04.254Z] ec43610c2a17: Pull complete [2022-05-09T20:16:04.254Z] 3a2ae6a8a46f: Pull complete [2022-05-09T20:16:04.518Z] 33b1e0a273af: Pull complete [2022-05-09T20:16:04.783Z] 5d3b04190fa2: Pull complete [2022-05-09T20:16:10.073Z] 2f39f015ded8: Pull complete [2022-05-09T20:16:10.073Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-05-09T20:16:10.073Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-09T20:16:10.073Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer [2022-05-09T20:16:10.170Z] prd-ubuntu20.04-docker-8c-8g-42635 does not seem to be running inside a container [2022-05-09T20:16:10.210Z] $ 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-186 -v /w/workspace/gexfoundry_device-rest-go_PR-186:/w/workspace/gexfoundry_device-rest-go_PR-186:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-186@tmp:/w/workspace/gexfoundry_device-rest-go_PR-186@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:11.962Z] $ docker top 71413ea8aac47d0581deed20e168c40cf21ffe8fd38f20dbc7d78a86d14d8f6d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T20:16:12.596Z] ---> job-cost.sh [2022-05-09T20:16:12.596Z] lf-activate-venv: SKIPPING [2022-05-09T20:16:12.596Z] INFO: No Stack... [2022-05-09T20:16:12.865Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-09T20:16:13.440Z] INFO: Archiving Costs [Pipeline] sh [2022-05-09T20:16:13.768Z] + cat /w/workspace/gexfoundry_device-rest-go_PR-186/archives/cost.csv [2022-05-09T20:16:13.768Z] + cut -d, -f6 [Pipeline] lock [2022-05-09T20:16:13.809Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-186-1-stack-cost] [2022-05-09T20:16:13.813Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-186-1-stack-cost] did not exist. Created. [2022-05-09T20:16:13.814Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-186-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-09T20:16:14.206Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-05-09T20:16:14.261Z] Stashed 1 file(s) [Pipeline] } [2022-05-09T20:16:14.289Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-186-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-09T20:16:14.369Z] $ docker stop --time=1 71413ea8aac47d0581deed20e168c40cf21ffe8fd38f20dbc7d78a86d14d8f6d [2022-05-09T20:16:15.573Z] $ docker rm -f 71413ea8aac47d0581deed20e168c40cf21ffe8fd38f20dbc7d78a86d14d8f6d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-05-09T20:24:58.679Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-42720 in /w/workspace/gexfoundry_device-rest-go_PR-186 [Pipeline] { [Pipeline] ws [2022-05-09T20:24:58.721Z] Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout [2022-05-09T20:24:59.043Z] The recommended git tool is: git [2022-05-09T20:25:04.747Z] using credential edgex-jenkins-ssh [2022-05-09T20:25:04.766Z] Cloning the remote Git repository [2022-05-09T20:25:04.828Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-05-09T20:25:04.908Z] > git init /w/workspace/device-rest-go/1 # timeout=10 [2022-05-09T20:25:04.993Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-09T20:25:04.994Z] > git --version # timeout=10 [2022-05-09T20:25:05.056Z] > git --version # 'git version 2.25.1' [2022-05-09T20:25:05.058Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-09T20:25:05.181Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-09T20:25:07.872Z] Merging remotes/origin/main commit 1b7989097685cbbb7d11325d5e96f20d406e46c7 into PR head commit 4cb71774a2d5d5cadafac4e4038bfd054c067146 [2022-05-09T20:25:08.145Z] Merge succeeded, producing 4cb71774a2d5d5cadafac4e4038bfd054c067146 [2022-05-09T20:25:08.145Z] Checking out Revision 4cb71774a2d5d5cadafac4e4038bfd054c067146 (PR-186) [2022-05-09T20:25:07.188Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-09T20:25:07.211Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-05-09T20:25:07.243Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-05-09T20:25:07.292Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-05-09T20:25:07.293Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-09T20:25:07.311Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/186/head:refs/remotes/origin/PR-186 +refs/heads/main:refs/remotes/origin/main # timeout=10 [2022-05-09T20:25:07.897Z] > git config core.sparsecheckout # timeout=10 [2022-05-09T20:25:07.914Z] > git checkout -f 4cb71774a2d5d5cadafac4e4038bfd054c067146 # timeout=10 [2022-05-09T20:25:08.017Z] > git remote # timeout=10 [2022-05-09T20:25:08.042Z] > git config --get remote.origin.url # timeout=10 [2022-05-09T20:25:08.072Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-05-09T20:25:08.088Z] > git merge 1b7989097685cbbb7d11325d5e96f20d406e46c7 # timeout=10 [2022-05-09T20:25:08.121Z] > git rev-parse HEAD^{commit} # timeout=10 [2022-05-09T20:25:08.160Z] > git config core.sparsecheckout # timeout=10 [2022-05-09T20:25:08.182Z] > git checkout -f 4cb71774a2d5d5cadafac4e4038bfd054c067146 # timeout=10 [2022-05-09T20:25:12.507Z] Commit message: "build(deps): Bump github.com/edgexfoundry/go-mod-core-contracts/v2" [2022-05-09T20:25:12.589Z] > git --version # timeout=10 [2022-05-09T20:25:12.602Z] > git --version # 'git version 2.25.1' [2022-05-09T20:25:12.618Z] fatal: bad object 61d3a14f5ee21304eadc9c25f102bcac80e1a589 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-09T20:25:13.745Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-05-09T20:25:13.745Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-09T20:25:13.745Z] Dload Upload Total Spent Left Speed [2022-05-09T20:25:13.745Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 56127 0 --:--:-- --:--:-- --:--:-- 56127 [Pipeline] sh [2022-05-09T20:25:14.347Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-05-09T20:25:14.738Z] + sudo tee /etc/docker/daemon.new [2022-05-09T20:25:14.738Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-05-09T20:25:14.738Z] { [2022-05-09T20:25:14.738Z] "registry-mirrors": [ [2022-05-09T20:25:14.738Z] "https://nexus3.edgexfoundry.org:10001" [2022-05-09T20:25:14.738Z] ], [2022-05-09T20:25:14.738Z] "bip": "10.250.0.254/24", [2022-05-09T20:25:14.738Z] "hosts": [ [2022-05-09T20:25:14.738Z] "tcp://0.0.0.0:5555", [2022-05-09T20:25:14.738Z] "unix:///var/run/docker.sock" [2022-05-09T20:25:14.738Z] ], [2022-05-09T20:25:14.738Z] "mtu": 1458, [2022-05-09T20:25:14.738Z] "selinux-enabled": true, [2022-05-09T20:25:14.738Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-05-09T20:25:14.738Z] } [Pipeline] sh [2022-05-09T20:25:15.107Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-05-09T20:25:15.487Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-09T20:25:33.965Z] provisioning config files... [2022-05-09T20:25:33.993Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1565949313285124621tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T20:25:34.557Z] ---> docker-login.sh [2022-05-09T20:25:34.557Z] nexus3.edgexfoundry.org:10001 [2022-05-09T20:25:35.159Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T20:25:35.436Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T20:25:35.436Z] Configure a credential helper to remove this warning. See [2022-05-09T20:25:35.436Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T20:25:35.436Z] [2022-05-09T20:25:35.436Z] Login Succeeded [2022-05-09T20:25:35.436Z] nexus3.edgexfoundry.org:10002 [2022-05-09T20:25:35.713Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T20:25:35.988Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T20:25:35.988Z] Configure a credential helper to remove this warning. See [2022-05-09T20:25:35.988Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T20:25:35.988Z] [2022-05-09T20:25:35.988Z] Login Succeeded [2022-05-09T20:25:35.988Z] nexus3.edgexfoundry.org:10003 [2022-05-09T20:25:36.264Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T20:25:36.542Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T20:25:36.542Z] Configure a credential helper to remove this warning. See [2022-05-09T20:25:36.542Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T20:25:36.542Z] [2022-05-09T20:25:36.542Z] Login Succeeded [2022-05-09T20:25:36.542Z] nexus3.edgexfoundry.org:10004 [2022-05-09T20:25:36.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T20:25:36.815Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T20:25:36.815Z] Configure a credential helper to remove this warning. See [2022-05-09T20:25:36.815Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T20:25:36.815Z] [2022-05-09T20:25:36.815Z] Login Succeeded [2022-05-09T20:25:37.091Z] docker.io [2022-05-09T20:25:37.365Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-05-09T20:25:37.639Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-05-09T20:25:37.639Z] Configure a credential helper to remove this warning. See [2022-05-09T20:25:37.639Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-05-09T20:25:37.639Z] [2022-05-09T20:25:37.639Z] Login Succeeded [2022-05-09T20:25:37.639Z] ---> docker-login.sh ends [Pipeline] } [2022-05-09T20:25:37.670Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-05-09T20:25:38.067Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-05-09T20:25:38.104Z] ========================================================= [2022-05-09T20:25:38.104Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-05-09T20:25:38.104Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:25:38.555Z] + 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:25:38.555Z] Sending build context to Docker daemon 124.4kB [2022-05-09T20:25:38.830Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-05-09T20:25:38.830Z] Step 2/12 : FROM ${BASE} AS builder [2022-05-09T20:25:39.108Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-05-09T20:25:39.108Z] 9b3977197b4f: Pulling fs layer [2022-05-09T20:25:39.108Z] 1a89e8eeedd5: Pulling fs layer [2022-05-09T20:25:39.108Z] 94645a83ff95: Pulling fs layer [2022-05-09T20:25:39.108Z] 3f3a8bcf1eab: Pulling fs layer [2022-05-09T20:25:39.108Z] 0c92f367c5e7: Pulling fs layer [2022-05-09T20:25:39.108Z] 3096ccb668a1: Pulling fs layer [2022-05-09T20:25:39.108Z] e8cf19c19ddd: Pulling fs layer [2022-05-09T20:25:39.108Z] a4caa8a26152: Pulling fs layer [2022-05-09T20:25:39.108Z] 3f3a8bcf1eab: Waiting [2022-05-09T20:25:39.108Z] 0c92f367c5e7: Waiting [2022-05-09T20:25:39.108Z] 3096ccb668a1: Waiting [2022-05-09T20:25:39.108Z] e8cf19c19ddd: Waiting [2022-05-09T20:25:39.108Z] a4caa8a26152: Waiting [2022-05-09T20:25:39.109Z] 94645a83ff95: Verifying Checksum [2022-05-09T20:25:39.109Z] 94645a83ff95: Download complete [2022-05-09T20:25:39.109Z] 1a89e8eeedd5: Download complete [2022-05-09T20:25:39.109Z] 0c92f367c5e7: Download complete [2022-05-09T20:25:39.109Z] 3096ccb668a1: Verifying Checksum [2022-05-09T20:25:39.109Z] 3096ccb668a1: Download complete [2022-05-09T20:25:39.109Z] 9b3977197b4f: Verifying Checksum [2022-05-09T20:25:39.109Z] 9b3977197b4f: Download complete [2022-05-09T20:25:39.109Z] e8cf19c19ddd: Verifying Checksum [2022-05-09T20:25:39.109Z] e8cf19c19ddd: Download complete [2022-05-09T20:25:40.103Z] 9b3977197b4f: Pull complete [2022-05-09T20:25:40.381Z] 1a89e8eeedd5: Pull complete [2022-05-09T20:25:40.981Z] 94645a83ff95: Pull complete [2022-05-09T20:25:41.262Z] a4caa8a26152: Verifying Checksum [2022-05-09T20:25:41.262Z] a4caa8a26152: Download complete [2022-05-09T20:25:41.863Z] 3f3a8bcf1eab: Verifying Checksum [2022-05-09T20:25:41.863Z] 3f3a8bcf1eab: Download complete [2022-05-09T20:25:54.294Z] 3f3a8bcf1eab: Pull complete [2022-05-09T20:25:54.572Z] 0c92f367c5e7: Pull complete [2022-05-09T20:25:54.847Z] 3096ccb668a1: Pull complete [2022-05-09T20:25:55.126Z] e8cf19c19ddd: Pull complete [2022-05-09T20:26:03.451Z] a4caa8a26152: Pull complete [2022-05-09T20:26:03.451Z] Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 [2022-05-09T20:26:03.451Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-05-09T20:26:03.451Z] ---> 725f1c02e7f9 [2022-05-09T20:26:03.451Z] Step 3/12 : ARG MAKE='make build' [2022-05-09T20:26:03.451Z] ---> Running in 2408cb8e8c15 [2022-05-09T20:26:03.451Z] Removing intermediate container 2408cb8e8c15 [2022-05-09T20:26:03.451Z] ---> af8c1acf60d3 [2022-05-09T20:26:03.451Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-09T20:26:03.451Z] ---> Running in 2ae8cb25974c [2022-05-09T20:26:03.726Z] Removing intermediate container 2ae8cb25974c [2022-05-09T20:26:03.726Z] ---> 760d557aad14 [2022-05-09T20:26:03.726Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-05-09T20:26:03.726Z] ---> Running in 2235f520d4b6 [2022-05-09T20:26:04.012Z] Removing intermediate container 2235f520d4b6 [2022-05-09T20:26:04.012Z] ---> 17f0aa8cc1ee [2022-05-09T20:26:04.012Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-09T20:26:04.288Z] ---> Running in ea2004758f75 [2022-05-09T20:26:06.272Z] Removing intermediate container ea2004758f75 [2022-05-09T20:26:06.272Z] ---> 0d6c1971ca53 [2022-05-09T20:26:06.272Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-09T20:26:06.272Z] ---> Running in 4aa7f568a233 [2022-05-09T20:26:07.258Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-09T20:26:08.239Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-09T20:26:09.217Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-05-09T20:26:09.217Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-05-09T20:26:09.491Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-05-09T20:26:09.491Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-05-09T20:26:09.765Z] Executing busybox-1.34.1-r3.trigger [2022-05-09T20:26:09.765Z] OK: 224 MiB in 56 packages [2022-05-09T20:26:10.756Z] Removing intermediate container 4aa7f568a233 [2022-05-09T20:26:10.756Z] ---> ade21688235e [2022-05-09T20:26:10.756Z] Step 8/12 : WORKDIR /device-rest-go [2022-05-09T20:26:10.756Z] ---> Running in aa0d3cc2959f [2022-05-09T20:26:11.029Z] Removing intermediate container aa0d3cc2959f [2022-05-09T20:26:11.029Z] ---> 3eca90ddd4e5 [2022-05-09T20:26:11.029Z] Step 9/12 : COPY go.mod vendor* ./ [2022-05-09T20:26:11.627Z] ---> 8222707774b0 [2022-05-09T20:26:11.627Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-09T20:26:11.627Z] ---> Running in d024bb67ef17 [2022-05-09T20:26:58.697Z] Removing intermediate container d024bb67ef17 [2022-05-09T20:26:58.697Z] ---> c3b8d3d95d2e [2022-05-09T20:26:58.697Z] Step 11/12 : COPY . . [2022-05-09T20:26:58.697Z] ---> 6c39cec3c356 [2022-05-09T20:26:58.697Z] Step 12/12 : RUN $MAKE [2022-05-09T20:26:58.971Z] ---> Running in 10f8e98d2602 [2022-05-09T20:26:59.950Z] noop [2022-05-09T20:27:00.550Z] Removing intermediate container 10f8e98d2602 [2022-05-09T20:27:00.550Z] ---> cabd174039aa [2022-05-09T20:27:00.550Z] Successfully built cabd174039aa [2022-05-09T20:27:00.550Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:27:00.931Z] + docker inspect -f . ci-base-image-arm64 [2022-05-09T20:27:00.931Z] . [Pipeline] withDockerContainer [2022-05-09T20:27:01.201Z] prd-ubuntu20.04-docker-arm64-4c-16g-42720 does not seem to be running inside a container [2022-05-09T20:27:01.299Z] $ 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:27:02.677Z] $ docker top 33a1cb8cc0377e4e2759e9d2c6680a1e971643e5fc069353a0b97b121cd6c5e6 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-09T20:27:03.710Z] + go version [2022-05-09T20:27:03.710Z] go version go1.17.6 linux/arm64 [Pipeline] } [2022-05-09T20:27:03.747Z] $ docker stop --time=1 33a1cb8cc0377e4e2759e9d2c6680a1e971643e5fc069353a0b97b121cd6c5e6 [2022-05-09T20:27:05.432Z] $ docker rm -f 33a1cb8cc0377e4e2759e9d2c6680a1e971643e5fc069353a0b97b121cd6c5e6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:27:06.327Z] + docker inspect -f . ci-base-image-arm64 [2022-05-09T20:27:06.327Z] . [Pipeline] withDockerContainer [2022-05-09T20:27:06.587Z] prd-ubuntu20.04-docker-arm64-4c-16g-42720 does not seem to be running inside a container [2022-05-09T20:27:06.674Z] $ 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:27:07.995Z] $ docker top 8a7e4e9812979fad27d3f32d98a6218b83b263c9ea3d2d4f74cc781123b7375d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-05-09T20:27:09.014Z] + make test [2022-05-09T20:27:09.014Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-05-09T20:27:11.012Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-05-09T20:28:47.938Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-05-09T20:28:47.938Z] ok github.com/edgexfoundry/device-rest-go/driver 0.074s coverage: 55.2% of statements [2022-05-09T20:28:47.938Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-05-09T20:28:47.938Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-05-09T20:29:10.177Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-05-09T20:29:10.177Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-05-09T20:29:10.177Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-05-09T20:29:13.594Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-05-09T20:29:13.628Z] $ docker stop --time=1 8a7e4e9812979fad27d3f32d98a6218b83b263c9ea3d2d4f74cc781123b7375d [2022-05-09T20:29:15.451Z] $ docker rm -f 8a7e4e9812979fad27d3f32d98a6218b83b263c9ea3d2d4f74cc781123b7375d [Pipeline] // withDockerContainer [Pipeline] sh [2022-05-09T20:29:16.571Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-05-09T20:29:16.606Z] Warning: overwriting stash ‘coverage-report’ [2022-05-09T20:29:17.349Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-05-09T20:29:17.972Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-05-09T20:29:18.368Z] + ls -al . [2022-05-09T20:29:18.368Z] total 164 [2022-05-09T20:29:18.368Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 20:29 . [2022-05-09T20:29:18.368Z] drwxrwxr-x 4 jenkins jenkins 4096 May 9 20:25 .. [2022-05-09T20:29:18.368Z] -rw-rw-r-- 1 jenkins jenkins 151 May 9 20:25 .dockerignore [2022-05-09T20:29:18.368Z] drwxrwxr-x 8 jenkins jenkins 4096 May 9 20:25 .git [2022-05-09T20:29:18.368Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 20:25 .github [2022-05-09T20:29:18.368Z] -rw-rw-r-- 1 jenkins jenkins 329 May 9 20:25 .gitignore [2022-05-09T20:29:18.368Z] -rw-rw-r-- 1 jenkins jenkins 41 May 9 20:25 .golangci.yml [2022-05-09T20:29:18.368Z] -rw-rw-r-- 1 jenkins jenkins 8463 May 9 20:25 Attribution.txt [2022-05-09T20:29:18.368Z] -rw-rw-r-- 1 jenkins jenkins 7459 May 9 20:25 CHANGELOG.md [2022-05-09T20:29:18.368Z] -rw-rw-r-- 1 jenkins jenkins 1672 May 9 20:25 Dockerfile [2022-05-09T20:29:18.368Z] -rw-rw-r-- 1 jenkins jenkins 677 May 9 20:25 GOVERNANCE.md [2022-05-09T20:29:18.368Z] -rw-rw-r-- 1 jenkins jenkins 680 May 9 20:25 Jenkinsfile [2022-05-09T20:29:18.368Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 9 20:25 LICENSE [2022-05-09T20:29:18.368Z] -rw-rw-r-- 1 jenkins jenkins 1977 May 9 20:25 Makefile [2022-05-09T20:29:18.368Z] -rw-rw-r-- 1 jenkins jenkins 620 May 9 20:25 OWNERS.md [2022-05-09T20:29:18.368Z] -rw-rw-r-- 1 jenkins jenkins 8003 May 9 20:25 README.md [2022-05-09T20:29:18.368Z] -rw-rw-r-- 1 jenkins jenkins 5 May 9 20:14 VERSION [2022-05-09T20:29:18.368Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 20:25 bin [2022-05-09T20:29:18.368Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 20:25 cmd [2022-05-09T20:29:18.368Z] -rw-r--r-- 1 jenkins jenkins 9355 May 9 20:28 coverage.out [2022-05-09T20:29:18.368Z] drwxrwxr-x 2 jenkins jenkins 4096 May 9 20:25 driver [2022-05-09T20:29:18.368Z] -rw-rw-r-- 1 jenkins jenkins 3326 May 9 20:25 go.mod [2022-05-09T20:29:18.368Z] -rw-rw-r-- 1 jenkins jenkins 35363 May 9 20:25 go.sum [2022-05-09T20:29:18.368Z] drwxrwxr-x 3 jenkins jenkins 4096 May 9 20:25 snap [2022-05-09T20:29:18.368Z] -rw-rw-r-- 1 jenkins jenkins 713 May 9 20:25 version.go [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:29:18.826Z] + 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=4cb71774a2d5d5cadafac4e4038bfd054c067146 --label arch=arm64 --label version=0.0.0 . [2022-05-09T20:29:19.116Z] Sending build context to Docker daemon 134.7kB [2022-05-09T20:29:19.404Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-05-09T20:29:19.404Z] Step 2/25 : FROM ${BASE} AS builder [2022-05-09T20:29:19.404Z] ---> cabd174039aa [2022-05-09T20:29:19.404Z] Step 3/25 : ARG MAKE='make build' [2022-05-09T20:29:19.404Z] ---> Running in f44bca2cc23e [2022-05-09T20:29:19.685Z] Removing intermediate container f44bca2cc23e [2022-05-09T20:29:19.685Z] ---> 027c600858f4 [2022-05-09T20:29:19.685Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-05-09T20:29:19.962Z] ---> Running in e8dccf4ddb6c [2022-05-09T20:29:20.239Z] Removing intermediate container e8dccf4ddb6c [2022-05-09T20:29:20.239Z] ---> 09e809e2b63d [2022-05-09T20:29:20.239Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-05-09T20:29:20.239Z] ---> Running in 169c451d1157 [2022-05-09T20:29:20.514Z] Removing intermediate container 169c451d1157 [2022-05-09T20:29:20.514Z] ---> 1899c824dd57 [2022-05-09T20:29:20.514Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-05-09T20:29:20.801Z] ---> Running in 55f714035283 [2022-05-09T20:29:22.794Z] Removing intermediate container 55f714035283 [2022-05-09T20:29:22.794Z] ---> 8cc0da899041 [2022-05-09T20:29:22.794Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-05-09T20:29:22.794Z] ---> Running in bc459ce41635 [2022-05-09T20:29:23.777Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-05-09T20:29:24.766Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-05-09T20:29:25.755Z] OK: 224 MiB in 56 packages [2022-05-09T20:29:26.761Z] Removing intermediate container bc459ce41635 [2022-05-09T20:29:26.762Z] ---> 2432d04ea4e2 [2022-05-09T20:29:26.762Z] Step 8/25 : WORKDIR /device-rest-go [2022-05-09T20:29:26.762Z] ---> Running in aefe5d348af4 [2022-05-09T20:29:27.037Z] Removing intermediate container aefe5d348af4 [2022-05-09T20:29:27.037Z] ---> 00e5b1f25a6c [2022-05-09T20:29:27.037Z] Step 9/25 : COPY go.mod vendor* ./ [2022-05-09T20:29:27.640Z] ---> 042a7b10cd75 [2022-05-09T20:29:27.640Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-05-09T20:29:27.933Z] ---> Running in df3ffb513067 [2022-05-09T20:29:29.936Z] Removing intermediate container df3ffb513067 [2022-05-09T20:29:29.936Z] ---> 2c57480b7444 [2022-05-09T20:29:29.936Z] Step 11/25 : COPY . . [2022-05-09T20:29:30.541Z] ---> 213b3d11adce [2022-05-09T20:29:30.541Z] Step 12/25 : RUN $MAKE [2022-05-09T20:29:30.817Z] ---> Running in de83ffb08cf2 [2022-05-09T20:29:31.797Z] 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:31:53.721Z] Removing intermediate container de83ffb08cf2 [2022-05-09T20:31:53.721Z] ---> c493af12cb0e [2022-05-09T20:31:53.721Z] Step 13/25 : FROM alpine:3.14 [2022-05-09T20:31:53.721Z] 3.14: Pulling from library/alpine [2022-05-09T20:31:53.721Z] 455c02918c45: Pulling fs layer [2022-05-09T20:31:53.721Z] 455c02918c45: Verifying Checksum [2022-05-09T20:31:53.721Z] 455c02918c45: Download complete [2022-05-09T20:31:53.721Z] 455c02918c45: Pull complete [2022-05-09T20:31:53.721Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-05-09T20:31:53.721Z] Status: Downloaded newer image for alpine:3.14 [2022-05-09T20:31:53.721Z] ---> ac73e934f311 [2022-05-09T20:31:53.721Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-05-09T20:31:53.721Z] ---> Running in d2db4e145e26 [2022-05-09T20:31:53.721Z] Removing intermediate container d2db4e145e26 [2022-05-09T20:31:53.721Z] ---> 6479d175f1d7 [2022-05-09T20:31:53.721Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-05-09T20:31:53.721Z] ---> Running in e9d491cdc2a9 [2022-05-09T20:31:53.721Z] Removing intermediate container e9d491cdc2a9 [2022-05-09T20:31:53.721Z] ---> 342befc6078a [2022-05-09T20:31:53.721Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-05-09T20:31:53.721Z] ---> Running in d5f0158e44cc [2022-05-09T20:31:53.721Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-05-09T20:31:53.721Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-05-09T20:31:53.721Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-05-09T20:31:53.721Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-05-09T20:31:53.721Z] (3/6) Installing libsodium (1.0.18-r0) [2022-05-09T20:31:53.721Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-05-09T20:31:53.721Z] (5/6) Installing libzmq (4.3.4-r0) [2022-05-09T20:31:53.721Z] (6/6) Installing zeromq (4.3.4-r0) [2022-05-09T20:31:53.721Z] Executing busybox-1.33.1-r7.trigger [2022-05-09T20:31:53.721Z] OK: 8 MiB in 20 packages [2022-05-09T20:31:54.712Z] Removing intermediate container d5f0158e44cc [2022-05-09T20:31:54.712Z] ---> acfdaceae7b8 [2022-05-09T20:31:54.712Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-05-09T20:31:56.146Z] ---> 0f735527dfab [2022-05-09T20:31:56.146Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-05-09T20:31:57.140Z] ---> c77f76759058 [2022-05-09T20:31:57.140Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-05-09T20:31:57.428Z] ---> b06c42301260 [2022-05-09T20:31:57.428Z] Step 20/25 : EXPOSE 59986 [2022-05-09T20:31:57.703Z] ---> Running in 39a8217f60c9 [2022-05-09T20:31:57.985Z] Removing intermediate container 39a8217f60c9 [2022-05-09T20:31:57.985Z] ---> 833e2366a032 [2022-05-09T20:31:57.985Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-05-09T20:31:57.985Z] ---> Running in 8a045b590da0 [2022-05-09T20:31:58.583Z] Removing intermediate container 8a045b590da0 [2022-05-09T20:31:58.583Z] ---> 2b6101b6f360 [2022-05-09T20:31:58.583Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-05-09T20:31:58.583Z] ---> Running in 81cbb9cbc508 [2022-05-09T20:31:58.859Z] Removing intermediate container 81cbb9cbc508 [2022-05-09T20:31:58.859Z] ---> 8c7c89ad5d78 [2022-05-09T20:31:58.859Z] Step 23/25 : LABEL arch=arm64 [2022-05-09T20:31:58.859Z] ---> Running in f26c91564296 [2022-05-09T20:31:59.455Z] Removing intermediate container f26c91564296 [2022-05-09T20:31:59.455Z] ---> 2494c8041ced [2022-05-09T20:31:59.455Z] Step 24/25 : LABEL git_sha=4cb71774a2d5d5cadafac4e4038bfd054c067146 [2022-05-09T20:31:59.455Z] ---> Running in 93f6346b7f93 [2022-05-09T20:31:59.730Z] Removing intermediate container 93f6346b7f93 [2022-05-09T20:31:59.730Z] ---> 87833f3cad44 [2022-05-09T20:31:59.730Z] Step 25/25 : LABEL version=0.0.0 [2022-05-09T20:31:59.730Z] ---> Running in 3ba10cbe31da [2022-05-09T20:32:00.004Z] Removing intermediate container 3ba10cbe31da [2022-05-09T20:32:00.004Z] ---> 0e67c7756590 [2022-05-09T20:32:00.004Z] [Warning] One or more build-args [ARCH] were not consumed [2022-05-09T20:32:00.004Z] Successfully built 0e67c7756590 [2022-05-09T20:32:00.282Z] Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:32:00.994Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-09T20:32:00.994Z] [2022-05-09T20:32:00.995Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:32:01.396Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-09T20:32:01.670Z] arm64: Pulling from edgex-lftools-log-publisher [2022-05-09T20:32:01.670Z] 8998bd30e6a1: Pulling fs layer [2022-05-09T20:32:01.670Z] 04944245beec: Pulling fs layer [2022-05-09T20:32:01.670Z] 699f458cf7ca: Pulling fs layer [2022-05-09T20:32:01.670Z] 765212b225bb: Pulling fs layer [2022-05-09T20:32:01.670Z] f23df028b6ca: Pulling fs layer [2022-05-09T20:32:01.670Z] d65c8cfc05b1: Pulling fs layer [2022-05-09T20:32:01.670Z] 2437ff75d9bd: Pulling fs layer [2022-05-09T20:32:01.670Z] f23df028b6ca: Waiting [2022-05-09T20:32:01.670Z] d65c8cfc05b1: Waiting [2022-05-09T20:32:01.670Z] 2437ff75d9bd: Waiting [2022-05-09T20:32:01.670Z] 765212b225bb: Waiting [2022-05-09T20:32:01.670Z] 04944245beec: Verifying Checksum [2022-05-09T20:32:01.670Z] 04944245beec: Download complete [2022-05-09T20:32:01.670Z] 765212b225bb: Verifying Checksum [2022-05-09T20:32:01.670Z] 765212b225bb: Download complete [2022-05-09T20:32:01.670Z] f23df028b6ca: Verifying Checksum [2022-05-09T20:32:01.670Z] f23df028b6ca: Download complete [2022-05-09T20:32:01.944Z] d65c8cfc05b1: Verifying Checksum [2022-05-09T20:32:01.944Z] d65c8cfc05b1: Download complete [2022-05-09T20:32:01.944Z] 699f458cf7ca: Verifying Checksum [2022-05-09T20:32:01.944Z] 699f458cf7ca: Download complete [2022-05-09T20:32:02.222Z] 8998bd30e6a1: Verifying Checksum [2022-05-09T20:32:02.222Z] 8998bd30e6a1: Download complete [2022-05-09T20:32:04.844Z] 2437ff75d9bd: Verifying Checksum [2022-05-09T20:32:04.844Z] 2437ff75d9bd: Download complete [2022-05-09T20:32:06.834Z] 8998bd30e6a1: Pull complete [2022-05-09T20:32:07.109Z] 04944245beec: Pull complete [2022-05-09T20:32:08.548Z] 699f458cf7ca: Pull complete [2022-05-09T20:32:08.823Z] 765212b225bb: Pull complete [2022-05-09T20:32:09.808Z] f23df028b6ca: Pull complete [2022-05-09T20:32:10.083Z] d65c8cfc05b1: Pull complete [2022-05-09T20:32:25.209Z] 2437ff75d9bd: Pull complete [2022-05-09T20:32:25.209Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-05-09T20:32:25.209Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-05-09T20:32:25.209Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer [2022-05-09T20:32:25.483Z] prd-ubuntu20.04-docker-arm64-4c-16g-42720 does not seem to be running inside a container [2022-05-09T20:32:25.583Z] $ 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:32:28.677Z] $ docker top cbe13b42fb91c7a77c31aa9da8165026d6790afadfe04e05aa4c755db4152044 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-05-09T20:32:29.707Z] ---> job-cost.sh [2022-05-09T20:32:29.707Z] lf-activate-venv: SKIPPING [2022-05-09T20:32:29.707Z] INFO: No Stack... [2022-05-09T20:32:30.304Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-05-09T20:32:30.906Z] INFO: Archiving Costs [Pipeline] sh [2022-05-09T20:32:31.637Z] + cut -d, -f6 [2022-05-09T20:32:31.637Z] + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock [2022-05-09T20:32:31.756Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-186-1-stack-cost] [2022-05-09T20:32:31.761Z] Resource [jenkins-edgexfoundry-device-rest-go-PR-186-1-stack-cost] did not exist. Created. [2022-05-09T20:32:31.761Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-186-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-05-09T20:32:32.589Z] /w/workspace/device-rest-go/1@tmp/durable-e64c00d6/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-05-09T20:32:33.310Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-05-09T20:32:33.345Z] Warning: overwriting stash ‘stack-cost’ [2022-05-09T20:32:33.396Z] Stashed 1 file(s) [Pipeline] } [2022-05-09T20:32:33.411Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-186-1-stack-cost] [Pipeline] // lock [Pipeline] } [2022-05-09T20:32:33.499Z] $ docker stop --time=1 cbe13b42fb91c7a77c31aa9da8165026d6790afadfe04e05aa4c755db4152044 [2022-05-09T20:32:35.060Z] $ docker rm -f cbe13b42fb91c7a77c31aa9da8165026d6790afadfe04e05aa4c755db4152044 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider [2022-05-09T20:32:36.124Z] provisioning config files... [2022-05-09T20:32:36.134Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-186@tmp/config5205168966861404755tmp [Pipeline] { [Pipeline] sh [2022-05-09T20:32:36.478Z] + set +x [2022-05-09T20:32:36.479Z] + curl -s https://codecov.io/bash [2022-05-09T20:32:36.479Z] + bash -s -- [2022-05-09T20:32:36.479Z] [2022-05-09T20:32:36.479Z] _____ _ [2022-05-09T20:32:36.479Z] / ____| | | [2022-05-09T20:32:36.479Z] | | ___ __| | ___ ___ _____ __ [2022-05-09T20:32:36.479Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-05-09T20:32:36.479Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-05-09T20:32:36.479Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-05-09T20:32:36.479Z] Bash-1.0.6 [2022-05-09T20:32:36.479Z] [2022-05-09T20:32:36.479Z] [2022-05-09T20:32:36.479Z] ==> git version 2.25.1 found [2022-05-09T20:32:36.479Z] ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 [2022-05-09T20:32:36.479Z] Release-Date: 2020-01-08 [2022-05-09T20:32:36.479Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-05-09T20:32:36.479Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-05-09T20:32:36.479Z] ==> Jenkins CI detected. [2022-05-09T20:32:36.479Z] current dir:  /w/workspace/gexfoundry_device-rest-go_PR-186 [2022-05-09T20:32:36.479Z] project root: . [2022-05-09T20:32:36.479Z] --> token set from env [2022-05-09T20:32:36.479Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-05-09T20:32:36.479Z] ==> Running gcov in . (disable via -X gcov) [2022-05-09T20:32:36.479Z] ==> Python coveragepy not found [2022-05-09T20:32:36.479Z] ==> Searching for coverage reports in: [2022-05-09T20:32:36.479Z] + . [2022-05-09T20:32:36.479Z] -> Found 1 reports [2022-05-09T20:32:36.479Z] ==> Detecting git/mercurial file structure [2022-05-09T20:32:36.479Z] ==> Reading reports [2022-05-09T20:32:36.479Z] + ./coverage.out bytes=9355 [2022-05-09T20:32:36.479Z] ==> Appending adjustments [2022-05-09T20:32:36.479Z] https://docs.codecov.io/docs/fixing-reports [2022-05-09T20:32:36.741Z] + Found adjustments [2022-05-09T20:32:36.741Z] ==> Gzipping contents [2022-05-09T20:32:36.741Z] 4.0K /tmp/codecov.NBgYrI.gz [2022-05-09T20:32:36.741Z] ==> Uploading reports [2022-05-09T20:32:36.741Z] url: https://codecov.io [2022-05-09T20:32:36.741Z] query: branch=PR-186&commit=4cb71774a2d5d5cadafac4e4038bfd054c067146&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-186%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=186&job=&cmd_args= [2022-05-09T20:32:36.741Z] -> Pinging Codecov [2022-05-09T20:32:36.741Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-186&commit=4cb71774a2d5d5cadafac4e4038bfd054c067146&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-186%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=186&job=&cmd_args= [2022-05-09T20:32:37.001Z] -> Uploading to [2022-05-09T20:32:37.001Z] https://storage.googleapis.com/codecov/v4/raw/2022-05-09/4E5D53B4F1F92C436F7061BF334D961C/4cb71774a2d5d5cadafac4e4038bfd054c067146/cdaacd5a-8c9b-4e35-84c6-82db60496bcd.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220509%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220509T203236Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1e37d10bacaf443193040ce9d4bf21ac9b3237586ba99f680c7a4dfed0cd8148 [2022-05-09T20:32:37.001Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-05-09T20:32:37.001Z] Dload Upload Total Spent Left Speed [2022-05-09T20:32:37.262Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 8171 --:--:-- --:--:-- --:--:-- 8135 100 1806 0 0 100 1806 0 7818 --:--:-- --:--:-- --:--:-- 7784 [2022-05-09T20:32:37.262Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/4cb71774a2d5d5cadafac4e4038bfd054c067146 [Pipeline] } [2022-05-09T20:32:37.291Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2022-05-09T20:32:39.365Z] + [ -d /w/workspace/gexfoundry_device-rest-go_PR-186/archives ] [2022-05-09T20:32:39.365Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-186/archives [2022-05-09T20:32:39.365Z] total 16 [2022-05-09T20:32:39.365Z] drwxr-xr-x 3 root root 4096 May 9 20:16 . [2022-05-09T20:32:39.365Z] drwxrwxr-x 10 jenkins jenkins 4096 May 9 20:16 .. [2022-05-09T20:32:39.365Z] drwxr-xr-x 2 root root 4096 May 9 20:16 cost [2022-05-09T20:32:39.365Z] -rw-r--r-- 1 root root 85 May 9 20:16 cost.csv [2022-05-09T20:32:39.365Z] + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-186/archives [2022-05-09T20:32:39.365Z] + ls -al /w/workspace/gexfoundry_device-rest-go_PR-186/archives [2022-05-09T20:32:39.365Z] total 16 [2022-05-09T20:32:39.365Z] drwxr-xr-x 3 jenkins jenkins 4096 May 9 20:16 . [2022-05-09T20:32:39.365Z] drwxrwxr-x 10 jenkins jenkins 4096 May 9 20:16 .. [2022-05-09T20:32:39.365Z] drwxr-xr-x 2 jenkins jenkins 4096 May 9 20:16 cost [2022-05-09T20:32:39.365Z] -rw-r--r-- 1 jenkins jenkins 85 May 9 20:16 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-05-09T20:32:39.704Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T20:32:40.601Z] ---> package-listing.sh [2022-05-09T20:32:40.601Z] ++ facter osfamily [2022-05-09T20:32:40.601Z] ++ tr '[:upper:]' '[:lower:]' [2022-05-09T20:32:40.862Z] + OS_FAMILY=debian [2022-05-09T20:32:40.862Z] + workspace=/w/workspace/gexfoundry_device-rest-go_PR-186 [2022-05-09T20:32:40.862Z] + START_PACKAGES=/tmp/packages_start.txt [2022-05-09T20:32:40.862Z] + END_PACKAGES=/tmp/packages_end.txt [2022-05-09T20:32:40.862Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-05-09T20:32:40.862Z] + PACKAGES=/tmp/packages_start.txt [2022-05-09T20:32:40.862Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-186 ']' [2022-05-09T20:32:40.862Z] + PACKAGES=/tmp/packages_end.txt [2022-05-09T20:32:40.862Z] + case "${OS_FAMILY}" in [2022-05-09T20:32:40.862Z] + dpkg -l [2022-05-09T20:32:40.862Z] + grep '^ii' [2022-05-09T20:32:40.862Z] + '[' -f /tmp/packages_start.txt ']' [2022-05-09T20:32:40.862Z] + '[' -f /tmp/packages_end.txt ']' [2022-05-09T20:32:40.862Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-05-09T20:32:40.862Z] + '[' /w/workspace/gexfoundry_device-rest-go_PR-186 ']' [2022-05-09T20:32:40.862Z] + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-186/archives/ [2022-05-09T20:32:40.862Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-186/archives/ [Pipeline] echo [2022-05-09T20:32:40.898Z] 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-186/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:32:41.195Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] sh [2022-05-09T20:32:41.792Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-05-09T20:32:41.792Z] . [Pipeline] withDockerContainer [2022-05-09T20:32:41.877Z] prd-ubuntu20.04-docker-8c-8g-42635 does not seem to be running inside a container [2022-05-09T20:32:41.918Z] $ 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-186/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-186 -v /w/workspace/gexfoundry_device-rest-go_PR-186:/w/workspace/gexfoundry_device-rest-go_PR-186:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-186@tmp:/w/workspace/gexfoundry_device-rest-go_PR-186@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:32:42.155Z] $ docker top 363843ad7df59e217481ff678f8238e7ee3c2db2fbc0925b304d96d4aeabd1b3 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-05-09T20:32:42.549Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-05-09T20:32:42.868Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-05-09T20:32:43.175Z] + ls /var/log/sa-host [2022-05-09T20:32:43.175Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-05-09T20:32:43.339Z] provisioning config files... [2022-05-09T20:32:43.350Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-186@tmp/config1272728994049488234tmp [Pipeline] { [Pipeline] echo [2022-05-09T20:32:43.398Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T20:32:43.719Z] ---> create-netrc.sh [Pipeline] } [2022-05-09T20:32:43.751Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-05-09T20:32:44.154Z] ---> python-tools-install.sh [Pipeline] echo [2022-05-09T20:32:44.193Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T20:32:44.514Z] ---> sudo-logs.sh [2022-05-09T20:32:44.514Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-05-09T20:32:44.591Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T20:32:44.921Z] ---> job-cost.sh [2022-05-09T20:32:44.921Z] lf-activate-venv: SKIPPING [2022-05-09T20:32:44.921Z] DEBUG: total: 0.2199999988079071 [2022-05-09T20:32:44.921Z] INFO: Retrieving Stack Cost... [2022-05-09T20:32:45.182Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-05-09T20:32:45.753Z] INFO: Archiving Costs [Pipeline] echo [2022-05-09T20:32:45.787Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-05-09T20:32:46.102Z] ---> logs-deploy.sh [2022-05-09T20:32:46.102Z] lf-activate-venv: SKIPPING [2022-05-09T20:32:46.102Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-186/1 [2022-05-09T20:32:46.102Z] INFO: archiving workspace using pattern(s): [2022-05-09T20:32:47.045Z] Archives upload complete. [2022-05-09T20:32:47.046Z] INFO: archiving logs to Nexus