Pull request #173 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 91315d61c09d0ae29808b4472bea7b070ba96d29+d2dd5877ffea6850c3b0cb999012b17b1a99601c (157066e3f0260c6bb0d5ee74783c4190da064f37) 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-ssh4410542918823819164.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision c72b16708d6eed9a08be464a432ce22db7d90667 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-ssh3730086065627900803.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 c72b16708d6eed9a08be464a432ce22db7d90667 The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and with tags Cloning repository git@github.com:edgexfoundry/edgex-global-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-173/workspace@libs/edgex-global-pipelines # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-173/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh17015850019491484151.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-173/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh1929548181221487000.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision c72b16708d6eed9a08be464a432ce22db7d90667 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f c72b16708d6eed9a08be464a432ce22db7d90667 # timeout=10 Commit message: "Merge pull request #378 from ernestojeda/ubuntu-20-changes" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that shared library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh8307795075222755600.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision b3dada9287033e4e81bc68320e01fd57bef02650 The recommended git tool is: NONE using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning with configured refspecs honoured and without tags Cloning repository git@github.com:lfit/releng-pipelines.git > git init /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-173/workspace@libs/lf-pipelines # timeout=10 Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-173/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh7651693222349492968.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b3dada9287033e4e81bc68320e01fd57bef02650 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f b3dada9287033e4e81bc68320e01fd57bef02650 # timeout=10 Commit message: "Fix: Update requirements.txt, update global-jjb" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 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-19590 in /w/workspace/gexfoundry_device-rest-go_PR-173 [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-173 # 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 d2dd5877ffea6850c3b0cb999012b17b1a99601c into PR head commit 91315d61c09d0ae29808b4472bea7b070ba96d29 Merge succeeded, producing 91315d61c09d0ae29808b4472bea7b070ba96d29 Checking out Revision 91315d61c09d0ae29808b4472bea7b070ba96d29 (PR-173) > 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/173/head:refs/remotes/origin/PR-173 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 91315d61c09d0ae29808b4472bea7b070ba96d29 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub > git merge d2dd5877ffea6850c3b0cb999012b17b1a99601c # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 91315d61c09d0ae29808b4472bea7b070ba96d29 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:05:28 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:05:28 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:05:28 ========================================================= 20:05:28 EdgeX Global Pipelines Version Info 20:05:28 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:05:29 ------------------- 20:05:29 stable info: 20:05:29 ------------------- 20:05:29 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:05:29 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 20:05:29 Message: update stable to v1.0.221 20:05:29 ------------------- 20:05:29 experimental info: 20:05:29 ------------------- 20:05:29 Commited By: **** collab-it+edgex@linuxfoundation.org 20:05:29 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 20:05:29 Message: update experimental to v1.0.221 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:05:30 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:05:30 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:05:30 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:05:30 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:05:30 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:05:30 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 20:05:30 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:05:30 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:05:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:05:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:05:30 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:05:30 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:05:30 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:05:30 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:05:30 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:05:30 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:05:30 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:05:30 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:05:30 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:05:30 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:05:31 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:05:31 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:05:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:05:31 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:05:31 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:05:31 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:05:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-173 [Pipeline] echo 20:05:31 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-173 [Pipeline] echo 20:05:31 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-173 [Pipeline] echo 20:05:31 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 91315d61c09d0ae29808b4472bea7b070ba96d29 [Pipeline] echo 20:05:31 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 91315d6 [Pipeline] echo 20:05:31 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:05:31 provisioning config files... 20:05:31 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-173@tmp/config6528554084231167305tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:05:31 ---> docker-login.sh 20:05:31 nexus3.edgexfoundry.org:10001 20:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:32 Configure a credential helper to remove this warning. See 20:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:32 20:05:32 Login Succeeded 20:05:32 nexus3.edgexfoundry.org:10002 20:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:32 Configure a credential helper to remove this warning. See 20:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:32 20:05:32 Login Succeeded 20:05:32 nexus3.edgexfoundry.org:10003 20:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:32 Configure a credential helper to remove this warning. See 20:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:32 20:05:32 Login Succeeded 20:05:32 nexus3.edgexfoundry.org:10004 20:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:32 Configure a credential helper to remove this warning. See 20:05:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:32 20:05:32 Login Succeeded 20:05:32 docker.io 20:05:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:33 Configure a credential helper to remove this warning. See 20:05:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:33 20:05:33 Login Succeeded 20:05:33 ---> docker-login.sh ends [Pipeline] } 20:05:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:05:33 + git rev-list -1 --merges 91315d61c09d0ae29808b4472bea7b070ba96d29~1..91315d61c09d0ae29808b4472bea7b070ba96d29 [Pipeline] echo 20:05:33 -----------> git rev-list -1 --merges 91315d61c09d0ae29808b4472bea7b070ba96d29~1..91315d61c09d0ae29808b4472bea7b070ba96d29 91315d61c09d0ae29808b4472bea7b070ba96d29 [false] [Pipeline] sh 20:05:34 + git log --format=format:%s -1 91315d61c09d0ae29808b4472bea7b070ba96d29 [Pipeline] echo 20:05:34 ========================================================= 20:05:34 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:05:34 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:05:34 + git log --format=format:%s -1 91315d61c09d0ae29808b4472bea7b070ba96d29 [Pipeline] echo 20:05:34 [semverPrep] GIT_COMMIT: 91315d61c09d0ae29808b4472bea7b070ba96d29, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 20:05:34 [semverPrep] This is not a build commit. [Pipeline] sh 20:05:35 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:05:35 + grep -v github /etc/ssh/ssh_known_hosts 20:05:35 + [ -e /tmp/ssh_known_hosts ] 20:05:35 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:05:35 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:05:35 + sudo tee -a /etc/ssh/ssh_known_hosts 20:05:35 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 20:05:35 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:05:35 20:05:35 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 20:05:36 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:05:36 latest: Pulling from edgex-devops/git-semver 20:05:36 a0d0a0d46f8b: Pulling fs layer 20:05:36 3e5f54012d9b: Pulling fs layer 20:05:36 4c7163046ea9: Pulling fs layer 20:05:36 0c2d73faf560: Pulling fs layer 20:05:36 0c2d73faf560: Waiting 20:05:36 3e5f54012d9b: Verifying Checksum 20:05:36 3e5f54012d9b: Download complete 20:05:36 a0d0a0d46f8b: Verifying Checksum 20:05:36 a0d0a0d46f8b: Download complete 20:05:36 0c2d73faf560: Verifying Checksum 20:05:36 0c2d73faf560: Download complete 20:05:36 4c7163046ea9: Verifying Checksum 20:05:36 4c7163046ea9: Download complete 20:05:36 a0d0a0d46f8b: Pull complete 20:05:36 3e5f54012d9b: Pull complete 20:05:36 4c7163046ea9: Pull complete 20:05:36 0c2d73faf560: Pull complete 20:05:36 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 20:05:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 20:05:36 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 20:05:36 prd-ubuntu20.04-docker-8c-8g-19590 does not seem to be running inside a container 20:05:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-173 -v /w/workspace/gexfoundry_device-rest-go_PR-173:/w/workspace/gexfoundry_device-rest-go_PR-173:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-173@tmp:/w/workspace/gexfoundry_device-rest-go_PR-173@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest cat 20:05:37 $ docker top d32553ab35a9fd48fd33ea1cabce74ee974e11d8441927a950918049b9878bfd -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:05:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:05:37 [ssh-agent] Looking for ssh-agent implementation... 20:05:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:05:38 $ docker exec d32553ab35a9fd48fd33ea1cabce74ee974e11d8441927a950918049b9878bfd ssh-agent 20:05:38 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXdoGOCa/agent.15 20:05:38 SSH_AGENT_PID=21 20:05:38 Running ssh-add (command line suppressed) 20:05:38 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-173@tmp/private_key_9115141563274772481.key (/w/workspace/gexfoundry_device-rest-go_PR-173@tmp/private_key_9115141563274772481.key) 20:05:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:05:38 + git tag --points-at HEAD [Pipeline] } 20:05:38 $ docker exec --env ******** --env ******** d32553ab35a9fd48fd33ea1cabce74ee974e11d8441927a950918049b9878bfd ssh-agent -k 20:05:38 unset SSH_AUTH_SOCK; 20:05:38 unset SSH_AGENT_PID; 20:05:38 echo Agent pid 21 killed; 20:05:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:05:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:05:38 [ssh-agent] Looking for ssh-agent implementation... 20:05:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:05:39 $ docker exec d32553ab35a9fd48fd33ea1cabce74ee974e11d8441927a950918049b9878bfd ssh-agent 20:05:39 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXFMBoaM/agent.55 20:05:39 SSH_AGENT_PID=62 20:05:39 Running ssh-add (command line suppressed) 20:05:39 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-173@tmp/private_key_6737416456119936796.key (/w/workspace/gexfoundry_device-rest-go_PR-173@tmp/private_key_6737416456119936796.key) 20:05:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:05:39 + git semver init 20:05:39 # -> Open(): unable to determine branch for HEAD 20:05:39 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-173/.git 20:05:39 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-173 20:05:39 # $SEMVER_REMOTE_NAME = origin 20:05:39 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 20:05:39 # $SEMVER_USER_NAME = edgex-jenkins 20:05:39 # $SEMVER_BRANCH = PR-173 20:05:39 # $SEMVER_TEMP = /tmp/semver-109482397 20:05:39 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 20:05:41 # '/tmp/semver-109482397' -> '/w/workspace/gexfoundry_device-rest-go_PR-173/.semver' 20:05:41 # -> Force: false 20:05:41 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-173/.semver [Pipeline] } 20:05:41 $ docker exec --env ******** --env ******** d32553ab35a9fd48fd33ea1cabce74ee974e11d8441927a950918049b9878bfd ssh-agent -k 20:05:41 unset SSH_AUTH_SOCK; 20:05:41 unset SSH_AGENT_PID; 20:05:41 echo Agent pid 62 killed; 20:05:41 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:05:41 + git semver [Pipeline] } 20:05:41 $ docker stop --time=1 d32553ab35a9fd48fd33ea1cabce74ee974e11d8441927a950918049b9878bfd 20:05:42 $ docker rm -f d32553ab35a9fd48fd33ea1cabce74ee974e11d8441927a950918049b9878bfd [Pipeline] // withDockerContainer [Pipeline] sh 20:05:43 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:05:43 Stashed 1 file(s) [Pipeline] echo 20:05:43 [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 20:05:44 provisioning config files... 20:05:44 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-173@tmp/config7013627202772220800tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:05:44 ---> docker-login.sh 20:05:44 nexus3.edgexfoundry.org:10001 20:05:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:44 Configure a credential helper to remove this warning. See 20:05:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:44 20:05:44 Login Succeeded 20:05:44 nexus3.edgexfoundry.org:10002 20:05:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:44 Configure a credential helper to remove this warning. See 20:05:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:44 20:05:44 Login Succeeded 20:05:44 nexus3.edgexfoundry.org:10003 20:05:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:44 Configure a credential helper to remove this warning. See 20:05:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:44 20:05:44 Login Succeeded 20:05:44 nexus3.edgexfoundry.org:10004 20:05:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:45 Configure a credential helper to remove this warning. See 20:05:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:45 20:05:45 Login Succeeded 20:05:45 docker.io 20:05:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:05:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:05:45 Configure a credential helper to remove this warning. See 20:05:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:05:45 20:05:45 Login Succeeded 20:05:45 ---> docker-login.sh ends [Pipeline] } 20:05:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:05:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:05:45 ========================================================= 20:05:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 20:05:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:05:46 + 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 . 20:05:46 Sending build context to Docker daemon 10.57MB 20:05:46 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:05:46 Step 2/12 : FROM ${BASE} AS builder 20:05:46 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 20:05:46 59bf1c3509f3: Pulling fs layer 20:05:46 666ba61612fd: Pulling fs layer 20:05:46 8ed8ca486205: Pulling fs layer 20:05:46 4fe6c5a15a65: Pulling fs layer 20:05:46 22a0e8bec74d: Pulling fs layer 20:05:46 640e595b4fbd: Pulling fs layer 20:05:46 763cafe07f6e: Pulling fs layer 20:05:46 0c0b528cf693: Pulling fs layer 20:05:46 10935f4eaf8b: Pulling fs layer 20:05:46 22a0e8bec74d: Waiting 20:05:46 640e595b4fbd: Waiting 20:05:46 10935f4eaf8b: Waiting 20:05:46 0c0b528cf693: Waiting 20:05:46 4fe6c5a15a65: Waiting 20:05:46 8ed8ca486205: Verifying Checksum 20:05:46 8ed8ca486205: Download complete 20:05:46 666ba61612fd: Verifying Checksum 20:05:46 666ba61612fd: Download complete 20:05:46 22a0e8bec74d: Verifying Checksum 20:05:46 22a0e8bec74d: Download complete 20:05:46 640e595b4fbd: Verifying Checksum 20:05:46 640e595b4fbd: Download complete 20:05:46 763cafe07f6e: Download complete 20:05:46 59bf1c3509f3: Verifying Checksum 20:05:46 59bf1c3509f3: Download complete 20:05:46 0c0b528cf693: Verifying Checksum 20:05:46 0c0b528cf693: Download complete 20:05:46 59bf1c3509f3: Pull complete 20:05:46 666ba61612fd: Pull complete 20:05:46 8ed8ca486205: Pull complete 20:05:46 10935f4eaf8b: Verifying Checksum 20:05:46 10935f4eaf8b: Download complete 20:05:46 4fe6c5a15a65: Verifying Checksum 20:05:46 4fe6c5a15a65: Download complete 20:05:51 4fe6c5a15a65: Pull complete 20:05:51 22a0e8bec74d: Pull complete 20:05:51 640e595b4fbd: Pull complete 20:05:51 763cafe07f6e: Pull complete 20:05:51 0c0b528cf693: Pull complete 20:05:54 10935f4eaf8b: Pull complete 20:05:54 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 20:05:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 20:05:54 ---> 99d49a6021b9 20:05:54 Step 3/12 : ARG MAKE='make build' 20:05:54 ---> Running in 4eb1c3bb1aea 20:05:54 Removing intermediate container 4eb1c3bb1aea 20:05:54 ---> c9e4d6e61f51 20:05:54 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:05:54 ---> Running in 004397a6363d 20:05:54 Removing intermediate container 004397a6363d 20:05:54 ---> 677d905707d6 20:05:54 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:05:54 ---> Running in 560d27ea670e 20:05:54 Removing intermediate container 560d27ea670e 20:05:54 ---> a4ff3a725eb6 20:05:54 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:05:54 ---> Running in 719325eff418 20:05:55 Removing intermediate container 719325eff418 20:05:55 ---> d17fad33dd4e 20:05:55 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:05:55 ---> Running in 6304800d5bbc 20:05:55 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:05:56 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:05:56 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:05:56 (2/4) Installing libedit (20210910.3.1-r0) 20:05:56 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:05:57 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:05:57 Executing busybox-1.34.1-r3.trigger 20:05:57 OK: 224 MiB in 56 packages 20:05:57 Removing intermediate container 6304800d5bbc 20:05:57 ---> 6cbe43dc05c2 20:05:57 Step 8/12 : WORKDIR /device-rest-go 20:05:57 ---> Running in b680101ab1eb 20:05:57 Removing intermediate container b680101ab1eb 20:05:57 ---> fe3d733ada7f 20:05:57 Step 9/12 : COPY go.mod vendor* ./ 20:05:57 ---> 618b3f333611 20:05:57 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:05:57 ---> Running in b572bf3e0baa 20:05:59 Still waiting to schedule task 20:05:59 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:06:12 Removing intermediate container b572bf3e0baa 20:06:12 ---> 2f53e0026be4 20:06:12 Step 11/12 : COPY . . 20:06:12 ---> e90193c68f95 20:06:12 Step 12/12 : RUN $MAKE 20:06:12 ---> Running in d38ace175933 20:06:13 noop 20:06:13 Removing intermediate container d38ace175933 20:06:13 ---> 5365a77a6e25 20:06:13 Successfully built 5365a77a6e25 20:06:13 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 20:06:13 + docker inspect -f . ci-base-image-x86_64 20:06:13 . [Pipeline] withDockerContainer 20:06:13 prd-ubuntu20.04-docker-8c-8g-19590 does not seem to be running inside a container 20:06:13 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-173 -v /w/workspace/gexfoundry_device-rest-go_PR-173:/w/workspace/gexfoundry_device-rest-go_PR-173:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-173@tmp:/w/workspace/gexfoundry_device-rest-go_PR-173@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:06:14 $ docker top 716753c1c1874e2e231f5824dc56f20c794365b8e564421fc7ecb216e51d02d4 -eo pid,comm [Pipeline] { [Pipeline] sh 20:06:14 + go version 20:06:14 go version go1.17.6 linux/amd64 [Pipeline] } 20:06:14 $ docker stop --time=1 716753c1c1874e2e231f5824dc56f20c794365b8e564421fc7ecb216e51d02d4 20:06:16 $ docker rm -f 716753c1c1874e2e231f5824dc56f20c794365b8e564421fc7ecb216e51d02d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:06:16 + docker inspect -f . ci-base-image-x86_64 20:06:16 . [Pipeline] withDockerContainer 20:06:16 prd-ubuntu20.04-docker-8c-8g-19590 does not seem to be running inside a container 20:06:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-173 -v /w/workspace/gexfoundry_device-rest-go_PR-173:/w/workspace/gexfoundry_device-rest-go_PR-173:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-173@tmp:/w/workspace/gexfoundry_device-rest-go_PR-173@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:06:17 $ docker top 3416cf78be458532b7986562e24ec82660bf26294413437c94f43a8c6d695d4e -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:06:17 + make test 20:06:17 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:06:17 ? github.com/edgexfoundry/device-rest-go [no test files] 20:06:27 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:06:27 ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 55.2% of statements 20:06:33 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:06:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:06:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:06:36 ./bin/test-attribution-txt.sh [Pipeline] echo 20:06:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:06:36 $ docker stop --time=1 3416cf78be458532b7986562e24ec82660bf26294413437c94f43a8c6d695d4e 20:06:39 $ docker rm -f 3416cf78be458532b7986562e24ec82660bf26294413437c94f43a8c6d695d4e [Pipeline] // withDockerContainer [Pipeline] sh 20:06:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:06:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:06:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:06:41 + ls -al . 20:06:41 total 192 20:06:41 drwxrwxr-x 9 jenkins jenkins 4096 Apr 11 20:06 . 20:06:41 drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 20:05 .. 20:06:41 -rw-rw-r-- 1 jenkins jenkins 151 Apr 11 20:05 .dockerignore 20:06:41 drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 20:05 .git 20:06:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 20:05 .github 20:06:41 -rw-rw-r-- 1 jenkins jenkins 329 Apr 11 20:05 .gitignore 20:06:41 -rw-rw-r-- 1 jenkins jenkins 41 Apr 11 20:05 .golangci.yml 20:06:41 drwx------ 3 jenkins jenkins 4096 Apr 11 20:05 .semver 20:06:41 -rw-rw-r-- 1 jenkins jenkins 8330 Apr 11 20:05 Attribution.txt 20:06:41 -rw-rw-r-- 1 jenkins jenkins 7459 Apr 11 20:05 CHANGELOG.md 20:06:41 -rw-rw-r-- 1 jenkins jenkins 1672 Apr 11 20:05 Dockerfile 20:06:41 -rw-rw-r-- 1 jenkins jenkins 677 Apr 11 20:05 GOVERNANCE.md 20:06:41 -rw-rw-r-- 1 jenkins jenkins 680 Apr 11 20:05 Jenkinsfile 20:06:41 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 11 20:05 LICENSE 20:06:41 -rw-rw-r-- 1 jenkins jenkins 1964 Apr 11 20:05 Makefile 20:06:41 -rw-rw-r-- 1 jenkins jenkins 620 Apr 11 20:05 OWNERS.md 20:06:41 -rw-rw-r-- 1 jenkins jenkins 8246 Apr 11 20:05 README.md 20:06:41 -rw-rw-r-- 1 jenkins jenkins 5 Apr 11 20:05 VERSION 20:06:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 20:05 bin 20:06:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 20:05 cmd 20:06:41 -rw-r--r-- 1 jenkins jenkins 9355 Apr 11 20:06 coverage.out 20:06:41 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 20:05 driver 20:06:41 -rw-rw-r-- 1 jenkins jenkins 3240 Apr 11 20:05 go.mod 20:06:41 -rw-rw-r-- 1 jenkins jenkins 54276 Apr 11 20:05 go.sum 20:06:41 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 20:05 snap 20:06:41 -rw-rw-r-- 1 jenkins jenkins 713 Apr 11 20:05 version.go [Pipeline] isUnix [Pipeline] sh 20:06:42 + 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=91315d61c09d0ae29808b4472bea7b070ba96d29 --label arch=amd64 --label version=0.0.0 . 20:06:42 Sending build context to Docker daemon 10.58MB 20:06:42 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 20:06:42 Step 2/25 : FROM ${BASE} AS builder 20:06:42 ---> 5365a77a6e25 20:06:42 Step 3/25 : ARG MAKE='make build' 20:06:42 ---> Running in 6890b7f9f6c1 20:06:42 Removing intermediate container 6890b7f9f6c1 20:06:42 ---> 1ecec3915e80 20:06:42 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:06:42 ---> Running in 3530157b04de 20:06:42 Removing intermediate container 3530157b04de 20:06:42 ---> 0a89078900a5 20:06:42 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:06:42 ---> Running in e9a517e98c17 20:06:42 Removing intermediate container e9a517e98c17 20:06:42 ---> 21582bfc6986 20:06:42 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:06:42 ---> Running in af2062a2296b 20:06:43 Removing intermediate container af2062a2296b 20:06:43 ---> e23bd76bb030 20:06:43 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:06:43 ---> Running in 5adb4272b2ff 20:06:43 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 20:06:44 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 20:06:44 OK: 224 MiB in 56 packages 20:06:44 Removing intermediate container 5adb4272b2ff 20:06:44 ---> 66bf142efbe1 20:06:44 Step 8/25 : WORKDIR /device-rest-go 20:06:44 ---> Running in fcd0ec3badd7 20:06:45 Removing intermediate container fcd0ec3badd7 20:06:45 ---> 9aa8b440d282 20:06:45 Step 9/25 : COPY go.mod vendor* ./ 20:06:45 ---> 62f08559ab25 20:06:45 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:06:45 ---> Running in a54d3f7eb22a 20:06:45 Removing intermediate container a54d3f7eb22a 20:06:45 ---> 7e1556933889 20:06:45 Step 11/25 : COPY . . 20:06:45 ---> 2671eaadd635 20:06:45 Step 12/25 : RUN $MAKE 20:06:45 ---> Running in bab3972bdfb5 20:06:46 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 20:07:04 Removing intermediate container bab3972bdfb5 20:07:04 ---> a339fc41098a 20:07:04 Step 13/25 : FROM alpine:3.14 20:07:04 3.14: Pulling from library/alpine 20:07:04 8663204ce13b: Pulling fs layer 20:07:05 8663204ce13b: Verifying Checksum 20:07:05 8663204ce13b: Download complete 20:07:05 8663204ce13b: Pull complete 20:07:05 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 20:07:05 Status: Downloaded newer image for alpine:3.14 20:07:05 ---> e04c818066af 20:07:05 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:07:05 ---> Running in f92554f0a7bf 20:07:05 Removing intermediate container f92554f0a7bf 20:07:05 ---> 89527d1a38b3 20:07:05 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:07:05 ---> Running in 3198c55cedea 20:07:05 Removing intermediate container 3198c55cedea 20:07:05 ---> de01b8508506 20:07:05 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:07:05 ---> Running in c014b72b20c4 20:07:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 20:07:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 20:07:05 (1/6) Installing dumb-init (1.2.5-r1) 20:07:05 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:07:05 (3/6) Installing libsodium (1.0.18-r0) 20:07:05 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:07:05 (5/6) Installing libzmq (4.3.4-r0) 20:07:05 (6/6) Installing zeromq (4.3.4-r0) 20:07:05 Executing busybox-1.33.1-r7.trigger 20:07:05 OK: 8 MiB in 20 packages 20:07:06 Removing intermediate container c014b72b20c4 20:07:06 ---> e3c0bedaf25e 20:07:06 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:07:07 ---> 7b801a3c14f0 20:07:07 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:07:07 ---> c2b30df53863 20:07:07 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:07:07 ---> a05f58611ada 20:07:07 Step 20/25 : EXPOSE 59986 20:07:07 ---> Running in 1cad77f9763d 20:07:07 Removing intermediate container 1cad77f9763d 20:07:07 ---> b7360755612b 20:07:07 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:07:07 ---> Running in 369acb625547 20:07:07 Removing intermediate container 369acb625547 20:07:07 ---> c507886d20ad 20:07:07 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:07:07 ---> Running in 57e160bb71bc 20:07:07 Removing intermediate container 57e160bb71bc 20:07:07 ---> 1c78d587690e 20:07:07 Step 23/25 : LABEL arch=amd64 20:07:07 ---> Running in b94dadd2d2aa 20:07:07 Removing intermediate container b94dadd2d2aa 20:07:07 ---> ece51b52aace 20:07:07 Step 24/25 : LABEL git_sha=91315d61c09d0ae29808b4472bea7b070ba96d29 20:07:07 ---> Running in 3e9efe3cb86e 20:07:07 Removing intermediate container 3e9efe3cb86e 20:07:07 ---> 224575f0c54a 20:07:07 Step 25/25 : LABEL version=0.0.0 20:07:07 ---> Running in 1204b7141ad1 20:07:07 Removing intermediate container 1204b7141ad1 20:07:07 ---> 64ddcbf54d63 20:07:07 [Warning] One or more build-args [ARCH] were not consumed 20:07:07 Successfully built 64ddcbf54d63 20:07:07 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 20:07:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:07:08 20:07:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 20:07:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:07:09 latest: Pulling from edgex-lftools-log-publisher 20:07:09 5eb5b503b376: Pulling fs layer 20:07:09 5c69ac0246d0: Pulling fs layer 20:07:09 ec43610c2a17: Pulling fs layer 20:07:09 3a2ae6a8a46f: Pulling fs layer 20:07:09 33b1e0a273af: Pulling fs layer 20:07:09 5d3b04190fa2: Pulling fs layer 20:07:09 2f39f015ded8: Pulling fs layer 20:07:09 33b1e0a273af: Waiting 20:07:09 5d3b04190fa2: Waiting 20:07:09 2f39f015ded8: Waiting 20:07:09 3a2ae6a8a46f: Waiting 20:07:09 5c69ac0246d0: Verifying Checksum 20:07:09 5c69ac0246d0: Download complete 20:07:09 3a2ae6a8a46f: Verifying Checksum 20:07:09 3a2ae6a8a46f: Download complete 20:07:09 33b1e0a273af: Verifying Checksum 20:07:09 33b1e0a273af: Download complete 20:07:09 ec43610c2a17: Verifying Checksum 20:07:09 ec43610c2a17: Download complete 20:07:09 5d3b04190fa2: Verifying Checksum 20:07:09 5d3b04190fa2: Download complete 20:07:09 5eb5b503b376: Download complete 20:07:09 2f39f015ded8: Download complete 20:07:10 5eb5b503b376: Pull complete 20:07:10 5c69ac0246d0: Pull complete 20:07:10 ec43610c2a17: Pull complete 20:07:10 3a2ae6a8a46f: Pull complete 20:07:11 33b1e0a273af: Pull complete 20:07:11 5d3b04190fa2: Pull complete 20:07:15 2f39f015ded8: Pull complete 20:07:15 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:07:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:07:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 20:07:15 prd-ubuntu20.04-docker-8c-8g-19590 does not seem to be running inside a container 20:07:15 $ 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-173 -v /w/workspace/gexfoundry_device-rest-go_PR-173:/w/workspace/gexfoundry_device-rest-go_PR-173:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-173@tmp:/w/workspace/gexfoundry_device-rest-go_PR-173@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:07:16 $ docker top 7be1ef9c65b6ed25c53128dfc38bde73e0135f522c60e89168b2c30e397dbd74 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:07:17 ---> job-cost.sh 20:07:17 lf-activate-venv: SKIPPING 20:07:17 INFO: No Stack... 20:07:17 INFO: Retrieving Pricing Info for: v3-standard-8 20:07:18 INFO: Archiving Costs [Pipeline] sh 20:07:18 + cat /w/workspace/gexfoundry_device-rest-go_PR-173/archives/cost.csv 20:07:18 + cut -d, -f6 [Pipeline] lock 20:07:18 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-173-1-stack-cost] 20:07:18 Resource [jenkins-edgexfoundry-device-rest-go-PR-173-1-stack-cost] did not exist. Created. 20:07:18 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-173-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:07:18 + echo total: 0.2199999988079071 [Pipeline] stash 20:07:18 Stashed 1 file(s) [Pipeline] } 20:07:18 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-173-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:07:19 $ docker stop --time=1 7be1ef9c65b6ed25c53128dfc38bde73e0135f522c60e89168b2c30e397dbd74 20:07:20 $ docker rm -f 7be1ef9c65b6ed25c53128dfc38bde73e0135f522c60e89168b2c30e397dbd74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:07:37 Running on prd-ubuntu20.04-docker-arm64-4c-16g-19592 in /w/workspace/gexfoundry_device-rest-go_PR-173 [Pipeline] { [Pipeline] ws 20:07:37 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:07:37 The recommended git tool is: git 20:07:44 using credential edgex-jenkins-ssh 20:07:44 Cloning the remote Git repository 20:07:44 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:07:44 > git init /w/workspace/device-rest-go/1 # timeout=10 20:07:45 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:07:45 > git --version # timeout=10 20:07:45 > git --version # 'git version 2.25.1' 20:07:45 using GIT_SSH to set credentials SSH Credentials for GitHub 20:07:45 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:07:47 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:07:47 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:07:47 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:07:47 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:07:47 using GIT_SSH to set credentials SSH Credentials for GitHub 20:07:47 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/173/head:refs/remotes/origin/PR-173 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:07:48 Merging remotes/origin/main commit d2dd5877ffea6850c3b0cb999012b17b1a99601c into PR head commit 91315d61c09d0ae29808b4472bea7b070ba96d29 20:07:48 Merge succeeded, producing 91315d61c09d0ae29808b4472bea7b070ba96d29 20:07:48 Checking out Revision 91315d61c09d0ae29808b4472bea7b070ba96d29 (PR-173) 20:07:48 > git config core.sparsecheckout # timeout=10 20:07:48 > git checkout -f 91315d61c09d0ae29808b4472bea7b070ba96d29 # timeout=10 20:07:48 > git remote # timeout=10 20:07:48 > git config --get remote.origin.url # timeout=10 20:07:48 using GIT_SSH to set credentials SSH Credentials for GitHub 20:07:48 > git merge d2dd5877ffea6850c3b0cb999012b17b1a99601c # timeout=10 20:07:48 > git rev-parse HEAD^{commit} # timeout=10 20:07:48 > git config core.sparsecheckout # timeout=10 20:07:48 > git checkout -f 91315d61c09d0ae29808b4472bea7b070ba96d29 # timeout=10 20:07:52 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 20:07:53 > git --version # timeout=10 20:07:53 > git --version # 'git version 2.25.1' 20:07:53 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:07:54 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:07:54 % Total % Received % Xferd Average Speed Time Time Time Current 20:07:54 Dload Upload Total Spent Left Speed 20:07:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 47947 0 --:--:-- --:--:-- --:--:-- 47754 [Pipeline] sh 20:07:54 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:07:55 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:07:55 + sudo tee /etc/docker/daemon.new 20:07:55 { 20:07:55 "registry-mirrors": [ 20:07:55 "https://nexus3.edgexfoundry.org:10001" 20:07:55 ], 20:07:55 "bip": "10.250.0.254/24", 20:07:55 "hosts": [ 20:07:55 "tcp://0.0.0.0:5555", 20:07:55 "unix:///var/run/docker.sock" 20:07:55 ], 20:07:55 "mtu": 1458, 20:07:55 "selinux-enabled": true, 20:07:55 "seccomp-profile": "/etc/docker/seccomp.json" 20:07:55 } [Pipeline] sh 20:07:55 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:07:55 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:08:14 provisioning config files... 20:08:14 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config1697337010708695766tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:08:14 ---> docker-login.sh 20:08:14 nexus3.edgexfoundry.org:10001 20:08:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:15 Configure a credential helper to remove this warning. See 20:08:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:15 20:08:15 Login Succeeded 20:08:15 nexus3.edgexfoundry.org:10002 20:08:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:16 Configure a credential helper to remove this warning. See 20:08:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:16 20:08:16 Login Succeeded 20:08:16 nexus3.edgexfoundry.org:10003 20:08:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:17 Configure a credential helper to remove this warning. See 20:08:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:17 20:08:17 Login Succeeded 20:08:17 nexus3.edgexfoundry.org:10004 20:08:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:17 Configure a credential helper to remove this warning. See 20:08:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:17 20:08:17 Login Succeeded 20:08:17 docker.io 20:08:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:08:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:08:18 Configure a credential helper to remove this warning. See 20:08:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:08:18 20:08:18 Login Succeeded 20:08:18 ---> docker-login.sh ends [Pipeline] } 20:08:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:08:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:08:18 ========================================================= 20:08:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 20:08:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 20:08:19 + 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 . 20:08:19 Sending build context to Docker daemon 127.5kB 20:08:19 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 20:08:19 Step 2/12 : FROM ${BASE} AS builder 20:08:19 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:08:19 9b3977197b4f: Pulling fs layer 20:08:19 1a89e8eeedd5: Pulling fs layer 20:08:19 94645a83ff95: Pulling fs layer 20:08:19 3f3a8bcf1eab: Pulling fs layer 20:08:19 0c92f367c5e7: Pulling fs layer 20:08:19 f7c0051592d6: Pulling fs layer 20:08:19 a227ed2f7395: Pulling fs layer 20:08:19 7b1c46037f91: Pulling fs layer 20:08:19 3f3a8bcf1eab: Waiting 20:08:19 0c92f367c5e7: Waiting 20:08:19 f7c0051592d6: Waiting 20:08:19 a227ed2f7395: Waiting 20:08:19 7b1c46037f91: Waiting 20:08:19 94645a83ff95: Verifying Checksum 20:08:19 94645a83ff95: Download complete 20:08:19 1a89e8eeedd5: Verifying Checksum 20:08:19 1a89e8eeedd5: Download complete 20:08:19 0c92f367c5e7: Verifying Checksum 20:08:19 0c92f367c5e7: Download complete 20:08:19 f7c0051592d6: Verifying Checksum 20:08:19 f7c0051592d6: Download complete 20:08:19 9b3977197b4f: Verifying Checksum 20:08:19 9b3977197b4f: Download complete 20:08:19 a227ed2f7395: Verifying Checksum 20:08:19 a227ed2f7395: Download complete 20:08:20 9b3977197b4f: Pull complete 20:08:21 1a89e8eeedd5: Pull complete 20:08:21 94645a83ff95: Pull complete 20:08:22 7b1c46037f91: Verifying Checksum 20:08:22 7b1c46037f91: Download complete 20:08:22 3f3a8bcf1eab: Verifying Checksum 20:08:22 3f3a8bcf1eab: Download complete 20:08:35 3f3a8bcf1eab: Pull complete 20:08:35 0c92f367c5e7: Pull complete 20:08:35 f7c0051592d6: Pull complete 20:08:35 a227ed2f7395: Pull complete 20:08:42 7b1c46037f91: Pull complete 20:08:42 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 20:08:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 20:08:42 ---> f79e39bc4007 20:08:42 Step 3/12 : ARG MAKE='make build' 20:08:43 ---> Running in 1a0c3eb71fbb 20:08:43 Removing intermediate container 1a0c3eb71fbb 20:08:43 ---> a7cfdedcad8e 20:08:43 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:08:43 ---> Running in bfbedd0c1061 20:08:43 Removing intermediate container bfbedd0c1061 20:08:43 ---> 80fd0c3e7818 20:08:43 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 20:08:44 ---> Running in 39dc7ec341c2 20:08:44 Removing intermediate container 39dc7ec341c2 20:08:44 ---> d8ed338af959 20:08:44 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:08:44 ---> Running in 8f3af5d9f32e 20:08:46 Removing intermediate container 8f3af5d9f32e 20:08:46 ---> cf24689ea042 20:08:46 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:08:46 ---> Running in bf6af716afc2 20:08:47 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:08:48 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:08:49 (1/4) Installing openssh-keygen (8.8_p1-r1) 20:08:49 (2/4) Installing libedit (20210910.3.1-r0) 20:08:49 (3/4) Installing openssh-client-common (8.8_p1-r1) 20:08:49 (4/4) Installing openssh-client-default (8.8_p1-r1) 20:08:49 Executing busybox-1.34.1-r3.trigger 20:08:49 OK: 224 MiB in 56 packages 20:08:50 Removing intermediate container bf6af716afc2 20:08:50 ---> 80052fa6f539 20:08:50 Step 8/12 : WORKDIR /device-rest-go 20:08:50 ---> Running in 0f5378061994 20:08:50 Removing intermediate container 0f5378061994 20:08:50 ---> 82a037d4467b 20:08:50 Step 9/12 : COPY go.mod vendor* ./ 20:08:51 ---> 0cf57007bff1 20:08:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:08:51 ---> Running in 8cd0ad5f3f38 20:09:38 Removing intermediate container 8cd0ad5f3f38 20:09:38 ---> 797c02e59094 20:09:38 Step 11/12 : COPY . . 20:09:38 ---> 77850ef61c23 20:09:38 Step 12/12 : RUN $MAKE 20:09:38 ---> Running in eefe1fc8fdbd 20:09:38 noop 20:09:39 Removing intermediate container eefe1fc8fdbd 20:09:39 ---> 8161965fad92 20:09:39 Successfully built 8161965fad92 20:09:39 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 20:09:39 + docker inspect -f . ci-base-image-arm64 20:09:39 . [Pipeline] withDockerContainer 20:09:40 prd-ubuntu20.04-docker-arm64-4c-16g-19592 does not seem to be running inside a container 20:09:40 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:09:41 $ docker top da86ebdb8f7d9842aa7f2d860321dfd15ed96d5fd2d7a02f6d2240e9a167bd82 -eo pid,comm [Pipeline] { [Pipeline] sh 20:09:42 + go version 20:09:42 go version go1.17.6 linux/arm64 [Pipeline] } 20:09:42 $ docker stop --time=1 da86ebdb8f7d9842aa7f2d860321dfd15ed96d5fd2d7a02f6d2240e9a167bd82 20:09:44 $ docker rm -f da86ebdb8f7d9842aa7f2d860321dfd15ed96d5fd2d7a02f6d2240e9a167bd82 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:09:45 + docker inspect -f . ci-base-image-arm64 20:09:45 . [Pipeline] withDockerContainer 20:09:45 prd-ubuntu20.04-docker-arm64-4c-16g-19592 does not seem to be running inside a container 20:09:45 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:09:46 $ docker top 44e849e9a4b815ca4093e0bb01f4d7d60edc8f7e965c5c936bdc2258797b568d -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 20:09:47 + make test 20:09:47 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:09:49 ? github.com/edgexfoundry/device-rest-go [no test files] 20:11:11 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:11:11 ok github.com/edgexfoundry/device-rest-go/driver 0.074s coverage: 55.2% of statements 20:11:11 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:11:11 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:11:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:11:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:11:38 ./bin/test-attribution-txt.sh [Pipeline] echo 20:11:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:11:41 $ docker stop --time=1 44e849e9a4b815ca4093e0bb01f4d7d60edc8f7e965c5c936bdc2258797b568d 20:11:43 $ docker rm -f 44e849e9a4b815ca4093e0bb01f4d7d60edc8f7e965c5c936bdc2258797b568d [Pipeline] // withDockerContainer [Pipeline] sh 20:11:44 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:11:44 Warning: overwriting stash ‘coverage-report’ 20:11:45 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:11:46 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:11:46 + ls -al . 20:11:46 total 188 20:11:46 drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 20:11 . 20:11:46 drwxrwxr-x 4 jenkins jenkins 4096 Apr 11 20:07 .. 20:11:46 -rw-rw-r-- 1 jenkins jenkins 151 Apr 11 20:07 .dockerignore 20:11:46 drwxrwxr-x 8 jenkins jenkins 4096 Apr 11 20:07 .git 20:11:46 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 20:07 .github 20:11:46 -rw-rw-r-- 1 jenkins jenkins 329 Apr 11 20:07 .gitignore 20:11:46 -rw-rw-r-- 1 jenkins jenkins 41 Apr 11 20:07 .golangci.yml 20:11:46 -rw-rw-r-- 1 jenkins jenkins 8330 Apr 11 20:07 Attribution.txt 20:11:46 -rw-rw-r-- 1 jenkins jenkins 7459 Apr 11 20:07 CHANGELOG.md 20:11:46 -rw-rw-r-- 1 jenkins jenkins 1672 Apr 11 20:07 Dockerfile 20:11:46 -rw-rw-r-- 1 jenkins jenkins 677 Apr 11 20:07 GOVERNANCE.md 20:11:46 -rw-rw-r-- 1 jenkins jenkins 680 Apr 11 20:07 Jenkinsfile 20:11:46 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 11 20:07 LICENSE 20:11:46 -rw-rw-r-- 1 jenkins jenkins 1964 Apr 11 20:07 Makefile 20:11:46 -rw-rw-r-- 1 jenkins jenkins 620 Apr 11 20:07 OWNERS.md 20:11:46 -rw-rw-r-- 1 jenkins jenkins 8246 Apr 11 20:07 README.md 20:11:46 -rw-rw-r-- 1 jenkins jenkins 5 Apr 11 20:05 VERSION 20:11:46 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 20:07 bin 20:11:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 20:07 cmd 20:11:46 -rw-r--r-- 1 jenkins jenkins 9355 Apr 11 20:11 coverage.out 20:11:46 drwxrwxr-x 2 jenkins jenkins 4096 Apr 11 20:07 driver 20:11:46 -rw-rw-r-- 1 jenkins jenkins 3240 Apr 11 20:07 go.mod 20:11:46 -rw-rw-r-- 1 jenkins jenkins 54276 Apr 11 20:07 go.sum 20:11:46 drwxrwxr-x 3 jenkins jenkins 4096 Apr 11 20:07 snap 20:11:46 -rw-rw-r-- 1 jenkins jenkins 713 Apr 11 20:07 version.go [Pipeline] isUnix [Pipeline] sh 20:11:46 + 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=91315d61c09d0ae29808b4472bea7b070ba96d29 --label arch=arm64 --label version=0.0.0 . 20:11:46 Sending build context to Docker daemon 137.7kB 20:11:47 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 20:11:47 Step 2/25 : FROM ${BASE} AS builder 20:11:47 ---> 8161965fad92 20:11:47 Step 3/25 : ARG MAKE='make build' 20:11:47 ---> Running in a01a62d99eaa 20:11:47 Removing intermediate container a01a62d99eaa 20:11:47 ---> 14225a3cf39d 20:11:47 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:11:47 ---> Running in 4a63041ed962 20:11:48 Removing intermediate container 4a63041ed962 20:11:48 ---> c5548cb87af7 20:11:48 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 20:11:48 ---> Running in 153549322cda 20:11:48 Removing intermediate container 153549322cda 20:11:48 ---> 2147ce088fd5 20:11:48 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 20:11:48 ---> Running in 8f8b202dd63e 20:11:50 Removing intermediate container 8f8b202dd63e 20:11:50 ---> 918cf4f69dc1 20:11:50 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:11:50 ---> Running in 2c6935af4bc4 20:11:51 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 20:11:52 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 20:11:53 OK: 224 MiB in 56 packages 20:11:53 Removing intermediate container 2c6935af4bc4 20:11:53 ---> e24789f8dff8 20:11:53 Step 8/25 : WORKDIR /device-rest-go 20:11:53 ---> Running in a140ef9101b7 20:11:54 Removing intermediate container a140ef9101b7 20:11:54 ---> f12ec17055e3 20:11:54 Step 9/25 : COPY go.mod vendor* ./ 20:11:54 ---> 93cfd882df84 20:11:54 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:11:54 ---> Running in e80b518ddffd 20:11:56 Removing intermediate container e80b518ddffd 20:11:56 ---> 101ffbefc422 20:11:56 Step 11/25 : COPY . . 20:11:57 ---> 311ac55ce432 20:11:57 Step 12/25 : RUN $MAKE 20:11:57 ---> Running in af28d1fe524d 20:11:58 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 20:14:04 Removing intermediate container af28d1fe524d 20:14:04 ---> 31ecab534782 20:14:04 Step 13/25 : FROM alpine:3.14 20:14:04 3.14: Pulling from library/alpine 20:14:04 455c02918c45: Pulling fs layer 20:14:05 455c02918c45: Verifying Checksum 20:14:05 455c02918c45: Download complete 20:14:05 455c02918c45: Pull complete 20:14:05 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 20:14:05 Status: Downloaded newer image for alpine:3.14 20:14:05 ---> ac73e934f311 20:14:05 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 20:14:05 ---> Running in 20c69ca12096 20:14:06 Removing intermediate container 20c69ca12096 20:14:06 ---> 2f6acc420739 20:14:06 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:14:06 ---> Running in 8156df8e0b88 20:14:06 Removing intermediate container 8156df8e0b88 20:14:06 ---> 3b5844d8a060 20:14:06 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:14:06 ---> Running in 24fc81562e23 20:14:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 20:14:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 20:14:08 (1/6) Installing dumb-init (1.2.5-r1) 20:14:08 (2/6) Installing libgcc (10.3.1_git20210424-r2) 20:14:08 (3/6) Installing libsodium (1.0.18-r0) 20:14:08 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 20:14:08 (5/6) Installing libzmq (4.3.4-r0) 20:14:08 (6/6) Installing zeromq (4.3.4-r0) 20:14:08 Executing busybox-1.33.1-r7.trigger 20:14:08 OK: 8 MiB in 20 packages 20:14:09 Removing intermediate container 24fc81562e23 20:14:09 ---> d64f1b977ae6 20:14:09 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:14:11 ---> 31d235ef7cd3 20:14:11 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:14:11 ---> 43954d865052 20:14:11 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:14:12 ---> 7e46cd661de1 20:14:12 Step 20/25 : EXPOSE 59986 20:14:12 ---> Running in 7620428a39ed 20:14:12 Removing intermediate container 7620428a39ed 20:14:12 ---> f47f88f68b68 20:14:12 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:14:12 ---> Running in 269304cf23e3 20:14:13 Removing intermediate container 269304cf23e3 20:14:13 ---> 4046504d6779 20:14:13 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:14:13 ---> Running in 51513d4ecac3 20:14:13 Removing intermediate container 51513d4ecac3 20:14:13 ---> e33d939ccaf1 20:14:13 Step 23/25 : LABEL arch=arm64 20:14:13 ---> Running in c2aa4895f171 20:14:13 Removing intermediate container c2aa4895f171 20:14:13 ---> 298666942508 20:14:13 Step 24/25 : LABEL git_sha=91315d61c09d0ae29808b4472bea7b070ba96d29 20:14:13 ---> Running in ba90a404c4d0 20:14:14 Removing intermediate container ba90a404c4d0 20:14:14 ---> 1e10eaedfaa2 20:14:14 Step 25/25 : LABEL version=0.0.0 20:14:14 ---> Running in bd9def2395c2 20:14:14 Removing intermediate container bd9def2395c2 20:14:14 ---> d035e7aa3f51 20:14:14 [Warning] One or more build-args [ARCH] were not consumed 20:14:14 Successfully built d035e7aa3f51 20:14:14 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 20:14:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:14:15 20:14:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 20:14:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:14:16 arm64: Pulling from edgex-lftools-log-publisher 20:14:16 8998bd30e6a1: Pulling fs layer 20:14:16 04944245beec: Pulling fs layer 20:14:16 699f458cf7ca: Pulling fs layer 20:14:16 765212b225bb: Pulling fs layer 20:14:16 f23df028b6ca: Pulling fs layer 20:14:16 d65c8cfc05b1: Pulling fs layer 20:14:16 2437ff75d9bd: Pulling fs layer 20:14:16 765212b225bb: Waiting 20:14:16 f23df028b6ca: Waiting 20:14:16 d65c8cfc05b1: Waiting 20:14:16 2437ff75d9bd: Waiting 20:14:16 04944245beec: Verifying Checksum 20:14:16 04944245beec: Download complete 20:14:16 765212b225bb: Verifying Checksum 20:14:16 765212b225bb: Download complete 20:14:16 f23df028b6ca: Verifying Checksum 20:14:16 f23df028b6ca: Download complete 20:14:16 d65c8cfc05b1: Verifying Checksum 20:14:16 d65c8cfc05b1: Download complete 20:14:16 699f458cf7ca: Verifying Checksum 20:14:16 699f458cf7ca: Download complete 20:14:16 8998bd30e6a1: Verifying Checksum 20:14:16 8998bd30e6a1: Download complete 20:14:19 2437ff75d9bd: Verifying Checksum 20:14:19 2437ff75d9bd: Download complete 20:14:20 8998bd30e6a1: Pull complete 20:14:21 04944245beec: Pull complete 20:14:22 699f458cf7ca: Pull complete 20:14:22 765212b225bb: Pull complete 20:14:23 f23df028b6ca: Pull complete 20:14:24 d65c8cfc05b1: Pull complete 20:14:39 2437ff75d9bd: Pull complete 20:14:39 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:14:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:14:39 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 20:14:39 prd-ubuntu20.04-docker-arm64-4c-16g-19592 does not seem to be running inside a container 20:14:39 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:14:42 $ docker top 6ed59520c6b3411eaabff8481d9ff01f0d02e9997e636f8b16e29ac618948945 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:14:43 ---> job-cost.sh 20:14:43 lf-activate-venv: SKIPPING 20:14:43 INFO: No Stack... 20:14:43 INFO: Retrieving Pricing Info for: v3-standard-4 20:14:44 INFO: Archiving Costs [Pipeline] sh 20:14:45 + + cat /w/workspace/device-rest-go/1/archives/cost.csv 20:14:45 cut -d, -f6 [Pipeline] lock 20:14:45 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-173-1-stack-cost] 20:14:45 Resource [jenkins-edgexfoundry-device-rest-go-PR-173-1-stack-cost] did not exist. Created. 20:14:45 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-173-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:14:46 /w/workspace/device-rest-go/1@tmp/durable-87da04e5/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:14:47 + echo total: 0.10999999940395355 [Pipeline] stash 20:14:47 Warning: overwriting stash ‘stack-cost’ 20:14:47 Stashed 1 file(s) [Pipeline] } 20:14:47 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-173-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:14:47 $ docker stop --time=1 6ed59520c6b3411eaabff8481d9ff01f0d02e9997e636f8b16e29ac618948945 20:14:48 $ docker rm -f 6ed59520c6b3411eaabff8481d9ff01f0d02e9997e636f8b16e29ac618948945 [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 20:14:49 provisioning config files... 20:14:49 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-173@tmp/config3523405491305101680tmp [Pipeline] { [Pipeline] sh 20:14:50 + set +x 20:14:50 + curl -s https://codecov.io/bash 20:14:50 + bash -s -- 20:14:50 20:14:50 _____ _ 20:14:50 / ____| | | 20:14:50 | | ___ __| | ___ ___ _____ __ 20:14:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:14:50 | |___| (_) | (_| | __/ (_| (_) \ V / 20:14:50 \_____\___/ \__,_|\___|\___\___/ \_/ 20:14:50 Bash-1.0.6 20:14:50 20:14:50 20:14:50 ==> git version 2.25.1 found 20:14:50 ==> 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 20:14:50 Release-Date: 2020-01-08 20:14:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:14:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:14:50 ==> Jenkins CI detected. 20:14:50 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-173 20:14:50 project root: . 20:14:50 --> token set from env 20:14:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:14:50 ==> Running gcov in . (disable via -X gcov) 20:14:50 ==> Python coveragepy not found 20:14:50 ==> Searching for coverage reports in: 20:14:50 + . 20:14:50 -> Found 1 reports 20:14:50 ==> Detecting git/mercurial file structure 20:14:50 ==> Reading reports 20:14:50 + ./coverage.out bytes=9355 20:14:50 ==> Appending adjustments 20:14:50 https://docs.codecov.io/docs/fixing-reports 20:14:50 + Found adjustments 20:14:50 ==> Gzipping contents 20:14:50 4.0K /tmp/codecov.5KidiA.gz 20:14:50 ==> Uploading reports 20:14:50 url: https://codecov.io 20:14:50 query: branch=PR-173&commit=91315d61c09d0ae29808b4472bea7b070ba96d29&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-173%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=173&job=&cmd_args= 20:14:50 -> Pinging Codecov 20:14:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-173&commit=91315d61c09d0ae29808b4472bea7b070ba96d29&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-173%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=173&job=&cmd_args= 20:14:50 -> Uploading to 20:14:50 https://storage.googleapis.com/codecov/v4/raw/2022-04-11/4E5D53B4F1F92C436F7061BF334D961C/91315d61c09d0ae29808b4472bea7b070ba96d29/9299feb3-0093-453c-83d2-428d87565335.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220411%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220411T201450Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=75ca6b981a42740363d1957631d605d4b1e6ac59d12ab8e977d48ecc9b0826a9 20:14:50 % Total % Received % Xferd Average Speed Time Time Time Current 20:14:50 Dload Upload Total Spent Left Speed 20:14:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1800 0 0 100 1800 0 7659 --:--:-- --:--:-- --:--:-- 7692 20:14:51 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/91315d61c09d0ae29808b4472bea7b070ba96d29 [Pipeline] } 20:14:51 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 20:14:52 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-173/archives ] 20:14:52 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-173/archives 20:14:52 total 16 20:14:52 drwxr-xr-x 3 root root 4096 Apr 11 20:07 . 20:14:52 drwxrwxr-x 10 jenkins jenkins 4096 Apr 11 20:07 .. 20:14:52 drwxr-xr-x 2 root root 4096 Apr 11 20:07 cost 20:14:52 -rw-r--r-- 1 root root 85 Apr 11 20:07 cost.csv 20:14:52 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-173/archives 20:14:52 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-173/archives 20:14:52 total 16 20:14:52 drwxr-xr-x 3 jenkins jenkins 4096 Apr 11 20:07 . 20:14:52 drwxrwxr-x 10 jenkins jenkins 4096 Apr 11 20:07 .. 20:14:52 drwxr-xr-x 2 jenkins jenkins 4096 Apr 11 20:07 cost 20:14:52 -rw-r--r-- 1 jenkins jenkins 85 Apr 11 20:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:14:53 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:14:53 ---> package-listing.sh 20:14:53 ++ facter osfamily 20:14:53 ++ tr '[:upper:]' '[:lower:]' 20:14:54 + OS_FAMILY=debian 20:14:54 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-173 20:14:54 + START_PACKAGES=/tmp/packages_start.txt 20:14:54 + END_PACKAGES=/tmp/packages_end.txt 20:14:54 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:14:54 + PACKAGES=/tmp/packages_start.txt 20:14:54 + '[' /w/workspace/gexfoundry_device-rest-go_PR-173 ']' 20:14:54 + PACKAGES=/tmp/packages_end.txt 20:14:54 + case "${OS_FAMILY}" in 20:14:54 + dpkg -l 20:14:54 + grep '^ii' 20:14:54 + '[' -f /tmp/packages_start.txt ']' 20:14:54 + '[' -f /tmp/packages_end.txt ']' 20:14:54 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:14:54 + '[' /w/workspace/gexfoundry_device-rest-go_PR-173 ']' 20:14:54 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-173/archives/ 20:14:54 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-173/archives/ [Pipeline] echo 20:14:54 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-173/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:14:54 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 20:14:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:14:54 . [Pipeline] withDockerContainer 20:14:54 prd-ubuntu20.04-docker-8c-8g-19590 does not seem to be running inside a container 20:14:54 $ 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-173/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-173 -v /w/workspace/gexfoundry_device-rest-go_PR-173:/w/workspace/gexfoundry_device-rest-go_PR-173:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-173@tmp:/w/workspace/gexfoundry_device-rest-go_PR-173@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:14:55 $ docker top 23514ef1a4e3afa99400f7ea0d7788043ac18fdc9dcfc5f61b5ef7562b7a011a -eo pid,comm [Pipeline] { [Pipeline] sh 20:14:55 + touch /tmp/pre-build-complete [Pipeline] sh 20:14:55 + mkdir -p /var/log/sysstat [Pipeline] sh 20:14:56 + ls /var/log/sa-host 20:14:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:14:56 provisioning config files... 20:14:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-173@tmp/config6201921091995589295tmp [Pipeline] { [Pipeline] echo 20:14:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:14:56 ---> create-netrc.sh [Pipeline] } 20:14:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:14:57 ---> python-tools-install.sh [Pipeline] echo 20:14:57 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:14:57 ---> sudo-logs.sh 20:14:57 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:14:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:14:57 ---> job-cost.sh 20:14:57 lf-activate-venv: SKIPPING 20:14:57 DEBUG: total: 0.2199999988079071 20:14:57 INFO: Retrieving Stack Cost... 20:14:58 INFO: Retrieving Pricing Info for: v3-standard-8 20:14:58 INFO: Archiving Costs [Pipeline] echo 20:14:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:14:59 ---> logs-deploy.sh 20:14:59 lf-activate-venv: SKIPPING 20:14:59 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-173/1 20:14:59 INFO: archiving workspace using pattern(s): 20:15:00 Archives upload complete. 20:15:00 INFO: archiving logs to Nexus