cloudxxx8 commented: recheck Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 970cf146fa6a294cb89ac37a37482cebec6dc33c+1b7989097685cbbb7d11325d5e96f20d406e46c7 (57db7947a0418bbf432b2f9bb2c8440640a8b1a2) Loading library edgex-global-pipelines@stable Attempting to resolve stable from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh10306085491642742536.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-ssh4546783542593008439.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-187/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-187/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh4073920756721540337.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-ssh92415697169842488.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-187/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-187/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh1534482724846235941.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-44800’ Running on prd-ubuntu20.04-docker-8c-8g-44807 in /w/workspace/gexfoundry_device-rest-go_PR-187 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-187 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 1b7989097685cbbb7d11325d5e96f20d406e46c7 into PR head commit 970cf146fa6a294cb89ac37a37482cebec6dc33c Merge succeeded, producing 970cf146fa6a294cb89ac37a37482cebec6dc33c Checking out Revision 970cf146fa6a294cb89ac37a37482cebec6dc33c (PR-187) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/187/head:refs/remotes/origin/PR-187 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 970cf146fa6a294cb89ac37a37482cebec6dc33c # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 1b7989097685cbbb7d11325d5e96f20d406e46c7 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 970cf146fa6a294cb89ac37a37482cebec6dc33c # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" > git rev-list --no-walk 970cf146fa6a294cb89ac37a37482cebec6dc33c # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 00:59:53 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 00:59:53 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 00:59:53 ========================================================= 00:59:53 EdgeX Global Pipelines Version Info 00:59:53 ========================================================= [Pipeline] libraryResource [Pipeline] sh 00:59:54 ------------------- 00:59:54 stable info: 00:59:54 ------------------- 00:59:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:59:54 Commit SHA: 61d3a14f5ee21304eadc9c25f102bcac80e1a589 00:59:54 Message: update stable to v1.0.227 00:59:54 ------------------- 00:59:54 experimental info: 00:59:54 ------------------- 00:59:54 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 00:59:54 Commit SHA: 821e2ffd3fa43eddc5db18cf710cdace1a36094c 00:59:54 Message: update experimental to v1.0.229 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 00:59:54 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 00:59:54 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 00:59:54 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 00:59:54 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 00:59:54 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 00:59:54 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 00:59:54 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 00:59:54 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 00:59:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 00:59:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 00:59:54 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 00:59:54 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 00:59:54 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 00:59:54 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 00:59:54 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 00:59:54 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 00:59:54 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 00:59:54 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 00:59:54 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 00:59:54 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 00:59:54 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 00:59:54 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 00:59:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 00:59:54 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 00:59:55 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 00:59:55 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 00:59:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-187 [Pipeline] echo 00:59:55 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-187 [Pipeline] echo 00:59:55 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-187 [Pipeline] echo 00:59:55 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 970cf146fa6a294cb89ac37a37482cebec6dc33c [Pipeline] echo 00:59:55 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 970cf14 [Pipeline] echo 00:59:55 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:59:55 provisioning config files... 00:59:55 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-187@tmp/config5472508264177473361tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:59:55 ---> docker-login.sh 00:59:55 nexus3.edgexfoundry.org:10001 00:59:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:55 Configure a credential helper to remove this warning. See 00:59:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:55 00:59:55 Login Succeeded 00:59:55 nexus3.edgexfoundry.org:10002 00:59:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:55 Configure a credential helper to remove this warning. See 00:59:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:55 00:59:55 Login Succeeded 00:59:55 nexus3.edgexfoundry.org:10003 00:59:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:55 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:55 Configure a credential helper to remove this warning. See 00:59:55 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:55 00:59:55 Login Succeeded 00:59:55 nexus3.edgexfoundry.org:10004 00:59:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:56 Configure a credential helper to remove this warning. See 00:59:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:56 00:59:56 Login Succeeded 00:59:56 docker.io 00:59:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:59:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:59:56 Configure a credential helper to remove this warning. See 00:59:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:59:56 00:59:56 Login Succeeded 00:59:56 ---> docker-login.sh ends [Pipeline] } 00:59:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 00:59:57 + git rev-list -1 --merges 970cf146fa6a294cb89ac37a37482cebec6dc33c~1..970cf146fa6a294cb89ac37a37482cebec6dc33c [Pipeline] echo 00:59:57 -----------> git rev-list -1 --merges 970cf146fa6a294cb89ac37a37482cebec6dc33c~1..970cf146fa6a294cb89ac37a37482cebec6dc33c 970cf146fa6a294cb89ac37a37482cebec6dc33c [false] [Pipeline] sh 00:59:57 + git log --format=format:%s -1 970cf146fa6a294cb89ac37a37482cebec6dc33c [Pipeline] echo 00:59:57 ========================================================= 00:59:57 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 00:59:57 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 00:59:57 + git log --format=format:%s -1 970cf146fa6a294cb89ac37a37482cebec6dc33c [Pipeline] echo 00:59:58 [semverPrep] GIT_COMMIT: 970cf146fa6a294cb89ac37a37482cebec6dc33c, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 00:59:58 [semverPrep] This is not a build commit. [Pipeline] sh 00:59:58 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:59:58 + grep -v github /etc/ssh/ssh_known_hosts 00:59:58 + [ -e /tmp/ssh_known_hosts ] 00:59:58 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 00:59:58 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 00:59:58 + sudo tee -a /etc/ssh/ssh_known_hosts 00:59:58 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 00:59:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:59:58 00:59:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 00:59:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 00:59:59 latest: Pulling from edgex-devops/py-git-semver 00:59:59 1fe172e4850f: Pulling fs layer 00:59:59 caf521ccaac6: Pulling fs layer 00:59:59 3ead6fa29328: Pulling fs layer 00:59:59 5c2a1cbceb83: Pulling fs layer 00:59:59 a8d5f1318db7: Pulling fs layer 00:59:59 c427282e49a2: Pulling fs layer 00:59:59 1827001aaf11: Pulling fs layer 00:59:59 0714d37db230: Pulling fs layer 00:59:59 ac28cf19c067: Pulling fs layer 00:59:59 ca983d60f3e2: Pulling fs layer 00:59:59 9f894cec8388: Pulling fs layer 00:59:59 5c2a1cbceb83: Waiting 00:59:59 ac28cf19c067: Waiting 00:59:59 a8d5f1318db7: Waiting 00:59:59 ca983d60f3e2: Waiting 00:59:59 9f894cec8388: Waiting 00:59:59 0714d37db230: Waiting 00:59:59 c427282e49a2: Waiting 00:59:59 1827001aaf11: Waiting 00:59:59 caf521ccaac6: Download complete 00:59:59 5c2a1cbceb83: Download complete 00:59:59 a8d5f1318db7: Verifying Checksum 00:59:59 a8d5f1318db7: Download complete 00:59:59 3ead6fa29328: Download complete 00:59:59 c427282e49a2: Verifying Checksum 00:59:59 c427282e49a2: Download complete 00:59:59 0714d37db230: Verifying Checksum 00:59:59 0714d37db230: Download complete 00:59:59 ac28cf19c067: Download complete 00:59:59 ca983d60f3e2: Verifying Checksum 00:59:59 ca983d60f3e2: Download complete 00:59:59 9f894cec8388: Download complete 00:59:59 1fe172e4850f: Verifying Checksum 00:59:59 1fe172e4850f: Download complete 00:59:59 1827001aaf11: Verifying Checksum 00:59:59 1827001aaf11: Download complete 01:00:00 1fe172e4850f: Pull complete 01:00:00 caf521ccaac6: Pull complete 01:00:01 3ead6fa29328: Pull complete 01:00:01 5c2a1cbceb83: Pull complete 01:00:01 a8d5f1318db7: Pull complete 01:00:01 c427282e49a2: Pull complete 01:00:03 1827001aaf11: Pull complete 01:00:03 0714d37db230: Pull complete 01:00:03 ac28cf19c067: Pull complete 01:00:03 ca983d60f3e2: Pull complete 01:00:03 9f894cec8388: Pull complete 01:00:03 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 01:00:03 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 01:00:03 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 01:00:03 prd-ubuntu20.04-docker-8c-8g-44807 does not seem to be running inside a container 01:00:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-187 -v /w/workspace/gexfoundry_device-rest-go_PR-187:/w/workspace/gexfoundry_device-rest-go_PR-187:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-187@tmp:/w/workspace/gexfoundry_device-rest-go_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 01:00:05 $ docker top 6870390c669a35325346b86db8733069afa9d5dfcacc6eab2b3fa0d1f6cfaebf -eo pid,comm 01:00:05 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). 01:00:05 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 01:00:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:00:05 [ssh-agent] Looking for ssh-agent implementation... 01:00:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:00:05 $ docker exec 6870390c669a35325346b86db8733069afa9d5dfcacc6eab2b3fa0d1f6cfaebf ssh-agent 01:00:05 SSH_AUTH_SOCK=/tmp/ssh-39CowKq2WxPJ/agent.33 01:00:05 SSH_AGENT_PID=39 01:00:05 Running ssh-add (command line suppressed) 01:00:05 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-187@tmp/private_key_3623943787302461889.key (/w/workspace/gexfoundry_device-rest-go_PR-187@tmp/private_key_3623943787302461889.key) 01:00:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:00:06 + git tag --points-at HEAD [Pipeline] } 01:00:06 $ docker exec --env ******** --env ******** 6870390c669a35325346b86db8733069afa9d5dfcacc6eab2b3fa0d1f6cfaebf ssh-agent -k 01:00:06 unset SSH_AUTH_SOCK; 01:00:06 unset SSH_AGENT_PID; 01:00:06 echo Agent pid 39 killed; 01:00:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 01:00:06 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 01:00:06 [ssh-agent] Looking for ssh-agent implementation... 01:00:06 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 01:00:06 $ docker exec 6870390c669a35325346b86db8733069afa9d5dfcacc6eab2b3fa0d1f6cfaebf ssh-agent 01:00:06 SSH_AUTH_SOCK=/tmp/ssh-He5298XGOn4i/agent.73 01:00:06 SSH_AGENT_PID=79 01:00:06 Running ssh-add (command line suppressed) 01:00:06 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-187@tmp/private_key_3282485340750920014.key (/w/workspace/gexfoundry_device-rest-go_PR-187@tmp/private_key_3282485340750920014.key) 01:00:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 01:00:07 + git semver init 01:00:07 2022-05-10 01:00:07,315 [run_init] DEBUG init version:0.0.0 force:False 01:00:07 2022-05-10 01:00:07,316 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-187/.semver 01:00:07 2022-05-10 01:00:07,316 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-187/.semver 01:00:07 2022-05-10 01:00:07,317 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-187/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-187, universal_newlines=False, shell=None, istream=None) 01:00:08 2022-05-10 01:00:08,328 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-187/.git/info/exclude 01:00:08 2022-05-10 01:00:08,328 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-187/.semver/PR-187 with force:False 01:00:08 2022-05-10 01:00:08,328 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-187/.semver/PR-187 01:00:08 2022-05-10 01:00:08,331 [execute] INFO git cat-file --batch-check 01:00:08 2022-05-10 01:00:08,331 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-187/.semver, universal_newlines=False, shell=None, istream=) 01:00:08 2022-05-10 01:00:08,337 [execute] INFO git cat-file --batch 01:00:08 2022-05-10 01:00:08,337 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-187/.semver, universal_newlines=False, shell=None, istream=) 01:00:08 2022-05-10 01:00:08,340 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-187/.semver/PR-187 01:00:08 0.0.0 [Pipeline] } 01:00:08 $ docker exec --env ******** --env ******** 6870390c669a35325346b86db8733069afa9d5dfcacc6eab2b3fa0d1f6cfaebf ssh-agent -k 01:00:08 unset SSH_AUTH_SOCK; 01:00:08 unset SSH_AGENT_PID; 01:00:08 echo Agent pid 79 killed; 01:00:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 01:00:09 + git semver [Pipeline] } 01:00:09 $ docker stop --time=1 6870390c669a35325346b86db8733069afa9d5dfcacc6eab2b3fa0d1f6cfaebf 01:00:10 $ docker rm -f 6870390c669a35325346b86db8733069afa9d5dfcacc6eab2b3fa0d1f6cfaebf [Pipeline] // withDockerContainer [Pipeline] sh 01:00:11 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 01:00:11 Stashed 1 file(s) [Pipeline] echo 01:00:11 [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 01:00:11 provisioning config files... 01:00:11 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-187@tmp/config4479046748076574370tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:00:11 ---> docker-login.sh 01:00:11 nexus3.edgexfoundry.org:10001 01:00:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:00:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:00:11 Configure a credential helper to remove this warning. See 01:00:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:00:11 01:00:11 Login Succeeded 01:00:11 nexus3.edgexfoundry.org:10002 01:00:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:00:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:00:11 Configure a credential helper to remove this warning. See 01:00:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:00:11 01:00:11 Login Succeeded 01:00:12 nexus3.edgexfoundry.org:10003 01:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:00:12 Configure a credential helper to remove this warning. See 01:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:00:12 01:00:12 Login Succeeded 01:00:12 nexus3.edgexfoundry.org:10004 01:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:00:12 Configure a credential helper to remove this warning. See 01:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:00:12 01:00:12 Login Succeeded 01:00:12 docker.io 01:00:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:00:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:00:12 Configure a credential helper to remove this warning. See 01:00:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:00:12 01:00:12 Login Succeeded 01:00:12 ---> docker-login.sh ends [Pipeline] } 01:00:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:00:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:00:12 ========================================================= 01:00:12 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 01:00:12 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:00:13 + 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 . 01:00:13 Sending build context to Docker daemon 10.62MB 01:00:13 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 01:00:13 Step 2/12 : FROM ${BASE} AS builder 01:00:13 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 01:00:13 59bf1c3509f3: Pulling fs layer 01:00:13 666ba61612fd: Pulling fs layer 01:00:13 8ed8ca486205: Pulling fs layer 01:00:13 4fe6c5a15a65: Pulling fs layer 01:00:13 22a0e8bec74d: Pulling fs layer 01:00:13 ca2b28591e48: Pulling fs layer 01:00:13 a51346096db8: Pulling fs layer 01:00:13 daebc70d1ce1: Pulling fs layer 01:00:13 0e18a0eac166: Pulling fs layer 01:00:13 22a0e8bec74d: Waiting 01:00:13 ca2b28591e48: Waiting 01:00:13 a51346096db8: Waiting 01:00:13 daebc70d1ce1: Waiting 01:00:13 0e18a0eac166: Waiting 01:00:13 4fe6c5a15a65: Waiting 01:00:13 8ed8ca486205: Verifying Checksum 01:00:13 8ed8ca486205: Download complete 01:00:13 666ba61612fd: Verifying Checksum 01:00:13 666ba61612fd: Download complete 01:00:13 22a0e8bec74d: Verifying Checksum 01:00:13 22a0e8bec74d: Download complete 01:00:13 ca2b28591e48: Download complete 01:00:13 59bf1c3509f3: Verifying Checksum 01:00:13 59bf1c3509f3: Download complete 01:00:13 a51346096db8: Verifying Checksum 01:00:13 a51346096db8: Download complete 01:00:13 daebc70d1ce1: Verifying Checksum 01:00:13 daebc70d1ce1: Download complete 01:00:13 59bf1c3509f3: Pull complete 01:00:13 666ba61612fd: Pull complete 01:00:13 8ed8ca486205: Pull complete 01:00:13 0e18a0eac166: Verifying Checksum 01:00:13 0e18a0eac166: Download complete 01:00:14 4fe6c5a15a65: Verifying Checksum 01:00:14 4fe6c5a15a65: Download complete 01:00:18 4fe6c5a15a65: Pull complete 01:00:18 22a0e8bec74d: Pull complete 01:00:18 ca2b28591e48: Pull complete 01:00:18 a51346096db8: Pull complete 01:00:18 daebc70d1ce1: Pull complete 01:00:20 0e18a0eac166: Pull complete 01:00:20 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 01:00:20 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 01:00:20 ---> f018257e8ee9 01:00:20 Step 3/12 : ARG MAKE='make build' 01:00:21 ---> Running in 330b83e00ab9 01:00:21 Removing intermediate container 330b83e00ab9 01:00:21 ---> 25439f652a6e 01:00:21 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:00:21 ---> Running in 95231c18a5ae 01:00:21 Removing intermediate container 95231c18a5ae 01:00:21 ---> c36c5719dc49 01:00:21 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 01:00:21 ---> Running in 3ff6dde5518f 01:00:22 Removing intermediate container 3ff6dde5518f 01:00:22 ---> 9ced03b2f45a 01:00:22 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:00:22 ---> Running in e78cd59e667b 01:00:23 Removing intermediate container e78cd59e667b 01:00:23 ---> 775c920d0f88 01:00:23 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:00:23 ---> Running in 2afec6e49d96 01:00:23 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:00:24 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:00:24 (1/4) Installing openssh-keygen (8.8_p1-r1) 01:00:24 (2/4) Installing libedit (20210910.3.1-r0) 01:00:24 (3/4) Installing openssh-client-common (8.8_p1-r1) 01:00:24 (4/4) Installing openssh-client-default (8.8_p1-r1) 01:00:24 Executing busybox-1.34.1-r3.trigger 01:00:24 OK: 224 MiB in 56 packages 01:00:25 Removing intermediate container 2afec6e49d96 01:00:25 ---> 08619c6a9fea 01:00:25 Step 8/12 : WORKDIR /device-rest-go 01:00:25 ---> Running in 4b00d07e9763 01:00:25 Removing intermediate container 4b00d07e9763 01:00:25 ---> 9b915bbf4236 01:00:25 Step 9/12 : COPY go.mod vendor* ./ 01:00:25 ---> 61dc2cdceb46 01:00:25 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:00:26 ---> Running in b9328327620f 01:00:26 Still waiting to schedule task 01:00:26 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-44806’ 01:00:41 Removing intermediate container b9328327620f 01:00:41 ---> 06c0f9cbacba 01:00:41 Step 11/12 : COPY . . 01:00:41 ---> 6ba7a38c9bfc 01:00:41 Step 12/12 : RUN $MAKE 01:00:41 ---> Running in 104041dce2b6 01:00:41 noop 01:00:41 Removing intermediate container 104041dce2b6 01:00:41 ---> 17aa40b2321b 01:00:41 Successfully built 17aa40b2321b 01:00:41 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 01:00:41 + docker inspect -f . ci-base-image-x86_64 01:00:41 . [Pipeline] withDockerContainer 01:00:41 prd-ubuntu20.04-docker-8c-8g-44807 does not seem to be running inside a container 01:00:41 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-187 -v /w/workspace/gexfoundry_device-rest-go_PR-187:/w/workspace/gexfoundry_device-rest-go_PR-187:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-187@tmp:/w/workspace/gexfoundry_device-rest-go_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:00:42 $ docker top d449d53b07fcb3ee7867d73e2eda086e8ae02d38f6eee5edf8d86baef269597a -eo pid,comm [Pipeline] { [Pipeline] sh 01:00:42 + go version 01:00:42 go version go1.17.6 linux/amd64 [Pipeline] } 01:00:42 $ docker stop --time=1 d449d53b07fcb3ee7867d73e2eda086e8ae02d38f6eee5edf8d86baef269597a 01:00:43 $ docker rm -f d449d53b07fcb3ee7867d73e2eda086e8ae02d38f6eee5edf8d86baef269597a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:00:44 + docker inspect -f . ci-base-image-x86_64 01:00:44 . [Pipeline] withDockerContainer 01:00:44 prd-ubuntu20.04-docker-8c-8g-44807 does not seem to be running inside a container 01:00:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-187 -v /w/workspace/gexfoundry_device-rest-go_PR-187:/w/workspace/gexfoundry_device-rest-go_PR-187:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-187@tmp:/w/workspace/gexfoundry_device-rest-go_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 01:00:44 $ docker top bcba8ef616185255574029164273766b40417cbb36f5aa8aeef226cf53c5fec9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:00:45 + make test 01:00:45 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:00:45 ? github.com/edgexfoundry/device-rest-go [no test files] 01:00:55 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 01:00:55 ok github.com/edgexfoundry/device-rest-go/driver 0.018s coverage: 55.2% of statements 01:01:02 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:01:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:01:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:01:05 ./bin/test-attribution-txt.sh [Pipeline] echo 01:01:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:01:05 $ docker stop --time=1 bcba8ef616185255574029164273766b40417cbb36f5aa8aeef226cf53c5fec9 01:01:07 $ docker rm -f bcba8ef616185255574029164273766b40417cbb36f5aa8aeef226cf53c5fec9 [Pipeline] // withDockerContainer [Pipeline] sh 01:01:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:01:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 01:01:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:01:08 + ls -al . 01:01:08 total 168 01:01:08 drwxrwxr-x 9 jenkins jenkins 4096 May 10 01:01 . 01:01:08 drwxrwxr-x 4 jenkins jenkins 4096 May 10 00:59 .. 01:01:08 -rw-rw-r-- 1 jenkins jenkins 151 May 10 00:59 .dockerignore 01:01:08 drwxrwxr-x 8 jenkins jenkins 4096 May 10 01:00 .git 01:01:08 drwxrwxr-x 3 jenkins jenkins 4096 May 10 00:59 .github 01:01:08 -rw-rw-r-- 1 jenkins jenkins 329 May 10 00:59 .gitignore 01:01:08 -rw-rw-r-- 1 jenkins jenkins 41 May 10 00:59 .golangci.yml 01:01:08 drwxr-xr-x 3 jenkins jenkins 4096 May 10 01:00 .semver 01:01:08 -rw-rw-r-- 1 jenkins jenkins 8463 May 10 00:59 Attribution.txt 01:01:08 -rw-rw-r-- 1 jenkins jenkins 7459 May 10 00:59 CHANGELOG.md 01:01:08 -rw-rw-r-- 1 jenkins jenkins 1672 May 10 00:59 Dockerfile 01:01:08 -rw-rw-r-- 1 jenkins jenkins 677 May 10 00:59 GOVERNANCE.md 01:01:08 -rw-rw-r-- 1 jenkins jenkins 680 May 10 00:59 Jenkinsfile 01:01:08 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 00:59 LICENSE 01:01:08 -rw-rw-r-- 1 jenkins jenkins 1977 May 10 00:59 Makefile 01:01:08 -rw-rw-r-- 1 jenkins jenkins 620 May 10 00:59 OWNERS.md 01:01:08 -rw-rw-r-- 1 jenkins jenkins 8003 May 10 00:59 README.md 01:01:08 -rw-rw-r-- 1 jenkins jenkins 5 May 10 01:00 VERSION 01:01:08 drwxrwxr-x 2 jenkins jenkins 4096 May 10 00:59 bin 01:01:08 drwxrwxr-x 3 jenkins jenkins 4096 May 10 00:59 cmd 01:01:08 -rw-r--r-- 1 jenkins jenkins 9355 May 10 01:00 coverage.out 01:01:08 drwxrwxr-x 2 jenkins jenkins 4096 May 10 00:59 driver 01:01:08 -rw-rw-r-- 1 jenkins jenkins 3333 May 10 00:59 go.mod 01:01:08 -rw-rw-r-- 1 jenkins jenkins 35377 May 10 00:59 go.sum 01:01:08 drwxrwxr-x 3 jenkins jenkins 4096 May 10 00:59 snap 01:01:08 -rw-rw-r-- 1 jenkins jenkins 713 May 10 00:59 version.go [Pipeline] isUnix [Pipeline] sh 01:01:09 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=970cf146fa6a294cb89ac37a37482cebec6dc33c --label arch=amd64 --label version=0.0.0 . 01:01:09 Sending build context to Docker daemon 10.63MB 01:01:09 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 01:01:09 Step 2/25 : FROM ${BASE} AS builder 01:01:09 ---> 17aa40b2321b 01:01:09 Step 3/25 : ARG MAKE='make build' 01:01:09 ---> Running in aeecbef44c9c 01:01:09 Removing intermediate container aeecbef44c9c 01:01:09 ---> f2bb19f76dd0 01:01:09 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:01:09 ---> Running in f80c1bf4d91d 01:01:09 Removing intermediate container f80c1bf4d91d 01:01:09 ---> 358fb23ee872 01:01:09 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 01:01:10 ---> Running in ba072d4c0a41 01:01:10 Removing intermediate container ba072d4c0a41 01:01:10 ---> d724f0612d95 01:01:10 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:01:10 ---> Running in bcfc6cde0517 01:01:11 Removing intermediate container bcfc6cde0517 01:01:11 ---> ecf95d987771 01:01:11 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:01:11 ---> Running in 0cd3add75f43 01:01:11 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 01:01:12 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 01:01:12 OK: 224 MiB in 56 packages 01:01:12 Removing intermediate container 0cd3add75f43 01:01:12 ---> b8a435fadb8e 01:01:12 Step 8/25 : WORKDIR /device-rest-go 01:01:12 ---> Running in a590f4dd8423 01:01:12 Removing intermediate container a590f4dd8423 01:01:12 ---> 49c3fb17c211 01:01:12 Step 9/25 : COPY go.mod vendor* ./ 01:01:13 ---> 9c00c175fd6c 01:01:13 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:01:13 ---> Running in 972ead3cfb5d 01:01:13 Removing intermediate container 972ead3cfb5d 01:01:13 ---> c17960b47023 01:01:13 Step 11/25 : COPY . . 01:01:14 ---> ca052276c3c2 01:01:14 Step 12/25 : RUN $MAKE 01:01:14 ---> Running in 7d1bdf6eca31 01:01:14 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 01:01:36 Removing intermediate container 7d1bdf6eca31 01:01:36 ---> d356b7cf0df8 01:01:36 Step 13/25 : FROM alpine:3.14 01:01:36 3.14: Pulling from library/alpine 01:01:36 8663204ce13b: Pulling fs layer 01:01:36 8663204ce13b: Verifying Checksum 01:01:36 8663204ce13b: Download complete 01:01:36 8663204ce13b: Pull complete 01:01:36 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:01:36 Status: Downloaded newer image for alpine:3.14 01:01:36 ---> e04c818066af 01:01:36 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 01:01:36 ---> Running in 44a55212d496 01:01:36 Removing intermediate container 44a55212d496 01:01:36 ---> b31bf1bf0fa9 01:01:36 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 01:01:36 ---> Running in f02f2967d9b2 01:01:36 Removing intermediate container f02f2967d9b2 01:01:36 ---> f3f7cda0868a 01:01:36 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 01:01:36 ---> Running in 749a3bd71729 01:01:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 01:01:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 01:01:36 (1/6) Installing dumb-init (1.2.5-r1) 01:01:36 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:01:36 (3/6) Installing libsodium (1.0.18-r0) 01:01:36 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:01:36 (5/6) Installing libzmq (4.3.4-r0) 01:01:36 (6/6) Installing zeromq (4.3.4-r0) 01:01:36 Executing busybox-1.33.1-r7.trigger 01:01:36 OK: 8 MiB in 20 packages 01:01:36 Removing intermediate container 749a3bd71729 01:01:36 ---> a5eb776fc49f 01:01:36 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 01:01:36 ---> 30801db8f5e7 01:01:36 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 01:01:36 ---> 6c5e47a54c14 01:01:36 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 01:01:36 ---> 801780bd27c7 01:01:36 Step 20/25 : EXPOSE 59986 01:01:36 ---> Running in 7a0a879e5322 01:01:36 Removing intermediate container 7a0a879e5322 01:01:36 ---> 7c65c35c46d1 01:01:36 Step 21/25 : ENTRYPOINT ["/device-rest"] 01:01:36 ---> Running in 0b5441e5df81 01:01:36 Removing intermediate container 0b5441e5df81 01:01:36 ---> 639b08d54041 01:01:36 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 01:01:36 ---> Running in 24f68dd0f004 01:01:36 Removing intermediate container 24f68dd0f004 01:01:36 ---> 1c681f99629e 01:01:36 Step 23/25 : LABEL arch=amd64 01:01:36 ---> Running in 5997bb689b29 01:01:37 Removing intermediate container 5997bb689b29 01:01:37 ---> 0fa2018f05d4 01:01:37 Step 24/25 : LABEL git_sha=970cf146fa6a294cb89ac37a37482cebec6dc33c 01:01:37 ---> Running in d8ef0d2bc82b 01:01:37 Removing intermediate container d8ef0d2bc82b 01:01:37 ---> 40b0189d594f 01:01:37 Step 25/25 : LABEL version=0.0.0 01:01:37 ---> Running in 8f3c9fce63b7 01:01:37 Removing intermediate container 8f3c9fce63b7 01:01:37 ---> 423cd7a7fe54 01:01:37 [Warning] One or more build-args [ARCH] were not consumed 01:01:37 Successfully built 423cd7a7fe54 01:01:37 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 01:01:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:01:37 01:01:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 01:01:38 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:01:38 latest: Pulling from edgex-lftools-log-publisher 01:01:38 5eb5b503b376: Pulling fs layer 01:01:38 5c69ac0246d0: Pulling fs layer 01:01:38 ec43610c2a17: Pulling fs layer 01:01:38 3a2ae6a8a46f: Pulling fs layer 01:01:38 33b1e0a273af: Pulling fs layer 01:01:38 5d3b04190fa2: Pulling fs layer 01:01:38 2f39f015ded8: Pulling fs layer 01:01:38 33b1e0a273af: Waiting 01:01:38 5d3b04190fa2: Waiting 01:01:38 2f39f015ded8: Waiting 01:01:38 3a2ae6a8a46f: Waiting 01:01:38 5c69ac0246d0: Verifying Checksum 01:01:38 5c69ac0246d0: Download complete 01:01:38 3a2ae6a8a46f: Download complete 01:01:38 33b1e0a273af: Verifying Checksum 01:01:38 33b1e0a273af: Download complete 01:01:38 ec43610c2a17: Verifying Checksum 01:01:38 ec43610c2a17: Download complete 01:01:38 5d3b04190fa2: Download complete 01:01:38 5eb5b503b376: Verifying Checksum 01:01:38 5eb5b503b376: Download complete 01:01:39 2f39f015ded8: Download complete 01:01:40 5eb5b503b376: Pull complete 01:01:40 5c69ac0246d0: Pull complete 01:01:40 ec43610c2a17: Pull complete 01:01:40 3a2ae6a8a46f: Pull complete 01:01:40 33b1e0a273af: Pull complete 01:01:40 5d3b04190fa2: Pull complete 01:01:45 2f39f015ded8: Pull complete 01:01:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 01:01:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:01:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 01:01:45 prd-ubuntu20.04-docker-8c-8g-44807 does not seem to be running inside a container 01:01: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-187 -v /w/workspace/gexfoundry_device-rest-go_PR-187:/w/workspace/gexfoundry_device-rest-go_PR-187:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-187@tmp:/w/workspace/gexfoundry_device-rest-go_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:01:48 $ docker top a0a72369f7fcb1caeaeaec33a81e0a46cd715a00c703d929440a424285017211 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:01:48 ---> job-cost.sh 01:01:48 lf-activate-venv: SKIPPING 01:01:48 INFO: No Stack... 01:01:48 INFO: Retrieving Pricing Info for: v3-standard-8 01:01:49 INFO: Archiving Costs [Pipeline] sh 01:01:49 + cat /w/workspace/gexfoundry_device-rest-go_PR-187/archives/cost.csv 01:01:49 + cut -d, -f6 [Pipeline] lock 01:01:49 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-187-3-stack-cost] 01:01:49 Resource [jenkins-edgexfoundry-device-rest-go-PR-187-3-stack-cost] did not exist. Created. 01:01:49 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-187-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:01:50 + echo total: 0.2199999988079071 [Pipeline] stash 01:01:50 Stashed 1 file(s) [Pipeline] } 01:01:50 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-187-3-stack-cost] [Pipeline] // lock [Pipeline] } 01:01:50 $ docker stop --time=1 a0a72369f7fcb1caeaeaec33a81e0a46cd715a00c703d929440a424285017211 01:01:51 $ docker rm -f a0a72369f7fcb1caeaeaec33a81e0a46cd715a00c703d929440a424285017211 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 01:04:00 Running on prd-ubuntu20.04-docker-arm64-4c-16g-44808 in /w/workspace/gexfoundry_device-rest-go_PR-187 [Pipeline] { [Pipeline] ws 01:04:00 Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout 01:04:01 The recommended git tool is: git 01:04:08 using credential edgex-jenkins-ssh 01:04:08 Cloning the remote Git repository 01:04:08 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 01:04:08 > git init /w/workspace/device-rest-go/3 # timeout=10 01:04:08 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:04:08 > git --version # timeout=10 01:04:08 > git --version # 'git version 2.25.1' 01:04:08 using GIT_SSH to set credentials SSH Credentials for GitHub 01:04:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 01:04:10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:04:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 01:04:10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 01:04:10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 01:04:10 using GIT_SSH to set credentials SSH Credentials for GitHub 01:04:11 Merging remotes/origin/main commit 1b7989097685cbbb7d11325d5e96f20d406e46c7 into PR head commit 970cf146fa6a294cb89ac37a37482cebec6dc33c 01:04:11 Merge succeeded, producing 970cf146fa6a294cb89ac37a37482cebec6dc33c 01:04:11 Checking out Revision 970cf146fa6a294cb89ac37a37482cebec6dc33c (PR-187) 01:04:10 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/187/head:refs/remotes/origin/PR-187 +refs/heads/main:refs/remotes/origin/main # timeout=10 01:04:11 > git config core.sparsecheckout # timeout=10 01:04:11 > git checkout -f 970cf146fa6a294cb89ac37a37482cebec6dc33c # timeout=10 01:04:11 > git remote # timeout=10 01:04:11 > git config --get remote.origin.url # timeout=10 01:04:11 using GIT_SSH to set credentials SSH Credentials for GitHub 01:04:11 > git merge 1b7989097685cbbb7d11325d5e96f20d406e46c7 # timeout=10 01:04:11 > git rev-parse HEAD^{commit} # timeout=10 01:04:11 > git config core.sparsecheckout # timeout=10 01:04:11 > git checkout -f 970cf146fa6a294cb89ac37a37482cebec6dc33c # timeout=10 01:04:15 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 01:04:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 01:04:17 % Total % Received % Xferd Average Speed Time Time Time Current 01:04:17 Dload Upload Total Spent Left Speed 01:04:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 91806 0 --:--:-- --:--:-- --:--:-- 92523 [Pipeline] sh 01:04:18 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 01:04:18 + sudo tee /etc/docker/daemon.new 01:04:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 01:04:18 { 01:04:18 "registry-mirrors": [ 01:04:18 "https://nexus3.edgexfoundry.org:10001" 01:04:18 ], 01:04:18 "bip": "10.250.0.254/24", 01:04:18 "hosts": [ 01:04:18 "tcp://0.0.0.0:5555", 01:04:18 "unix:///var/run/docker.sock" 01:04:18 ], 01:04:18 "mtu": 1458, 01:04:18 "selinux-enabled": true, 01:04:18 "seccomp-profile": "/etc/docker/seccomp.json" 01:04:18 } [Pipeline] sh 01:04:19 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 01:04:19 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:04:37 provisioning config files... 01:04:37 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config4264321447436157639tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:04:38 ---> docker-login.sh 01:04:38 nexus3.edgexfoundry.org:10001 01:04:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:39 Configure a credential helper to remove this warning. See 01:04:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:39 01:04:39 Login Succeeded 01:04:39 nexus3.edgexfoundry.org:10002 01:04:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:39 Configure a credential helper to remove this warning. See 01:04:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:39 01:04:39 Login Succeeded 01:04:39 nexus3.edgexfoundry.org:10003 01:04:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:40 Configure a credential helper to remove this warning. See 01:04:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:40 01:04:40 Login Succeeded 01:04:40 nexus3.edgexfoundry.org:10004 01:04:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:40 Configure a credential helper to remove this warning. See 01:04:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:40 01:04:40 Login Succeeded 01:04:40 docker.io 01:04:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 01:04:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 01:04:41 Configure a credential helper to remove this warning. See 01:04:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 01:04:41 01:04:41 Login Succeeded 01:04:41 ---> docker-login.sh ends [Pipeline] } 01:04:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 01:04:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 01:04:41 ========================================================= 01:04:41 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 01:04:41 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 01:04:42 + 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 . 01:04:42 Sending build context to Docker daemon 124.4kB 01:04:42 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 01:04:42 Step 2/12 : FROM ${BASE} AS builder 01:04:42 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 01:04:42 9b3977197b4f: Pulling fs layer 01:04:42 1a89e8eeedd5: Pulling fs layer 01:04:42 94645a83ff95: Pulling fs layer 01:04:42 3f3a8bcf1eab: Pulling fs layer 01:04:42 0c92f367c5e7: Pulling fs layer 01:04:42 3096ccb668a1: Pulling fs layer 01:04:42 e8cf19c19ddd: Pulling fs layer 01:04:42 a4caa8a26152: Pulling fs layer 01:04:42 0c92f367c5e7: Waiting 01:04:42 3096ccb668a1: Waiting 01:04:42 e8cf19c19ddd: Waiting 01:04:42 a4caa8a26152: Waiting 01:04:42 94645a83ff95: Verifying Checksum 01:04:42 94645a83ff95: Download complete 01:04:42 1a89e8eeedd5: Verifying Checksum 01:04:42 1a89e8eeedd5: Download complete 01:04:42 0c92f367c5e7: Verifying Checksum 01:04:42 0c92f367c5e7: Download complete 01:04:42 3096ccb668a1: Verifying Checksum 01:04:42 3096ccb668a1: Download complete 01:04:42 9b3977197b4f: Verifying Checksum 01:04:42 9b3977197b4f: Download complete 01:04:42 e8cf19c19ddd: Download complete 01:04:43 9b3977197b4f: Pull complete 01:04:44 1a89e8eeedd5: Pull complete 01:04:44 94645a83ff95: Pull complete 01:04:44 a4caa8a26152: Verifying Checksum 01:04:44 a4caa8a26152: Download complete 01:04:45 3f3a8bcf1eab: Verifying Checksum 01:04:45 3f3a8bcf1eab: Download complete 01:04:57 3f3a8bcf1eab: Pull complete 01:04:57 0c92f367c5e7: Pull complete 01:04:57 3096ccb668a1: Pull complete 01:04:57 e8cf19c19ddd: Pull complete 01:05:04 a4caa8a26152: Pull complete 01:05:04 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 01:05:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 01:05:04 ---> 725f1c02e7f9 01:05:04 Step 3/12 : ARG MAKE='make build' 01:05:04 ---> Running in 89b819fda340 01:05:04 Removing intermediate container 89b819fda340 01:05:04 ---> bbffa8f48333 01:05:04 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:05:04 ---> Running in 0ecd72c1331a 01:05:04 Removing intermediate container 0ecd72c1331a 01:05:04 ---> 5b5bba8e5c99 01:05:04 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 01:05:05 ---> Running in 3e21398460c3 01:05:05 Removing intermediate container 3e21398460c3 01:05:05 ---> 899a35bafd48 01:05:05 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:05:05 ---> Running in 4364cfcbabbe 01:05:07 Removing intermediate container 4364cfcbabbe 01:05:07 ---> 97e01aa3a621 01:05:07 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:05:07 ---> Running in 464a5d6c70ce 01:05:08 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:05:09 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:05:10 (1/4) Installing openssh-keygen (8.8_p1-r1) 01:05:10 (2/4) Installing libedit (20210910.3.1-r0) 01:05:10 (3/4) Installing openssh-client-common (8.8_p1-r1) 01:05:10 (4/4) Installing openssh-client-default (8.8_p1-r1) 01:05:10 Executing busybox-1.34.1-r3.trigger 01:05:10 OK: 224 MiB in 56 packages 01:05:11 Removing intermediate container 464a5d6c70ce 01:05:11 ---> 0e3421bfa1e1 01:05:11 Step 8/12 : WORKDIR /device-rest-go 01:05:11 ---> Running in 86e31e0f7a15 01:05:11 Removing intermediate container 86e31e0f7a15 01:05:11 ---> 8262d6fb1653 01:05:11 Step 9/12 : COPY go.mod vendor* ./ 01:05:12 ---> 3550ceb048d5 01:05:12 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:05:12 ---> Running in 3a457fd826c1 01:05:59 Removing intermediate container 3a457fd826c1 01:05:59 ---> a5f336bfe84f 01:05:59 Step 11/12 : COPY . . 01:05:59 ---> 1814994c2389 01:05:59 Step 12/12 : RUN $MAKE 01:05:59 ---> Running in 53b3903dd400 01:05:59 noop 01:05:59 Removing intermediate container 53b3903dd400 01:05:59 ---> db799d4c6a99 01:05:59 Successfully built db799d4c6a99 01:05:59 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 01:05:59 + docker inspect -f . ci-base-image-arm64 01:05:59 . [Pipeline] withDockerContainer 01:05:59 prd-ubuntu20.04-docker-arm64-4c-16g-44808 does not seem to be running inside a container 01:05:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:06:01 $ docker top 5de8c7a87ba23527a4f6ef60521c2efb0dd3c8a192d2cccb7e2088c537cbe202 -eo pid,comm [Pipeline] { [Pipeline] sh 01:06:02 + go version 01:06:02 go version go1.17.6 linux/arm64 [Pipeline] } 01:06:02 $ docker stop --time=1 5de8c7a87ba23527a4f6ef60521c2efb0dd3c8a192d2cccb7e2088c537cbe202 01:06:03 $ docker rm -f 5de8c7a87ba23527a4f6ef60521c2efb0dd3c8a192d2cccb7e2088c537cbe202 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 01:06:04 + docker inspect -f . ci-base-image-arm64 01:06:04 . [Pipeline] withDockerContainer 01:06:04 prd-ubuntu20.04-docker-arm64-4c-16g-44808 does not seem to be running inside a container 01:06:04 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 01:06:05 $ docker top 19bdf5b68aff0b22a2d49f0ffcf3e60480d441e2b9e5a0122f2eb32ee8d968b9 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 01:06:06 + make test 01:06:06 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 01:06:08 ? github.com/edgexfoundry/device-rest-go [no test files] 01:07:30 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 01:07:30 ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 55.2% of statements 01:07:30 WARNING: Linting skipped (not on x86_64 or linter not installed) 01:07:30 CGO_ENABLED=1 GO111MODULE=on go vet ./... 01:07:57 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 01:07:57 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 01:07:57 ./bin/test-attribution-txt.sh [Pipeline] echo 01:07:57 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 01:07:57 $ docker stop --time=1 19bdf5b68aff0b22a2d49f0ffcf3e60480d441e2b9e5a0122f2eb32ee8d968b9 01:07:58 $ docker rm -f 19bdf5b68aff0b22a2d49f0ffcf3e60480d441e2b9e5a0122f2eb32ee8d968b9 [Pipeline] // withDockerContainer [Pipeline] sh 01:07:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 01:07:59 Warning: overwriting stash ‘coverage-report’ 01:08:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 01:08:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 01:08:01 + ls -al . 01:08:01 total 164 01:08:01 drwxrwxr-x 8 jenkins jenkins 4096 May 10 01:07 . 01:08:01 drwxrwxr-x 4 jenkins jenkins 4096 May 10 01:04 .. 01:08:01 -rw-rw-r-- 1 jenkins jenkins 151 May 10 01:04 .dockerignore 01:08:01 drwxrwxr-x 8 jenkins jenkins 4096 May 10 01:04 .git 01:08:01 drwxrwxr-x 3 jenkins jenkins 4096 May 10 01:04 .github 01:08:01 -rw-rw-r-- 1 jenkins jenkins 329 May 10 01:04 .gitignore 01:08:01 -rw-rw-r-- 1 jenkins jenkins 41 May 10 01:04 .golangci.yml 01:08:01 -rw-rw-r-- 1 jenkins jenkins 8463 May 10 01:04 Attribution.txt 01:08:01 -rw-rw-r-- 1 jenkins jenkins 7459 May 10 01:04 CHANGELOG.md 01:08:01 -rw-rw-r-- 1 jenkins jenkins 1672 May 10 01:04 Dockerfile 01:08:01 -rw-rw-r-- 1 jenkins jenkins 677 May 10 01:04 GOVERNANCE.md 01:08:01 -rw-rw-r-- 1 jenkins jenkins 680 May 10 01:04 Jenkinsfile 01:08:01 -rw-rw-r-- 1 jenkins jenkins 11340 May 10 01:04 LICENSE 01:08:01 -rw-rw-r-- 1 jenkins jenkins 1977 May 10 01:04 Makefile 01:08:01 -rw-rw-r-- 1 jenkins jenkins 620 May 10 01:04 OWNERS.md 01:08:01 -rw-rw-r-- 1 jenkins jenkins 8003 May 10 01:04 README.md 01:08:01 -rw-rw-r-- 1 jenkins jenkins 5 May 10 01:00 VERSION 01:08:01 drwxrwxr-x 2 jenkins jenkins 4096 May 10 01:04 bin 01:08:01 drwxrwxr-x 3 jenkins jenkins 4096 May 10 01:04 cmd 01:08:01 -rw-r--r-- 1 jenkins jenkins 9355 May 10 01:07 coverage.out 01:08:01 drwxrwxr-x 2 jenkins jenkins 4096 May 10 01:04 driver 01:08:01 -rw-rw-r-- 1 jenkins jenkins 3333 May 10 01:04 go.mod 01:08:01 -rw-rw-r-- 1 jenkins jenkins 35377 May 10 01:04 go.sum 01:08:01 drwxrwxr-x 3 jenkins jenkins 4096 May 10 01:04 snap 01:08:01 -rw-rw-r-- 1 jenkins jenkins 713 May 10 01:04 version.go [Pipeline] isUnix [Pipeline] sh 01:08:01 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=970cf146fa6a294cb89ac37a37482cebec6dc33c --label arch=arm64 --label version=0.0.0 . 01:08:01 Sending build context to Docker daemon 134.7kB 01:08:01 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 01:08:01 Step 2/25 : FROM ${BASE} AS builder 01:08:01 ---> db799d4c6a99 01:08:01 Step 3/25 : ARG MAKE='make build' 01:08:01 ---> Running in bfc3cb4879ea 01:08:02 Removing intermediate container bfc3cb4879ea 01:08:02 ---> 833e2ca64cf5 01:08:02 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 01:08:02 ---> Running in 0ad18b2e72cf 01:08:02 Removing intermediate container 0ad18b2e72cf 01:08:02 ---> 3345708ee79b 01:08:02 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 01:08:02 ---> Running in 507d0c566596 01:08:02 Removing intermediate container 507d0c566596 01:08:02 ---> d3cf183dc68b 01:08:02 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 01:08:02 ---> Running in fd035721d187 01:08:04 Removing intermediate container fd035721d187 01:08:04 ---> c1871a7a91b7 01:08:04 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 01:08:04 ---> Running in 5518a8109573 01:08:05 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 01:08:06 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 01:08:07 OK: 224 MiB in 56 packages 01:08:08 Removing intermediate container 5518a8109573 01:08:08 ---> 205f637767fb 01:08:08 Step 8/25 : WORKDIR /device-rest-go 01:08:08 ---> Running in 2a248e4b06ff 01:08:08 Removing intermediate container 2a248e4b06ff 01:08:08 ---> bfc551c90e71 01:08:08 Step 9/25 : COPY go.mod vendor* ./ 01:08:09 ---> b62caa273daf 01:08:09 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 01:08:09 ---> Running in 76d30dd1a59b 01:08:11 Removing intermediate container 76d30dd1a59b 01:08:11 ---> eca58c111c15 01:08:11 Step 11/25 : COPY . . 01:08:11 ---> bb72e5947a06 01:08:11 Step 12/25 : RUN $MAKE 01:08:11 ---> Running in b765d33a1f41 01:08: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 01:10:19 Removing intermediate container b765d33a1f41 01:10:19 ---> cc10d6a5a896 01:10:19 Step 13/25 : FROM alpine:3.14 01:10:19 3.14: Pulling from library/alpine 01:10:19 455c02918c45: Pulling fs layer 01:10:19 455c02918c45: Download complete 01:10:19 455c02918c45: Pull complete 01:10:19 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 01:10:19 Status: Downloaded newer image for alpine:3.14 01:10:19 ---> ac73e934f311 01:10:19 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 01:10:19 ---> Running in 80d7f89174a9 01:10:19 Removing intermediate container 80d7f89174a9 01:10:19 ---> dbb602cd7a1f 01:10:19 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 01:10:19 ---> Running in 0470f380caa9 01:10:19 Removing intermediate container 0470f380caa9 01:10:19 ---> 5285970c5adb 01:10:19 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 01:10:19 ---> Running in f8ca5cfa69c9 01:10:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 01:10:19 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 01:10:19 (1/6) Installing dumb-init (1.2.5-r1) 01:10:19 (2/6) Installing libgcc (10.3.1_git20210424-r2) 01:10:19 (3/6) Installing libsodium (1.0.18-r0) 01:10:19 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 01:10:20 (5/6) Installing libzmq (4.3.4-r0) 01:10:20 (6/6) Installing zeromq (4.3.4-r0) 01:10:20 Executing busybox-1.33.1-r7.trigger 01:10:20 OK: 8 MiB in 20 packages 01:10:21 Removing intermediate container f8ca5cfa69c9 01:10:21 ---> be2f3c5df428 01:10:21 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 01:10:22 ---> 228fab967e2b 01:10:22 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 01:10:23 ---> 1ef83aa87d45 01:10:23 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 01:10:23 ---> 15858fc83604 01:10:23 Step 20/25 : EXPOSE 59986 01:10:23 ---> Running in f4b5ac0189fb 01:10:24 Removing intermediate container f4b5ac0189fb 01:10:24 ---> 99fbe66ffd79 01:10:24 Step 21/25 : ENTRYPOINT ["/device-rest"] 01:10:24 ---> Running in 423b3057fc2a 01:10:24 Removing intermediate container 423b3057fc2a 01:10:24 ---> caf7344390d0 01:10:24 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 01:10:24 ---> Running in d917f072d064 01:10:24 Removing intermediate container d917f072d064 01:10:24 ---> cea249946af1 01:10:24 Step 23/25 : LABEL arch=arm64 01:10:25 ---> Running in a2dbd8390700 01:10:25 Removing intermediate container a2dbd8390700 01:10:25 ---> 3b615dd42aad 01:10:25 Step 24/25 : LABEL git_sha=970cf146fa6a294cb89ac37a37482cebec6dc33c 01:10:25 ---> Running in 7923d801cb53 01:10:25 Removing intermediate container 7923d801cb53 01:10:25 ---> 59a35b9381c3 01:10:25 Step 25/25 : LABEL version=0.0.0 01:10:26 ---> Running in e4088fc8eb1a 01:10:26 Removing intermediate container e4088fc8eb1a 01:10:26 ---> 634cdfa510af 01:10:26 [Warning] One or more build-args [ARCH] were not consumed 01:10:26 Successfully built 634cdfa510af 01:10:26 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 01:10:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:10:26 01:10:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 01:10:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:10:27 arm64: Pulling from edgex-lftools-log-publisher 01:10:27 8998bd30e6a1: Pulling fs layer 01:10:27 04944245beec: Pulling fs layer 01:10:27 699f458cf7ca: Pulling fs layer 01:10:27 765212b225bb: Pulling fs layer 01:10:27 f23df028b6ca: Pulling fs layer 01:10:27 d65c8cfc05b1: Pulling fs layer 01:10:27 2437ff75d9bd: Pulling fs layer 01:10:27 d65c8cfc05b1: Waiting 01:10:27 765212b225bb: Waiting 01:10:27 f23df028b6ca: Waiting 01:10:27 2437ff75d9bd: Waiting 01:10:27 04944245beec: Verifying Checksum 01:10:27 04944245beec: Download complete 01:10:27 765212b225bb: Verifying Checksum 01:10:27 765212b225bb: Download complete 01:10:27 f23df028b6ca: Verifying Checksum 01:10:27 f23df028b6ca: Download complete 01:10:27 d65c8cfc05b1: Verifying Checksum 01:10:27 d65c8cfc05b1: Download complete 01:10:27 699f458cf7ca: Verifying Checksum 01:10:27 699f458cf7ca: Download complete 01:10:27 8998bd30e6a1: Verifying Checksum 01:10:27 8998bd30e6a1: Download complete 01:10:30 2437ff75d9bd: Verifying Checksum 01:10:30 2437ff75d9bd: Download complete 01:10:32 8998bd30e6a1: Pull complete 01:10:32 04944245beec: Pull complete 01:10:34 699f458cf7ca: Pull complete 01:10:34 765212b225bb: Pull complete 01:10:35 f23df028b6ca: Pull complete 01:10:35 d65c8cfc05b1: Pull complete 01:10:50 2437ff75d9bd: Pull complete 01:10:50 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 01:10:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 01:10:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 01:10:51 prd-ubuntu20.04-docker-arm64-4c-16g-44808 does not seem to be running inside a container 01:10:51 $ 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/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 01:10:53 $ docker top 35d87c6f019b09243882eba5821c530cdcb11f5e533395496792818a1e4d0651 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 01:10:54 ---> job-cost.sh 01:10:54 lf-activate-venv: SKIPPING 01:10:54 INFO: No Stack... 01:10:55 INFO: Retrieving Pricing Info for: v3-standard-4 01:10:56 INFO: Archiving Costs [Pipeline] sh 01:10:56 + cat /w/workspace/device-rest-go/3/archives/cost.csv 01:10:56 + cut -d, -f6 [Pipeline] lock 01:10:56 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-187-3-stack-cost] 01:10:56 Resource [jenkins-edgexfoundry-device-rest-go-PR-187-3-stack-cost] did not exist. Created. 01:10:56 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-187-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 01:10:57 /w/workspace/device-rest-go/3@tmp/durable-5f0de34c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 01:10:58 + echo total: 0.10999999940395355 [Pipeline] stash 01:10:58 Warning: overwriting stash ‘stack-cost’ 01:10:58 Stashed 1 file(s) [Pipeline] } 01:10:58 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-187-3-stack-cost] [Pipeline] // lock [Pipeline] } 01:10:58 $ docker stop --time=1 35d87c6f019b09243882eba5821c530cdcb11f5e533395496792818a1e4d0651 01:10:59 $ docker rm -f 35d87c6f019b09243882eba5821c530cdcb11f5e533395496792818a1e4d0651 [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 01:11:00 provisioning config files... 01:11:00 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-187@tmp/config4168897759299841161tmp [Pipeline] { [Pipeline] sh 01:11:00 + set +x 01:11:00 + curl -s https://codecov.io/bash 01:11:00 + bash -s -- 01:11:00 01:11:00 _____ _ 01:11:00 / ____| | | 01:11:00 | | ___ __| | ___ ___ _____ __ 01:11:00 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 01:11:00 | |___| (_) | (_| | __/ (_| (_) \ V / 01:11:00 \_____\___/ \__,_|\___|\___\___/ \_/ 01:11:00 Bash-1.0.6 01:11:00 01:11:00 01:11:00 ==> git version 2.25.1 found 01:11:00 ==> 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 01:11:00 Release-Date: 2020-01-08 01:11:00 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 01:11:00 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 01:11:00 ==> Jenkins CI detected. 01:11:00 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-187 01:11:00 project root: . 01:11:00 --> token set from env 01:11:00 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 01:11:00 ==> Running gcov in . (disable via -X gcov) 01:11:00 ==> Python coveragepy not found 01:11:00 ==> Searching for coverage reports in: 01:11:00 + . 01:11:00 -> Found 1 reports 01:11:00 ==> Detecting git/mercurial file structure 01:11:00 ==> Reading reports 01:11:00 + ./coverage.out bytes=9355 01:11:00 ==> Appending adjustments 01:11:00 https://docs.codecov.io/docs/fixing-reports 01:11:00 + Found adjustments 01:11:00 ==> Gzipping contents 01:11:00 4.0K /tmp/codecov.HzJhcN.gz 01:11:00 ==> Uploading reports 01:11:00 url: https://codecov.io 01:11:00 query: branch=PR-187&commit=970cf146fa6a294cb89ac37a37482cebec6dc33c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-187%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=187&job=&cmd_args= 01:11:00 -> Pinging Codecov 01:11:00 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-187&commit=970cf146fa6a294cb89ac37a37482cebec6dc33c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-187%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=187&job=&cmd_args= 01:11:01 -> Uploading to 01:11:01 https://storage.googleapis.com/codecov/v4/raw/2022-05-10/4E5D53B4F1F92C436F7061BF334D961C/970cf146fa6a294cb89ac37a37482cebec6dc33c/6ab294cc-8a78-4290-8ddb-1ee25b0a6ebe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220510T011100Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d0d6d95d7204a23c7ec57a9674a08d6ccec7017d142bd0045fa90b853f3eaede 01:11:01 % Total % Received % Xferd Average Speed Time Time Time Current 01:11:01 Dload Upload Total Spent Left Speed 01:11:01 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 8135 --:--:-- --:--:-- --:--:-- 8098 100 1806 0 0 100 1806 0 6688 --:--:-- --:--:-- --:--:-- 6664 01:11:01 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/970cf146fa6a294cb89ac37a37482cebec6dc33c [Pipeline] } 01:11:01 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 01:11:02 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-187/archives ] 01:11:02 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-187/archives 01:11:02 total 16 01:11:02 drwxr-xr-x 3 root root 4096 May 10 01:01 . 01:11:02 drwxrwxr-x 10 jenkins jenkins 4096 May 10 01:01 .. 01:11:02 drwxr-xr-x 2 root root 4096 May 10 01:01 cost 01:11:02 -rw-r--r-- 1 root root 85 May 10 01:01 cost.csv 01:11:02 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-187/archives 01:11:02 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-187/archives 01:11:02 total 16 01:11:02 drwxr-xr-x 3 jenkins jenkins 4096 May 10 01:01 . 01:11:02 drwxrwxr-x 10 jenkins jenkins 4096 May 10 01:01 .. 01:11:02 drwxr-xr-x 2 jenkins jenkins 4096 May 10 01:01 cost 01:11:02 -rw-r--r-- 1 jenkins jenkins 85 May 10 01:01 cost.csv [Pipeline] libraryResource [Pipeline] sh 01:11:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 01:11:03 ---> package-listing.sh 01:11:03 ++ facter osfamily 01:11:03 ++ tr '[:upper:]' '[:lower:]' 01:11:03 + OS_FAMILY=debian 01:11:03 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-187 01:11:03 + START_PACKAGES=/tmp/packages_start.txt 01:11:03 + END_PACKAGES=/tmp/packages_end.txt 01:11:03 + DIFF_PACKAGES=/tmp/packages_diff.txt 01:11:03 + PACKAGES=/tmp/packages_start.txt 01:11:03 + '[' /w/workspace/gexfoundry_device-rest-go_PR-187 ']' 01:11:03 + PACKAGES=/tmp/packages_end.txt 01:11:03 + case "${OS_FAMILY}" in 01:11:03 + dpkg -l 01:11:03 + grep '^ii' 01:11:03 + '[' -f /tmp/packages_start.txt ']' 01:11:03 + '[' -f /tmp/packages_end.txt ']' 01:11:03 + diff /tmp/packages_start.txt /tmp/packages_end.txt 01:11:03 + '[' /w/workspace/gexfoundry_device-rest-go_PR-187 ']' 01:11:03 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-187/archives/ 01:11:03 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-187/archives/ [Pipeline] echo 01:11:03 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-187/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 01:11:03 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 01:11:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 01:11:04 . [Pipeline] withDockerContainer 01:11:04 prd-ubuntu20.04-docker-8c-8g-44807 does not seem to be running inside a container 01:11:04 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-187/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-187 -v /w/workspace/gexfoundry_device-rest-go_PR-187:/w/workspace/gexfoundry_device-rest-go_PR-187:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-187@tmp:/w/workspace/gexfoundry_device-rest-go_PR-187@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 01:11:04 $ docker top 05f54c2cd17be8b3161792d02fd346869b50a8f3b65c2c41a67159c91b6f86ea -eo pid,comm [Pipeline] { [Pipeline] sh 01:11:05 + touch /tmp/pre-build-complete [Pipeline] sh 01:11:05 + mkdir -p /var/log/sysstat [Pipeline] sh 01:11:05 + ls /var/log/sa-host 01:11:05 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 01:11:06 provisioning config files... 01:11:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-187@tmp/config471060446475325889tmp [Pipeline] { [Pipeline] echo 01:11:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 01:11:06 ---> create-netrc.sh [Pipeline] } 01:11:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 01:11:06 ---> python-tools-install.sh [Pipeline] echo 01:11:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 01:11:06 ---> sudo-logs.sh 01:11:06 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 01:11:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 01:11:07 ---> job-cost.sh 01:11:07 lf-activate-venv: SKIPPING 01:11:07 DEBUG: total: 0.2199999988079071 01:11:07 INFO: Retrieving Stack Cost... 01:11:07 INFO: Retrieving Pricing Info for: v3-standard-8 01:11:08 INFO: Archiving Costs [Pipeline] echo 01:11:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 01:11:08 ---> logs-deploy.sh 01:11:08 lf-activate-venv: SKIPPING 01:11:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-187/3 01:11:08 INFO: archiving workspace using pattern(s): 01:11:09 Archives upload complete. 01:11:09 INFO: archiving logs to Nexus