Pull request #184 updated Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-rest-go Loading trusted files from base branch main at f0689e2451660e374e54247122f91e779ddae9a5 rather than 24f2d44d41511aea7b66a902317587beb4819f28 Obtained Jenkinsfile from f0689e2451660e374e54247122f91e779ddae9a5 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-ssh9407616473937898908.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-ssh9496519886564657447.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-184/workspace@libs/edgex-global-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-184/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1829108579327642584.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 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-ssh5575817519505640622.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-184/workspace@libs/lf-pipelines/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-184/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh15481971172920314529.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 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 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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-40492 in /w/workspace/gexfoundry_device-rest-go_PR-184 [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-184 # 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 f0689e2451660e374e54247122f91e779ddae9a5 into PR head commit 24f2d44d41511aea7b66a902317587beb4819f28 Merge succeeded, producing 24f2d44d41511aea7b66a902317587beb4819f28 Checking out Revision 24f2d44d41511aea7b66a902317587beb4819f28 (PR-184) > 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/184/head:refs/remotes/origin/PR-184 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 24f2d44d41511aea7b66a902317587beb4819f28 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge f0689e2451660e374e54247122f91e779ddae9a5 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 24f2d44d41511aea7b66a902317587beb4819f28 # timeout=10 Commit message: "docs: cleanup references" First time build. Skipping changelog. > git rev-list --no-walk d81468cbaee3b4856f2e04919014d9c611962b7b # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 12:24:48 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 12:24:48 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 12:24:48 ========================================================= 12:24:48 EdgeX Global Pipelines Version Info 12:24:48 ========================================================= [Pipeline] libraryResource [Pipeline] sh 12:24:49 ------------------- 12:24:49 stable info: 12:24:49 ------------------- 12:24:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:24:49 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 12:24:49 Message: update stable to v1.0.227 12:24:49 ------------------- 12:24:49 experimental info: 12:24:49 ------------------- 12:24:49 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 12:24:49 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 12:24:49 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 12:24:49 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 12:24:49 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 12:24:49 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 12:24:49 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 12:24:49 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 12:24:49 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 12:24:49 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 12:24:49 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 12:24:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 12:24:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 12:24:49 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 12:24:49 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 12:24:49 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 12:24:49 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 12:24:49 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 12:24:49 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 12:24:49 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 12:24:49 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 12:24:49 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 12:24:49 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 12:24:49 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 12:24:49 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 12:24:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 12:24:50 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 12:24:50 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 12:24:50 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 12:24:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-184 [Pipeline] echo 12:24:50 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-184 [Pipeline] echo 12:24:50 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-184 [Pipeline] echo 12:24:50 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 24f2d44d41511aea7b66a902317587beb4819f28 [Pipeline] echo 12:24:50 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 24f2d44 [Pipeline] echo 12:24:50 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:24:50 provisioning config files... 12:24:50 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-184@tmp/config487461846282796055tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:24:50 ---> docker-login.sh 12:24:50 nexus3.edgexfoundry.org:10001 12:24:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:24:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:24:50 Configure a credential helper to remove this warning. See 12:24:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:24:50 12:24:50 Login Succeeded 12:24:50 nexus3.edgexfoundry.org:10002 12:24:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:24:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:24:50 Configure a credential helper to remove this warning. See 12:24:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:24:50 12:24:50 Login Succeeded 12:24:50 nexus3.edgexfoundry.org:10003 12:24:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:24:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:24:50 Configure a credential helper to remove this warning. See 12:24:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:24:50 12:24:50 Login Succeeded 12:24:50 nexus3.edgexfoundry.org:10004 12:24:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:24:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:24:51 Configure a credential helper to remove this warning. See 12:24:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:24:51 12:24:51 Login Succeeded 12:24:51 docker.io 12:24:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:24:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:24:51 Configure a credential helper to remove this warning. See 12:24:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:24:51 12:24:51 Login Succeeded 12:24:51 ---> docker-login.sh ends [Pipeline] } 12:24:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 12:24:52 + git rev-list -1 --merges 24f2d44d41511aea7b66a902317587beb4819f28~1..24f2d44d41511aea7b66a902317587beb4819f28 [Pipeline] echo 12:24:52 -----------> git rev-list -1 --merges 24f2d44d41511aea7b66a902317587beb4819f28~1..24f2d44d41511aea7b66a902317587beb4819f28 24f2d44d41511aea7b66a902317587beb4819f28 [false] [Pipeline] sh 12:24:52 + git log --format=format:%s -1 24f2d44d41511aea7b66a902317587beb4819f28 [Pipeline] echo 12:24:52 ========================================================= 12:24:52 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 12:24:52 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:24:52 + git log --format=format:%s -1 24f2d44d41511aea7b66a902317587beb4819f28 [Pipeline] echo 12:24:52 [semverPrep] GIT_COMMIT: 24f2d44d41511aea7b66a902317587beb4819f28, Commit Message: docs: cleanup references [Pipeline] echo 12:24:52 [semverPrep] This is not a build commit. [Pipeline] sh 12:24:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 12:24:53 + grep -v github /etc/ssh/ssh_known_hosts 12:24:53 + [ -e /tmp/ssh_known_hosts ] 12:24:53 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 12:24:53 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 12:24:53 + sudo tee -a /etc/ssh/ssh_known_hosts 12:24:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 12:24:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:24:53 12:24:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 12:24:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:24:54 latest: Pulling from edgex-devops/py-git-semver 12:24:54 1fe172e4850f: Pulling fs layer 12:24:54 caf521ccaac6: Pulling fs layer 12:24:54 3ead6fa29328: Pulling fs layer 12:24:54 5c2a1cbceb83: Pulling fs layer 12:24:54 a8d5f1318db7: Pulling fs layer 12:24:54 c427282e49a2: Pulling fs layer 12:24:54 1827001aaf11: Pulling fs layer 12:24:54 0714d37db230: Pulling fs layer 12:24:54 ac28cf19c067: Pulling fs layer 12:24:54 ca983d60f3e2: Pulling fs layer 12:24:54 9f894cec8388: Pulling fs layer 12:24:54 5c2a1cbceb83: Waiting 12:24:54 a8d5f1318db7: Waiting 12:24:54 c427282e49a2: Waiting 12:24:54 1827001aaf11: Waiting 12:24:54 9f894cec8388: Waiting 12:24:54 ca983d60f3e2: Waiting 12:24:54 ac28cf19c067: Waiting 12:24:54 0714d37db230: Waiting 12:24:54 caf521ccaac6: Download complete 12:24:54 5c2a1cbceb83: Verifying Checksum 12:24:54 5c2a1cbceb83: Download complete 12:24:54 a8d5f1318db7: Verifying Checksum 12:24:54 a8d5f1318db7: Download complete 12:24:54 c427282e49a2: Verifying Checksum 12:24:54 c427282e49a2: Download complete 12:24:54 3ead6fa29328: Verifying Checksum 12:24:54 3ead6fa29328: Download complete 12:24:54 0714d37db230: Verifying Checksum 12:24:54 0714d37db230: Download complete 12:24:54 ac28cf19c067: Download complete 12:24:54 ca983d60f3e2: Download complete 12:24:54 9f894cec8388: Verifying Checksum 12:24:54 9f894cec8388: Download complete 12:24:54 1fe172e4850f: Verifying Checksum 12:24:54 1fe172e4850f: Download complete 12:24:54 1827001aaf11: Download complete 12:24:55 1fe172e4850f: Pull complete 12:24:55 caf521ccaac6: Pull complete 12:24:56 3ead6fa29328: Pull complete 12:24:56 5c2a1cbceb83: Pull complete 12:24:56 a8d5f1318db7: Pull complete 12:24:56 c427282e49a2: Pull complete 12:24:59 1827001aaf11: Pull complete 12:24:59 0714d37db230: Pull complete 12:24:59 ac28cf19c067: Pull complete 12:24:59 ca983d60f3e2: Pull complete 12:24:59 9f894cec8388: Pull complete 12:24:59 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 12:24:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 12:24:59 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 12:24:59 prd-ubuntu20.04-docker-8c-8g-40492 does not seem to be running inside a container 12:24:59 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-184 -v /w/workspace/gexfoundry_device-rest-go_PR-184:/w/workspace/gexfoundry_device-rest-go_PR-184:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-184@tmp:/w/workspace/gexfoundry_device-rest-go_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 12:25:00 $ docker top d806d4cb252a26251aec2c9cd9e39ab019a65db644518b6cb84c49f541a233f1 -eo pid,comm 12:25:00 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). 12:25:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 12:25:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:25:00 [ssh-agent] Looking for ssh-agent implementation... 12:25:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:25:01 $ docker exec d806d4cb252a26251aec2c9cd9e39ab019a65db644518b6cb84c49f541a233f1 ssh-agent 12:25:01 SSH_AUTH_SOCK=/tmp/ssh-AmubuL2NEMpt/agent.34 12:25:01 SSH_AGENT_PID=40 12:25:01 Running ssh-add (command line suppressed) 12:25:01 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-184@tmp/private_key_4408375009294772092.key (/w/workspace/gexfoundry_device-rest-go_PR-184@tmp/private_key_4408375009294772092.key) 12:25:01 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:25:01 + git tag --points-at HEAD [Pipeline] } 12:25:01 $ docker exec --env ******** --env ******** d806d4cb252a26251aec2c9cd9e39ab019a65db644518b6cb84c49f541a233f1 ssh-agent -k 12:25:01 unset SSH_AUTH_SOCK; 12:25:01 unset SSH_AGENT_PID; 12:25:01 echo Agent pid 40 killed; 12:25:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 12:25:01 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 12:25:01 [ssh-agent] Looking for ssh-agent implementation... 12:25:01 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 12:25:01 $ docker exec d806d4cb252a26251aec2c9cd9e39ab019a65db644518b6cb84c49f541a233f1 ssh-agent 12:25:02 SSH_AUTH_SOCK=/tmp/ssh-fZraRUnJwGpj/agent.73 12:25:02 SSH_AGENT_PID=80 12:25:02 Running ssh-add (command line suppressed) 12:25:02 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-184@tmp/private_key_688313742515454090.key (/w/workspace/gexfoundry_device-rest-go_PR-184@tmp/private_key_688313742515454090.key) 12:25:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 12:25:02 + git semver init 12:25:02 2022-05-05 12:25:02,807 [run_init] DEBUG init version:0.0.0 force:False 12:25:02 2022-05-05 12:25:02,807 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-184/.semver 12:25:02 2022-05-05 12:25:02,808 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-184/.semver 12:25:02 2022-05-05 12:25:02,808 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-184/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-184, universal_newlines=False, shell=None, istream=None) 12:25:04 2022-05-05 12:25:03,833 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-184/.git/info/exclude 12:25:04 2022-05-05 12:25:03,833 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-184/.semver/PR-184 with force:False 12:25:04 2022-05-05 12:25:03,834 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-184/.semver/PR-184 12:25:04 2022-05-05 12:25:03,837 [execute] INFO git cat-file --batch-check 12:25:04 2022-05-05 12:25:03,838 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-184/.semver, universal_newlines=False, shell=None, istream=) 12:25:04 2022-05-05 12:25:03,843 [execute] INFO git cat-file --batch 12:25:04 2022-05-05 12:25:03,843 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-184/.semver, universal_newlines=False, shell=None, istream=) 12:25:04 2022-05-05 12:25:03,847 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-184/.semver/PR-184 12:25:04 0.0.0 [Pipeline] } 12:25:04 $ docker exec --env ******** --env ******** d806d4cb252a26251aec2c9cd9e39ab019a65db644518b6cb84c49f541a233f1 ssh-agent -k 12:25:04 unset SSH_AUTH_SOCK; 12:25:04 unset SSH_AGENT_PID; 12:25:04 echo Agent pid 80 killed; 12:25:04 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 12:25:04 + git semver [Pipeline] } 12:25:04 $ docker stop --time=1 d806d4cb252a26251aec2c9cd9e39ab019a65db644518b6cb84c49f541a233f1 12:25:06 $ docker rm -f d806d4cb252a26251aec2c9cd9e39ab019a65db644518b6cb84c49f541a233f1 [Pipeline] // withDockerContainer [Pipeline] sh 12:25:06 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 12:25:06 Stashed 1 file(s) [Pipeline] echo 12:25:06 [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 12:25:07 provisioning config files... 12:25:07 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-184@tmp/config84088151918558536tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:25:07 ---> docker-login.sh 12:25:07 nexus3.edgexfoundry.org:10001 12:25:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:25:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:25:07 Configure a credential helper to remove this warning. See 12:25:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:25:07 12:25:07 Login Succeeded 12:25:07 nexus3.edgexfoundry.org:10002 12:25:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:25:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:25:07 Configure a credential helper to remove this warning. See 12:25:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:25:07 12:25:07 Login Succeeded 12:25:07 nexus3.edgexfoundry.org:10003 12:25:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:25:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:25:07 Configure a credential helper to remove this warning. See 12:25:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:25:07 12:25:07 Login Succeeded 12:25:07 nexus3.edgexfoundry.org:10004 12:25:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:25:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:25:07 Configure a credential helper to remove this warning. See 12:25:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:25:07 12:25:07 Login Succeeded 12:25:07 docker.io 12:25:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:25:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:25:08 Configure a credential helper to remove this warning. See 12:25:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:25:08 12:25:08 Login Succeeded 12:25:08 ---> docker-login.sh ends [Pipeline] } 12:25:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:25:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:25:08 ========================================================= 12:25:08 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 12:25:08 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:25:08 + 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 . 12:25:08 Sending build context to Docker daemon 10.61MB 12:25:08 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 12:25:08 Step 2/12 : FROM ${BASE} AS builder 12:25:08 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 12:25:08 59bf1c3509f3: Pulling fs layer 12:25:08 666ba61612fd: Pulling fs layer 12:25:08 8ed8ca486205: Pulling fs layer 12:25:08 4fe6c5a15a65: Pulling fs layer 12:25:08 22a0e8bec74d: Pulling fs layer 12:25:08 ca2b28591e48: Pulling fs layer 12:25:08 22a0e8bec74d: Waiting 12:25:08 4fe6c5a15a65: Waiting 12:25:08 a51346096db8: Pulling fs layer 12:25:08 daebc70d1ce1: Pulling fs layer 12:25:08 0e18a0eac166: Pulling fs layer 12:25:08 ca2b28591e48: Waiting 12:25:08 a51346096db8: Waiting 12:25:08 daebc70d1ce1: Waiting 12:25:08 0e18a0eac166: Waiting 12:25:08 8ed8ca486205: Download complete 12:25:08 666ba61612fd: Verifying Checksum 12:25:08 666ba61612fd: Download complete 12:25:08 22a0e8bec74d: Download complete 12:25:08 ca2b28591e48: Verifying Checksum 12:25:08 ca2b28591e48: Download complete 12:25:08 a51346096db8: Verifying Checksum 12:25:08 a51346096db8: Download complete 12:25:08 59bf1c3509f3: Verifying Checksum 12:25:08 59bf1c3509f3: Download complete 12:25:08 daebc70d1ce1: Verifying Checksum 12:25:08 daebc70d1ce1: Download complete 12:25:08 59bf1c3509f3: Pull complete 12:25:09 666ba61612fd: Pull complete 12:25:09 8ed8ca486205: Pull complete 12:25:09 0e18a0eac166: Verifying Checksum 12:25:09 0e18a0eac166: Download complete 12:25:09 4fe6c5a15a65: Verifying Checksum 12:25:09 4fe6c5a15a65: Download complete 12:25:13 4fe6c5a15a65: Pull complete 12:25:13 22a0e8bec74d: Pull complete 12:25:13 ca2b28591e48: Pull complete 12:25:13 a51346096db8: Pull complete 12:25:14 daebc70d1ce1: Pull complete 12:25:16 0e18a0eac166: Pull complete 12:25:16 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 12:25:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 12:25:16 ---> f018257e8ee9 12:25:16 Step 3/12 : ARG MAKE='make build' 12:25:17 ---> Running in 2212ed8c00aa 12:25:17 Removing intermediate container 2212ed8c00aa 12:25:17 ---> a49e867ab78e 12:25:17 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:25:17 ---> Running in 77cce0c9a6e2 12:25:17 Removing intermediate container 77cce0c9a6e2 12:25:17 ---> bee48499eaa2 12:25:17 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 12:25:17 ---> Running in 086c9a3b58c4 12:25:18 Removing intermediate container 086c9a3b58c4 12:25:18 ---> 172aa4465910 12:25:18 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:25:18 ---> Running in 401184f42158 12:25:18 Removing intermediate container 401184f42158 12:25:18 ---> c57376ffa649 12:25:18 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:25:18 ---> Running in 0c10a6582209 12:25:18 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:25:19 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:25:20 (1/4) Installing openssh-keygen (8.8_p1-r1) 12:25:20 (2/4) Installing libedit (20210910.3.1-r0) 12:25:20 (3/4) Installing openssh-client-common (8.8_p1-r1) 12:25:20 (4/4) Installing openssh-client-default (8.8_p1-r1) 12:25:20 Executing busybox-1.34.1-r3.trigger 12:25:20 OK: 224 MiB in 56 packages 12:25:20 Removing intermediate container 0c10a6582209 12:25:20 ---> 81c210cc0f97 12:25:20 Step 8/12 : WORKDIR /device-rest-go 12:25:21 ---> Running in 23bc4c72a731 12:25:21 Removing intermediate container 23bc4c72a731 12:25:21 ---> e863d0c6bbc3 12:25:21 Step 9/12 : COPY go.mod vendor* ./ 12:25:21 ---> 50d74bd47223 12:25:21 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:25:21 ---> Running in 1a1735782e9b 12:25:22 Still waiting to schedule task 12:25:22 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 12:25:36 Removing intermediate container 1a1735782e9b 12:25:36 ---> 77ca26336006 12:25:36 Step 11/12 : COPY . . 12:25:36 ---> 03bd9e48b32f 12:25:36 Step 12/12 : RUN $MAKE 12:25:36 ---> Running in 1bf9a90128c3 12:25:36 noop 12:25:36 Removing intermediate container 1bf9a90128c3 12:25:36 ---> 8c0b37a40ce6 12:25:36 Successfully built 8c0b37a40ce6 12:25:36 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 12:25:36 + docker inspect -f . ci-base-image-x86_64 12:25:36 . [Pipeline] withDockerContainer 12:25:36 prd-ubuntu20.04-docker-8c-8g-40492 does not seem to be running inside a container 12:25:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-184 -v /w/workspace/gexfoundry_device-rest-go_PR-184:/w/workspace/gexfoundry_device-rest-go_PR-184:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-184@tmp:/w/workspace/gexfoundry_device-rest-go_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:25:37 $ docker top d9934922eff104882bf32beb098a4004b965ae2ae7678debd4135e56aa217d8f -eo pid,comm [Pipeline] { [Pipeline] sh 12:25:37 + go version 12:25:37 go version go1.17.6 linux/amd64 [Pipeline] } 12:25:37 $ docker stop --time=1 d9934922eff104882bf32beb098a4004b965ae2ae7678debd4135e56aa217d8f 12:25:38 $ docker rm -f d9934922eff104882bf32beb098a4004b965ae2ae7678debd4135e56aa217d8f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:25:39 + docker inspect -f . ci-base-image-x86_64 12:25:39 . [Pipeline] withDockerContainer 12:25:39 prd-ubuntu20.04-docker-8c-8g-40492 does not seem to be running inside a container 12:25:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-184 -v /w/workspace/gexfoundry_device-rest-go_PR-184:/w/workspace/gexfoundry_device-rest-go_PR-184:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-184@tmp:/w/workspace/gexfoundry_device-rest-go_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 12:25:39 $ docker top 088151072d712c9a8520392bd94fef41e243a174ee803a624ca750857c3c06b5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:25:40 + make test 12:25:40 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 12:25:40 ? github.com/edgexfoundry/device-rest-go [no test files] 12:25:52 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 12:25:52 ok github.com/edgexfoundry/device-rest-go/driver 0.018s coverage: 55.2% of statements 12:25:59 CGO_ENABLED=1 GO111MODULE=on go vet ./... 12:26:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:26:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:26:03 ./bin/test-attribution-txt.sh [Pipeline] echo 12:26:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:26:04 $ docker stop --time=1 088151072d712c9a8520392bd94fef41e243a174ee803a624ca750857c3c06b5 12:26:05 $ docker rm -f 088151072d712c9a8520392bd94fef41e243a174ee803a624ca750857c3c06b5 [Pipeline] // withDockerContainer [Pipeline] sh 12:26:06 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:26:06 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 12:26:06 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:26:07 + ls -al . 12:26:07 total 172 12:26:07 drwxrwxr-x 9 jenkins jenkins 4096 May 5 12:26 . 12:26:07 drwxrwxr-x 4 jenkins jenkins 4096 May 5 12:24 .. 12:26:07 -rw-rw-r-- 1 jenkins jenkins 151 May 5 12:24 .dockerignore 12:26:07 drwxrwxr-x 8 jenkins jenkins 4096 May 5 12:25 .git 12:26:07 drwxrwxr-x 3 jenkins jenkins 4096 May 5 12:24 .github 12:26:07 -rw-rw-r-- 1 jenkins jenkins 329 May 5 12:24 .gitignore 12:26:07 -rw-rw-r-- 1 jenkins jenkins 41 May 5 12:24 .golangci.yml 12:26:07 drwxr-xr-x 3 jenkins jenkins 4096 May 5 12:25 .semver 12:26:07 -rw-rw-r-- 1 jenkins jenkins 8463 May 5 12:24 Attribution.txt 12:26:07 -rw-rw-r-- 1 jenkins jenkins 7459 May 5 12:24 CHANGELOG.md 12:26:07 -rw-rw-r-- 1 jenkins jenkins 1672 May 5 12:24 Dockerfile 12:26:07 -rw-rw-r-- 1 jenkins jenkins 677 May 5 12:24 GOVERNANCE.md 12:26:07 -rw-rw-r-- 1 jenkins jenkins 680 May 5 12:24 Jenkinsfile 12:26:07 -rw-rw-r-- 1 jenkins jenkins 11340 May 5 12:24 LICENSE 12:26:07 -rw-rw-r-- 1 jenkins jenkins 1977 May 5 12:24 Makefile 12:26:07 -rw-rw-r-- 1 jenkins jenkins 620 May 5 12:24 OWNERS.md 12:26:07 -rw-rw-r-- 1 jenkins jenkins 8212 May 5 12:24 README.md 12:26:07 -rw-rw-r-- 1 jenkins jenkins 5 May 5 12:25 VERSION 12:26:07 drwxrwxr-x 2 jenkins jenkins 4096 May 5 12:24 bin 12:26:07 drwxrwxr-x 3 jenkins jenkins 4096 May 5 12:24 cmd 12:26:07 -rw-r--r-- 1 jenkins jenkins 9355 May 5 12:25 coverage.out 12:26:07 drwxrwxr-x 2 jenkins jenkins 4096 May 5 12:24 driver 12:26:07 -rw-rw-r-- 1 jenkins jenkins 3333 May 5 12:24 go.mod 12:26:07 -rw-rw-r-- 1 jenkins jenkins 35259 May 5 12:24 go.sum 12:26:07 drwxrwxr-x 3 jenkins jenkins 4096 May 5 12:24 snap 12:26:07 -rw-rw-r-- 1 jenkins jenkins 713 May 5 12:24 version.go [Pipeline] isUnix [Pipeline] sh 12:26:07 + 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=24f2d44d41511aea7b66a902317587beb4819f28 --label arch=amd64 --label version=0.0.0 . 12:26:07 Sending build context to Docker daemon 10.62MB 12:26:07 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 12:26:07 Step 2/25 : FROM ${BASE} AS builder 12:26:07 ---> 8c0b37a40ce6 12:26:07 Step 3/25 : ARG MAKE='make build' 12:26:07 ---> Running in f8ea8cca1922 12:26:07 Removing intermediate container f8ea8cca1922 12:26:07 ---> 9bf507129f04 12:26:07 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:26:07 ---> Running in 634cc619fefc 12:26:07 Removing intermediate container 634cc619fefc 12:26:07 ---> b17ea46590f3 12:26:07 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 12:26:07 ---> Running in fdf5e78e1172 12:26:08 Removing intermediate container fdf5e78e1172 12:26:08 ---> 14e233e6bc72 12:26:08 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:26:08 ---> Running in 25ce9a7be4cd 12:26:08 Removing intermediate container 25ce9a7be4cd 12:26:08 ---> 30d6c7046d9f 12:26:08 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:26:08 ---> Running in a09b5704821c 12:26:08 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 12:26:09 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 12:26:10 OK: 224 MiB in 56 packages 12:26:10 Removing intermediate container a09b5704821c 12:26:10 ---> b205a02bafda 12:26:10 Step 8/25 : WORKDIR /device-rest-go 12:26:10 ---> Running in f5fbc352f439 12:26:10 Removing intermediate container f5fbc352f439 12:26:10 ---> 973cea28e30c 12:26:10 Step 9/25 : COPY go.mod vendor* ./ 12:26:10 ---> fb41f7790a5d 12:26:10 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:26:10 ---> Running in f0232ab2fbfb 12:26:11 Removing intermediate container f0232ab2fbfb 12:26:11 ---> 21506b87d15e 12:26:11 Step 11/25 : COPY . . 12:26:11 ---> 911cd573036b 12:26:11 Step 12/25 : RUN $MAKE 12:26:11 ---> Running in cbfc221b422c 12:26:12 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 12:26:33 Removing intermediate container cbfc221b422c 12:26:33 ---> b7a03aaaa5e6 12:26:33 Step 13/25 : FROM alpine:3.14 12:26:33 3.14: Pulling from library/alpine 12:26:33 8663204ce13b: Pulling fs layer 12:26:33 8663204ce13b: Verifying Checksum 12:26:33 8663204ce13b: Download complete 12:26:33 8663204ce13b: Pull complete 12:26:33 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:26:33 Status: Downloaded newer image for alpine:3.14 12:26:33 ---> e04c818066af 12:26:33 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 12:26:33 ---> Running in dae600ff19dc 12:26:33 Removing intermediate container dae600ff19dc 12:26:33 ---> b0c1404be3db 12:26:33 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 12:26:33 ---> Running in b65cb402ce96 12:26:33 Removing intermediate container b65cb402ce96 12:26:33 ---> 08320a2f44a3 12:26:33 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 12:26:33 ---> Running in f61e79842eb3 12:26:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 12:26:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 12:26:34 (1/6) Installing dumb-init (1.2.5-r1) 12:26:34 (2/6) Installing libgcc (10.3.1_git20210424-r2) 12:26:34 (3/6) Installing libsodium (1.0.18-r0) 12:26:34 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 12:26:34 (5/6) Installing libzmq (4.3.4-r0) 12:26:34 (6/6) Installing zeromq (4.3.4-r0) 12:26:34 Executing busybox-1.33.1-r7.trigger 12:26:34 OK: 8 MiB in 20 packages 12:26:35 Removing intermediate container f61e79842eb3 12:26:35 ---> 56ac49e0a192 12:26:35 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 12:26:35 ---> be1dba7f9211 12:26:35 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 12:26:35 ---> 00b70f15c24f 12:26:35 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 12:26:35 ---> 6447189d7eb2 12:26:35 Step 20/25 : EXPOSE 59986 12:26:35 ---> Running in e0bc42ce334e 12:26:36 Removing intermediate container e0bc42ce334e 12:26:36 ---> 1c9b6d9b04fd 12:26:36 Step 21/25 : ENTRYPOINT ["/device-rest"] 12:26:36 ---> Running in b002f1f8d32d 12:26:36 Removing intermediate container b002f1f8d32d 12:26:36 ---> c5d5ee3635fd 12:26:36 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 12:26:36 ---> Running in 4be850e97d72 12:26:36 Removing intermediate container 4be850e97d72 12:26:36 ---> e53a1866b77e 12:26:36 Step 23/25 : LABEL arch=amd64 12:26:36 ---> Running in 32c15a536db5 12:26:36 Removing intermediate container 32c15a536db5 12:26:36 ---> 7f28c1c6e131 12:26:36 Step 24/25 : LABEL git_sha=24f2d44d41511aea7b66a902317587beb4819f28 12:26:36 ---> Running in 02bca5614f10 12:26:36 Removing intermediate container 02bca5614f10 12:26:36 ---> 609baa83a0b4 12:26:36 Step 25/25 : LABEL version=0.0.0 12:26:36 ---> Running in 71cc203032d3 12:26:36 Removing intermediate container 71cc203032d3 12:26:36 ---> 5763a5837745 12:26:36 [Warning] One or more build-args [ARCH] were not consumed 12:26:36 Successfully built 5763a5837745 12:26:36 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 12:26:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:26:37 12:26:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 12:26:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:26:37 latest: Pulling from edgex-lftools-log-publisher 12:26:37 5eb5b503b376: Pulling fs layer 12:26:37 5c69ac0246d0: Pulling fs layer 12:26:37 ec43610c2a17: Pulling fs layer 12:26:37 3a2ae6a8a46f: Pulling fs layer 12:26:37 33b1e0a273af: Pulling fs layer 12:26:37 5d3b04190fa2: Pulling fs layer 12:26:37 2f39f015ded8: Pulling fs layer 12:26:37 3a2ae6a8a46f: Waiting 12:26:37 33b1e0a273af: Waiting 12:26:37 5d3b04190fa2: Waiting 12:26:37 2f39f015ded8: Waiting 12:26:37 5c69ac0246d0: Verifying Checksum 12:26:37 5c69ac0246d0: Download complete 12:26:37 3a2ae6a8a46f: Verifying Checksum 12:26:37 3a2ae6a8a46f: Download complete 12:26:37 33b1e0a273af: Verifying Checksum 12:26:37 33b1e0a273af: Download complete 12:26:37 5d3b04190fa2: Verifying Checksum 12:26:37 5d3b04190fa2: Download complete 12:26:37 ec43610c2a17: Verifying Checksum 12:26:37 ec43610c2a17: Download complete 12:26:37 5eb5b503b376: Verifying Checksum 12:26:37 5eb5b503b376: Download complete 12:26:38 2f39f015ded8: Download complete 12:26:39 5eb5b503b376: Pull complete 12:26:39 5c69ac0246d0: Pull complete 12:26:39 ec43610c2a17: Pull complete 12:26:39 3a2ae6a8a46f: Pull complete 12:26:39 33b1e0a273af: Pull complete 12:26:39 5d3b04190fa2: Pull complete 12:26:45 2f39f015ded8: Pull complete 12:26:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 12:26:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:26:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 12:26:45 prd-ubuntu20.04-docker-8c-8g-40492 does not seem to be running inside a container 12:26:45 $ 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-184 -v /w/workspace/gexfoundry_device-rest-go_PR-184:/w/workspace/gexfoundry_device-rest-go_PR-184:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-184@tmp:/w/workspace/gexfoundry_device-rest-go_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:26:47 $ docker top 2de925230f7d06a9526e44019056c07a19f2010922d06cea11a4b29b95f5eb8e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:26:48 ---> job-cost.sh 12:26:48 lf-activate-venv: SKIPPING 12:26:48 INFO: No Stack... 12:26:48 INFO: Retrieving Pricing Info for: v3-standard-8 12:26:49 INFO: Archiving Costs [Pipeline] sh 12:26:49 + cat /w/workspace/gexfoundry_device-rest-go_PR-184/archives/cost.csv 12:26:49 + cut -d, -f6 [Pipeline] lock 12:26:49 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-184-5-stack-cost] 12:26:49 Resource [jenkins-edgexfoundry-device-rest-go-PR-184-5-stack-cost] did not exist. Created. 12:26:49 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-184-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:26:49 + echo total: 0.2199999988079071 [Pipeline] stash 12:26:49 Stashed 1 file(s) [Pipeline] } 12:26:49 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-184-5-stack-cost] [Pipeline] // lock [Pipeline] } 12:26:49 $ docker stop --time=1 2de925230f7d06a9526e44019056c07a19f2010922d06cea11a4b29b95f5eb8e 12:26:50 $ docker rm -f 2de925230f7d06a9526e44019056c07a19f2010922d06cea11a4b29b95f5eb8e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 12:26:59 Running on prd-ubuntu20.04-docker-arm64-4c-16g-40493 in /w/workspace/gexfoundry_device-rest-go_PR-184 [Pipeline] { [Pipeline] ws 12:26:59 Running in /w/workspace/device-rest-go/5 [Pipeline] { [Pipeline] checkout 12:26:59 The recommended git tool is: git 12:27:06 using credential edgex-jenkins-ssh 12:27:06 Cloning the remote Git repository 12:27:06 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 12:27:06 > git init /w/workspace/device-rest-go/5 # timeout=10 12:27:06 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 12:27:06 > git --version # timeout=10 12:27:06 > git --version # 'git version 2.25.1' 12:27:06 using GIT_SSH to set credentials SSH Credentials for GitHub 12:27:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 12:27:08 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 12:27:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 12:27:08 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 12:27:08 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 12:27:08 using GIT_SSH to set credentials SSH Credentials for GitHub 12:27:09 Merging remotes/origin/main commit f0689e2451660e374e54247122f91e779ddae9a5 into PR head commit 24f2d44d41511aea7b66a902317587beb4819f28 12:27:09 Merge succeeded, producing 24f2d44d41511aea7b66a902317587beb4819f28 12:27:09 Checking out Revision 24f2d44d41511aea7b66a902317587beb4819f28 (PR-184) 12:27:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/184/head:refs/remotes/origin/PR-184 +refs/heads/main:refs/remotes/origin/main # timeout=10 12:27:09 > git config core.sparsecheckout # timeout=10 12:27:09 > git checkout -f 24f2d44d41511aea7b66a902317587beb4819f28 # timeout=10 12:27:09 > git remote # timeout=10 12:27:09 > git config --get remote.origin.url # timeout=10 12:27:09 using GIT_SSH to set credentials SSH Credentials for GitHub 12:27:09 > git merge f0689e2451660e374e54247122f91e779ddae9a5 # timeout=10 12:27:09 > git rev-parse HEAD^{commit} # timeout=10 12:27:09 > git config core.sparsecheckout # timeout=10 12:27:09 > git checkout -f 24f2d44d41511aea7b66a902317587beb4819f28 # timeout=10 12:27:13 Commit message: "docs: cleanup references" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 12:27:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 12:27:14 % Total % Received % Xferd Average Speed Time Time Time Current 12:27:14 Dload Upload Total Spent Left Speed 12:27:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 89045 0 --:--:-- --:--:-- --:--:-- 89045 [Pipeline] sh 12:27:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 12:27:15 + sudo tee /etc/docker/daemon.new 12:27:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 12:27:15 { 12:27:15 "registry-mirrors": [ 12:27:15 "https://nexus3.edgexfoundry.org:10001" 12:27:15 ], 12:27:15 "bip": "10.250.0.254/24", 12:27:15 "hosts": [ 12:27:15 "tcp://0.0.0.0:5555", 12:27:15 "unix:///var/run/docker.sock" 12:27:15 ], 12:27:15 "mtu": 1458, 12:27:15 "selinux-enabled": true, 12:27:15 "seccomp-profile": "/etc/docker/seccomp.json" 12:27:15 } [Pipeline] sh 12:27:15 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 12:27:16 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:27:34 provisioning config files... 12:27:34 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/5@tmp/config956241185420961579tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:27:34 ---> docker-login.sh 12:27:34 nexus3.edgexfoundry.org:10001 12:27:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:27:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:27:35 Configure a credential helper to remove this warning. See 12:27:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:27:35 12:27:35 Login Succeeded 12:27:35 nexus3.edgexfoundry.org:10002 12:27:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:27:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:27:36 Configure a credential helper to remove this warning. See 12:27:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:27:36 12:27:36 Login Succeeded 12:27:36 nexus3.edgexfoundry.org:10003 12:27:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:27:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:27:36 Configure a credential helper to remove this warning. See 12:27:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:27:36 12:27:36 Login Succeeded 12:27:36 nexus3.edgexfoundry.org:10004 12:27:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:27:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:27:37 Configure a credential helper to remove this warning. See 12:27:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:27:37 12:27:37 Login Succeeded 12:27:37 docker.io 12:27:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 12:27:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 12:27:38 Configure a credential helper to remove this warning. See 12:27:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 12:27:38 12:27:38 Login Succeeded 12:27:38 ---> docker-login.sh ends [Pipeline] } 12:27:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 12:27:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 12:27:38 ========================================================= 12:27:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 12:27:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 12:27:38 + 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 . 12:27:38 Sending build context to Docker daemon 124.4kB 12:27:39 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 12:27:39 Step 2/12 : FROM ${BASE} AS builder 12:27:39 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 12:27:39 9b3977197b4f: Pulling fs layer 12:27:39 1a89e8eeedd5: Pulling fs layer 12:27:39 94645a83ff95: Pulling fs layer 12:27:39 3f3a8bcf1eab: Pulling fs layer 12:27:39 0c92f367c5e7: Pulling fs layer 12:27:39 3096ccb668a1: Pulling fs layer 12:27:39 e8cf19c19ddd: Pulling fs layer 12:27:39 a4caa8a26152: Pulling fs layer 12:27:39 3f3a8bcf1eab: Waiting 12:27:39 0c92f367c5e7: Waiting 12:27:39 3096ccb668a1: Waiting 12:27:39 e8cf19c19ddd: Waiting 12:27:39 a4caa8a26152: Waiting 12:27:39 94645a83ff95: Verifying Checksum 12:27:39 94645a83ff95: Download complete 12:27:39 1a89e8eeedd5: Download complete 12:27:39 0c92f367c5e7: Verifying Checksum 12:27:39 0c92f367c5e7: Download complete 12:27:39 3096ccb668a1: Verifying Checksum 12:27:39 3096ccb668a1: Download complete 12:27:39 e8cf19c19ddd: Verifying Checksum 12:27:39 e8cf19c19ddd: Download complete 12:27:39 9b3977197b4f: Verifying Checksum 12:27:39 9b3977197b4f: Download complete 12:27:40 9b3977197b4f: Pull complete 12:27:40 1a89e8eeedd5: Pull complete 12:27:40 94645a83ff95: Pull complete 12:27:41 a4caa8a26152: Verifying Checksum 12:27:41 a4caa8a26152: Download complete 12:27:42 3f3a8bcf1eab: Verifying Checksum 12:27:42 3f3a8bcf1eab: Download complete 12:27:54 3f3a8bcf1eab: Pull complete 12:27:54 0c92f367c5e7: Pull complete 12:27:54 3096ccb668a1: Pull complete 12:27:54 e8cf19c19ddd: Pull complete 12:28:01 a4caa8a26152: Pull complete 12:28:01 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 12:28:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 12:28:01 ---> 725f1c02e7f9 12:28:01 Step 3/12 : ARG MAKE='make build' 12:28:01 ---> Running in 69207fac2131 12:28:01 Removing intermediate container 69207fac2131 12:28:01 ---> 73fe6dbe8574 12:28:01 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:28:01 ---> Running in 051ed6af6054 12:28:02 Removing intermediate container 051ed6af6054 12:28:02 ---> b57ecaec7e26 12:28:02 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 12:28:02 ---> Running in a9624bf7ddf8 12:28:02 Removing intermediate container a9624bf7ddf8 12:28:02 ---> d6c4a78edd94 12:28:02 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:28:02 ---> Running in 769a67f039a0 12:28:04 Removing intermediate container 769a67f039a0 12:28:04 ---> 17e047261456 12:28:04 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:28:04 ---> Running in 1333b48eec40 12:28:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:28:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:28:07 (1/4) Installing openssh-keygen (8.8_p1-r1) 12:28:07 (2/4) Installing libedit (20210910.3.1-r0) 12:28:07 (3/4) Installing openssh-client-common (8.8_p1-r1) 12:28:07 (4/4) Installing openssh-client-default (8.8_p1-r1) 12:28:07 Executing busybox-1.34.1-r3.trigger 12:28:07 OK: 224 MiB in 56 packages 12:28:08 Removing intermediate container 1333b48eec40 12:28:08 ---> f5ef8cbec2a8 12:28:08 Step 8/12 : WORKDIR /device-rest-go 12:28:08 ---> Running in 8adf0ee212c9 12:28:09 Removing intermediate container 8adf0ee212c9 12:28:09 ---> 2e8b92b49295 12:28:09 Step 9/12 : COPY go.mod vendor* ./ 12:28:09 ---> fbe960468fb3 12:28:09 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:28:09 ---> Running in 14ca0b873571 12:28:56 Removing intermediate container 14ca0b873571 12:28:56 ---> fc9e418b5587 12:28:56 Step 11/12 : COPY . . 12:28:56 ---> c6b4477f0caa 12:28:56 Step 12/12 : RUN $MAKE 12:28:56 ---> Running in ef7483cb9023 12:28:57 noop 12:28:58 Removing intermediate container ef7483cb9023 12:28:58 ---> 718dd1d5d4ff 12:28:58 Successfully built 718dd1d5d4ff 12:28:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 12:28:58 + docker inspect -f . ci-base-image-arm64 12:28:58 . [Pipeline] withDockerContainer 12:28:58 prd-ubuntu20.04-docker-arm64-4c-16g-40493 does not seem to be running inside a container 12:28:58 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:29:00 $ docker top eb5218577aacbab438a985bb9d4890a6c6afdaf4a0d995d15114f1c086e75aba -eo pid,comm [Pipeline] { [Pipeline] sh 12:29:01 + go version 12:29:01 go version go1.17.6 linux/arm64 [Pipeline] } 12:29:01 $ docker stop --time=1 eb5218577aacbab438a985bb9d4890a6c6afdaf4a0d995d15114f1c086e75aba 12:29:02 $ docker rm -f eb5218577aacbab438a985bb9d4890a6c6afdaf4a0d995d15114f1c086e75aba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 12:29:03 + docker inspect -f . ci-base-image-arm64 12:29:03 . [Pipeline] withDockerContainer 12:29:03 prd-ubuntu20.04-docker-arm64-4c-16g-40493 does not seem to be running inside a container 12:29:03 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 12:29:05 $ docker top 5ece14aa8d80ebab1dcc14dd5dc10e549143f2220f5244bd887d86417449158f -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 12:29:05 + make test 12:29:05 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 12:29:07 ? github.com/edgexfoundry/device-rest-go [no test files] 12:30:29 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 12:30:29 ok github.com/edgexfoundry/device-rest-go/driver 0.068s coverage: 55.2% of statements 12:30:29 WARNING: Linting skipped (not on x86_64 or linter not installed) 12:30:29 CGO_ENABLED=1 GO111MODULE=on go vet ./... 12:30:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 12:30:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 12:30:51 ./bin/test-attribution-txt.sh [Pipeline] echo 12:30:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 12:30:52 $ docker stop --time=1 5ece14aa8d80ebab1dcc14dd5dc10e549143f2220f5244bd887d86417449158f 12:30:54 $ docker rm -f 5ece14aa8d80ebab1dcc14dd5dc10e549143f2220f5244bd887d86417449158f [Pipeline] // withDockerContainer [Pipeline] sh 12:30:55 + sudo chown -R jenkins:jenkins . [Pipeline] stash 12:30:55 Warning: overwriting stash ‘coverage-report’ 12:30:55 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 12:30:56 + sudo chown -R jenkins:jenkins . [Pipeline] sh 12:30:56 + ls -al . 12:30:56 total 168 12:30:56 drwxrwxr-x 8 jenkins jenkins 4096 May 5 12:30 . 12:30:56 drwxrwxr-x 4 jenkins jenkins 4096 May 5 12:27 .. 12:30:56 -rw-rw-r-- 1 jenkins jenkins 151 May 5 12:27 .dockerignore 12:30:56 drwxrwxr-x 8 jenkins jenkins 4096 May 5 12:27 .git 12:30:56 drwxrwxr-x 3 jenkins jenkins 4096 May 5 12:27 .github 12:30:56 -rw-rw-r-- 1 jenkins jenkins 329 May 5 12:27 .gitignore 12:30:56 -rw-rw-r-- 1 jenkins jenkins 41 May 5 12:27 .golangci.yml 12:30:56 -rw-rw-r-- 1 jenkins jenkins 8463 May 5 12:27 Attribution.txt 12:30:56 -rw-rw-r-- 1 jenkins jenkins 7459 May 5 12:27 CHANGELOG.md 12:30:56 -rw-rw-r-- 1 jenkins jenkins 1672 May 5 12:27 Dockerfile 12:30:56 -rw-rw-r-- 1 jenkins jenkins 677 May 5 12:27 GOVERNANCE.md 12:30:56 -rw-rw-r-- 1 jenkins jenkins 680 May 5 12:27 Jenkinsfile 12:30:56 -rw-rw-r-- 1 jenkins jenkins 11340 May 5 12:27 LICENSE 12:30:56 -rw-rw-r-- 1 jenkins jenkins 1977 May 5 12:27 Makefile 12:30:56 -rw-rw-r-- 1 jenkins jenkins 620 May 5 12:27 OWNERS.md 12:30:56 -rw-rw-r-- 1 jenkins jenkins 8212 May 5 12:27 README.md 12:30:56 -rw-rw-r-- 1 jenkins jenkins 5 May 5 12:25 VERSION 12:30:56 drwxrwxr-x 2 jenkins jenkins 4096 May 5 12:27 bin 12:30:56 drwxrwxr-x 3 jenkins jenkins 4096 May 5 12:27 cmd 12:30:56 -rw-r--r-- 1 jenkins jenkins 9355 May 5 12:30 coverage.out 12:30:56 drwxrwxr-x 2 jenkins jenkins 4096 May 5 12:27 driver 12:30:56 -rw-rw-r-- 1 jenkins jenkins 3333 May 5 12:27 go.mod 12:30:56 -rw-rw-r-- 1 jenkins jenkins 35259 May 5 12:27 go.sum 12:30:56 drwxrwxr-x 3 jenkins jenkins 4096 May 5 12:27 snap 12:30:56 -rw-rw-r-- 1 jenkins jenkins 713 May 5 12:27 version.go [Pipeline] isUnix [Pipeline] sh 12:30:56 + 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=24f2d44d41511aea7b66a902317587beb4819f28 --label arch=arm64 --label version=0.0.0 . 12:30:56 Sending build context to Docker daemon 134.7kB 12:30:56 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 12:30:56 Step 2/25 : FROM ${BASE} AS builder 12:30:56 ---> 718dd1d5d4ff 12:30:56 Step 3/25 : ARG MAKE='make build' 12:30:57 ---> Running in 9fe3ab0e5dce 12:30:57 Removing intermediate container 9fe3ab0e5dce 12:30:57 ---> 3afa195094ca 12:30:57 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 12:30:57 ---> Running in 0fa0b06cfd07 12:30:57 Removing intermediate container 0fa0b06cfd07 12:30:57 ---> e40b8bd5d5ba 12:30:57 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 12:30:57 ---> Running in ccaa6de16997 12:30:58 Removing intermediate container ccaa6de16997 12:30:58 ---> 4180b268aac9 12:30:58 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 12:30:58 ---> Running in 6ea8af9ae6f4 12:30:59 Removing intermediate container 6ea8af9ae6f4 12:30:59 ---> 53624ce359c8 12:30:59 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 12:30:59 ---> Running in 8531e2c2db93 12:31:00 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 12:31:01 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 12:31:02 OK: 224 MiB in 56 packages 12:31:03 Removing intermediate container 8531e2c2db93 12:31:03 ---> 9591c66eed64 12:31:03 Step 8/25 : WORKDIR /device-rest-go 12:31:03 ---> Running in 9c1a940e0fda 12:31:03 Removing intermediate container 9c1a940e0fda 12:31:03 ---> 814cbd5ef18d 12:31:03 Step 9/25 : COPY go.mod vendor* ./ 12:31:04 ---> e2227b799c05 12:31:04 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 12:31:04 ---> Running in da4ea97b3982 12:31:06 Removing intermediate container da4ea97b3982 12:31:06 ---> 1cd37fb0bca4 12:31:06 Step 11/25 : COPY . . 12:31:06 ---> 9683ee0a592b 12:31:06 Step 12/25 : RUN $MAKE 12:31:06 ---> Running in f9ad774c7dae 12:31:07 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 12:33:14 Removing intermediate container f9ad774c7dae 12:33:14 ---> 9a21c08e465a 12:33:14 Step 13/25 : FROM alpine:3.14 12:33:14 3.14: Pulling from library/alpine 12:33:14 455c02918c45: Pulling fs layer 12:33:14 455c02918c45: Verifying Checksum 12:33:14 455c02918c45: Pull complete 12:33:14 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 12:33:14 Status: Downloaded newer image for alpine:3.14 12:33:14 ---> ac73e934f311 12:33:14 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 12:33:14 ---> Running in 1ac2bf534fea 12:33:14 Removing intermediate container 1ac2bf534fea 12:33:14 ---> a37dc0b959bf 12:33:14 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 12:33:14 ---> Running in 9bd23102a2d8 12:33:14 Removing intermediate container 9bd23102a2d8 12:33:14 ---> 14016c556088 12:33:14 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 12:33:14 ---> Running in cfa6c835aae3 12:33:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 12:33:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 12:33:14 (1/6) Installing dumb-init (1.2.5-r1) 12:33:14 (2/6) Installing libgcc (10.3.1_git20210424-r2) 12:33:14 (3/6) Installing libsodium (1.0.18-r0) 12:33:14 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 12:33:14 (5/6) Installing libzmq (4.3.4-r0) 12:33:14 (6/6) Installing zeromq (4.3.4-r0) 12:33:14 Executing busybox-1.33.1-r7.trigger 12:33:14 OK: 8 MiB in 20 packages 12:33:14 Removing intermediate container cfa6c835aae3 12:33:14 ---> 7aa3b2b9d4e6 12:33:14 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 12:33:14 ---> 23a47558c044 12:33:14 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 12:33:14 ---> 2e4d81338002 12:33:14 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 12:33:14 ---> e0b70b20deb7 12:33:14 Step 20/25 : EXPOSE 59986 12:33:14 ---> Running in 73bec4637999 12:33:14 Removing intermediate container 73bec4637999 12:33:14 ---> 4404fefd6c15 12:33:14 Step 21/25 : ENTRYPOINT ["/device-rest"] 12:33:14 ---> Running in 7754da40d147 12:33:14 Removing intermediate container 7754da40d147 12:33:14 ---> 88030212b706 12:33:14 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 12:33:14 ---> Running in f2e83f49c9dd 12:33:14 Removing intermediate container f2e83f49c9dd 12:33:14 ---> 1f9d469bbea2 12:33:14 Step 23/25 : LABEL arch=arm64 12:33:14 ---> Running in 7169f5f71daf 12:33:14 Removing intermediate container 7169f5f71daf 12:33:14 ---> 6b46efe8026a 12:33:14 Step 24/25 : LABEL git_sha=24f2d44d41511aea7b66a902317587beb4819f28 12:33:14 ---> Running in 7da5077e638a 12:33:14 Removing intermediate container 7da5077e638a 12:33:14 ---> 6a80e45d381a 12:33:14 Step 25/25 : LABEL version=0.0.0 12:33:14 ---> Running in 87883bfd9b5c 12:33:14 Removing intermediate container 87883bfd9b5c 12:33:14 ---> 13965e73653b 12:33:14 [Warning] One or more build-args [ARCH] were not consumed 12:33:14 Successfully built 13965e73653b 12:33:14 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 12:33:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:33:15 12:33:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 12:33:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:33:15 arm64: Pulling from edgex-lftools-log-publisher 12:33:15 8998bd30e6a1: Pulling fs layer 12:33:15 04944245beec: Pulling fs layer 12:33:15 699f458cf7ca: Pulling fs layer 12:33:15 765212b225bb: Pulling fs layer 12:33:15 f23df028b6ca: Pulling fs layer 12:33:15 d65c8cfc05b1: Pulling fs layer 12:33:15 2437ff75d9bd: Pulling fs layer 12:33:15 f23df028b6ca: Waiting 12:33:15 765212b225bb: Waiting 12:33:15 d65c8cfc05b1: Waiting 12:33:15 2437ff75d9bd: Waiting 12:33:15 04944245beec: Verifying Checksum 12:33:15 04944245beec: Download complete 12:33:15 765212b225bb: Download complete 12:33:15 f23df028b6ca: Verifying Checksum 12:33:15 f23df028b6ca: Download complete 12:33:15 d65c8cfc05b1: Verifying Checksum 12:33:15 d65c8cfc05b1: Download complete 12:33:15 699f458cf7ca: Verifying Checksum 12:33:15 699f458cf7ca: Download complete 12:33:16 8998bd30e6a1: Verifying Checksum 12:33:16 8998bd30e6a1: Download complete 12:33:18 2437ff75d9bd: Verifying Checksum 12:33:18 2437ff75d9bd: Download complete 12:33:20 8998bd30e6a1: Pull complete 12:33:20 04944245beec: Pull complete 12:33:22 699f458cf7ca: Pull complete 12:33:22 765212b225bb: Pull complete 12:33:23 f23df028b6ca: Pull complete 12:33:23 d65c8cfc05b1: Pull complete 12:33:38 2437ff75d9bd: Pull complete 12:33:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 12:33:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 12:33:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 12:33:39 prd-ubuntu20.04-docker-arm64-4c-16g-40493 does not seem to be running inside a container 12:33:39 $ 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/5 -v /w/workspace/device-rest-go/5:/w/workspace/device-rest-go/5:rw,z -v /w/workspace/device-rest-go/5@tmp:/w/workspace/device-rest-go/5@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 12:33:41 $ docker top f1cc9bf08cffede1db29822a7295cfd57421944456ae66910fb49138988da257 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 12:33:42 ---> job-cost.sh 12:33:42 lf-activate-venv: SKIPPING 12:33:42 INFO: No Stack... 12:33:43 INFO: Retrieving Pricing Info for: v3-standard-4 12:33:44 INFO: Archiving Costs [Pipeline] sh 12:33:44 + cat /w/workspace/device-rest-go/5/archives/cost.csv 12:33:44 + cut -d, -f6 [Pipeline] lock 12:33:44 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-184-5-stack-cost] 12:33:44 Resource [jenkins-edgexfoundry-device-rest-go-PR-184-5-stack-cost] did not exist. Created. 12:33:44 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-184-5-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 12:33:45 /w/workspace/device-rest-go/5@tmp/durable-5f0064ca/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 12:33:46 + echo total: 0.10999999940395355 [Pipeline] stash 12:33:46 Warning: overwriting stash ‘stack-cost’ 12:33:46 Stashed 1 file(s) [Pipeline] } 12:33:46 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-184-5-stack-cost] [Pipeline] // lock [Pipeline] } 12:33:46 $ docker stop --time=1 f1cc9bf08cffede1db29822a7295cfd57421944456ae66910fb49138988da257 12:33:47 $ docker rm -f f1cc9bf08cffede1db29822a7295cfd57421944456ae66910fb49138988da257 [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 12:33:48 provisioning config files... 12:33:48 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-184@tmp/config9106938643736617291tmp [Pipeline] { [Pipeline] sh 12:33:48 + set +x 12:33:48 + curl -s https://codecov.io/bash 12:33:48 + bash -s -- 12:33:48 12:33:48 _____ _ 12:33:48 / ____| | | 12:33:48 | | ___ __| | ___ ___ _____ __ 12:33:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 12:33:48 | |___| (_) | (_| | __/ (_| (_) \ V / 12:33:48 \_____\___/ \__,_|\___|\___\___/ \_/ 12:33:48 Bash-1.0.6 12:33:48 12:33:48 12:33:48 ==> git version 2.25.1 found 12:33:48 ==> 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 12:33:48 Release-Date: 2020-01-08 12:33:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 12:33:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 12:33:48 ==> Jenkins CI detected. 12:33:48 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-184 12:33:48 project root: . 12:33:48 --> token set from env 12:33:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 12:33:48 ==> Running gcov in . (disable via -X gcov) 12:33:48 ==> Python coveragepy not found 12:33:48 ==> Searching for coverage reports in: 12:33:48 + . 12:33:48 -> Found 1 reports 12:33:48 ==> Detecting git/mercurial file structure 12:33:48 ==> Reading reports 12:33:48 + ./coverage.out bytes=9355 12:33:48 ==> Appending adjustments 12:33:48 https://docs.codecov.io/docs/fixing-reports 12:33:48 + Found adjustments 12:33:48 ==> Gzipping contents 12:33:48 4.0K /tmp/codecov.k9fXvt.gz 12:33:48 ==> Uploading reports 12:33:48 url: https://codecov.io 12:33:48 query: branch=PR-184&commit=24f2d44d41511aea7b66a902317587beb4819f28&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-184%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=184&job=&cmd_args= 12:33:48 -> Pinging Codecov 12:33:48 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-184&commit=24f2d44d41511aea7b66a902317587beb4819f28&build=5&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-184%2F5%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=184&job=&cmd_args= 12:33:49 -> Uploading to 12:33:49 https://storage.googleapis.com/codecov/v4/raw/2022-05-05/4E5D53B4F1F92C436F7061BF334D961C/24f2d44d41511aea7b66a902317587beb4819f28/e182fac8-328d-466c-884e-4c36ddea284a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220505%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220505T123348Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=2978699c6e9b1f190a6c6e43a3c05db94b1e033c69d1a6ba241f6f616dcbce90 12:33:49 % Total % Received % Xferd Average Speed Time Time Time Current 12:33:49 Dload Upload Total Spent Left Speed 12:33:49 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 7620 --:--:-- --:--:-- --:--:-- 7588 12:33:49 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/24f2d44d41511aea7b66a902317587beb4819f28 [Pipeline] } 12:33:49 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 12:33:50 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-184/archives ] 12:33:50 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-184/archives 12:33:50 total 16 12:33:50 drwxr-xr-x 3 root root 4096 May 5 12:26 . 12:33:50 drwxrwxr-x 10 jenkins jenkins 4096 May 5 12:26 .. 12:33:50 drwxr-xr-x 2 root root 4096 May 5 12:26 cost 12:33:50 -rw-r--r-- 1 root root 85 May 5 12:26 cost.csv 12:33:50 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-184/archives 12:33:50 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-184/archives 12:33:50 total 16 12:33:50 drwxr-xr-x 3 jenkins jenkins 4096 May 5 12:26 . 12:33:50 drwxrwxr-x 10 jenkins jenkins 4096 May 5 12:26 .. 12:33:50 drwxr-xr-x 2 jenkins jenkins 4096 May 5 12:26 cost 12:33:50 -rw-r--r-- 1 jenkins jenkins 85 May 5 12:26 cost.csv [Pipeline] libraryResource [Pipeline] sh 12:33:50 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 12:33:51 ---> package-listing.sh 12:33:51 ++ facter osfamily 12:33:51 ++ tr '[:upper:]' '[:lower:]' 12:33:51 + OS_FAMILY=debian 12:33:51 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-184 12:33:51 + START_PACKAGES=/tmp/packages_start.txt 12:33:51 + END_PACKAGES=/tmp/packages_end.txt 12:33:51 + DIFF_PACKAGES=/tmp/packages_diff.txt 12:33:51 + PACKAGES=/tmp/packages_start.txt 12:33:51 + '[' /w/workspace/gexfoundry_device-rest-go_PR-184 ']' 12:33:51 + PACKAGES=/tmp/packages_end.txt 12:33:51 + case "${OS_FAMILY}" in 12:33:51 + dpkg -l 12:33:51 + grep '^ii' 12:33:51 + '[' -f /tmp/packages_start.txt ']' 12:33:51 + '[' -f /tmp/packages_end.txt ']' 12:33:51 + diff /tmp/packages_start.txt /tmp/packages_end.txt 12:33:51 + '[' /w/workspace/gexfoundry_device-rest-go_PR-184 ']' 12:33:51 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-184/archives/ 12:33:51 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-184/archives/ [Pipeline] echo 12:33:51 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-184/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 12:33:51 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 12:33:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 12:33:52 . [Pipeline] withDockerContainer 12:33:52 prd-ubuntu20.04-docker-8c-8g-40492 does not seem to be running inside a container 12:33:52 $ 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-184/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-184 -v /w/workspace/gexfoundry_device-rest-go_PR-184:/w/workspace/gexfoundry_device-rest-go_PR-184:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-184@tmp:/w/workspace/gexfoundry_device-rest-go_PR-184@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 12:33:52 $ docker top 747d65653bcd1e66efd54256215303ba1715bd32676700fe4cd8f8b8fcbd3ebf -eo pid,comm [Pipeline] { [Pipeline] sh 12:33:52 + touch /tmp/pre-build-complete [Pipeline] sh 12:33:53 + mkdir -p /var/log/sysstat [Pipeline] sh 12:33:53 + ls /var/log/sa-host 12:33:53 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 12:33:53 provisioning config files... 12:33:53 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-184@tmp/config3724043190799309971tmp [Pipeline] { [Pipeline] echo 12:33:53 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 12:33:53 ---> create-netrc.sh [Pipeline] } 12:33:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 12:33:54 ---> python-tools-install.sh [Pipeline] echo 12:33:54 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 12:33:54 ---> sudo-logs.sh 12:33:54 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 12:33:54 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 12:33:54 ---> job-cost.sh 12:33:54 lf-activate-venv: SKIPPING 12:33:54 DEBUG: total: 0.2199999988079071 12:33:54 INFO: Retrieving Stack Cost... 12:33:55 INFO: Retrieving Pricing Info for: v3-standard-8 12:33:55 INFO: Archiving Costs [Pipeline] echo 12:33:55 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 12:33:56 ---> logs-deploy.sh 12:33:56 lf-activate-venv: SKIPPING 12:33:56 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-184/5 12:33:56 INFO: archiving workspace using pattern(s): 12:33:57 Archives upload complete. 12:33:57 INFO: archiving logs to Nexus