Branch indexing Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7cae7b1f58b74971914cd61c53ee135eddaf8249+9b53a838cf715098176e329c4fd19d0f7ded052f (caba23ef965e3dca246112157224b9731510ff9e) 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-ssh17594753439410265084.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-ssh85137303140074014.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 95c76d14630896f3c9cf825147e1b1e2bad20cbb 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-186/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-186/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh12865558029175356364.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 95c76d14630896f3c9cf825147e1b1e2bad20cbb (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 95c76d14630896f3c9cf825147e1b1e2bad20cbb # timeout=10 Commit message: "Merge pull request #387 from ernestojeda/disable-concurrent-builds" > 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-ssh13527454891605568562.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-186/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-186/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh12663321068819211008.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.17 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-63038 in /w/workspace/gexfoundry_device-rest-go_PR-186 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-186 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Merging remotes/origin/main commit 9b53a838cf715098176e329c4fd19d0f7ded052f into PR head commit 7cae7b1f58b74971914cd61c53ee135eddaf8249 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/186/head:refs/remotes/origin/PR-186 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 7cae7b1f58b74971914cd61c53ee135eddaf8249 # timeout=10 > git remote # timeout=10 Merge succeeded, producing a707ba172b9c2d3ea21e0fee90480c085186d301 Checking out Revision a707ba172b9c2d3ea21e0fee90480c085186d301 (PR-186) > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge 9b53a838cf715098176e329c4fd19d0f7ded052f # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f a707ba172b9c2d3ea21e0fee90480c085186d301 # timeout=10 Commit message: "Merge commit '9b53a838cf715098176e329c4fd19d0f7ded052f' into HEAD" > git rev-list --no-walk 7cae7b1f58b74971914cd61c53ee135eddaf8249 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:07:25 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:07:26 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:07:26 ========================================================= 03:07:26 EdgeX Global Pipelines Version Info 03:07:26 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:07:26 ------------------- 03:07:26 stable info: 03:07:26 ------------------- 03:07:26 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:07:26 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 03:07:26 Message: update stable to v1.0.230 03:07:27 ------------------- 03:07:27 experimental info: 03:07:27 ------------------- 03:07:27 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:07:27 Commit SHA: 95c76d14630896f3c9cf825147e1b1e2bad20cbb 03:07:27 Message: update experimental to v1.0.230 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:07:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:07:28 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:07:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-186 [Pipeline] echo 03:07:28 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-186 [Pipeline] echo 03:07:28 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-186 [Pipeline] echo 03:07:28 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a707ba172b9c2d3ea21e0fee90480c085186d301 [Pipeline] echo 03:07:28 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a707ba1 [Pipeline] echo 03:07:28 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:07:28 provisioning config files... 03:07:28 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-186@tmp/config3253382690844957916tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:07:28 ---> docker-login.sh 03:07:28 nexus3.edgexfoundry.org:10001 03:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:07:29 Configure a credential helper to remove this warning. See 03:07:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:07:29 03:07:29 Login Succeeded 03:07:29 nexus3.edgexfoundry.org:10002 03:07:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:07:29 Configure a credential helper to remove this warning. See 03:07:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:07:29 03:07:29 Login Succeeded 03:07:29 nexus3.edgexfoundry.org:10003 03:07:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:07:29 Configure a credential helper to remove this warning. See 03:07:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:07:29 03:07:29 Login Succeeded 03:07:29 nexus3.edgexfoundry.org:10004 03:07:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:07:29 Configure a credential helper to remove this warning. See 03:07:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:07:29 03:07:29 Login Succeeded 03:07:29 docker.io 03:07:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:07:29 Configure a credential helper to remove this warning. See 03:07:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:07:29 03:07:29 Login Succeeded 03:07:29 ---> docker-login.sh ends [Pipeline] } 03:07:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:07:30 + git rev-list -1 --merges a707ba172b9c2d3ea21e0fee90480c085186d301~1..a707ba172b9c2d3ea21e0fee90480c085186d301 [Pipeline] echo 03:07:30 -----------> git rev-list -1 --merges a707ba172b9c2d3ea21e0fee90480c085186d301~1..a707ba172b9c2d3ea21e0fee90480c085186d301 a707ba172b9c2d3ea21e0fee90480c085186d301 03:07:30 a707ba172b9c2d3ea21e0fee90480c085186d301 [false] [Pipeline] sh 03:07:30 + git log --format=format:%s -1 a707ba172b9c2d3ea21e0fee90480c085186d301 [Pipeline] echo 03:07:30 ========================================================= 03:07:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:07:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:07:30 + git log --format=format:%s -1 a707ba172b9c2d3ea21e0fee90480c085186d301 [Pipeline] echo 03:07:31 [semverPrep] GIT_COMMIT: a707ba172b9c2d3ea21e0fee90480c085186d301, Commit Message: Merge commit '9b53a838cf715098176e329c4fd19d0f7ded052f' into HEAD [Pipeline] echo 03:07:31 [semverPrep] This is not a build commit. [Pipeline] sh 03:07:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:07:31 + grep -v github /etc/ssh/ssh_known_hosts 03:07:31 + [ -e /tmp/ssh_known_hosts ] 03:07:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:07:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:07:31 + sudo tee -a /etc/ssh/ssh_known_hosts 03:07:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 03:07:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 03:07:32 03:07:32 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] isUnix [Pipeline] sh 03:07:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 03:07:32 latest: Pulling from edgex-devops/py-git-semver 03:07:32 1fe172e4850f: Pulling fs layer 03:07:32 caf521ccaac6: Pulling fs layer 03:07:32 3ead6fa29328: Pulling fs layer 03:07:32 5c2a1cbceb83: Pulling fs layer 03:07:32 a8d5f1318db7: Pulling fs layer 03:07:32 c427282e49a2: Pulling fs layer 03:07:32 1827001aaf11: Pulling fs layer 03:07:32 0714d37db230: Pulling fs layer 03:07:32 ac28cf19c067: Pulling fs layer 03:07:32 ca983d60f3e2: Pulling fs layer 03:07:32 9f894cec8388: Pulling fs layer 03:07:32 a8d5f1318db7: Waiting 03:07:32 ac28cf19c067: Waiting 03:07:32 c427282e49a2: Waiting 03:07:32 1827001aaf11: Waiting 03:07:32 ca983d60f3e2: Waiting 03:07:32 9f894cec8388: Waiting 03:07:32 5c2a1cbceb83: Waiting 03:07:32 0714d37db230: Waiting 03:07:32 caf521ccaac6: Download complete 03:07:32 5c2a1cbceb83: Verifying Checksum 03:07:32 5c2a1cbceb83: Download complete 03:07:32 a8d5f1318db7: Download complete 03:07:32 3ead6fa29328: Verifying Checksum 03:07:32 3ead6fa29328: Download complete 03:07:32 c427282e49a2: Verifying Checksum 03:07:32 c427282e49a2: Download complete 03:07:32 0714d37db230: Download complete 03:07:32 ac28cf19c067: Download complete 03:07:32 ca983d60f3e2: Verifying Checksum 03:07:32 ca983d60f3e2: Download complete 03:07:32 9f894cec8388: Download complete 03:07:32 1fe172e4850f: Verifying Checksum 03:07:32 1fe172e4850f: Download complete 03:07:33 1827001aaf11: Verifying Checksum 03:07:33 1827001aaf11: Download complete 03:07:34 1fe172e4850f: Pull complete 03:07:34 caf521ccaac6: Pull complete 03:07:34 3ead6fa29328: Pull complete 03:07:34 5c2a1cbceb83: Pull complete 03:07:34 a8d5f1318db7: Pull complete 03:07:34 c427282e49a2: Pull complete 03:07:36 1827001aaf11: Pull complete 03:07:36 0714d37db230: Pull complete 03:07:37 ac28cf19c067: Pull complete 03:07:37 ca983d60f3e2: Pull complete 03:07:37 9f894cec8388: Pull complete 03:07:37 Digest: sha256:90e63904a1edc574c23a580e5fc31fbcdccad1501625621f67a6be262171cfee 03:07:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest 03:07:37 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest [Pipeline] withDockerContainer 03:07:37 prd-ubuntu20.04-docker-8c-8g-63038 does not seem to be running inside a container 03:07:37 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-186 -v /w/workspace/gexfoundry_device-rest-go_PR-186:/w/workspace/gexfoundry_device-rest-go_PR-186:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-186@tmp:/w/workspace/gexfoundry_device-rest-go_PR-186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:latest cat 03:07:39 $ docker top bb7eaa1265ad6f0a4172fae2baa928d72d5b2449b1486dbeaea4466f1e60236e -eo pid,comm 03:07:39 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). 03:07:39 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:07:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:07:39 [ssh-agent] Looking for ssh-agent implementation... 03:07:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:07:39 $ docker exec bb7eaa1265ad6f0a4172fae2baa928d72d5b2449b1486dbeaea4466f1e60236e ssh-agent 03:07:39 SSH_AUTH_SOCK=/tmp/ssh-19YwLC4rPB5j/agent.33 03:07:39 SSH_AGENT_PID=39 03:07:39 Running ssh-add (command line suppressed) 03:07:39 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-186@tmp/private_key_5071774455716094776.key (/w/workspace/gexfoundry_device-rest-go_PR-186@tmp/private_key_5071774455716094776.key) 03:07:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:07:40 + git tag --points-at HEAD [Pipeline] } 03:07:40 $ docker exec --env ******** --env ******** bb7eaa1265ad6f0a4172fae2baa928d72d5b2449b1486dbeaea4466f1e60236e ssh-agent -k 03:07:40 unset SSH_AUTH_SOCK; 03:07:40 unset SSH_AGENT_PID; 03:07:40 echo Agent pid 39 killed; 03:07:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:07:40 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:07:40 [ssh-agent] Looking for ssh-agent implementation... 03:07:40 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:07:40 $ docker exec bb7eaa1265ad6f0a4172fae2baa928d72d5b2449b1486dbeaea4466f1e60236e ssh-agent 03:07:40 SSH_AUTH_SOCK=/tmp/ssh-VxzwQ3Lbph8Q/agent.73 03:07:40 SSH_AGENT_PID=79 03:07:40 Running ssh-add (command line suppressed) 03:07:40 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-186@tmp/private_key_3011803868964059366.key (/w/workspace/gexfoundry_device-rest-go_PR-186@tmp/private_key_3011803868964059366.key) 03:07:40 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:07:40 + git semver init 03:07:41 2022-05-11 03:07:41,017 [run_init] DEBUG init version:0.0.0 force:False 03:07:41 2022-05-11 03:07:41,018 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-186/.semver 03:07:41 2022-05-11 03:07:41,018 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-186/.semver 03:07:41 2022-05-11 03:07:41,018 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-186/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-186, universal_newlines=False, shell=None, istream=None) 03:07:42 2022-05-11 03:07:42,076 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-186/.git/info/exclude 03:07:42 2022-05-11 03:07:42,077 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-186/.semver/PR-186 with force:False 03:07:42 2022-05-11 03:07:42,077 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-186/.semver/PR-186 03:07:42 2022-05-11 03:07:42,081 [execute] INFO git cat-file --batch-check 03:07:42 2022-05-11 03:07:42,082 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-186/.semver, universal_newlines=False, shell=None, istream=) 03:07:42 2022-05-11 03:07:42,086 [execute] INFO git cat-file --batch 03:07:42 2022-05-11 03:07:42,086 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-186/.semver, universal_newlines=False, shell=None, istream=) 03:07:42 2022-05-11 03:07:42,089 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-186/.semver/PR-186 03:07:42 0.0.0 [Pipeline] } 03:07:42 $ docker exec --env ******** --env ******** bb7eaa1265ad6f0a4172fae2baa928d72d5b2449b1486dbeaea4466f1e60236e ssh-agent -k 03:07:42 unset SSH_AUTH_SOCK; 03:07:42 unset SSH_AGENT_PID; 03:07:42 echo Agent pid 79 killed; 03:07:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:07:42 + git semver [Pipeline] } 03:07:43 $ docker stop --time=1 bb7eaa1265ad6f0a4172fae2baa928d72d5b2449b1486dbeaea4466f1e60236e 03:07:44 $ docker rm -f bb7eaa1265ad6f0a4172fae2baa928d72d5b2449b1486dbeaea4466f1e60236e [Pipeline] // withDockerContainer [Pipeline] sh 03:07:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:07:45 Stashed 1 file(s) [Pipeline] echo 03:07:45 [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 03:07:45 provisioning config files... 03:07:45 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-186@tmp/config6820095313740793552tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:07:45 ---> docker-login.sh 03:07:45 nexus3.edgexfoundry.org:10001 03:07:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:07:45 Configure a credential helper to remove this warning. See 03:07:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:07:45 03:07:45 Login Succeeded 03:07:45 nexus3.edgexfoundry.org:10002 03:07:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:07:45 Configure a credential helper to remove this warning. See 03:07:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:07:45 03:07:45 Login Succeeded 03:07:45 nexus3.edgexfoundry.org:10003 03:07:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:07:45 Configure a credential helper to remove this warning. See 03:07:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:07:45 03:07:45 Login Succeeded 03:07:45 nexus3.edgexfoundry.org:10004 03:07:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:07:46 Configure a credential helper to remove this warning. See 03:07:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:07:46 03:07:46 Login Succeeded 03:07:46 docker.io 03:07:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:07:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:07:46 Configure a credential helper to remove this warning. See 03:07:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:07:46 03:07:46 Login Succeeded 03:07:46 ---> docker-login.sh ends [Pipeline] } 03:07:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:07:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:07:46 ========================================================= 03:07:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 03:07:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 03:07:47 + 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 . 03:07:47 Sending build context to Docker daemon 10.63MB 03:07:47 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 03:07:47 Step 2/12 : FROM ${BASE} AS builder 03:07:47 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 03:07:47 59bf1c3509f3: Pulling fs layer 03:07:47 666ba61612fd: Pulling fs layer 03:07:47 8ed8ca486205: Pulling fs layer 03:07:47 4fe6c5a15a65: Pulling fs layer 03:07:47 22a0e8bec74d: Pulling fs layer 03:07:47 ca2b28591e48: Pulling fs layer 03:07:47 a51346096db8: Pulling fs layer 03:07:47 daebc70d1ce1: Pulling fs layer 03:07:47 0e18a0eac166: Pulling fs layer 03:07:47 22a0e8bec74d: Waiting 03:07:47 ca2b28591e48: Waiting 03:07:47 a51346096db8: Waiting 03:07:47 daebc70d1ce1: Waiting 03:07:47 4fe6c5a15a65: Waiting 03:07:47 8ed8ca486205: Verifying Checksum 03:07:47 8ed8ca486205: Download complete 03:07:47 666ba61612fd: Download complete 03:07:47 22a0e8bec74d: Verifying Checksum 03:07:47 22a0e8bec74d: Download complete 03:07:47 ca2b28591e48: Verifying Checksum 03:07:47 ca2b28591e48: Download complete 03:07:47 59bf1c3509f3: Verifying Checksum 03:07:47 a51346096db8: Verifying Checksum 03:07:47 a51346096db8: Download complete 03:07:47 daebc70d1ce1: Verifying Checksum 03:07:47 daebc70d1ce1: Download complete 03:07:47 59bf1c3509f3: Pull complete 03:07:47 666ba61612fd: Pull complete 03:07:47 8ed8ca486205: Pull complete 03:07:48 4fe6c5a15a65: Verifying Checksum 03:07:48 4fe6c5a15a65: Download complete 03:07:48 0e18a0eac166: Verifying Checksum 03:07:48 0e18a0eac166: Download complete 03:07:51 4fe6c5a15a65: Pull complete 03:07:51 22a0e8bec74d: Pull complete 03:07:51 ca2b28591e48: Pull complete 03:07:51 a51346096db8: Pull complete 03:07:52 daebc70d1ce1: Pull complete 03:07:53 0e18a0eac166: Pull complete 03:07:54 Digest: sha256:5cf2d0a306c5171eb5b3008c4b83cc7b6044f1808c238cb17927cddb93576120 03:07:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 03:07:54 ---> f018257e8ee9 03:07:54 Step 3/12 : ARG MAKE='make build' 03:07:56 ---> Running in 7461a77425ea 03:07:56 Removing intermediate container 7461a77425ea 03:07:56 ---> 17141ca580b1 03:07:56 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:07:56 ---> Running in af2b09bdfabb 03:07:56 Removing intermediate container af2b09bdfabb 03:07:56 ---> 86529b05a79b 03:07:56 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 03:07:56 ---> Running in cdbd07153a3d 03:07:56 Removing intermediate container cdbd07153a3d 03:07:56 ---> cac254cdaace 03:07:56 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:07:56 ---> Running in bbda852a8b04 03:07:57 Removing intermediate container bbda852a8b04 03:07:57 ---> fa29392d7e83 03:07:57 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:07:57 ---> Running in 0980ca16737f 03:07:57 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 03:07:58 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 03:07:59 (1/4) Installing openssh-keygen (8.8_p1-r1) 03:07:59 (2/4) Installing libedit (20210910.3.1-r0) 03:07:59 (3/4) Installing openssh-client-common (8.8_p1-r1) 03:07:59 (4/4) Installing openssh-client-default (8.8_p1-r1) 03:07:59 Executing busybox-1.34.1-r3.trigger 03:07:59 OK: 224 MiB in 56 packages 03:08:00 Removing intermediate container 0980ca16737f 03:08:00 ---> 0c7ec3762b69 03:08:00 Step 8/12 : WORKDIR /device-rest-go 03:08:00 ---> Running in 3827350c5b6e 03:08:00 Removing intermediate container 3827350c5b6e 03:08:00 ---> d53ce53a6535 03:08:00 Step 9/12 : COPY go.mod vendor* ./ 03:08:00 Still waiting to schedule task 03:08:00 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 03:08:00 ---> f76b2b324fba 03:08:00 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:08:00 ---> Running in 120ad7b189a4 03:08:18 Removing intermediate container 120ad7b189a4 03:08:18 ---> 7bab622cab28 03:08:18 Step 11/12 : COPY . . 03:08:18 ---> b23554d0613a 03:08:18 Step 12/12 : RUN $MAKE 03:08:18 ---> Running in c94745c9dc8b 03:08:18 noop 03:08:18 Removing intermediate container c94745c9dc8b 03:08:18 ---> 39fd008e1547 03:08:18 Successfully built 39fd008e1547 03:08:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 03:08:19 + docker inspect -f . ci-base-image-x86_64 03:08:19 . [Pipeline] withDockerContainer 03:08:19 prd-ubuntu20.04-docker-8c-8g-63038 does not seem to be running inside a container 03:08:19 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-186 -v /w/workspace/gexfoundry_device-rest-go_PR-186:/w/workspace/gexfoundry_device-rest-go_PR-186:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-186@tmp:/w/workspace/gexfoundry_device-rest-go_PR-186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:08:20 $ docker top 8e9487c2be508cfbbb97dd19cae0c30d509b161df46421367ee8409e909330f4 -eo pid,comm [Pipeline] { [Pipeline] sh 03:08:20 + go version 03:08:20 go version go1.17.6 linux/amd64 [Pipeline] } 03:08:20 $ docker stop --time=1 8e9487c2be508cfbbb97dd19cae0c30d509b161df46421367ee8409e909330f4 03:08:21 $ docker rm -f 8e9487c2be508cfbbb97dd19cae0c30d509b161df46421367ee8409e909330f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:08:22 + docker inspect -f . ci-base-image-x86_64 03:08:22 . [Pipeline] withDockerContainer 03:08:22 prd-ubuntu20.04-docker-8c-8g-63038 does not seem to be running inside a container 03:08:22 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-186 -v /w/workspace/gexfoundry_device-rest-go_PR-186:/w/workspace/gexfoundry_device-rest-go_PR-186:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-186@tmp:/w/workspace/gexfoundry_device-rest-go_PR-186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:08:22 $ docker top 2ad61e4c02f952b4f63e9b2f71f87954346f8a6bc98d3ec99422b592d1adcaf7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 03:08:23 + make test 03:08:23 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:08:23 ? github.com/edgexfoundry/device-rest-go [no test files] 03:08:33 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 03:08:33 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements 03:08:39 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:08:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:08:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:08:43 ./bin/test-attribution-txt.sh [Pipeline] echo 03:08:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:08:43 $ docker stop --time=1 2ad61e4c02f952b4f63e9b2f71f87954346f8a6bc98d3ec99422b592d1adcaf7 03:08:45 $ docker rm -f 2ad61e4c02f952b4f63e9b2f71f87954346f8a6bc98d3ec99422b592d1adcaf7 [Pipeline] // withDockerContainer [Pipeline] sh 03:08:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:08:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:08:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:08:47 + ls -al . 03:08:47 total 172 03:08:47 drwxrwxr-x 9 jenkins jenkins 4096 May 11 03:08 . 03:08:47 drwxrwxr-x 4 jenkins jenkins 4096 May 11 03:07 .. 03:08:47 -rw-rw-r-- 1 jenkins jenkins 151 May 11 03:07 .dockerignore 03:08:47 drwxrwxr-x 8 jenkins jenkins 4096 May 11 03:07 .git 03:08:47 drwxrwxr-x 3 jenkins jenkins 4096 May 11 03:07 .github 03:08:47 -rw-rw-r-- 1 jenkins jenkins 329 May 11 03:07 .gitignore 03:08:47 -rw-rw-r-- 1 jenkins jenkins 41 May 11 03:07 .golangci.yml 03:08:47 drwxr-xr-x 3 jenkins jenkins 4096 May 11 03:07 .semver 03:08:47 -rw-rw-r-- 1 jenkins jenkins 8463 May 11 03:07 Attribution.txt 03:08:47 -rw-rw-r-- 1 jenkins jenkins 11736 May 11 03:07 CHANGELOG.md 03:08:47 -rw-rw-r-- 1 jenkins jenkins 1672 May 11 03:07 Dockerfile 03:08:47 -rw-rw-r-- 1 jenkins jenkins 677 May 11 03:07 GOVERNANCE.md 03:08:47 -rw-rw-r-- 1 jenkins jenkins 680 May 11 03:07 Jenkinsfile 03:08:47 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 03:07 LICENSE 03:08:47 -rw-rw-r-- 1 jenkins jenkins 1977 May 11 03:07 Makefile 03:08:47 -rw-rw-r-- 1 jenkins jenkins 620 May 11 03:07 OWNERS.md 03:08:47 -rw-rw-r-- 1 jenkins jenkins 8003 May 11 03:07 README.md 03:08:47 -rw-rw-r-- 1 jenkins jenkins 5 May 11 03:07 VERSION 03:08:47 drwxrwxr-x 2 jenkins jenkins 4096 May 11 03:07 bin 03:08:47 drwxrwxr-x 3 jenkins jenkins 4096 May 11 03:07 cmd 03:08:47 -rw-r--r-- 1 jenkins jenkins 9355 May 11 03:08 coverage.out 03:08:47 drwxrwxr-x 2 jenkins jenkins 4096 May 11 03:07 driver 03:08:47 -rw-rw-r-- 1 jenkins jenkins 3326 May 11 03:07 go.mod 03:08:47 -rw-rw-r-- 1 jenkins jenkins 35481 May 11 03:07 go.sum 03:08:47 drwxrwxr-x 3 jenkins jenkins 4096 May 11 03:07 snap 03:08:47 -rw-rw-r-- 1 jenkins jenkins 713 May 11 03:07 version.go [Pipeline] isUnix [Pipeline] sh 03:08:47 + 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=a707ba172b9c2d3ea21e0fee90480c085186d301 --label arch=amd64 --label version=0.0.0 . 03:08:47 Sending build context to Docker daemon 10.64MB 03:08:47 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 03:08:47 Step 2/25 : FROM ${BASE} AS builder 03:08:47 ---> 39fd008e1547 03:08:47 Step 3/25 : ARG MAKE='make build' 03:08:48 ---> Running in 53f53d171a04 03:08:48 Removing intermediate container 53f53d171a04 03:08:48 ---> fd26dab3dcd0 03:08:48 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:08:48 ---> Running in 0abc029050bd 03:08:48 Removing intermediate container 0abc029050bd 03:08:48 ---> 54022f2df5ab 03:08:48 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 03:08:48 ---> Running in 3f2fc93187dd 03:08:48 Removing intermediate container 3f2fc93187dd 03:08:48 ---> 905e079729a1 03:08:48 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:08:48 ---> Running in 8f72cc7b2101 03:08:48 Removing intermediate container 8f72cc7b2101 03:08:48 ---> 3d9524bc8c37 03:08:48 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:08:49 ---> Running in 5b09f5e1e2c6 03:08:49 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 03:08:50 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 03:08:50 OK: 224 MiB in 56 packages 03:08:50 Removing intermediate container 5b09f5e1e2c6 03:08:50 ---> a5911edaa916 03:08:50 Step 8/25 : WORKDIR /device-rest-go 03:08:50 ---> Running in b9b2ddc5c3cd 03:08:51 Removing intermediate container b9b2ddc5c3cd 03:08:51 ---> 0767fae9febd 03:08:51 Step 9/25 : COPY go.mod vendor* ./ 03:08:51 ---> e6a4885e5a56 03:08:51 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:08:51 ---> Running in 43d4a38d34b5 03:08:51 Removing intermediate container 43d4a38d34b5 03:08:51 ---> f94a421afc3f 03:08:51 Step 11/25 : COPY . . 03:08:52 ---> e44f8f15a7a4 03:08:52 Step 12/25 : RUN $MAKE 03:08:52 ---> Running in 9e3cf9ccf67b 03:08:52 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 03:09:14 Removing intermediate container 9e3cf9ccf67b 03:09:14 ---> c8554f58ce27 03:09:14 Step 13/25 : FROM alpine:3.14 03:09:14 3.14: Pulling from library/alpine 03:09:14 8663204ce13b: Pulling fs layer 03:09:14 8663204ce13b: Verifying Checksum 03:09:14 8663204ce13b: Download complete 03:09:14 8663204ce13b: Pull complete 03:09:14 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 03:09:14 Status: Downloaded newer image for alpine:3.14 03:09:14 ---> e04c818066af 03:09:14 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 03:09:14 ---> Running in 1fbd91454dfa 03:09:14 Removing intermediate container 1fbd91454dfa 03:09:14 ---> 78845b207d72 03:09:14 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 03:09:14 ---> Running in 760ec5185a40 03:09:14 Removing intermediate container 760ec5185a40 03:09:14 ---> 45b017eb6ea7 03:09:14 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 03:09:14 ---> Running in cf966251d91f 03:09:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 03:09:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 03:09:14 (1/6) Installing dumb-init (1.2.5-r1) 03:09:14 (2/6) Installing libgcc (10.3.1_git20210424-r2) 03:09:14 (3/6) Installing libsodium (1.0.18-r0) 03:09:14 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 03:09:14 (5/6) Installing libzmq (4.3.4-r0) 03:09:14 (6/6) Installing zeromq (4.3.4-r0) 03:09:14 Executing busybox-1.33.1-r7.trigger 03:09:14 OK: 8 MiB in 20 packages 03:09:15 Removing intermediate container cf966251d91f 03:09:15 ---> 7622ab425cca 03:09:15 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 03:09:15 ---> b7677cd9a678 03:09:15 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 03:09:16 ---> b33d10797fc9 03:09:16 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 03:09:16 ---> 750ad7a28a50 03:09:16 Step 20/25 : EXPOSE 59986 03:09:16 ---> Running in 3f1228ea5f5b 03:09:16 Removing intermediate container 3f1228ea5f5b 03:09:16 ---> dad864c37cf4 03:09:16 Step 21/25 : ENTRYPOINT ["/device-rest"] 03:09:16 ---> Running in a67f813157c2 03:09:16 Removing intermediate container a67f813157c2 03:09:16 ---> e5027efa712e 03:09:16 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 03:09:16 ---> Running in fce94b120a17 03:09:16 Removing intermediate container fce94b120a17 03:09:16 ---> 1155bfb53194 03:09:16 Step 23/25 : LABEL arch=amd64 03:09:16 ---> Running in e8ca9aa86a87 03:09:16 Removing intermediate container e8ca9aa86a87 03:09:16 ---> 063555cdbec2 03:09:16 Step 24/25 : LABEL git_sha=a707ba172b9c2d3ea21e0fee90480c085186d301 03:09:17 ---> Running in ab4696abc162 03:09:17 Removing intermediate container ab4696abc162 03:09:17 ---> a7ea373561bd 03:09:17 Step 25/25 : LABEL version=0.0.0 03:09:17 ---> Running in 5db8c646429b 03:09:17 Removing intermediate container 5db8c646429b 03:09:17 ---> 1e8bcb2ffaa6 03:09:17 [Warning] One or more build-args [ARCH] were not consumed 03:09:17 Successfully built 1e8bcb2ffaa6 03:09:17 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 03:09:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:09:17 03:09:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 03:09:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:09:18 latest: Pulling from edgex-lftools-log-publisher 03:09:18 5eb5b503b376: Pulling fs layer 03:09:18 5c69ac0246d0: Pulling fs layer 03:09:18 ec43610c2a17: Pulling fs layer 03:09:18 3a2ae6a8a46f: Pulling fs layer 03:09:18 33b1e0a273af: Pulling fs layer 03:09:18 5d3b04190fa2: Pulling fs layer 03:09:18 2f39f015ded8: Pulling fs layer 03:09:18 33b1e0a273af: Waiting 03:09:18 5d3b04190fa2: Waiting 03:09:18 3a2ae6a8a46f: Waiting 03:09:18 5c69ac0246d0: Verifying Checksum 03:09:18 5c69ac0246d0: Download complete 03:09:18 3a2ae6a8a46f: Verifying Checksum 03:09:18 3a2ae6a8a46f: Download complete 03:09:18 33b1e0a273af: Verifying Checksum 03:09:18 33b1e0a273af: Download complete 03:09:18 ec43610c2a17: Verifying Checksum 03:09:18 ec43610c2a17: Download complete 03:09:18 5d3b04190fa2: Verifying Checksum 03:09:18 5d3b04190fa2: Download complete 03:09:18 5eb5b503b376: Verifying Checksum 03:09:18 5eb5b503b376: Download complete 03:09:18 2f39f015ded8: Download complete 03:09:19 5eb5b503b376: Pull complete 03:09:19 5c69ac0246d0: Pull complete 03:09:20 ec43610c2a17: Pull complete 03:09:20 3a2ae6a8a46f: Pull complete 03:09:20 33b1e0a273af: Pull complete 03:09:20 5d3b04190fa2: Pull complete 03:09:24 2f39f015ded8: Pull complete 03:09:24 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:09:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:09:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 03:09:24 prd-ubuntu20.04-docker-8c-8g-63038 does not seem to be running inside a container 03:09:24 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-186 -v /w/workspace/gexfoundry_device-rest-go_PR-186:/w/workspace/gexfoundry_device-rest-go_PR-186:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-186@tmp:/w/workspace/gexfoundry_device-rest-go_PR-186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:09:27 $ docker top 23ca361fb745cabf1a283aafad69e27b6e8ef16fbb350f474b1f7db573cccfbf -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:09:27 ---> job-cost.sh 03:09:27 lf-activate-venv: SKIPPING 03:09:27 INFO: No Stack... 03:09:27 INFO: Retrieving Pricing Info for: v3-standard-8 03:09:28 INFO: Archiving Costs [Pipeline] sh 03:09:28 + cat /w/workspace/gexfoundry_device-rest-go_PR-186/archives/cost.csv 03:09:28 + cut -d, -f6 [Pipeline] lock 03:09:28 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-186-3-stack-cost] 03:09:28 Resource [jenkins-edgexfoundry-device-rest-go-PR-186-3-stack-cost] did not exist. Created. 03:09:28 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-186-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:09:29 + echo total: 0.2199999988079071 [Pipeline] stash 03:09:29 Stashed 1 file(s) [Pipeline] } 03:09:29 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-186-3-stack-cost] [Pipeline] // lock [Pipeline] } 03:09:29 $ docker stop --time=1 23ca361fb745cabf1a283aafad69e27b6e8ef16fbb350f474b1f7db573cccfbf 03:09:30 $ docker rm -f 23ca361fb745cabf1a283aafad69e27b6e8ef16fbb350f474b1f7db573cccfbf [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:09:40 Running on prd-ubuntu20.04-docker-arm64-4c-16g-63039 in /w/workspace/gexfoundry_device-rest-go_PR-186 [Pipeline] { [Pipeline] ws 03:09:40 Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout 03:09:40 The recommended git tool is: git 03:09:46 using credential edgex-jenkins-ssh 03:09:46 Cloning the remote Git repository 03:09:46 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 03:09:46 > git init /w/workspace/device-rest-go/3 # timeout=10 03:09:46 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 03:09:46 > git --version # timeout=10 03:09:46 > git --version # 'git version 2.25.1' 03:09:46 using GIT_SSH to set credentials SSH Credentials for GitHub 03:09:46 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:09:49 Merging remotes/origin/main commit 9b53a838cf715098176e329c4fd19d0f7ded052f into PR head commit 7cae7b1f58b74971914cd61c53ee135eddaf8249 03:09:49 Merge succeeded, producing 1ecf132fa2f4f128d116905892680ead940adc9e 03:09:49 Checking out Revision 1ecf132fa2f4f128d116905892680ead940adc9e (PR-186) 03:09:48 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 03:09:48 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:09:48 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 03:09:48 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 03:09:48 using GIT_SSH to set credentials SSH Credentials for GitHub 03:09:48 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/186/head:refs/remotes/origin/PR-186 +refs/heads/main:refs/remotes/origin/main # timeout=10 03:09:49 > git config core.sparsecheckout # timeout=10 03:09:49 > git checkout -f 7cae7b1f58b74971914cd61c53ee135eddaf8249 # timeout=10 03:09:49 > git remote # timeout=10 03:09:49 > git config --get remote.origin.url # timeout=10 03:09:49 using GIT_SSH to set credentials SSH Credentials for GitHub 03:09:49 > git merge 9b53a838cf715098176e329c4fd19d0f7ded052f # timeout=10 03:09:49 > git rev-parse HEAD^{commit} # timeout=10 03:09:49 > git config core.sparsecheckout # timeout=10 03:09:49 > git checkout -f 1ecf132fa2f4f128d116905892680ead940adc9e # timeout=10 03:09:53 Commit message: "Merge commit '9b53a838cf715098176e329c4fd19d0f7ded052f' into HEAD" 03:09:53 > git rev-list --no-walk 7cae7b1f58b74971914cd61c53ee135eddaf8249 # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:09:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:09:54 % Total % Received % Xferd Average Speed Time Time Time Current 03:09:54 Dload Upload Total Spent Left Speed 03:09:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 84592 0 --:--:-- --:--:-- --:--:-- 84592 [Pipeline] sh 03:09:55 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:09:55 + sudo tee /etc/docker/daemon.new 03:09:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 03:09:55 { 03:09:55 "registry-mirrors": [ 03:09:55 "https://nexus3.edgexfoundry.org:10001" 03:09:55 ], 03:09:55 "bip": "10.250.0.254/24", 03:09:55 "hosts": [ 03:09:55 "tcp://0.0.0.0:5555", 03:09:55 "unix:///var/run/docker.sock" 03:09:55 ], 03:09:55 "mtu": 1458, 03:09:55 "selinux-enabled": true, 03:09:55 "seccomp-profile": "/etc/docker/seccomp.json" 03:09:55 } [Pipeline] sh 03:09:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:09:56 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:10:14 provisioning config files... 03:10:14 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config5303861038269688626tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:10:15 ---> docker-login.sh 03:10:15 nexus3.edgexfoundry.org:10001 03:10:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:10:16 Configure a credential helper to remove this warning. See 03:10:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:10:16 03:10:16 Login Succeeded 03:10:16 nexus3.edgexfoundry.org:10002 03:10:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:10:16 Configure a credential helper to remove this warning. See 03:10:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:10:16 03:10:16 Login Succeeded 03:10:16 nexus3.edgexfoundry.org:10003 03:10:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:10:16 Configure a credential helper to remove this warning. See 03:10:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:10:16 03:10:16 Login Succeeded 03:10:16 nexus3.edgexfoundry.org:10004 03:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:10:17 Configure a credential helper to remove this warning. See 03:10:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:10:17 03:10:17 Login Succeeded 03:10:17 docker.io 03:10:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:10:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:10:18 Configure a credential helper to remove this warning. See 03:10:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:10:18 03:10:18 Login Succeeded 03:10:18 ---> docker-login.sh ends [Pipeline] } 03:10:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:10:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:10:18 ========================================================= 03:10:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 03:10:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 03:10:18 + 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 . 03:10:18 Sending build context to Docker daemon 128.5kB 03:10:19 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 03:10:19 Step 2/12 : FROM ${BASE} AS builder 03:10:19 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:10:19 9b3977197b4f: Pulling fs layer 03:10:19 1a89e8eeedd5: Pulling fs layer 03:10:19 94645a83ff95: Pulling fs layer 03:10:19 3f3a8bcf1eab: Pulling fs layer 03:10:19 0c92f367c5e7: Pulling fs layer 03:10:19 3096ccb668a1: Pulling fs layer 03:10:19 e8cf19c19ddd: Pulling fs layer 03:10:19 a4caa8a26152: Pulling fs layer 03:10:19 3f3a8bcf1eab: Waiting 03:10:19 0c92f367c5e7: Waiting 03:10:19 3096ccb668a1: Waiting 03:10:19 e8cf19c19ddd: Waiting 03:10:19 a4caa8a26152: Waiting 03:10:19 94645a83ff95: Verifying Checksum 03:10:19 94645a83ff95: Download complete 03:10:19 1a89e8eeedd5: Verifying Checksum 03:10:19 1a89e8eeedd5: Download complete 03:10:19 0c92f367c5e7: Download complete 03:10:19 3096ccb668a1: Verifying Checksum 03:10:19 3096ccb668a1: Download complete 03:10:19 9b3977197b4f: Verifying Checksum 03:10:19 9b3977197b4f: Download complete 03:10:19 e8cf19c19ddd: Verifying Checksum 03:10:19 e8cf19c19ddd: Download complete 03:10:20 9b3977197b4f: Pull complete 03:10:20 1a89e8eeedd5: Pull complete 03:10:21 94645a83ff95: Pull complete 03:10:21 a4caa8a26152: Verifying Checksum 03:10:21 a4caa8a26152: Download complete 03:10:22 3f3a8bcf1eab: Verifying Checksum 03:10:22 3f3a8bcf1eab: Download complete 03:10:34 3f3a8bcf1eab: Pull complete 03:10:34 0c92f367c5e7: Pull complete 03:10:34 3096ccb668a1: Pull complete 03:10:34 e8cf19c19ddd: Pull complete 03:10:41 a4caa8a26152: Pull complete 03:10:41 Digest: sha256:b3ad895ecde34a7521bb8912598475bc58d052e1c2c58d00df7f0fe54a102a46 03:10:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 03:10:41 ---> 725f1c02e7f9 03:10:41 Step 3/12 : ARG MAKE='make build' 03:10:41 ---> Running in 22a633de8606 03:10:42 Removing intermediate container 22a633de8606 03:10:42 ---> 8d0264a22cb3 03:10:42 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:10:42 ---> Running in 783f8e16ca27 03:10:42 Removing intermediate container 783f8e16ca27 03:10:42 ---> cb59d7d40504 03:10:42 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 03:10:42 ---> Running in 831833192a64 03:10:42 Removing intermediate container 831833192a64 03:10:42 ---> 68e89ee7ec0b 03:10:42 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:10:42 ---> Running in 4a0dea76a402 03:10:44 Removing intermediate container 4a0dea76a402 03:10:44 ---> 0b1d64ca987b 03:10:44 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:10:44 ---> Running in 55902250ae98 03:10:45 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 03:10:46 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 03:10:47 (1/4) Installing openssh-keygen (8.8_p1-r1) 03:10:47 (2/4) Installing libedit (20210910.3.1-r0) 03:10:47 (3/4) Installing openssh-client-common (8.8_p1-r1) 03:10:48 (4/4) Installing openssh-client-default (8.8_p1-r1) 03:10:48 Executing busybox-1.34.1-r3.trigger 03:10:48 OK: 224 MiB in 56 packages 03:10:49 Removing intermediate container 55902250ae98 03:10:49 ---> fbd9af5d9459 03:10:49 Step 8/12 : WORKDIR /device-rest-go 03:10:49 ---> Running in 649d2fc140b6 03:10:49 Removing intermediate container 649d2fc140b6 03:10:49 ---> db6d4e82ebcc 03:10:49 Step 9/12 : COPY go.mod vendor* ./ 03:10:49 ---> daaf767805cc 03:10:49 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:10:49 ---> Running in 1e7de96017fe 03:11:36 Removing intermediate container 1e7de96017fe 03:11:36 ---> f8cab0deffc7 03:11:36 Step 11/12 : COPY . . 03:11:36 ---> 3630e35d4d0e 03:11:36 Step 12/12 : RUN $MAKE 03:11:36 ---> Running in 9458cc20b807 03:11:36 noop 03:11:36 Removing intermediate container 9458cc20b807 03:11:36 ---> e68affff0197 03:11:36 Successfully built e68affff0197 03:11:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 03:11:37 + docker inspect -f . ci-base-image-arm64 03:11:37 . [Pipeline] withDockerContainer 03:11:37 prd-ubuntu20.04-docker-arm64-4c-16g-63039 does not seem to be running inside a container 03:11:37 $ 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 03:11:38 $ docker top 8c7db368c9e621502f5dffa33d58aeb7560b0daaf120cedc3c4ae1447f10914f -eo pid,comm [Pipeline] { [Pipeline] sh 03:11:39 + go version 03:11:39 go version go1.17.6 linux/arm64 [Pipeline] } 03:11:39 $ docker stop --time=1 8c7db368c9e621502f5dffa33d58aeb7560b0daaf120cedc3c4ae1447f10914f 03:11:41 $ docker rm -f 8c7db368c9e621502f5dffa33d58aeb7560b0daaf120cedc3c4ae1447f10914f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 03:11:42 + docker inspect -f . ci-base-image-arm64 03:11:42 . [Pipeline] withDockerContainer 03:11:42 prd-ubuntu20.04-docker-arm64-4c-16g-63039 does not seem to be running inside a container 03:11:42 $ 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 03:11:43 $ docker top ecd773590d6aa4fb8a6482e5be015c19562e5185183932bf1b3fa1c13761a446 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 03:11:44 + make test 03:11:44 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 03:11:46 ? github.com/edgexfoundry/device-rest-go [no test files] 03:13:08 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 03:13:08 ok github.com/edgexfoundry/device-rest-go/driver 0.070s coverage: 55.2% of statements 03:13:08 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:13:08 CGO_ENABLED=1 GO111MODULE=on go vet ./... 03:13:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:13:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:13:30 ./bin/test-attribution-txt.sh [Pipeline] echo 03:13:32 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:13:32 $ docker stop --time=1 ecd773590d6aa4fb8a6482e5be015c19562e5185183932bf1b3fa1c13761a446 03:13:34 $ docker rm -f ecd773590d6aa4fb8a6482e5be015c19562e5185183932bf1b3fa1c13761a446 [Pipeline] // withDockerContainer [Pipeline] sh 03:13:35 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:13:35 Warning: overwriting stash ‘coverage-report’ 03:13:35 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:13:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:13:36 + ls -al . 03:13:36 total 168 03:13:36 drwxrwxr-x 8 jenkins jenkins 4096 May 11 03:13 . 03:13:36 drwxrwxr-x 4 jenkins jenkins 4096 May 11 03:09 .. 03:13:36 -rw-rw-r-- 1 jenkins jenkins 151 May 11 03:09 .dockerignore 03:13:36 drwxrwxr-x 8 jenkins jenkins 4096 May 11 03:09 .git 03:13:36 drwxrwxr-x 3 jenkins jenkins 4096 May 11 03:09 .github 03:13:36 -rw-rw-r-- 1 jenkins jenkins 329 May 11 03:09 .gitignore 03:13:36 -rw-rw-r-- 1 jenkins jenkins 41 May 11 03:09 .golangci.yml 03:13:36 -rw-rw-r-- 1 jenkins jenkins 8463 May 11 03:09 Attribution.txt 03:13:36 -rw-rw-r-- 1 jenkins jenkins 11736 May 11 03:09 CHANGELOG.md 03:13:36 -rw-rw-r-- 1 jenkins jenkins 1672 May 11 03:09 Dockerfile 03:13:36 -rw-rw-r-- 1 jenkins jenkins 677 May 11 03:09 GOVERNANCE.md 03:13:36 -rw-rw-r-- 1 jenkins jenkins 680 May 11 03:09 Jenkinsfile 03:13:36 -rw-rw-r-- 1 jenkins jenkins 11340 May 11 03:09 LICENSE 03:13:36 -rw-rw-r-- 1 jenkins jenkins 1977 May 11 03:09 Makefile 03:13:36 -rw-rw-r-- 1 jenkins jenkins 620 May 11 03:09 OWNERS.md 03:13:36 -rw-rw-r-- 1 jenkins jenkins 8003 May 11 03:09 README.md 03:13:36 -rw-rw-r-- 1 jenkins jenkins 5 May 11 03:07 VERSION 03:13:36 drwxrwxr-x 2 jenkins jenkins 4096 May 11 03:09 bin 03:13:36 drwxrwxr-x 3 jenkins jenkins 4096 May 11 03:09 cmd 03:13:36 -rw-r--r-- 1 jenkins jenkins 9355 May 11 03:13 coverage.out 03:13:36 drwxrwxr-x 2 jenkins jenkins 4096 May 11 03:09 driver 03:13:36 -rw-rw-r-- 1 jenkins jenkins 3326 May 11 03:09 go.mod 03:13:36 -rw-rw-r-- 1 jenkins jenkins 35481 May 11 03:09 go.sum 03:13:36 drwxrwxr-x 3 jenkins jenkins 4096 May 11 03:09 snap 03:13:36 -rw-rw-r-- 1 jenkins jenkins 713 May 11 03:09 version.go [Pipeline] isUnix [Pipeline] sh 03:13:36 + 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=1ecf132fa2f4f128d116905892680ead940adc9e --label arch=arm64 --label version=0.0.0 . 03:13:36 Sending build context to Docker daemon 138.8kB 03:13:36 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 03:13:36 Step 2/25 : FROM ${BASE} AS builder 03:13:36 ---> e68affff0197 03:13:36 Step 3/25 : ARG MAKE='make build' 03:13:36 ---> Running in 16ad887ea213 03:13:37 Removing intermediate container 16ad887ea213 03:13:37 ---> 7110ec1dcaa6 03:13:37 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 03:13:37 ---> Running in 597598ebc9ac 03:13:37 Removing intermediate container 597598ebc9ac 03:13:37 ---> 6a80a218cc7c 03:13:37 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 03:13:37 ---> Running in 5cdef733b80b 03:13:37 Removing intermediate container 5cdef733b80b 03:13:37 ---> 741cafdfac15 03:13:37 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 03:13:37 ---> Running in 2a7c0999b97a 03:13:39 Removing intermediate container 2a7c0999b97a 03:13:39 ---> e1f9d8439ab2 03:13:39 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:13:39 ---> Running in c23eb489f200 03:13:40 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 03:13:41 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 03:13:42 OK: 224 MiB in 56 packages 03:13:43 Removing intermediate container c23eb489f200 03:13:43 ---> d2c1ebbb7e81 03:13:43 Step 8/25 : WORKDIR /device-rest-go 03:13:43 ---> Running in 863969e62a41 03:13:43 Removing intermediate container 863969e62a41 03:13:43 ---> a3d367d2d8bb 03:13:43 Step 9/25 : COPY go.mod vendor* ./ 03:13:44 ---> 626aff6942e3 03:13:44 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:13:44 ---> Running in 9f88a095ab91 03:13:46 Removing intermediate container 9f88a095ab91 03:13:46 ---> 6c2a6bc9c894 03:13:46 Step 11/25 : COPY . . 03:13:46 ---> a28ba22eae25 03:13:46 Step 12/25 : RUN $MAKE 03:13:46 ---> Running in 36bb8916b616 03:13:47 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 03:15:54 Removing intermediate container 36bb8916b616 03:15:54 ---> 5922a9bc14b8 03:15:54 Step 13/25 : FROM alpine:3.14 03:15:54 3.14: Pulling from library/alpine 03:15:54 455c02918c45: Pulling fs layer 03:15:54 455c02918c45: Download complete 03:15:54 455c02918c45: Pull complete 03:15:54 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 03:15:54 Status: Downloaded newer image for alpine:3.14 03:15:54 ---> ac73e934f311 03:15:54 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 03:15:54 ---> Running in f76b86042629 03:15:54 Removing intermediate container f76b86042629 03:15:54 ---> 84942aecf83f 03:15:54 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 03:15:54 ---> Running in a29182a8d644 03:15:54 Removing intermediate container a29182a8d644 03:15:54 ---> b8a70d4ce33c 03:15:54 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 03:15:54 ---> Running in f46b3a560dda 03:15:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 03:15:54 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 03:15:54 (1/6) Installing dumb-init (1.2.5-r1) 03:15:54 (2/6) Installing libgcc (10.3.1_git20210424-r2) 03:15:54 (3/6) Installing libsodium (1.0.18-r0) 03:15:54 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 03:15:54 (5/6) Installing libzmq (4.3.4-r0) 03:15:54 (6/6) Installing zeromq (4.3.4-r0) 03:15:54 Executing busybox-1.33.1-r7.trigger 03:15:54 OK: 8 MiB in 20 packages 03:15:54 Removing intermediate container f46b3a560dda 03:15:54 ---> c9050f604e92 03:15:54 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 03:15:54 ---> 98b31dab9acf 03:15:54 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 03:15:54 ---> 9b96903c837d 03:15:54 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 03:15:54 ---> 6571c1c14397 03:15:54 Step 20/25 : EXPOSE 59986 03:15:54 ---> Running in 7f7f8a0b902c 03:15:54 Removing intermediate container 7f7f8a0b902c 03:15:54 ---> 80f612ba24d0 03:15:54 Step 21/25 : ENTRYPOINT ["/device-rest"] 03:15:54 ---> Running in a17517d6f814 03:15:54 Removing intermediate container a17517d6f814 03:15:54 ---> 106fd0decac6 03:15:54 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 03:15:54 ---> Running in 760e91f08d44 03:15:54 Removing intermediate container 760e91f08d44 03:15:54 ---> bbd31c5ae2f3 03:15:54 Step 23/25 : LABEL arch=arm64 03:15:54 ---> Running in 3813552aaef7 03:15:54 Removing intermediate container 3813552aaef7 03:15:54 ---> 1596d6bd7403 03:15:54 Step 24/25 : LABEL git_sha=1ecf132fa2f4f128d116905892680ead940adc9e 03:15:54 ---> Running in a2bf358c7b43 03:15:54 Removing intermediate container a2bf358c7b43 03:15:54 ---> 48732f7e8d8d 03:15:54 Step 25/25 : LABEL version=0.0.0 03:15:54 ---> Running in 9aeafca1f196 03:15:54 Removing intermediate container 9aeafca1f196 03:15:54 ---> 12462755ceb6 03:15:54 [Warning] One or more build-args [ARCH] were not consumed 03:15:54 Successfully built 12462755ceb6 03:15:54 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 03:15:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:15:55 03:15:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 03:15:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:15:55 arm64: Pulling from edgex-lftools-log-publisher 03:15:55 8998bd30e6a1: Pulling fs layer 03:15:55 04944245beec: Pulling fs layer 03:15:55 699f458cf7ca: Pulling fs layer 03:15:55 765212b225bb: Pulling fs layer 03:15:55 f23df028b6ca: Pulling fs layer 03:15:55 d65c8cfc05b1: Pulling fs layer 03:15:55 2437ff75d9bd: Pulling fs layer 03:15:55 f23df028b6ca: Waiting 03:15:55 d65c8cfc05b1: Waiting 03:15:55 2437ff75d9bd: Waiting 03:15:55 765212b225bb: Waiting 03:15:55 04944245beec: Verifying Checksum 03:15:55 04944245beec: Download complete 03:15:55 765212b225bb: Verifying Checksum 03:15:55 765212b225bb: Download complete 03:15:55 f23df028b6ca: Verifying Checksum 03:15:55 f23df028b6ca: Download complete 03:15:55 d65c8cfc05b1: Verifying Checksum 03:15:55 d65c8cfc05b1: Download complete 03:15:56 699f458cf7ca: Verifying Checksum 03:15:56 699f458cf7ca: Download complete 03:15:56 8998bd30e6a1: Verifying Checksum 03:15:56 8998bd30e6a1: Download complete 03:15:58 2437ff75d9bd: Verifying Checksum 03:15:58 2437ff75d9bd: Download complete 03:16:00 8998bd30e6a1: Pull complete 03:16:01 04944245beec: Pull complete 03:16:02 699f458cf7ca: Pull complete 03:16:02 765212b225bb: Pull complete 03:16:03 f23df028b6ca: Pull complete 03:16:03 d65c8cfc05b1: Pull complete 03:16:19 2437ff75d9bd: Pull complete 03:16:19 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:16:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:16:19 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 03:16:19 prd-ubuntu20.04-docker-arm64-4c-16g-63039 does not seem to be running inside a container 03:16:19 $ 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 03:16:21 $ docker top b53246b4853fdacb92d728be7d432f11ac7690e2090d94ae20b6457e853faaac -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:16:22 ---> job-cost.sh 03:16:22 lf-activate-venv: SKIPPING 03:16:22 INFO: No Stack... 03:16:23 INFO: Retrieving Pricing Info for: v3-standard-4 03:16:24 INFO: Archiving Costs [Pipeline] sh 03:16:24 + cat /w/workspace/device-rest-go/3/archives/cost.csv 03:16:24 + cut -d, -f6 [Pipeline] lock 03:16:24 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-186-3-stack-cost] 03:16:24 Resource [jenkins-edgexfoundry-device-rest-go-PR-186-3-stack-cost] did not exist. Created. 03:16:24 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-186-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:16:25 /w/workspace/device-rest-go/3@tmp/durable-68a1fe5c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:16:26 + echo total: 0.10999999940395355 [Pipeline] stash 03:16:26 Warning: overwriting stash ‘stack-cost’ 03:16:26 Stashed 1 file(s) [Pipeline] } 03:16:26 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-186-3-stack-cost] [Pipeline] // lock [Pipeline] } 03:16:26 $ docker stop --time=1 b53246b4853fdacb92d728be7d432f11ac7690e2090d94ae20b6457e853faaac 03:16:27 $ docker rm -f b53246b4853fdacb92d728be7d432f11ac7690e2090d94ae20b6457e853faaac [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 03:16:28 provisioning config files... 03:16:28 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-186@tmp/config998777643155279037tmp [Pipeline] { [Pipeline] sh 03:16:28 + set +x 03:16:28 + curl -s https://codecov.io/bash 03:16:28 + bash -s -- 03:16:28 03:16:28 _____ _ 03:16:28 / ____| | | 03:16:28 | | ___ __| | ___ ___ _____ __ 03:16:28 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:16:28 | |___| (_) | (_| | __/ (_| (_) \ V / 03:16:28 \_____\___/ \__,_|\___|\___\___/ \_/ 03:16:28 Bash-1.0.6 03:16:28 03:16:28 03:16:28 ==> git version 2.25.1 found 03:16:28 ==> 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 03:16:28 Release-Date: 2020-01-08 03:16:28 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:16:28 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:16:28 ==> Jenkins CI detected. 03:16:28 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-186 03:16:28 project root: . 03:16:28 --> token set from env 03:16:28 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:16:28 ==> Running gcov in . (disable via -X gcov) 03:16:28 ==> Python coveragepy not found 03:16:28 ==> Searching for coverage reports in: 03:16:28 + . 03:16:28 -> Found 1 reports 03:16:28 ==> Detecting git/mercurial file structure 03:16:28 ==> Reading reports 03:16:28 + ./coverage.out bytes=9355 03:16:28 ==> Appending adjustments 03:16:28 https://docs.codecov.io/docs/fixing-reports 03:16:29 + Found adjustments 03:16:29 ==> Gzipping contents 03:16:29 4.0K /tmp/codecov.5CKZK7.gz 03:16:29 ==> Uploading reports 03:16:29 url: https://codecov.io 03:16:29 query: branch=PR-186&commit=a707ba172b9c2d3ea21e0fee90480c085186d301&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-186%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=186&job=&cmd_args= 03:16:29 -> Pinging Codecov 03:16:29 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-186&commit=a707ba172b9c2d3ea21e0fee90480c085186d301&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-186%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=186&job=&cmd_args= 03:16:29 -> Uploading to 03:16:29 https://storage.googleapis.com/codecov/v4/raw/2022-05-11/4E5D53B4F1F92C436F7061BF334D961C/a707ba172b9c2d3ea21e0fee90480c085186d301/16923ff7-6d14-4a4d-b0bb-d615cc4d2a49.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220511%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220511T031629Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=ff03ecb1348f9e0cf340399793426b286a2218189cec849e7ec081d3e73f1e7f 03:16:29 % Total % Received % Xferd Average Speed Time Time Time Current 03:16:29 Dload Upload Total Spent Left Speed 03:16:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 33444 --:--:-- --:--:-- --:--:-- 32836 100 1806 0 0 100 1806 0 6496 --:--:-- --:--:-- --:--:-- 6496 03:16:29 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/a707ba172b9c2d3ea21e0fee90480c085186d301 [Pipeline] } 03:16:29 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 03:16:30 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-186/archives ] 03:16:30 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-186/archives 03:16:30 total 16 03:16:30 drwxr-xr-x 3 root root 4096 May 11 03:09 . 03:16:30 drwxrwxr-x 10 jenkins jenkins 4096 May 11 03:09 .. 03:16:30 drwxr-xr-x 2 root root 4096 May 11 03:09 cost 03:16:30 -rw-r--r-- 1 root root 85 May 11 03:09 cost.csv 03:16:30 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-186/archives 03:16:30 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-186/archives 03:16:30 total 16 03:16:30 drwxr-xr-x 3 jenkins jenkins 4096 May 11 03:09 . 03:16:30 drwxrwxr-x 10 jenkins jenkins 4096 May 11 03:09 .. 03:16:30 drwxr-xr-x 2 jenkins jenkins 4096 May 11 03:09 cost 03:16:30 -rw-r--r-- 1 jenkins jenkins 85 May 11 03:09 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:16:30 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:16:31 ---> package-listing.sh 03:16:31 ++ facter osfamily 03:16:31 ++ tr '[:upper:]' '[:lower:]' 03:16:31 + OS_FAMILY=debian 03:16:31 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-186 03:16:31 + START_PACKAGES=/tmp/packages_start.txt 03:16:31 + END_PACKAGES=/tmp/packages_end.txt 03:16:31 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:16:31 + PACKAGES=/tmp/packages_start.txt 03:16:31 + '[' /w/workspace/gexfoundry_device-rest-go_PR-186 ']' 03:16:31 + PACKAGES=/tmp/packages_end.txt 03:16:31 + case "${OS_FAMILY}" in 03:16:31 + dpkg -l 03:16:31 + grep '^ii' 03:16:31 + '[' -f /tmp/packages_start.txt ']' 03:16:31 + '[' -f /tmp/packages_end.txt ']' 03:16:31 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:16:31 + '[' /w/workspace/gexfoundry_device-rest-go_PR-186 ']' 03:16:31 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-186/archives/ 03:16:31 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-186/archives/ [Pipeline] echo 03:16:31 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-186/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 03:16:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 03:16:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:16:32 . [Pipeline] withDockerContainer 03:16:32 prd-ubuntu20.04-docker-8c-8g-63038 does not seem to be running inside a container 03:16:32 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-186/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-186 -v /w/workspace/gexfoundry_device-rest-go_PR-186:/w/workspace/gexfoundry_device-rest-go_PR-186:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-186@tmp:/w/workspace/gexfoundry_device-rest-go_PR-186@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:16:33 $ docker top 012779002e5a993b90f7c32313bc010a472be711c3b3f9e595ea6fa27b976dbd -eo pid,comm [Pipeline] { [Pipeline] sh 03:16:33 + touch /tmp/pre-build-complete [Pipeline] sh 03:16:33 + mkdir -p /var/log/sysstat [Pipeline] sh 03:16:34 + ls /var/log/sa-host 03:16:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:16:34 provisioning config files... 03:16:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-186@tmp/config5869012937050981019tmp [Pipeline] { [Pipeline] echo 03:16:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:16:34 ---> create-netrc.sh [Pipeline] } 03:16:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:16:35 ---> python-tools-install.sh [Pipeline] echo 03:16:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:16:35 ---> sudo-logs.sh 03:16:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:16:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:16:35 ---> job-cost.sh 03:16:35 lf-activate-venv: SKIPPING 03:16:35 DEBUG: total: 0.2199999988079071 03:16:35 INFO: Retrieving Stack Cost... 03:16:36 INFO: Retrieving Pricing Info for: v3-standard-8 03:16:36 INFO: Archiving Costs [Pipeline] echo 03:16:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:16:36 ---> logs-deploy.sh 03:16:36 lf-activate-venv: SKIPPING 03:16:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-186/3 03:16:36 INFO: archiving workspace using pattern(s): 03:16:37 Archives upload complete. 03:16:37 INFO: archiving logs to Nexus