Pull request #177 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of MonicaisHer for edgexfoundry/device-rest-go Loading trusted files from base branch main at 238d080d640a7e3d9ba0ccf186e4988c74ba76ef rather than 9efbf3f2bef261d4eedbae9b5bd681ce7e544cca Obtained Jenkinsfile from 238d080d640a7e3d9ba0ccf186e4988c74ba76ef 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-ssh17493193853050343201.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-ssh17178630428206099687.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-177/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-177/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh8644951147597790570.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-177/workspace@libs/edgex-global-pipelines@tmp/jenkins-gitclient-ssh818774314230821924.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-ssh10728809192249268058.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-177/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-177/workspace@libs/lf-pipelines@tmp/jenkins-gitclient-ssh11232845942521469485.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 Waiting for next available executor Running on prd-ubuntu20.04-docker-8c-8g-21582 in /w/workspace/gexfoundry_device-rest-go_PR-177 [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-177 # 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 238d080d640a7e3d9ba0ccf186e4988c74ba76ef into PR head commit 9efbf3f2bef261d4eedbae9b5bd681ce7e544cca Merge succeeded, producing d084baa15fc713cb986be722c9825c551f4acbe3 Checking out Revision d084baa15fc713cb986be722c9825c551f4acbe3 (PR-177) > 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/177/head:refs/remotes/origin/PR-177 +refs/heads/main:refs/remotes/origin/main # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 9efbf3f2bef261d4eedbae9b5bd681ce7e544cca # 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 238d080d640a7e3d9ba0ccf186e4988c74ba76ef # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f d084baa15fc713cb986be722c9825c551f4acbe3 # timeout=10 Commit message: "Merge commit '238d080d640a7e3d9ba0ccf186e4988c74ba76ef' into HEAD" 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 10:55:07 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 10:55:07 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 10:55:07 ========================================================= 10:55:07 EdgeX Global Pipelines Version Info 10:55:07 ========================================================= [Pipeline] libraryResource [Pipeline] sh 10:55:08 ------------------- 10:55:08 stable info: 10:55:08 ------------------- 10:55:08 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:55:08 Commit SHA: c72b16708d6eed9a08be464a432ce22db7d90667 10:55:08 Message: update stable to v1.0.221 10:55:09 ------------------- 10:55:09 experimental info: 10:55:09 ------------------- 10:55:09 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 10:55:09 Commit SHA: e334d830fa8e8412d6042b94a77caa8dfa54c97b 10:55:09 Message: update experimental to v1.0.223 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 10:55:09 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 10:55:09 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 10:55:09 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 10:55:09 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 10:55:09 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 10:55:09 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo 10:55:09 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 10:55:09 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 10:55:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 10:55:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 10:55:09 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 10:55:09 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 10:55:09 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 10:55:09 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 10:55:09 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 10:55:09 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 10:55:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 10:55:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 10:55:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 10:55:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 10:55:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 10:55:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 10:55:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 10:55:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 10:55:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 10:55:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 10:55:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-177 [Pipeline] echo 10:55:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-177 [Pipeline] echo 10:55:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-177 [Pipeline] echo 10:55:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d084baa15fc713cb986be722c9825c551f4acbe3 [Pipeline] echo 10:55:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d084baa [Pipeline] echo 10:55:10 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:55:10 provisioning config files... 10:55:10 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-177@tmp/config2306360320820342334tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:55:11 ---> docker-login.sh 10:55:11 nexus3.edgexfoundry.org:10001 10:55:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:55:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:55:11 Configure a credential helper to remove this warning. See 10:55:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:55:11 10:55:11 Login Succeeded 10:55:11 nexus3.edgexfoundry.org:10002 10:55:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:55:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:55:11 Configure a credential helper to remove this warning. See 10:55:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:55:11 10:55:11 Login Succeeded 10:55:11 nexus3.edgexfoundry.org:10003 10:55:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:55:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:55:11 Configure a credential helper to remove this warning. See 10:55:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:55:11 10:55:11 Login Succeeded 10:55:11 nexus3.edgexfoundry.org:10004 10:55:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:55:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:55:11 Configure a credential helper to remove this warning. See 10:55:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:55:11 10:55:11 Login Succeeded 10:55:11 docker.io 10:55:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:55:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:55:12 Configure a credential helper to remove this warning. See 10:55:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:55:12 10:55:12 Login Succeeded 10:55:12 ---> docker-login.sh ends [Pipeline] } 10:55:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 10:55:13 + git rev-list -1 --merges d084baa15fc713cb986be722c9825c551f4acbe3~1..d084baa15fc713cb986be722c9825c551f4acbe3 [Pipeline] echo 10:55:13 -----------> git rev-list -1 --merges d084baa15fc713cb986be722c9825c551f4acbe3~1..d084baa15fc713cb986be722c9825c551f4acbe3 d084baa15fc713cb986be722c9825c551f4acbe3 10:55:13 d084baa15fc713cb986be722c9825c551f4acbe3 [false] [Pipeline] sh 10:55:13 + git log --format=format:%s -1 d084baa15fc713cb986be722c9825c551f4acbe3 [Pipeline] echo 10:55:13 ========================================================= 10:55:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 10:55:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:55:14 + git log --format=format:%s -1 d084baa15fc713cb986be722c9825c551f4acbe3 [Pipeline] echo 10:55:14 [semverPrep] GIT_COMMIT: d084baa15fc713cb986be722c9825c551f4acbe3, Commit Message: Merge commit '238d080d640a7e3d9ba0ccf186e4988c74ba76ef' into HEAD [Pipeline] echo 10:55:14 [semverPrep] This is not a build commit. [Pipeline] sh 10:55:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 10:55:14 + grep -v github /etc/ssh/ssh_known_hosts 10:55:14 + [ -e /tmp/ssh_known_hosts ] 10:55:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 10:55:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 10:55:14 + sudo tee -a /etc/ssh/ssh_known_hosts 10:55:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] sh 10:55:15 + docker inspect -f . nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:55:15 10:55:15 Error: No such object: nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] isUnix [Pipeline] sh 10:55:15 + docker pull nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:55:15 latest: Pulling from edgex-devops/git-semver 10:55:15 a0d0a0d46f8b: Pulling fs layer 10:55:15 3e5f54012d9b: Pulling fs layer 10:55:15 4c7163046ea9: Pulling fs layer 10:55:15 0c2d73faf560: Pulling fs layer 10:55:15 0c2d73faf560: Waiting 10:55:15 3e5f54012d9b: Verifying Checksum 10:55:15 3e5f54012d9b: Download complete 10:55:15 a0d0a0d46f8b: Verifying Checksum 10:55:15 a0d0a0d46f8b: Download complete 10:55:15 0c2d73faf560: Verifying Checksum 10:55:15 0c2d73faf560: Download complete 10:55:15 4c7163046ea9: Verifying Checksum 10:55:15 4c7163046ea9: Download complete 10:55:15 a0d0a0d46f8b: Pull complete 10:55:15 3e5f54012d9b: Pull complete 10:55:15 4c7163046ea9: Pull complete 10:55:16 0c2d73faf560: Pull complete 10:55:16 Digest: sha256:2751de6e655929dcbe46418c7769d9d992331b5b721eb968631a4166222929f9 10:55:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest 10:55:16 nexus3.edgexfoundry.org:10004/edgex-devops/git-semver:latest [Pipeline] withDockerContainer 10:55:16 prd-ubuntu20.04-docker-8c-8g-21582 does not seem to be running inside a container 10:55:16 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-177 -v /w/workspace/gexfoundry_device-rest-go_PR-177:/w/workspace/gexfoundry_device-rest-go_PR-177:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-177@tmp:/w/workspace/gexfoundry_device-rest-go_PR-177@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:10004/edgex-devops/git-semver:latest cat 10:55:16 $ docker top 67fd34305dc0838fc49239a96b78386a6f8be1c12c4aafadb8f4354107adfd55 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 10:55:17 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:55:17 [ssh-agent] Looking for ssh-agent implementation... 10:55:17 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:55:17 $ docker exec 67fd34305dc0838fc49239a96b78386a6f8be1c12c4aafadb8f4354107adfd55 ssh-agent 10:55:17 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXfCmPbl/agent.13 10:55:17 SSH_AGENT_PID=19 10:55:17 Running ssh-add (command line suppressed) 10:55:17 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-177@tmp/private_key_5872467478477055143.key (/w/workspace/gexfoundry_device-rest-go_PR-177@tmp/private_key_5872467478477055143.key) 10:55:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:55:17 + git tag --points-at HEAD [Pipeline] } 10:55:17 $ docker exec --env ******** --env ******** 67fd34305dc0838fc49239a96b78386a6f8be1c12c4aafadb8f4354107adfd55 ssh-agent -k 10:55:18 unset SSH_AUTH_SOCK; 10:55:18 unset SSH_AGENT_PID; 10:55:18 echo Agent pid 19 killed; 10:55:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 10:55:18 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 10:55:18 [ssh-agent] Looking for ssh-agent implementation... 10:55:18 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 10:55:18 $ docker exec 67fd34305dc0838fc49239a96b78386a6f8be1c12c4aafadb8f4354107adfd55 ssh-agent 10:55:18 SSH_AUTH_SOCK=/tmp/ssh-XXXXXXcEgdBI/agent.53 10:55:18 SSH_AGENT_PID=60 10:55:18 Running ssh-add (command line suppressed) 10:55:18 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-177@tmp/private_key_2557063443152689085.key (/w/workspace/gexfoundry_device-rest-go_PR-177@tmp/private_key_2557063443152689085.key) 10:55:18 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 10:55:18 + git semver init 10:55:18 # -> Open(): unable to determine branch for HEAD 10:55:18 # $GIT_DIR = /w/workspace/gexfoundry_device-rest-go_PR-177/.git 10:55:18 # $GIT_WORK_TREE = /w/workspace/gexfoundry_device-rest-go_PR-177 10:55:18 # $SEMVER_REMOTE_NAME = origin 10:55:18 # $SEMVER_USER_EMAIL = collab-it+edgex@linuxfoundation.org 10:55:18 # $SEMVER_USER_NAME = edgex-jenkins 10:55:18 # $SEMVER_BRANCH = PR-177 10:55:18 # $SEMVER_TEMP = /tmp/semver-588449107 10:55:18 # git clone --branch semver git@github.com:edgexfoundry/device-rest-go.git $SEMVER_TEMP 10:55:20 # '/tmp/semver-588449107' -> '/w/workspace/gexfoundry_device-rest-go_PR-177/.semver' 10:55:20 # -> Force: false 10:55:20 # $SEMVER_DIR = /w/workspace/gexfoundry_device-rest-go_PR-177/.semver [Pipeline] } 10:55:20 $ docker exec --env ******** --env ******** 67fd34305dc0838fc49239a96b78386a6f8be1c12c4aafadb8f4354107adfd55 ssh-agent -k 10:55:20 unset SSH_AUTH_SOCK; 10:55:20 unset SSH_AGENT_PID; 10:55:20 echo Agent pid 60 killed; 10:55:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 10:55:20 + git semver [Pipeline] } 10:55:20 $ docker stop --time=1 67fd34305dc0838fc49239a96b78386a6f8be1c12c4aafadb8f4354107adfd55 10:55:22 $ docker rm -f 67fd34305dc0838fc49239a96b78386a6f8be1c12c4aafadb8f4354107adfd55 [Pipeline] // withDockerContainer [Pipeline] sh 10:55:22 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 10:55:23 Stashed 1 file(s) [Pipeline] echo 10:55:23 [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 10:55:23 provisioning config files... 10:55:23 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-177@tmp/config7287026031148630020tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:55:24 ---> docker-login.sh 10:55:24 nexus3.edgexfoundry.org:10001 10:55:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:55:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:55:24 Configure a credential helper to remove this warning. See 10:55:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:55:24 10:55:24 Login Succeeded 10:55:24 nexus3.edgexfoundry.org:10002 10:55:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:55:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:55:24 Configure a credential helper to remove this warning. See 10:55:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:55:24 10:55:24 Login Succeeded 10:55:24 nexus3.edgexfoundry.org:10003 10:55:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:55:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:55:24 Configure a credential helper to remove this warning. See 10:55:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:55:24 10:55:24 Login Succeeded 10:55:24 nexus3.edgexfoundry.org:10004 10:55:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:55:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:55:24 Configure a credential helper to remove this warning. See 10:55:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:55:24 10:55:24 Login Succeeded 10:55:24 docker.io 10:55:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:55:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:55:24 Configure a credential helper to remove this warning. See 10:55:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:55:24 10:55:24 Login Succeeded 10:55:24 ---> docker-login.sh ends [Pipeline] } 10:55:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:55:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:55:25 ========================================================= 10:55:25 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] 10:55:25 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 10:55:25 + 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 . 10:55:25 Sending build context to Docker daemon 10.58MB 10:55:25 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 10:55:25 Step 2/12 : FROM ${BASE} AS builder 10:55:25 1.17-alpine: Pulling from edgex-devops/edgex-golang-base 10:55:25 59bf1c3509f3: Pulling fs layer 10:55:25 666ba61612fd: Pulling fs layer 10:55:25 8ed8ca486205: Pulling fs layer 10:55:25 4fe6c5a15a65: Pulling fs layer 10:55:25 22a0e8bec74d: Pulling fs layer 10:55:25 640e595b4fbd: Pulling fs layer 10:55:25 763cafe07f6e: Pulling fs layer 10:55:25 0c0b528cf693: Pulling fs layer 10:55:25 10935f4eaf8b: Pulling fs layer 10:55:25 22a0e8bec74d: Waiting 10:55:25 0c0b528cf693: Waiting 10:55:25 10935f4eaf8b: Waiting 10:55:25 640e595b4fbd: Waiting 10:55:25 763cafe07f6e: Waiting 10:55:25 4fe6c5a15a65: Waiting 10:55:25 8ed8ca486205: Verifying Checksum 10:55:25 8ed8ca486205: Download complete 10:55:25 666ba61612fd: Verifying Checksum 10:55:25 666ba61612fd: Download complete 10:55:25 22a0e8bec74d: Verifying Checksum 10:55:25 22a0e8bec74d: Download complete 10:55:26 640e595b4fbd: Verifying Checksum 10:55:26 640e595b4fbd: Download complete 10:55:26 59bf1c3509f3: Verifying Checksum 10:55:26 763cafe07f6e: Download complete 10:55:26 0c0b528cf693: Verifying Checksum 10:55:26 0c0b528cf693: Download complete 10:55:26 59bf1c3509f3: Pull complete 10:55:26 666ba61612fd: Pull complete 10:55:26 8ed8ca486205: Pull complete 10:55:26 10935f4eaf8b: Verifying Checksum 10:55:26 10935f4eaf8b: Download complete 10:55:26 4fe6c5a15a65: Verifying Checksum 10:55:26 4fe6c5a15a65: Download complete 10:55:30 4fe6c5a15a65: Pull complete 10:55:30 22a0e8bec74d: Pull complete 10:55:30 640e595b4fbd: Pull complete 10:55:30 763cafe07f6e: Pull complete 10:55:30 0c0b528cf693: Pull complete 10:55:33 10935f4eaf8b: Pull complete 10:55:33 Digest: sha256:fe2da51ced2bed6c5fc1d1038c2fbec5a5bb29cdcacce78977c37c66bfba8387 10:55:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine 10:55:33 ---> 99d49a6021b9 10:55:33 Step 3/12 : ARG MAKE='make build' 10:55:34 ---> Running in dc2f99015e4a 10:55:34 Removing intermediate container dc2f99015e4a 10:55:34 ---> 475b26d05247 10:55:34 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:55:34 ---> Running in bafa1f9c3845 10:55:34 Removing intermediate container bafa1f9c3845 10:55:34 ---> be28543533a2 10:55:34 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 10:55:34 ---> Running in 96200367f1bb 10:55:34 Removing intermediate container 96200367f1bb 10:55:34 ---> f761e13cf871 10:55:34 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:55:34 ---> Running in 038e2d807f91 10:55:35 Removing intermediate container 038e2d807f91 10:55:35 ---> dc0795fa41a4 10:55:35 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:55:35 ---> Running in 6e6e840e4b5a 10:55:35 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:55:36 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:55:36 (1/4) Installing openssh-keygen (8.8_p1-r1) 10:55:36 (2/4) Installing libedit (20210910.3.1-r0) 10:55:36 (3/4) Installing openssh-client-common (8.8_p1-r1) 10:55:36 (4/4) Installing openssh-client-default (8.8_p1-r1) 10:55:36 Executing busybox-1.34.1-r3.trigger 10:55:36 OK: 224 MiB in 56 packages 10:55:37 Removing intermediate container 6e6e840e4b5a 10:55:37 ---> 8a1d43f901d3 10:55:37 Step 8/12 : WORKDIR /device-rest-go 10:55:37 ---> Running in 08849d734100 10:55:37 Removing intermediate container 08849d734100 10:55:37 ---> 270d6be18a44 10:55:37 Step 9/12 : COPY go.mod vendor* ./ 10:55:37 ---> 9293d85dd60a 10:55:37 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:55:37 ---> Running in 81303df8ac5d 10:55:38 Still waiting to schedule task 10:55:38 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 10:55:52 Removing intermediate container 81303df8ac5d 10:55:52 ---> f7a5b3b906b8 10:55:52 Step 11/12 : COPY . . 10:55:52 ---> 78cce1adc2f8 10:55:52 Step 12/12 : RUN $MAKE 10:55:52 ---> Running in 741af67e2d4d 10:55:52 noop 10:55:52 Removing intermediate container 741af67e2d4d 10:55:52 ---> e0b7b617aff5 10:55:52 Successfully built e0b7b617aff5 10:55:52 Successfully tagged ci-base-image-x86_64:latest [Pipeline] isUnix [Pipeline] sh 10:55:52 + docker inspect -f . ci-base-image-x86_64 10:55:52 . [Pipeline] withDockerContainer 10:55:52 prd-ubuntu20.04-docker-8c-8g-21582 does not seem to be running inside a container 10:55:53 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-177 -v /w/workspace/gexfoundry_device-rest-go_PR-177:/w/workspace/gexfoundry_device-rest-go_PR-177:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-177@tmp:/w/workspace/gexfoundry_device-rest-go_PR-177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:55:53 $ docker top 0c302ed588421d84406b00d8ea75c672cf11444ca17776da91dd0d59ca5e52af -eo pid,comm [Pipeline] { [Pipeline] sh 10:55:53 + go version 10:55:53 go version go1.17.6 linux/amd64 [Pipeline] } 10:55:53 $ docker stop --time=1 0c302ed588421d84406b00d8ea75c672cf11444ca17776da91dd0d59ca5e52af 10:55:55 $ docker rm -f 0c302ed588421d84406b00d8ea75c672cf11444ca17776da91dd0d59ca5e52af [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:55:55 + docker inspect -f . ci-base-image-x86_64 10:55:55 . [Pipeline] withDockerContainer 10:55:55 prd-ubuntu20.04-docker-8c-8g-21582 does not seem to be running inside a container 10:55:56 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-177 -v /w/workspace/gexfoundry_device-rest-go_PR-177:/w/workspace/gexfoundry_device-rest-go_PR-177:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-177@tmp:/w/workspace/gexfoundry_device-rest-go_PR-177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 10:55:56 $ docker top 62bb2847fe165b051fb568d4139312ef1548ceebeacb9791beee6065a49bf2c7 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:55:56 + make test 10:55:56 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:55:57 ? github.com/edgexfoundry/device-rest-go [no test files] 10:56:05 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 10:56:05 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 55.2% of statements 10:56:11 CGO_ENABLED=1 GO111MODULE=on go vet ./... 10:56:16 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 10:56:16 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 10:56:16 ./bin/test-attribution-txt.sh [Pipeline] echo 10:56:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 10:56:16 $ docker stop --time=1 62bb2847fe165b051fb568d4139312ef1548ceebeacb9791beee6065a49bf2c7 10:56:18 $ docker rm -f 62bb2847fe165b051fb568d4139312ef1548ceebeacb9791beee6065a49bf2c7 [Pipeline] // withDockerContainer [Pipeline] sh 10:56:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 10:56:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 10:56:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 10:56:19 + ls -al . 10:56:19 total 172 10:56:19 drwxrwxr-x 9 jenkins jenkins 4096 Apr 21 10:56 . 10:56:19 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 10:55 .. 10:56:19 -rw-rw-r-- 1 jenkins jenkins 151 Apr 21 10:55 .dockerignore 10:56:19 drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 10:55 .git 10:56:19 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 10:55 .github 10:56:19 -rw-rw-r-- 1 jenkins jenkins 329 Apr 21 10:55 .gitignore 10:56:19 -rw-rw-r-- 1 jenkins jenkins 41 Apr 21 10:55 .golangci.yml 10:56:19 drwx------ 3 jenkins jenkins 4096 Apr 21 10:55 .semver 10:56:19 -rw-rw-r-- 1 jenkins jenkins 8330 Apr 21 10:55 Attribution.txt 10:56:19 -rw-rw-r-- 1 jenkins jenkins 7459 Apr 21 10:55 CHANGELOG.md 10:56:19 -rw-rw-r-- 1 jenkins jenkins 1672 Apr 21 10:55 Dockerfile 10:56:19 -rw-rw-r-- 1 jenkins jenkins 677 Apr 21 10:55 GOVERNANCE.md 10:56:19 -rw-rw-r-- 1 jenkins jenkins 680 Apr 21 10:55 Jenkinsfile 10:56:19 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 21 10:55 LICENSE 10:56:19 -rw-rw-r-- 1 jenkins jenkins 1964 Apr 21 10:55 Makefile 10:56:19 -rw-rw-r-- 1 jenkins jenkins 620 Apr 21 10:55 OWNERS.md 10:56:19 -rw-rw-r-- 1 jenkins jenkins 8246 Apr 21 10:55 README.md 10:56:19 -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 10:55 VERSION 10:56:19 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 10:55 bin 10:56:19 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 10:55 cmd 10:56:19 -rw-r--r-- 1 jenkins jenkins 9355 Apr 21 10:56 coverage.out 10:56:19 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 10:55 driver 10:56:19 -rw-rw-r-- 1 jenkins jenkins 3240 Apr 21 10:55 go.mod 10:56:19 -rw-rw-r-- 1 jenkins jenkins 34722 Apr 21 10:55 go.sum 10:56:19 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 10:55 snap 10:56:19 -rw-rw-r-- 1 jenkins jenkins 713 Apr 21 10:55 version.go [Pipeline] isUnix [Pipeline] sh 10:56:20 + 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=d084baa15fc713cb986be722c9825c551f4acbe3 --label arch=amd64 --label version=0.0.0 . 10:56:20 Sending build context to Docker daemon 10.59MB 10:56:20 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 10:56:20 Step 2/25 : FROM ${BASE} AS builder 10:56:20 ---> e0b7b617aff5 10:56:20 Step 3/25 : ARG MAKE='make build' 10:56:20 ---> Running in 264f7d0d1e41 10:56:20 Removing intermediate container 264f7d0d1e41 10:56:20 ---> 5ad40d8a5c4e 10:56:20 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:56:20 ---> Running in 364123ed8e23 10:56:20 Removing intermediate container 364123ed8e23 10:56:20 ---> 8d619c82d034 10:56:20 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 10:56:20 ---> Running in b2ba5c4227a9 10:56:20 Removing intermediate container b2ba5c4227a9 10:56:20 ---> 4dc91b381237 10:56:20 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:56:20 ---> Running in 3e6dcba79796 10:56:21 Removing intermediate container 3e6dcba79796 10:56:21 ---> 11ac095b9cbd 10:56:21 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:56:21 ---> Running in e9f8dad3d44b 10:56:21 fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz 10:56:22 fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz 10:56:22 OK: 224 MiB in 56 packages 10:56:22 Removing intermediate container e9f8dad3d44b 10:56:22 ---> 5180851a018d 10:56:22 Step 8/25 : WORKDIR /device-rest-go 10:56:22 ---> Running in 846d14c6d9bb 10:56:22 Removing intermediate container 846d14c6d9bb 10:56:22 ---> 5aa38ee08b4b 10:56:22 Step 9/25 : COPY go.mod vendor* ./ 10:56:23 ---> f7496c6e396f 10:56:23 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:56:23 ---> Running in 23f2940ef2d0 10:56:23 Removing intermediate container 23f2940ef2d0 10:56:23 ---> 31febfc734b8 10:56:23 Step 11/25 : COPY . . 10:56:23 ---> cfb6705b0999 10:56:23 Step 12/25 : RUN $MAKE 10:56:24 ---> Running in 93a24fa46740 10:56:24 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 10:56:42 Removing intermediate container 93a24fa46740 10:56:42 ---> 03a72edabcb8 10:56:42 Step 13/25 : FROM alpine:3.14 10:56:42 3.14: Pulling from library/alpine 10:56:43 8663204ce13b: Pulling fs layer 10:56:43 8663204ce13b: Verifying Checksum 10:56:43 8663204ce13b: Download complete 10:56:43 8663204ce13b: Pull complete 10:56:43 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 10:56:43 Status: Downloaded newer image for alpine:3.14 10:56:43 ---> e04c818066af 10:56:43 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 10:56:43 ---> Running in ca08d091f15b 10:56:43 Removing intermediate container ca08d091f15b 10:56:43 ---> a88db83dfddd 10:56:43 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 10:56:43 ---> Running in d0767a0bc37d 10:56:43 Removing intermediate container d0767a0bc37d 10:56:43 ---> 23ced64134b4 10:56:43 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 10:56:43 ---> Running in fb7cd9a446c1 10:56:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz 10:56:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz 10:56:44 (1/6) Installing dumb-init (1.2.5-r1) 10:56:44 (2/6) Installing libgcc (10.3.1_git20210424-r2) 10:56:44 (3/6) Installing libsodium (1.0.18-r0) 10:56:44 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 10:56:44 (5/6) Installing libzmq (4.3.4-r0) 10:56:44 (6/6) Installing zeromq (4.3.4-r0) 10:56:44 Executing busybox-1.33.1-r7.trigger 10:56:44 OK: 8 MiB in 20 packages 10:56:44 Removing intermediate container fb7cd9a446c1 10:56:44 ---> 908fa8c27f7f 10:56:44 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 10:56:45 ---> b0a9522fe0ed 10:56:45 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 10:56:45 ---> c02b88764e01 10:56:45 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 10:56:45 ---> bfc66265154e 10:56:45 Step 20/25 : EXPOSE 59986 10:56:45 ---> Running in 956fac486c33 10:56:45 Removing intermediate container 956fac486c33 10:56:45 ---> 64657d596ba4 10:56:45 Step 21/25 : ENTRYPOINT ["/device-rest"] 10:56:45 ---> Running in e07bb3529edc 10:56:45 Removing intermediate container e07bb3529edc 10:56:45 ---> 66c8e74666aa 10:56:45 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 10:56:45 ---> Running in 76e593bb882c 10:56:45 Removing intermediate container 76e593bb882c 10:56:45 ---> ffefabad1fa4 10:56:45 Step 23/25 : LABEL arch=amd64 10:56:45 ---> Running in 0632508cc406 10:56:45 Removing intermediate container 0632508cc406 10:56:45 ---> a7b0dba85ff6 10:56:45 Step 24/25 : LABEL git_sha=d084baa15fc713cb986be722c9825c551f4acbe3 10:56:45 ---> Running in ffa6b59f55fc 10:56:46 Removing intermediate container ffa6b59f55fc 10:56:46 ---> 9a18ffaf7542 10:56:46 Step 25/25 : LABEL version=0.0.0 10:56:46 ---> Running in 9487779aeee8 10:56:46 Removing intermediate container 9487779aeee8 10:56:46 ---> e0b6a4fd8bda 10:56:46 [Warning] One or more build-args [ARCH] were not consumed 10:56:46 Successfully built e0b6a4fd8bda 10:56:46 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 10:56:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:56:46 10:56:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] sh 10:56:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:56:47 latest: Pulling from edgex-lftools-log-publisher 10:56:47 5eb5b503b376: Pulling fs layer 10:56:47 5c69ac0246d0: Pulling fs layer 10:56:47 ec43610c2a17: Pulling fs layer 10:56:47 3a2ae6a8a46f: Pulling fs layer 10:56:47 33b1e0a273af: Pulling fs layer 10:56:47 5d3b04190fa2: Pulling fs layer 10:56:47 2f39f015ded8: Pulling fs layer 10:56:47 5d3b04190fa2: Waiting 10:56:47 3a2ae6a8a46f: Waiting 10:56:47 2f39f015ded8: Waiting 10:56:47 33b1e0a273af: Waiting 10:56:47 5c69ac0246d0: Download complete 10:56:47 3a2ae6a8a46f: Verifying Checksum 10:56:47 3a2ae6a8a46f: Download complete 10:56:47 33b1e0a273af: Verifying Checksum 10:56:47 33b1e0a273af: Download complete 10:56:47 5d3b04190fa2: Verifying Checksum 10:56:47 5d3b04190fa2: Download complete 10:56:47 ec43610c2a17: Verifying Checksum 10:56:47 ec43610c2a17: Download complete 10:56:47 5eb5b503b376: Download complete 10:56:48 2f39f015ded8: Verifying Checksum 10:56:48 2f39f015ded8: Download complete 10:56:48 5eb5b503b376: Pull complete 10:56:48 5c69ac0246d0: Pull complete 10:56:49 ec43610c2a17: Pull complete 10:56:49 3a2ae6a8a46f: Pull complete 10:56:49 33b1e0a273af: Pull complete 10:56:49 5d3b04190fa2: Pull complete 10:56:53 2f39f015ded8: Pull complete 10:56:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 10:56:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 10:56:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] withDockerContainer 10:56:54 prd-ubuntu20.04-docker-8c-8g-21582 does not seem to be running inside a container 10:56:54 $ 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-177 -v /w/workspace/gexfoundry_device-rest-go_PR-177:/w/workspace/gexfoundry_device-rest-go_PR-177:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-177@tmp:/w/workspace/gexfoundry_device-rest-go_PR-177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 10:56:55 $ docker top a4a5bda51cd984c6ce3a871308ce5282c5f7575a1ad89f7bc4d3f9bfb76f3ffd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:56:55 ---> job-cost.sh 10:56:55 lf-activate-venv: SKIPPING 10:56:55 INFO: No Stack... 10:56:56 INFO: Retrieving Pricing Info for: v3-standard-8 10:56:57 INFO: Archiving Costs [Pipeline] sh 10:56:57 + cat /w/workspace/gexfoundry_device-rest-go_PR-177/archives/cost.csv 10:56:57 + cut -d, -f6 [Pipeline] lock 10:56:57 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-177-1-stack-cost] 10:56:57 Resource [jenkins-edgexfoundry-device-rest-go-PR-177-1-stack-cost] did not exist. Created. 10:56:57 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-177-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 10:56:57 + echo total: 0.2199999988079071 [Pipeline] stash 10:56:58 Stashed 1 file(s) [Pipeline] } 10:56:58 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-177-1-stack-cost] [Pipeline] // lock [Pipeline] } 10:56:58 $ docker stop --time=1 a4a5bda51cd984c6ce3a871308ce5282c5f7575a1ad89f7bc4d3f9bfb76f3ffd 10:56:59 $ docker rm -f a4a5bda51cd984c6ce3a871308ce5282c5f7575a1ad89f7bc4d3f9bfb76f3ffd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 10:57:19 Running on prd-ubuntu20.04-docker-arm64-4c-16g-21583 in /w/workspace/gexfoundry_device-rest-go_PR-177 [Pipeline] { [Pipeline] ws 10:57:19 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 10:57:20 The recommended git tool is: git 10:57:26 using credential edgex-jenkins-ssh 10:57:26 Cloning the remote Git repository 10:57:26 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 10:57:26 > git init /w/workspace/device-rest-go/1 # timeout=10 10:57:26 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 10:57:26 > git --version # timeout=10 10:57:26 > git --version # 'git version 2.25.1' 10:57:26 using GIT_SSH to set credentials SSH Credentials for GitHub 10:57:26 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 10:57:28 Merging remotes/origin/main commit 238d080d640a7e3d9ba0ccf186e4988c74ba76ef into PR head commit 9efbf3f2bef261d4eedbae9b5bd681ce7e544cca 10:57:29 Merge succeeded, producing 9da43f878aee0131fc8c709839baf307fdc66f93 10:57:29 Checking out Revision 9da43f878aee0131fc8c709839baf307fdc66f93 (PR-177) 10:57:28 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 10:57:28 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 10:57:28 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 10:57:28 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 10:57:28 using GIT_SSH to set credentials SSH Credentials for GitHub 10:57:28 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/177/head:refs/remotes/origin/PR-177 +refs/heads/main:refs/remotes/origin/main # timeout=10 10:57:28 > git config core.sparsecheckout # timeout=10 10:57:28 > git checkout -f 9efbf3f2bef261d4eedbae9b5bd681ce7e544cca # timeout=10 10:57:29 > git remote # timeout=10 10:57:29 > git config --get remote.origin.url # timeout=10 10:57:29 using GIT_SSH to set credentials SSH Credentials for GitHub 10:57:29 > git merge 238d080d640a7e3d9ba0ccf186e4988c74ba76ef # timeout=10 10:57:29 > git rev-parse HEAD^{commit} # timeout=10 10:57:29 > git config core.sparsecheckout # timeout=10 10:57:29 > git checkout -f 9da43f878aee0131fc8c709839baf307fdc66f93 # timeout=10 10:57:33 Commit message: "Merge commit '238d080d640a7e3d9ba0ccf186e4988c74ba76ef' into HEAD" 10:57:33 First time build. Skipping changelog. 10:57:33 > git --version # timeout=10 10:57:33 > git --version # 'git version 2.25.1' 10:57:33 fatal: bad object c72b16708d6eed9a08be464a432ce22db7d90667 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 10:57:34 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 10:57:34 % Total % Received % Xferd Average Speed Time Time Time Current 10:57:34 Dload Upload Total Spent Left Speed 10:57:34 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 11843 100 11843 0 0 89719 0 --:--:-- --:--:-- --:--:-- 89719 [Pipeline] sh 10:57:35 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 10:57:35 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 10:57:35 + sudo tee /etc/docker/daemon.new 10:57:35 { 10:57:35 "registry-mirrors": [ 10:57:35 "https://nexus3.edgexfoundry.org:10001" 10:57:35 ], 10:57:35 "bip": "10.250.0.254/24", 10:57:35 "hosts": [ 10:57:35 "tcp://0.0.0.0:5555", 10:57:35 "unix:///var/run/docker.sock" 10:57:35 ], 10:57:35 "mtu": 1458, 10:57:35 "selinux-enabled": true, 10:57:35 "seccomp-profile": "/etc/docker/seccomp.json" 10:57:35 } [Pipeline] sh 10:57:35 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 10:57:36 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 10:57:54 provisioning config files... 10:57:54 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5874142929237650155tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 10:57:55 ---> docker-login.sh 10:57:55 nexus3.edgexfoundry.org:10001 10:57:55 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:57:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:57:56 Configure a credential helper to remove this warning. See 10:57:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:57:56 10:57:56 Login Succeeded 10:57:56 nexus3.edgexfoundry.org:10002 10:57:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:57:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:57:56 Configure a credential helper to remove this warning. See 10:57:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:57:56 10:57:56 Login Succeeded 10:57:56 nexus3.edgexfoundry.org:10003 10:57:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:57:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:57:57 Configure a credential helper to remove this warning. See 10:57:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:57:57 10:57:57 Login Succeeded 10:57:57 nexus3.edgexfoundry.org:10004 10:57:57 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:57:57 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:57:57 Configure a credential helper to remove this warning. See 10:57:57 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:57:57 10:57:57 Login Succeeded 10:57:57 docker.io 10:57:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 10:57:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 10:57:58 Configure a credential helper to remove this warning. See 10:57:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 10:57:58 10:57:58 Login Succeeded 10:57:58 ---> docker-login.sh ends [Pipeline] } 10:57:58 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 10:57:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 10:57:58 ========================================================= 10:57:58 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] 10:57:58 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] sh 10:57:59 + 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 . 10:57:59 Sending build context to Docker daemon 129.5kB 10:57:59 Step 1/12 : ARG BASE=golang:1.17-alpine3.15 10:57:59 Step 2/12 : FROM ${BASE} AS builder 10:57:59 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 10:57:59 9b3977197b4f: Pulling fs layer 10:57:59 1a89e8eeedd5: Pulling fs layer 10:57:59 94645a83ff95: Pulling fs layer 10:57:59 3f3a8bcf1eab: Pulling fs layer 10:57:59 0c92f367c5e7: Pulling fs layer 10:57:59 f7c0051592d6: Pulling fs layer 10:57:59 a227ed2f7395: Pulling fs layer 10:57:59 7b1c46037f91: Pulling fs layer 10:57:59 3f3a8bcf1eab: Waiting 10:57:59 0c92f367c5e7: Waiting 10:57:59 f7c0051592d6: Waiting 10:57:59 a227ed2f7395: Waiting 10:57:59 7b1c46037f91: Waiting 10:57:59 94645a83ff95: Verifying Checksum 10:57:59 94645a83ff95: Download complete 10:57:59 1a89e8eeedd5: Verifying Checksum 10:57:59 1a89e8eeedd5: Download complete 10:57:59 0c92f367c5e7: Verifying Checksum 10:57:59 0c92f367c5e7: Download complete 10:57:59 f7c0051592d6: Verifying Checksum 10:57:59 f7c0051592d6: Download complete 10:57:59 9b3977197b4f: Verifying Checksum 10:57:59 9b3977197b4f: Download complete 10:57:59 a227ed2f7395: Verifying Checksum 10:57:59 a227ed2f7395: Download complete 10:58:00 9b3977197b4f: Pull complete 10:58:01 1a89e8eeedd5: Pull complete 10:58:01 94645a83ff95: Pull complete 10:58:01 7b1c46037f91: Verifying Checksum 10:58:01 7b1c46037f91: Download complete 10:58:02 3f3a8bcf1eab: Verifying Checksum 10:58:02 3f3a8bcf1eab: Download complete 10:58:14 3f3a8bcf1eab: Pull complete 10:58:14 0c92f367c5e7: Pull complete 10:58:14 f7c0051592d6: Pull complete 10:58:14 a227ed2f7395: Pull complete 10:58:21 7b1c46037f91: Pull complete 10:58:21 Digest: sha256:72afd471f6932efc3b14a707e53dab7ff98911016b282aefa83be7c085db88fe 10:58:21 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine 10:58:21 ---> f79e39bc4007 10:58:21 Step 3/12 : ARG MAKE='make build' 10:58:22 ---> Running in 00ee2f1467d8 10:58:22 Removing intermediate container 00ee2f1467d8 10:58:22 ---> e99be3b0aee3 10:58:22 Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 10:58:22 ---> Running in 046fb8167949 10:58:22 Removing intermediate container 046fb8167949 10:58:22 ---> 114e41704637 10:58:22 Step 5/12 : ARG ALPINE_PKG_EXTRA="" 10:58:23 ---> Running in 3257951fd13c 10:58:23 Removing intermediate container 3257951fd13c 10:58:23 ---> 23063712b9ed 10:58:23 Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 10:58:23 ---> Running in a0a78eddcf70 10:58:26 Removing intermediate container a0a78eddcf70 10:58:26 ---> f85f600f66fd 10:58:26 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 10:58:26 ---> Running in e476d6f2c2b0 10:58:27 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 10:58:28 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 10:58:29 (1/4) Installing openssh-keygen (8.8_p1-r1) 10:58:29 (2/4) Installing libedit (20210910.3.1-r0) 10:58:29 (3/4) Installing openssh-client-common (8.8_p1-r1) 10:58:29 (4/4) Installing openssh-client-default (8.8_p1-r1) 10:58:29 Executing busybox-1.34.1-r3.trigger 10:58:29 OK: 224 MiB in 56 packages 10:58:30 Removing intermediate container e476d6f2c2b0 10:58:30 ---> 49e594c7ccf1 10:58:30 Step 8/12 : WORKDIR /device-rest-go 10:58:30 ---> Running in 0cfb30ae766e 10:58:30 Removing intermediate container 0cfb30ae766e 10:58:30 ---> 4dc2bd73f1d6 10:58:30 Step 9/12 : COPY go.mod vendor* ./ 10:58:31 ---> 40ff1d65e839 10:58:31 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 10:58:31 ---> Running in a20bdaf669d6 10:59:18 Removing intermediate container a20bdaf669d6 10:59:18 ---> ffe82eb8bf5f 10:59:18 Step 11/12 : COPY . . 10:59:18 ---> 965ccb0db52a 10:59:18 Step 12/12 : RUN $MAKE 10:59:18 ---> Running in c82fa6969ac6 10:59:18 noop 10:59:18 Removing intermediate container c82fa6969ac6 10:59:18 ---> 40028b3658da 10:59:18 Successfully built 40028b3658da 10:59:18 Successfully tagged ci-base-image-arm64:latest [Pipeline] isUnix [Pipeline] sh 10:59:18 + docker inspect -f . ci-base-image-arm64 10:59:18 . [Pipeline] withDockerContainer 10:59:19 prd-ubuntu20.04-docker-arm64-4c-16g-21583 does not seem to be running inside a container 10:59:19 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:59:20 $ docker top 41241893b6b00a8d47dffe6a539018540652ea84eba8ee13fd1c0e094e91807a -eo pid,comm [Pipeline] { [Pipeline] sh 10:59:21 + go version 10:59:21 go version go1.17.6 linux/arm64 [Pipeline] } 10:59:21 $ docker stop --time=1 41241893b6b00a8d47dffe6a539018540652ea84eba8ee13fd1c0e094e91807a 10:59:23 $ docker rm -f 41241893b6b00a8d47dffe6a539018540652ea84eba8ee13fd1c0e094e91807a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] sh 10:59:23 + docker inspect -f . ci-base-image-arm64 10:59:23 . [Pipeline] withDockerContainer 10:59:24 prd-ubuntu20.04-docker-arm64-4c-16g-21583 does not seem to be running inside a container 10:59:24 $ 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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 10:59:25 $ docker top f14bbdac2f393bbf5400e1884ad96470cee266f07b334fdea249cbbf1eed17d5 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh 10:59:26 + make test 10:59:26 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 10:59:28 ? github.com/edgexfoundry/device-rest-go [no test files] 11:00:49 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 11:00:49 ok github.com/edgexfoundry/device-rest-go/driver 0.065s coverage: 55.2% of statements 11:00:49 WARNING: Linting skipped (not on x86_64 or linter not installed) 11:00:49 CGO_ENABLED=1 GO111MODULE=on go vet ./... 11:01:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 11:01:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 11:01:12 ./bin/test-attribution-txt.sh [Pipeline] echo 11:01:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 11:01:12 $ docker stop --time=1 f14bbdac2f393bbf5400e1884ad96470cee266f07b334fdea249cbbf1eed17d5 11:01:14 $ docker rm -f f14bbdac2f393bbf5400e1884ad96470cee266f07b334fdea249cbbf1eed17d5 [Pipeline] // withDockerContainer [Pipeline] sh 11:01:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 11:01:15 Warning: overwriting stash ‘coverage-report’ 11:01:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 11:01:16 + sudo chown -R jenkins:jenkins . [Pipeline] sh 11:01:16 + ls -al . 11:01:16 total 168 11:01:16 drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 11:01 . 11:01:16 drwxrwxr-x 4 jenkins jenkins 4096 Apr 21 10:57 .. 11:01:16 -rw-rw-r-- 1 jenkins jenkins 151 Apr 21 10:57 .dockerignore 11:01:16 drwxrwxr-x 8 jenkins jenkins 4096 Apr 21 10:57 .git 11:01:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 10:57 .github 11:01:16 -rw-rw-r-- 1 jenkins jenkins 329 Apr 21 10:57 .gitignore 11:01:16 -rw-rw-r-- 1 jenkins jenkins 41 Apr 21 10:57 .golangci.yml 11:01:16 -rw-rw-r-- 1 jenkins jenkins 8330 Apr 21 10:57 Attribution.txt 11:01:16 -rw-rw-r-- 1 jenkins jenkins 7459 Apr 21 10:57 CHANGELOG.md 11:01:16 -rw-rw-r-- 1 jenkins jenkins 1672 Apr 21 10:57 Dockerfile 11:01:16 -rw-rw-r-- 1 jenkins jenkins 677 Apr 21 10:57 GOVERNANCE.md 11:01:16 -rw-rw-r-- 1 jenkins jenkins 680 Apr 21 10:57 Jenkinsfile 11:01:16 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 21 10:57 LICENSE 11:01:16 -rw-rw-r-- 1 jenkins jenkins 1964 Apr 21 10:57 Makefile 11:01:16 -rw-rw-r-- 1 jenkins jenkins 620 Apr 21 10:57 OWNERS.md 11:01:16 -rw-rw-r-- 1 jenkins jenkins 8246 Apr 21 10:57 README.md 11:01:16 -rw-rw-r-- 1 jenkins jenkins 5 Apr 21 10:55 VERSION 11:01:16 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 10:57 bin 11:01:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 10:57 cmd 11:01:16 -rw-r--r-- 1 jenkins jenkins 9355 Apr 21 11:00 coverage.out 11:01:16 drwxrwxr-x 2 jenkins jenkins 4096 Apr 21 10:57 driver 11:01:16 -rw-rw-r-- 1 jenkins jenkins 3240 Apr 21 10:57 go.mod 11:01:16 -rw-rw-r-- 1 jenkins jenkins 34722 Apr 21 10:57 go.sum 11:01:16 drwxrwxr-x 3 jenkins jenkins 4096 Apr 21 10:57 snap 11:01:16 -rw-rw-r-- 1 jenkins jenkins 713 Apr 21 10:57 version.go [Pipeline] isUnix [Pipeline] sh 11:01:16 + 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=9da43f878aee0131fc8c709839baf307fdc66f93 --label arch=arm64 --label version=0.0.0 . 11:01:16 Sending build context to Docker daemon 139.8kB 11:01:17 Step 1/25 : ARG BASE=golang:1.17-alpine3.15 11:01:17 Step 2/25 : FROM ${BASE} AS builder 11:01:17 ---> 40028b3658da 11:01:17 Step 3/25 : ARG MAKE='make build' 11:01:17 ---> Running in ab129ccc0c45 11:01:17 Removing intermediate container ab129ccc0c45 11:01:17 ---> fbf4876b0c93 11:01:17 Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 11:01:17 ---> Running in 99503d7de29a 11:01:18 Removing intermediate container 99503d7de29a 11:01:18 ---> 7fb825f51d4d 11:01:18 Step 5/25 : ARG ALPINE_PKG_EXTRA="" 11:01:18 ---> Running in 501fdc4ff115 11:01:18 Removing intermediate container 501fdc4ff115 11:01:18 ---> 7aa6e1a9bd10 11:01:18 Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories 11:01:18 ---> Running in 10b7401f8659 11:01:20 Removing intermediate container 10b7401f8659 11:01:20 ---> 170d6f9f2dd5 11:01:20 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 11:01:20 ---> Running in c7b2ae79efd6 11:01:21 fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz 11:01:22 fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz 11:01:23 OK: 224 MiB in 56 packages 11:01:24 Removing intermediate container c7b2ae79efd6 11:01:24 ---> 3d40c02c670a 11:01:24 Step 8/25 : WORKDIR /device-rest-go 11:01:24 ---> Running in fe95a1761e81 11:01:24 Removing intermediate container fe95a1761e81 11:01:24 ---> 9b17f11502b6 11:01:24 Step 9/25 : COPY go.mod vendor* ./ 11:01:24 ---> 351a2f11dd36 11:01:24 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 11:01:24 ---> Running in e02be7137d64 11:01:26 Removing intermediate container e02be7137d64 11:01:26 ---> 8cf6794e4e17 11:01:26 Step 11/25 : COPY . . 11:01:27 ---> ee2acfd0af47 11:01:27 Step 12/25 : RUN $MAKE 11:01:27 ---> Running in 14e0b5ee7ce4 11:01:28 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 11:03:35 Removing intermediate container 14e0b5ee7ce4 11:03:35 ---> 1c6688845b57 11:03:35 Step 13/25 : FROM alpine:3.14 11:03:35 3.14: Pulling from library/alpine 11:03:35 455c02918c45: Pulling fs layer 11:03:35 455c02918c45: Download complete 11:03:35 455c02918c45: Pull complete 11:03:35 Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 11:03:35 Status: Downloaded newer image for alpine:3.14 11:03:35 ---> ac73e934f311 11:03:35 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' 11:03:35 ---> Running in e64ec5038e27 11:03:35 Removing intermediate container e64ec5038e27 11:03:35 ---> eba58a7cfa2f 11:03:35 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 11:03:35 ---> Running in 659ddff55f1c 11:03:35 Removing intermediate container 659ddff55f1c 11:03:35 ---> d70cfcef49d5 11:03:35 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 11:03:35 ---> Running in 70d5294c8058 11:03:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz 11:03:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz 11:03:35 (1/6) Installing dumb-init (1.2.5-r1) 11:03:35 (2/6) Installing libgcc (10.3.1_git20210424-r2) 11:03:35 (3/6) Installing libsodium (1.0.18-r0) 11:03:35 (4/6) Installing libstdc++ (10.3.1_git20210424-r2) 11:03:35 (5/6) Installing libzmq (4.3.4-r0) 11:03:35 (6/6) Installing zeromq (4.3.4-r0) 11:03:35 Executing busybox-1.33.1-r7.trigger 11:03:35 OK: 8 MiB in 20 packages 11:03:35 Removing intermediate container 70d5294c8058 11:03:35 ---> 71eaf2a3e4e2 11:03:35 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 11:03:35 ---> d0cc40b36c9d 11:03:35 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 11:03:35 ---> 558342f524c1 11:03:35 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 11:03:35 ---> a6e9b19c6966 11:03:35 Step 20/25 : EXPOSE 59986 11:03:35 ---> Running in 97db560b5844 11:03:35 Removing intermediate container 97db560b5844 11:03:35 ---> 75e20b260e6a 11:03:35 Step 21/25 : ENTRYPOINT ["/device-rest"] 11:03:35 ---> Running in 4039351730c6 11:03:35 Removing intermediate container 4039351730c6 11:03:35 ---> d10d275e2508 11:03:35 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 11:03:35 ---> Running in 796846977afa 11:03:35 Removing intermediate container 796846977afa 11:03:35 ---> b62890c7d91f 11:03:35 Step 23/25 : LABEL arch=arm64 11:03:35 ---> Running in 9b1eb020d046 11:03:35 Removing intermediate container 9b1eb020d046 11:03:35 ---> 2e79f419945d 11:03:35 Step 24/25 : LABEL git_sha=9da43f878aee0131fc8c709839baf307fdc66f93 11:03:35 ---> Running in 238705cb9525 11:03:35 Removing intermediate container 238705cb9525 11:03:35 ---> e6b2f93466c2 11:03:35 Step 25/25 : LABEL version=0.0.0 11:03:35 ---> Running in d011f181c180 11:03:35 Removing intermediate container d011f181c180 11:03:35 ---> 7cc9bb1d0d7a 11:03:35 [Warning] One or more build-args [ARCH] were not consumed 11:03:35 Successfully built 7cc9bb1d0d7a 11:03:35 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 11:03:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:03:36 11:03:36 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] sh 11:03:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:03:36 arm64: Pulling from edgex-lftools-log-publisher 11:03:36 8998bd30e6a1: Pulling fs layer 11:03:36 04944245beec: Pulling fs layer 11:03:36 699f458cf7ca: Pulling fs layer 11:03:36 765212b225bb: Pulling fs layer 11:03:36 f23df028b6ca: Pulling fs layer 11:03:36 d65c8cfc05b1: Pulling fs layer 11:03:36 2437ff75d9bd: Pulling fs layer 11:03:36 f23df028b6ca: Waiting 11:03:36 d65c8cfc05b1: Waiting 11:03:36 2437ff75d9bd: Waiting 11:03:36 04944245beec: Verifying Checksum 11:03:36 04944245beec: Download complete 11:03:36 765212b225bb: Verifying Checksum 11:03:36 765212b225bb: Download complete 11:03:36 f23df028b6ca: Download complete 11:03:36 d65c8cfc05b1: Verifying Checksum 11:03:36 d65c8cfc05b1: Download complete 11:03:37 699f458cf7ca: Verifying Checksum 11:03:37 699f458cf7ca: Download complete 11:03:37 8998bd30e6a1: Verifying Checksum 11:03:37 8998bd30e6a1: Download complete 11:03:39 2437ff75d9bd: Verifying Checksum 11:03:39 2437ff75d9bd: Download complete 11:03:41 8998bd30e6a1: Pull complete 11:03:41 04944245beec: Pull complete 11:03:43 699f458cf7ca: Pull complete 11:03:43 765212b225bb: Pull complete 11:03:44 f23df028b6ca: Pull complete 11:03:44 d65c8cfc05b1: Pull complete 11:03:59 2437ff75d9bd: Pull complete 11:03:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 11:03:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 11:03:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] withDockerContainer 11:04:00 prd-ubuntu20.04-docker-arm64-4c-16g-21583 does not seem to be running inside a container 11:04:00 $ 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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 11:04:02 $ docker top f417dac1516f62069d0883f2a603b1d9dd022ddf2103afbdf19c5cc454266ea7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 11:04:03 ---> job-cost.sh 11:04:03 lf-activate-venv: SKIPPING 11:04:03 INFO: No Stack... 11:04:04 INFO: Retrieving Pricing Info for: v3-standard-4 11:04:05 INFO: Archiving Costs [Pipeline] sh 11:04:06 + cat /w/workspace/device-rest-go/1/archives/cost.csv 11:04:06 + cut -d, -f6 [Pipeline] lock 11:04:06 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-177-1-stack-cost] 11:04:06 Resource [jenkins-edgexfoundry-device-rest-go-PR-177-1-stack-cost] did not exist. Created. 11:04:06 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-177-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 11:04:06 /w/workspace/device-rest-go/1@tmp/durable-2a9b2134/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 11:04:07 + echo total: 0.10999999940395355 [Pipeline] stash 11:04:07 Warning: overwriting stash ‘stack-cost’ 11:04:07 Stashed 1 file(s) [Pipeline] } 11:04:07 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-177-1-stack-cost] [Pipeline] // lock [Pipeline] } 11:04:07 $ docker stop --time=1 f417dac1516f62069d0883f2a603b1d9dd022ddf2103afbdf19c5cc454266ea7 11:04:09 $ docker rm -f f417dac1516f62069d0883f2a603b1d9dd022ddf2103afbdf19c5cc454266ea7 [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 11:04:10 provisioning config files... 11:04:10 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-177@tmp/config7774941070276410868tmp [Pipeline] { [Pipeline] sh 11:04:10 + set +x 11:04:10 + curl -s https://codecov.io/bash 11:04:10 + bash -s -- 11:04:10 11:04:10 _____ _ 11:04:10 / ____| | | 11:04:10 | | ___ __| | ___ ___ _____ __ 11:04:10 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 11:04:10 | |___| (_) | (_| | __/ (_| (_) \ V / 11:04:10 \_____\___/ \__,_|\___|\___\___/ \_/ 11:04:10 Bash-1.0.6 11:04:10 11:04:10 11:04:10 ==> git version 2.25.1 found 11:04:10 ==> 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 11:04:10 Release-Date: 2020-01-08 11:04:10 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 11:04:10 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 11:04:10 ==> Jenkins CI detected. 11:04:10 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-177 11:04:10 project root: . 11:04:10 --> token set from env 11:04:10 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 11:04:10 ==> Running gcov in . (disable via -X gcov) 11:04:10 ==> Python coveragepy not found 11:04:10 ==> Searching for coverage reports in: 11:04:10 + . 11:04:10 -> Found 1 reports 11:04:10 ==> Detecting git/mercurial file structure 11:04:10 ==> Reading reports 11:04:10 + ./coverage.out bytes=9355 11:04:10 ==> Appending adjustments 11:04:10 https://docs.codecov.io/docs/fixing-reports 11:04:10 + Found adjustments 11:04:10 ==> Gzipping contents 11:04:10 4.0K /tmp/codecov.UckQMr.gz 11:04:10 ==> Uploading reports 11:04:10 url: https://codecov.io 11:04:10 query: branch=PR-177&commit=d084baa15fc713cb986be722c9825c551f4acbe3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-177%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=177&job=&cmd_args= 11:04:10 -> Pinging Codecov 11:04:10 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-177&commit=d084baa15fc713cb986be722c9825c551f4acbe3&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-177%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=177&job=&cmd_args= 11:04:11 -> Uploading to 11:04:11 https://storage.googleapis.com/codecov/v4/raw/2022-04-21/4E5D53B4F1F92C436F7061BF334D961C/d084baa15fc713cb986be722c9825c551f4acbe3/b93f7fe0-e75b-4415-a249-a7ea952d1abe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220421%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220421T110410Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=8abc79f87874528180bbb4ec6a6cc5fb6ee2ebc4352b59eadf8a391c5e90085d 11:04:11 % Total % Received % Xferd Average Speed Time Time Time Current 11:04:11 Dload Upload Total Spent Left Speed 11:04:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 8400 --:--:-- --:--:-- --:--:-- 8439 11:04:11 -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/d084baa15fc713cb986be722c9825c551f4acbe3 [Pipeline] } 11:04:11 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 11:04:13 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-177/archives ] 11:04:13 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-177/archives 11:04:13 total 16 11:04:13 drwxr-xr-x 3 root root 4096 Apr 21 10:56 . 11:04:13 drwxrwxr-x 10 jenkins jenkins 4096 Apr 21 10:56 .. 11:04:13 drwxr-xr-x 2 root root 4096 Apr 21 10:56 cost 11:04:13 -rw-r--r-- 1 root root 85 Apr 21 10:56 cost.csv 11:04:13 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-177/archives 11:04:13 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-177/archives 11:04:13 total 16 11:04:13 drwxr-xr-x 3 jenkins jenkins 4096 Apr 21 10:56 . 11:04:13 drwxrwxr-x 10 jenkins jenkins 4096 Apr 21 10:56 .. 11:04:13 drwxr-xr-x 2 jenkins jenkins 4096 Apr 21 10:56 cost 11:04:13 -rw-r--r-- 1 jenkins jenkins 85 Apr 21 10:56 cost.csv [Pipeline] libraryResource [Pipeline] sh 11:04:13 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 11:04:14 ---> package-listing.sh 11:04:14 ++ facter osfamily 11:04:14 ++ tr '[:upper:]' '[:lower:]' 11:04:14 + OS_FAMILY=debian 11:04:14 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-177 11:04:14 + START_PACKAGES=/tmp/packages_start.txt 11:04:14 + END_PACKAGES=/tmp/packages_end.txt 11:04:14 + DIFF_PACKAGES=/tmp/packages_diff.txt 11:04:14 + PACKAGES=/tmp/packages_start.txt 11:04:14 + '[' /w/workspace/gexfoundry_device-rest-go_PR-177 ']' 11:04:14 + PACKAGES=/tmp/packages_end.txt 11:04:14 + case "${OS_FAMILY}" in 11:04:14 + dpkg -l 11:04:14 + grep '^ii' 11:04:14 + '[' -f /tmp/packages_start.txt ']' 11:04:14 + '[' -f /tmp/packages_end.txt ']' 11:04:14 + diff /tmp/packages_start.txt /tmp/packages_end.txt 11:04:14 + '[' /w/workspace/gexfoundry_device-rest-go_PR-177 ']' 11:04:14 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-177/archives/ 11:04:14 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-177/archives/ [Pipeline] echo 11:04:14 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-177/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 11:04:15 + facter operatingsystem [Pipeline] isUnix [Pipeline] sh 11:04:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 11:04:15 . [Pipeline] withDockerContainer 11:04:15 prd-ubuntu20.04-docker-8c-8g-21582 does not seem to be running inside a container 11:04:15 $ 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-177/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-177 -v /w/workspace/gexfoundry_device-rest-go_PR-177:/w/workspace/gexfoundry_device-rest-go_PR-177:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-177@tmp:/w/workspace/gexfoundry_device-rest-go_PR-177@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 11:04:16 $ docker top 4d41dd7f8bcf7c742a33ff3898af35f15e8c567af4313647043a907934241cc4 -eo pid,comm [Pipeline] { [Pipeline] sh 11:04:16 + touch /tmp/pre-build-complete [Pipeline] sh 11:04:16 + mkdir -p /var/log/sysstat [Pipeline] sh 11:04:17 + ls /var/log/sa-host 11:04:17 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 11:04:17 provisioning config files... 11:04:17 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-177@tmp/config9064257510711130050tmp [Pipeline] { [Pipeline] echo 11:04:17 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 11:04:17 ---> create-netrc.sh [Pipeline] } 11:04:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 11:04:18 ---> python-tools-install.sh [Pipeline] echo 11:04:18 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 11:04:18 ---> sudo-logs.sh 11:04:18 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 11:04:18 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 11:04:18 ---> job-cost.sh 11:04:18 lf-activate-venv: SKIPPING 11:04:18 DEBUG: total: 0.2199999988079071 11:04:18 INFO: Retrieving Stack Cost... 11:04:19 INFO: Retrieving Pricing Info for: v3-standard-8 11:04:19 INFO: Archiving Costs [Pipeline] echo 11:04:19 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 11:04:20 ---> logs-deploy.sh 11:04:20 lf-activate-venv: SKIPPING 11:04:20 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-177/1 11:04:20 INFO: archiving workspace using pattern(s): 11:04:21 Archives upload complete. 11:04:21 INFO: archiving logs to Nexus