Pull request #213 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 lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from 0620b8de6097426a9ccc0f6041add98431d45914+dba35d3ba46b7861587cc7246b39f98fa3ba425a (f6e36d055dea1c951008e55a996de13401720546) 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-ssh3491948903822404398.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d 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-ssh6281901737021076713.key Verifying host key using known hosts file > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d 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-213/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82 # 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-213/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh11800808100993564281.key Verifying host key using known hosts file > 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-213/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh3379715629830598549.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > 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 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-ssh18423870305971051127.key Verifying host key using known hosts file > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 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-213/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e # 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-213/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh11769602387139336885.key Verifying host key using known hosts file > 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 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > 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 bd7468d5528128c83034753e4c3def8ef9af3f2d Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that 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.18 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 SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-666 in /w/workspace/gexfoundry_device-rest-go_PR-213 [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-213 # 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/213/head:refs/remotes/origin/PR-213 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit dba35d3ba46b7861587cc7246b39f98fa3ba425a into PR head commit 0620b8de6097426a9ccc0f6041add98431d45914 Merge succeeded, producing 0620b8de6097426a9ccc0f6041add98431d45914 Checking out Revision 0620b8de6097426a9ccc0f6041add98431d45914 (PR-213) > git config core.sparsecheckout # timeout=10 > git checkout -f 0620b8de6097426a9ccc0f6041add98431d45914 # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge dba35d3ba46b7861587cc7246b39f98fa3ba425a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0620b8de6097426a9ccc0f6041add98431d45914 # timeout=10 Commit message: "build: Add option to build Service with NATS Capability" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:33:02 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:33:02 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:33:02 ========================================================= 22:33:02 EdgeX Global Pipelines Version Info 22:33:02 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:33:03 ------------------- 22:33:03 stable info: 22:33:03 ------------------- 22:33:03 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:33:03 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 22:33:03 Message: update stable to v1.0.239 22:33:04 ------------------- 22:33:04 experimental info: 22:33:04 ------------------- 22:33:04 Commited By: **** collab-it+edgex@linuxfoundation.org 22:33:04 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 22:33:04 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:33:04 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 22:33:04 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 22:33:04 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:33:04 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:33:04 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:33:04 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:33:04 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:33:04 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:33:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:33:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:33:04 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:33:04 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 22:33:04 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:33:04 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:33:04 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:33:04 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:33:04 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:33:05 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:33:05 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:33:05 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:33:05 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:33:05 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:33:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:33:05 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:33:05 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:33:05 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:33:05 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:33:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-213 [Pipeline] echo 22:33:05 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-213 [Pipeline] echo 22:33:05 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-213 [Pipeline] echo 22:33:05 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0620b8de6097426a9ccc0f6041add98431d45914 [Pipeline] echo 22:33:05 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0620b8d [Pipeline] echo 22:33:05 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:33:05 provisioning config files... 22:33:05 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-213@tmp/config4071514435100023188tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:33:06 ---> docker-login.sh 22:33:06 nexus3.edgexfoundry.org:10001 22:33:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:33:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:33:06 Configure a credential helper to remove this warning. See 22:33:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:33:06 22:33:06 Login Succeeded 22:33:06 nexus3.edgexfoundry.org:10002 22:33:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:33:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:33:06 Configure a credential helper to remove this warning. See 22:33:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:33:06 22:33:06 Login Succeeded 22:33:06 nexus3.edgexfoundry.org:10003 22:33:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:33:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:33:06 Configure a credential helper to remove this warning. See 22:33:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:33:06 22:33:06 Login Succeeded 22:33:06 nexus3.edgexfoundry.org:10004 22:33:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:33:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:33:06 Configure a credential helper to remove this warning. See 22:33:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:33:06 22:33:06 Login Succeeded 22:33:06 docker.io 22:33:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:33:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:33:07 Configure a credential helper to remove this warning. See 22:33:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:33:07 22:33:07 Login Succeeded 22:33:07 ---> docker-login.sh ends [Pipeline] } 22:33:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:33:07 + git rev-list -1 --merges 0620b8de6097426a9ccc0f6041add98431d45914~1..0620b8de6097426a9ccc0f6041add98431d45914 [Pipeline] echo 22:33:07 -----------> git rev-list -1 --merges 0620b8de6097426a9ccc0f6041add98431d45914~1..0620b8de6097426a9ccc0f6041add98431d45914 0620b8de6097426a9ccc0f6041add98431d45914 [false] [Pipeline] sh 22:33:08 + git log --format=format:%s -1 0620b8de6097426a9ccc0f6041add98431d45914 [Pipeline] echo 22:33:08 ========================================================= 22:33:08 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:33:08 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:33:08 + git log --format=format:%s -1 0620b8de6097426a9ccc0f6041add98431d45914 [Pipeline] echo 22:33:08 [semverPrep] GIT_COMMIT: 0620b8de6097426a9ccc0f6041add98431d45914, Commit Message: build: Add option to build Service with NATS Capability [Pipeline] echo 22:33:08 [semverPrep] This is not a build commit. [Pipeline] sh 22:33:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:33:09 + grep -v github /etc/ssh/ssh_known_hosts 22:33:09 + [ -e /tmp/ssh_known_hosts ] 22:33:09 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:33:09 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:33:09 + sudo tee -a /etc/ssh/ssh_known_hosts 22:33:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:33:09 22:33:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:33:09 0.1.4: Pulling from edgex-devops/py-git-semver 22:33:09 b85a868b505f: Pulling fs layer 22:33:09 e2be974225ed: Pulling fs layer 22:33:09 339a4e72a1f5: Pulling fs layer 22:33:09 988bab9f4d93: Pulling fs layer 22:33:09 1469e6f7b9e6: Pulling fs layer 22:33:09 eaf3925da568: Pulling fs layer 22:33:09 bab4dde63d76: Pulling fs layer 22:33:09 bde34c3a00c8: Pulling fs layer 22:33:09 b352a97aabf1: Pulling fs layer 22:33:09 4872d77fe225: Pulling fs layer 22:33:09 5851b861e8e6: Pulling fs layer 22:33:09 988bab9f4d93: Waiting 22:33:09 1469e6f7b9e6: Waiting 22:33:09 eaf3925da568: Waiting 22:33:09 bab4dde63d76: Waiting 22:33:09 5851b861e8e6: Waiting 22:33:09 bde34c3a00c8: Waiting 22:33:09 b352a97aabf1: Waiting 22:33:09 4872d77fe225: Waiting 22:33:09 e2be974225ed: Verifying Checksum 22:33:09 e2be974225ed: Download complete 22:33:09 988bab9f4d93: Download complete 22:33:10 1469e6f7b9e6: Verifying Checksum 22:33:10 1469e6f7b9e6: Download complete 22:33:10 339a4e72a1f5: Verifying Checksum 22:33:10 339a4e72a1f5: Download complete 22:33:10 eaf3925da568: Verifying Checksum 22:33:10 eaf3925da568: Download complete 22:33:10 bde34c3a00c8: Download complete 22:33:10 b352a97aabf1: Download complete 22:33:10 4872d77fe225: Verifying Checksum 22:33:10 4872d77fe225: Download complete 22:33:10 5851b861e8e6: Download complete 22:33:10 b85a868b505f: Verifying Checksum 22:33:10 b85a868b505f: Download complete 22:33:10 bab4dde63d76: Verifying Checksum 22:33:10 bab4dde63d76: Download complete 22:33:11 b85a868b505f: Pull complete 22:33:11 e2be974225ed: Pull complete 22:33:11 339a4e72a1f5: Pull complete 22:33:11 988bab9f4d93: Pull complete 22:33:12 1469e6f7b9e6: Pull complete 22:33:12 eaf3925da568: Pull complete 22:33:14 bab4dde63d76: Pull complete 22:33:14 bde34c3a00c8: Pull complete 22:33:14 b352a97aabf1: Pull complete 22:33:14 4872d77fe225: Pull complete 22:33:14 5851b861e8e6: Pull complete 22:33:14 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:33:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:33:14 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:33:14 prd-ubuntu20.04-docker-8c-8g-666 does not seem to be running inside a container 22:33:14 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-213 -v /w/workspace/gexfoundry_device-rest-go_PR-213:/w/workspace/gexfoundry_device-rest-go_PR-213:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-213@tmp:/w/workspace/gexfoundry_device-rest-go_PR-213@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:33:15 $ docker top d8e006eaf2ac213434522564efad05208f40ebc8e7ca34bc1904ac4ced628c1c -eo pid,comm 22:33:15 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:33:15 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:33:15 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:33:15 [ssh-agent] Looking for ssh-agent implementation... 22:33:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:33:16 $ docker exec d8e006eaf2ac213434522564efad05208f40ebc8e7ca34bc1904ac4ced628c1c ssh-agent 22:33:16 SSH_AUTH_SOCK=/tmp/ssh-pg9Fdu3zQAJh/agent.32 22:33:16 SSH_AGENT_PID=38 22:33:16 Running ssh-add (command line suppressed) 22:33:16 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-213@tmp/private_key_4171043566137027101.key (/w/workspace/gexfoundry_device-rest-go_PR-213@tmp/private_key_4171043566137027101.key) 22:33:16 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:33:16 + git tag --points-at HEAD [Pipeline] } 22:33:16 $ docker exec --env ******** --env ******** d8e006eaf2ac213434522564efad05208f40ebc8e7ca34bc1904ac4ced628c1c ssh-agent -k 22:33:16 unset SSH_AUTH_SOCK; 22:33:16 unset SSH_AGENT_PID; 22:33:16 echo Agent pid 38 killed; 22:33:16 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:33:16 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:33:16 [ssh-agent] Looking for ssh-agent implementation... 22:33:16 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:33:16 $ docker exec d8e006eaf2ac213434522564efad05208f40ebc8e7ca34bc1904ac4ced628c1c ssh-agent 22:33:17 SSH_AUTH_SOCK=/tmp/ssh-ZaNG35GvrpxQ/agent.70 22:33:17 SSH_AGENT_PID=76 22:33:17 Running ssh-add (command line suppressed) 22:33:17 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-213@tmp/private_key_14130944506495256515.key (/w/workspace/gexfoundry_device-rest-go_PR-213@tmp/private_key_14130944506495256515.key) 22:33:17 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:33:17 + git semver init 22:33:17 2022-09-22 22:33:17,591 [run_init] DEBUG init version:0.0.0 force:False 22:33:17 2022-09-22 22:33:17,591 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-213/.semver 22:33:17 2022-09-22 22:33:17,592 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-213/.semver 22:33:17 2022-09-22 22:33:17,592 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-213/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-213, universal_newlines=False, shell=None, istream=None) 22:33:18 2022-09-22 22:33:18,578 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-213/.git/info/exclude 22:33:18 2022-09-22 22:33:18,579 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-213/.semver/PR-213 with force:False 22:33:18 2022-09-22 22:33:18,579 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-213/.semver/PR-213 22:33:18 2022-09-22 22:33:18,583 [execute] INFO git cat-file --batch-check 22:33:18 2022-09-22 22:33:18,583 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-213/.semver, universal_newlines=False, shell=None, istream=) 22:33:18 2022-09-22 22:33:18,589 [execute] INFO git cat-file --batch 22:33:18 2022-09-22 22:33:18,590 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-213/.semver, universal_newlines=False, shell=None, istream=) 22:33:18 2022-09-22 22:33:18,594 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-213/.semver/PR-213 22:33:18 0.0.0 [Pipeline] } 22:33:18 $ docker exec --env ******** --env ******** d8e006eaf2ac213434522564efad05208f40ebc8e7ca34bc1904ac4ced628c1c ssh-agent -k 22:33:18 unset SSH_AUTH_SOCK; 22:33:18 unset SSH_AGENT_PID; 22:33:18 echo Agent pid 76 killed; 22:33:18 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:33:19 + git semver [Pipeline] } 22:33:19 $ docker stop --time=1 d8e006eaf2ac213434522564efad05208f40ebc8e7ca34bc1904ac4ced628c1c 22:33:20 $ docker rm -f d8e006eaf2ac213434522564efad05208f40ebc8e7ca34bc1904ac4ced628c1c [Pipeline] // withDockerContainer [Pipeline] sh 22:33:21 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:33:21 Stashed 1 file(s) [Pipeline] echo 22:33:21 [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 22:33:22 provisioning config files... 22:33:22 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-213@tmp/config12006604145934511792tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:33:22 ---> docker-login.sh 22:33:22 nexus3.edgexfoundry.org:10001 22:33:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:33:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:33:22 Configure a credential helper to remove this warning. See 22:33:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:33:22 22:33:22 Login Succeeded 22:33:22 nexus3.edgexfoundry.org:10002 22:33:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:33:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:33:22 Configure a credential helper to remove this warning. See 22:33:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:33:22 22:33:22 Login Succeeded 22:33:22 nexus3.edgexfoundry.org:10003 22:33:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:33:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:33:22 Configure a credential helper to remove this warning. See 22:33:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:33:22 22:33:22 Login Succeeded 22:33:22 nexus3.edgexfoundry.org:10004 22:33:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:33:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:33:22 Configure a credential helper to remove this warning. See 22:33:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:33:22 22:33:22 Login Succeeded 22:33:22 docker.io 22:33:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:33:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:33:23 Configure a credential helper to remove this warning. See 22:33:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:33:23 22:33:23 Login Succeeded 22:33:23 ---> docker-login.sh ends [Pipeline] } 22:33:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:33:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:33:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:33:23 ========================================================= 22:33:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:33:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:24 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 22:33:24 Sending build context to Docker daemon 10.71MB 22:33:24 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:33:24 Step 2/13 : FROM ${BASE} AS builder 22:33:24 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:33:24 2408cc74d12b: Pulling fs layer 22:33:24 ea60b727a1ce: Pulling fs layer 22:33:24 30c4a7721957: Pulling fs layer 22:33:24 370296b7ddb6: Pulling fs layer 22:33:24 7c6cee850709: Pulling fs layer 22:33:24 39a5fcdaea64: Pulling fs layer 22:33:24 d94ebbe4e438: Pulling fs layer 22:33:24 bcfd1f05c69d: Pulling fs layer 22:33:24 59ccb84bbe0f: Pulling fs layer 22:33:24 39a5fcdaea64: Waiting 22:33:24 d94ebbe4e438: Waiting 22:33:24 bcfd1f05c69d: Waiting 22:33:24 7c6cee850709: Waiting 22:33:24 30c4a7721957: Download complete 22:33:24 ea60b727a1ce: Download complete 22:33:24 7c6cee850709: Download complete 22:33:24 39a5fcdaea64: Verifying Checksum 22:33:24 39a5fcdaea64: Download complete 22:33:24 2408cc74d12b: Verifying Checksum 22:33:24 2408cc74d12b: Download complete 22:33:24 d94ebbe4e438: Verifying Checksum 22:33:24 d94ebbe4e438: Download complete 22:33:24 2408cc74d12b: Pull complete 22:33:24 ea60b727a1ce: Pull complete 22:33:24 30c4a7721957: Pull complete 22:33:25 59ccb84bbe0f: Verifying Checksum 22:33:25 59ccb84bbe0f: Download complete 22:33:25 bcfd1f05c69d: Verifying Checksum 22:33:25 bcfd1f05c69d: Download complete 22:33:25 370296b7ddb6: Verifying Checksum 22:33:25 370296b7ddb6: Download complete 22:33:28 370296b7ddb6: Pull complete 22:33:28 7c6cee850709: Pull complete 22:33:28 39a5fcdaea64: Pull complete 22:33:28 d94ebbe4e438: Pull complete 22:33:30 bcfd1f05c69d: Pull complete 22:33:31 59ccb84bbe0f: Pull complete 22:33:31 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 22:33:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:33:31 ---> a4fb48ad2a94 22:33:31 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:33:32 ---> Running in 50540f942455 22:33:33 Removing intermediate container 50540f942455 22:33:33 ---> 39a59176e736 22:33:33 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:33:33 ---> Running in eb0f36a518e8 22:33:33 Removing intermediate container eb0f36a518e8 22:33:33 ---> 84f527f4c7f0 22:33:33 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:33:33 ---> Running in 1e650d597e3d 22:33:33 Removing intermediate container 1e650d597e3d 22:33:33 ---> 7c52e972165e 22:33:33 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:33:33 ---> Running in c9e525d34bd5 22:33:33 Removing intermediate container c9e525d34bd5 22:33:33 ---> 024b85bdb94b 22:33:33 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:33:33 ---> Running in 1709e0cf6411 22:33:33 Removing intermediate container 1709e0cf6411 22:33:33 ---> e9370e500a22 22:33:33 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:33:33 ---> Running in 8607542148d3 22:33:34 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:33:35 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:33:35 (1/4) Installing openssh-keygen (9.0_p1-r2) 22:33:35 (2/4) Installing libedit (20210910.3.1-r0) 22:33:35 (3/4) Installing openssh-client-common (9.0_p1-r2) 22:33:35 (4/4) Installing openssh-client-default (9.0_p1-r2) 22:33:35 Executing busybox-1.35.0-r13.trigger 22:33:35 OK: 216 MiB in 55 packages 22:33:36 Removing intermediate container 8607542148d3 22:33:36 ---> 86a0c833451d 22:33:36 Step 9/13 : WORKDIR /device-rest-go 22:33:36 ---> Running in 072d11f4c889 22:33:36 Removing intermediate container 072d11f4c889 22:33:36 ---> f6807144cca6 22:33:36 Step 10/13 : COPY go.mod vendor* ./ 22:33:36 ---> b9d5719e80d1 22:33:36 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:33:36 ---> Running in b55f46c2b830 22:33:36 Still waiting to schedule task 22:33:36 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-668’ 22:33:51 Removing intermediate container b55f46c2b830 22:33:51 ---> c727208e60cf 22:33:51 Step 12/13 : COPY . . 22:33:51 ---> 164179821e64 22:33:51 Step 13/13 : RUN $MAKE 22:33:51 ---> Running in bacb5520e0f6 22:33:51 noop 22:33:51 Removing intermediate container bacb5520e0f6 22:33:51 ---> 0da7592c2a58 22:33:51 Successfully built 0da7592c2a58 22:33:51 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:51 + docker inspect -f . ci-base-image-x86_64 22:33:51 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:33:51 prd-ubuntu20.04-docker-8c-8g-666 does not seem to be running inside a container 22:33:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-213 -v /w/workspace/gexfoundry_device-rest-go_PR-213:/w/workspace/gexfoundry_device-rest-go_PR-213:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-213@tmp:/w/workspace/gexfoundry_device-rest-go_PR-213@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 22:33:52 $ docker top df422ec5429de970b1e968fb9c510aba95c6dfa488d114f0486c54121632d731 -eo pid,comm [Pipeline] { [Pipeline] sh 22:33:52 + go version 22:33:52 go version go1.18.3 linux/amd64 [Pipeline] } 22:33:52 $ docker stop --time=1 df422ec5429de970b1e968fb9c510aba95c6dfa488d114f0486c54121632d731 22:33:53 $ docker rm -f df422ec5429de970b1e968fb9c510aba95c6dfa488d114f0486c54121632d731 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:33:54 + docker inspect -f . ci-base-image-x86_64 22:33:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:33:54 prd-ubuntu20.04-docker-8c-8g-666 does not seem to be running inside a container 22:33:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-213 -v /w/workspace/gexfoundry_device-rest-go_PR-213:/w/workspace/gexfoundry_device-rest-go_PR-213:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-213@tmp:/w/workspace/gexfoundry_device-rest-go_PR-213@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 22:33:55 $ docker top a5ca46445646709c935f679da186bb843a95ccc8c7aa044703ae93e4377288bd -eo pid,comm [Pipeline] { [Pipeline] sh 22:33:55 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-213 [Pipeline] fileExists [Pipeline] sh 22:33:55 + make test 22:33:55 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:33:56 ? github.com/edgexfoundry/device-rest-go [no test files] 22:34:06 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:34:06 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements 22:34:12 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 22:34:12 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:34:15 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:34:15 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:34:15 ./bin/test-attribution-txt.sh [Pipeline] echo 22:34:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:34:15 $ docker stop --time=1 a5ca46445646709c935f679da186bb843a95ccc8c7aa044703ae93e4377288bd 22:34:17 $ docker rm -f a5ca46445646709c935f679da186bb843a95ccc8c7aa044703ae93e4377288bd [Pipeline] // withDockerContainer [Pipeline] sh 22:34:17 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:34:17 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:34:18 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:34:18 + ls -al . 22:34:18 total 180 22:34:18 drwxrwxr-x 9 jenkins jenkins 4096 Sep 22 22:33 . 22:34:18 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 22:32 .. 22:34:18 -rw-rw-r-- 1 jenkins jenkins 151 Sep 22 22:32 .dockerignore 22:34:18 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 22:34 .git 22:34:18 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 22:32 .github 22:34:18 -rw-rw-r-- 1 jenkins jenkins 329 Sep 22 22:32 .gitignore 22:34:18 -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 22:32 .golangci.yml 22:34:18 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 22:33 .semver 22:34:18 -rw-rw-r-- 1 jenkins jenkins 9100 Sep 22 22:32 Attribution.txt 22:34:18 -rw-rw-r-- 1 jenkins jenkins 11736 Sep 22 22:32 CHANGELOG.md 22:34:18 -rw-rw-r-- 1 jenkins jenkins 1730 Sep 22 22:32 Dockerfile 22:34:18 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 22:32 GOVERNANCE.md 22:34:18 -rw-rw-r-- 1 jenkins jenkins 680 Sep 22 22:32 Jenkinsfile 22:34:18 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 22:32 LICENSE 22:34:18 -rw-rw-r-- 1 jenkins jenkins 2173 Sep 22 22:32 Makefile 22:34:18 -rw-rw-r-- 1 jenkins jenkins 620 Sep 22 22:32 OWNERS.md 22:34:18 -rw-rw-r-- 1 jenkins jenkins 8667 Sep 22 22:32 README.md 22:34:18 -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 22:33 VERSION 22:34:18 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 22:32 bin 22:34:18 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 22:32 cmd 22:34:18 -rw-r--r-- 1 jenkins jenkins 9355 Sep 22 22:34 coverage.out 22:34:18 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 22:32 driver 22:34:18 -rw-rw-r-- 1 jenkins jenkins 3547 Sep 22 22:32 go.mod 22:34:18 -rw-rw-r-- 1 jenkins jenkins 37945 Sep 22 22:32 go.sum 22:34:18 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 22:32 snap 22:34:18 -rw-rw-r-- 1 jenkins jenkins 713 Sep 22 22:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:34:19 + 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=0620b8de6097426a9ccc0f6041add98431d45914 --label arch=amd64 --label version=0.0.0 . 22:34:19 Sending build context to Docker daemon 10.72MB 22:34:19 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 22:34:19 Step 2/26 : FROM ${BASE} AS builder 22:34:19 ---> 0da7592c2a58 22:34:19 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:34:19 ---> Running in 66d628b4dd00 22:34:19 Removing intermediate container 66d628b4dd00 22:34:19 ---> 8b1ab3940dc3 22:34:19 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:34:19 ---> Running in 48c7e7b743fe 22:34:19 Removing intermediate container 48c7e7b743fe 22:34:19 ---> 1ceb2d2999be 22:34:19 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:34:19 ---> Running in 5e9f4144e697 22:34:19 Removing intermediate container 5e9f4144e697 22:34:19 ---> 0de766adcd4c 22:34:19 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:34:19 ---> Running in 72558fdb0e63 22:34:19 Removing intermediate container 72558fdb0e63 22:34:19 ---> 0f4f0d52554b 22:34:19 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:34:19 ---> Running in 1e2e158eb41c 22:34:20 Removing intermediate container 1e2e158eb41c 22:34:20 ---> 34278d1669db 22:34:20 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:34:20 ---> Running in 3d7e16339c61 22:34:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:34:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:34:21 OK: 216 MiB in 55 packages 22:34:21 Removing intermediate container 3d7e16339c61 22:34:21 ---> 4b8f4432c431 22:34:21 Step 9/26 : WORKDIR /device-rest-go 22:34:21 ---> Running in e96d57fcc834 22:34:21 Removing intermediate container e96d57fcc834 22:34:21 ---> 2b10d4f923c2 22:34:21 Step 10/26 : COPY go.mod vendor* ./ 22:34:22 ---> 8aa26807c873 22:34:22 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:34:22 ---> Running in e7bc8388ee31 22:34:22 Removing intermediate container e7bc8388ee31 22:34:22 ---> 42076bd97350 22:34:22 Step 12/26 : COPY . . 22:34:23 ---> e8ec91dfc9a9 22:34:23 Step 13/26 : RUN $MAKE 22:34:23 ---> Running in 84d92e6ec615 22:34:23 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 22:34:45 Removing intermediate container 84d92e6ec615 22:34:45 ---> d685b8ad46c5 22:34:45 Step 14/26 : FROM alpine:3.16 22:34:45 3.16: Pulling from library/alpine 22:34:45 213ec9aee27d: Pulling fs layer 22:34:45 213ec9aee27d: Download complete 22:34:45 213ec9aee27d: Pull complete 22:34:45 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:34:45 Status: Downloaded newer image for alpine:3.16 22:34:45 ---> 9c6f07244728 22:34:45 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:34:45 ---> Running in fb6476fd8820 22:34:45 Removing intermediate container fb6476fd8820 22:34:45 ---> d41e9e3a74fa 22:34:45 Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} 22:34:45 ---> Running in 98627326a2c2 22:34:45 Removing intermediate container 98627326a2c2 22:34:45 ---> 0069b433c5e2 22:34:45 Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init 22:34:45 ---> Running in 54d4cbb84453 22:34:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:34:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:34:45 (1/6) Installing dumb-init (1.2.5-r1) 22:34:45 (2/6) Installing libgcc (11.2.1_git20220219-r2) 22:34:45 (3/6) Installing libsodium (1.0.18-r0) 22:34:45 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 22:34:45 (5/6) Installing libzmq (4.3.4-r0) 22:34:45 (6/6) Installing zeromq (4.3.4-r0) 22:34:45 Executing busybox-1.35.0-r17.trigger 22:34:45 OK: 8 MiB in 20 packages 22:34:45 Removing intermediate container 54d4cbb84453 22:34:45 ---> aab4632957fc 22:34:45 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 22:34:45 ---> ab00c47e5ae6 22:34:45 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 22:34:45 ---> da4fbdb74f56 22:34:45 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 22:34:45 ---> 8e05444b50f0 22:34:45 Step 21/26 : EXPOSE 59986 22:34:45 ---> Running in a723d47889f6 22:34:45 Removing intermediate container a723d47889f6 22:34:45 ---> 9c92bb245cc9 22:34:45 Step 22/26 : ENTRYPOINT ["/device-rest"] 22:34:45 ---> Running in 40e5ea65a1fd 22:34:45 Removing intermediate container 40e5ea65a1fd 22:34:45 ---> b88213e13daf 22:34:45 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 22:34:45 ---> Running in 00349a83598f 22:34:46 Removing intermediate container 00349a83598f 22:34:46 ---> 47c43992eab9 22:34:46 Step 24/26 : LABEL arch=amd64 22:34:46 ---> Running in 00e7d8b85a0c 22:34:46 Removing intermediate container 00e7d8b85a0c 22:34:46 ---> cb8f33cab41a 22:34:46 Step 25/26 : LABEL git_sha=0620b8de6097426a9ccc0f6041add98431d45914 22:34:46 ---> Running in 18df833ceecf 22:34:46 Removing intermediate container 18df833ceecf 22:34:46 ---> f944a757d89b 22:34:46 Step 26/26 : LABEL version=0.0.0 22:34:46 ---> Running in c605d644cd03 22:34:46 Removing intermediate container c605d644cd03 22:34:46 ---> dbd69fbad21b 22:34:46 [Warning] One or more build-args [ARCH] were not consumed 22:34:46 Successfully built dbd69fbad21b 22:34:46 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 22:34:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:34:47 22:34:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:34:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:34:47 latest: Pulling from edgex-lftools-log-publisher 22:34:47 5eb5b503b376: Pulling fs layer 22:34:47 5c69ac0246d0: Pulling fs layer 22:34:47 ec43610c2a17: Pulling fs layer 22:34:47 3a2ae6a8a46f: Pulling fs layer 22:34:47 33b1e0a273af: Pulling fs layer 22:34:47 5d3b04190fa2: Pulling fs layer 22:34:47 2f39f015ded8: Pulling fs layer 22:34:47 3a2ae6a8a46f: Waiting 22:34:47 33b1e0a273af: Waiting 22:34:47 5d3b04190fa2: Waiting 22:34:47 2f39f015ded8: Waiting 22:34:47 5c69ac0246d0: Verifying Checksum 22:34:47 5c69ac0246d0: Download complete 22:34:47 3a2ae6a8a46f: Verifying Checksum 22:34:47 3a2ae6a8a46f: Download complete 22:34:47 33b1e0a273af: Verifying Checksum 22:34:47 33b1e0a273af: Download complete 22:34:47 5d3b04190fa2: Verifying Checksum 22:34:47 5d3b04190fa2: Download complete 22:34:47 ec43610c2a17: Download complete 22:34:47 5eb5b503b376: Verifying Checksum 22:34:47 5eb5b503b376: Download complete 22:34:48 2f39f015ded8: Download complete 22:34:49 5eb5b503b376: Pull complete 22:34:49 5c69ac0246d0: Pull complete 22:34:49 ec43610c2a17: Pull complete 22:34:49 3a2ae6a8a46f: Pull complete 22:34:49 33b1e0a273af: Pull complete 22:34:49 5d3b04190fa2: Pull complete 22:34:54 2f39f015ded8: Pull complete 22:34:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:34:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:34:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:34:54 prd-ubuntu20.04-docker-8c-8g-666 does not seem to be running inside a container 22:34: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-213 -v /w/workspace/gexfoundry_device-rest-go_PR-213:/w/workspace/gexfoundry_device-rest-go_PR-213:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-213@tmp:/w/workspace/gexfoundry_device-rest-go_PR-213@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 22:34:55 $ docker top c9b99803115d0559c030b15a05a426c6e4b9035196bf55225d1a5778c29d2554 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:34:56 ---> job-cost.sh 22:34:56 lf-activate-venv: SKIPPING 22:34:56 INFO: No Stack... 22:34:56 INFO: Retrieving Pricing Info for: v3-standard-8 22:34:56 INFO: Archiving Costs [Pipeline] sh 22:34:57 + cat /w/workspace/gexfoundry_device-rest-go_PR-213/archives/cost.csv 22:34:57 + cut -d, -f6 [Pipeline] lock 22:34:57 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-213-1-stack-cost] 22:34:57 Resource [jenkins-edgexfoundry-device-rest-go-PR-213-1-stack-cost] did not exist. Created. 22:34:57 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-213-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:34:57 + echo total: 0.2199999988079071 [Pipeline] stash 22:34:57 Stashed 1 file(s) [Pipeline] } 22:34:57 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-213-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:34:57 $ docker stop --time=1 c9b99803115d0559c030b15a05a426c6e4b9035196bf55225d1a5778c29d2554 22:34:59 $ docker rm -f c9b99803115d0559c030b15a05a426c6e4b9035196bf55225d1a5778c29d2554 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:36:51 Running on prd-ubuntu20.04-docker-arm64-4c-16g-670 in /w/workspace/gexfoundry_device-rest-go_PR-213 [Pipeline] { [Pipeline] ws 22:36:51 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 22:36:51 The recommended git tool is: git 22:36:56 using credential edgex-jenkins-ssh 22:36:56 Cloning the remote Git repository 22:36:56 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 22:36:56 > git init /w/workspace/device-rest-go/1 # timeout=10 22:36:56 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:36:56 > git --version # timeout=10 22:36:56 > git --version # 'git version 2.25.1' 22:36:56 using GIT_SSH to set credentials SSH Credentials for GitHub 22:36:56 Verifying host key using known hosts file 22:36:56 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 22:36:56 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:36:58 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:36:58 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:36:59 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:36:59 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:36:59 using GIT_SSH to set credentials SSH Credentials for GitHub 22:36:59 Verifying host key using known hosts file 22:36:59 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 22:36:59 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/213/head:refs/remotes/origin/PR-213 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:36:59 Merging remotes/origin/main commit dba35d3ba46b7861587cc7246b39f98fa3ba425a into PR head commit 0620b8de6097426a9ccc0f6041add98431d45914 22:37:00 Merge succeeded, producing 0620b8de6097426a9ccc0f6041add98431d45914 22:37:00 Checking out Revision 0620b8de6097426a9ccc0f6041add98431d45914 (PR-213) 22:36:59 > git config core.sparsecheckout # timeout=10 22:36:59 > git checkout -f 0620b8de6097426a9ccc0f6041add98431d45914 # timeout=10 22:37:00 > git remote # timeout=10 22:37:00 > git config --get remote.origin.url # timeout=10 22:37:00 using GIT_SSH to set credentials SSH Credentials for GitHub 22:37:00 Verifying host key using known hosts file 22:37:00 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 22:37:00 > git merge dba35d3ba46b7861587cc7246b39f98fa3ba425a # timeout=10 22:37:00 > git rev-parse HEAD^{commit} # timeout=10 22:37:00 > git config core.sparsecheckout # timeout=10 22:37:00 > git checkout -f 0620b8de6097426a9ccc0f6041add98431d45914 # timeout=10 22:37:03 Commit message: "build: Add option to build Service with NATS Capability" 22:37:03 > git --version # timeout=10 22:37:03 > git --version # 'git version 2.25.1' 22:37:03 fatal: bad object bd7468d5528128c83034753e4c3def8ef9af3f2d [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:37:04 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:37:04 % Total % Received % Xferd Average Speed Time Time Time Current 22:37:04 Dload Upload Total Spent Left Speed 22:37:04 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 98k 0 --:--:-- --:--:-- --:--:-- 99k [Pipeline] sh 22:37:05 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:37:05 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:37:05 + sudo tee /etc/docker/daemon.new 22:37:05 { 22:37:05 "registry-mirrors": [ 22:37:05 "https://nexus3.edgexfoundry.org:10001" 22:37:05 ], 22:37:05 "bip": "10.250.0.254/24", 22:37:05 "hosts": [ 22:37:05 "tcp://0.0.0.0:5555", 22:37:05 "unix:///var/run/docker.sock" 22:37:05 ], 22:37:05 "mtu": 1458, 22:37:05 "selinux-enabled": true, 22:37:05 "seccomp-profile": "/etc/docker/seccomp.json" 22:37:05 } [Pipeline] sh 22:37:06 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:37:06 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:37:24 provisioning config files... 22:37:24 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config138316422382056518tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:37:25 ---> docker-login.sh 22:37:25 nexus3.edgexfoundry.org:10001 22:37:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:25 Configure a credential helper to remove this warning. See 22:37:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:25 22:37:25 Login Succeeded 22:37:25 nexus3.edgexfoundry.org:10002 22:37:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:26 Configure a credential helper to remove this warning. See 22:37:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:26 22:37:26 Login Succeeded 22:37:26 nexus3.edgexfoundry.org:10003 22:37:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:26 Configure a credential helper to remove this warning. See 22:37:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:26 22:37:26 Login Succeeded 22:37:26 nexus3.edgexfoundry.org:10004 22:37:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:26 Configure a credential helper to remove this warning. See 22:37:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:26 22:37:26 Login Succeeded 22:37:26 docker.io 22:37:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:37:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:37:27 Configure a credential helper to remove this warning. See 22:37:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:37:27 22:37:27 Login Succeeded 22:37:27 ---> docker-login.sh ends [Pipeline] } 22:37:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:37:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:37:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:37:27 ========================================================= 22:37:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:37:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:37:28 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 22:37:28 Sending build context to Docker daemon 127.5kB 22:37:28 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:37:28 Step 2/13 : FROM ${BASE} AS builder 22:37:28 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:37:28 b3c136eddcbf: Pulling fs layer 22:37:28 c0a3192eca97: Pulling fs layer 22:37:28 a050256f5b6f: Pulling fs layer 22:37:28 656be50a0ddc: Pulling fs layer 22:37:28 2bbca73fdf42: Pulling fs layer 22:37:28 46d945488cbd: Pulling fs layer 22:37:28 8a5474983e97: Pulling fs layer 22:37:28 329c88fbcd65: Pulling fs layer 22:37:28 656be50a0ddc: Waiting 22:37:28 2bbca73fdf42: Waiting 22:37:28 46d945488cbd: Waiting 22:37:28 8a5474983e97: Waiting 22:37:28 329c88fbcd65: Waiting 22:37:28 a050256f5b6f: Verifying Checksum 22:37:28 a050256f5b6f: Download complete 22:37:28 c0a3192eca97: Verifying Checksum 22:37:28 c0a3192eca97: Download complete 22:37:29 2bbca73fdf42: Verifying Checksum 22:37:29 2bbca73fdf42: Download complete 22:37:29 46d945488cbd: Verifying Checksum 22:37:29 46d945488cbd: Download complete 22:37:29 b3c136eddcbf: Verifying Checksum 22:37:29 b3c136eddcbf: Download complete 22:37:29 b3c136eddcbf: Pull complete 22:37:30 329c88fbcd65: Verifying Checksum 22:37:30 329c88fbcd65: Download complete 22:37:30 c0a3192eca97: Pull complete 22:37:30 a050256f5b6f: Pull complete 22:37:31 8a5474983e97: Download complete 22:37:31 656be50a0ddc: Verifying Checksum 22:37:31 656be50a0ddc: Download complete 22:37:44 656be50a0ddc: Pull complete 22:37:44 2bbca73fdf42: Pull complete 22:37:44 46d945488cbd: Pull complete 22:37:50 8a5474983e97: Pull complete 22:37:52 329c88fbcd65: Pull complete 22:37:52 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 22:37:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:37:52 ---> ff4287adb874 22:37:52 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:37:54 ---> Running in 983bfb95c305 22:37:54 Removing intermediate container 983bfb95c305 22:37:54 ---> 5942623d5fc2 22:37:54 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:37:54 ---> Running in dd064e43fe75 22:37:54 Removing intermediate container dd064e43fe75 22:37:54 ---> ffff0b4c94a0 22:37:54 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:37:54 ---> Running in 211e49a6e106 22:37:54 Removing intermediate container 211e49a6e106 22:37:54 ---> 1ec2700d46b0 22:37:54 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:37:55 ---> Running in a1e4ff57384f 22:37:55 Removing intermediate container a1e4ff57384f 22:37:55 ---> 93967d3878ff 22:37:55 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:37:55 ---> Running in f1f35be9b8be 22:37:57 Removing intermediate container f1f35be9b8be 22:37:57 ---> cb1f768a416b 22:37:57 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:37:57 ---> Running in 986bcb5641d1 22:37:58 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:37:59 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:37:59 (1/4) Installing openssh-keygen (9.0_p1-r2) 22:37:59 (2/4) Installing libedit (20210910.3.1-r0) 22:38:00 (3/4) Installing openssh-client-common (9.0_p1-r2) 22:38:00 (4/4) Installing openssh-client-default (9.0_p1-r2) 22:38:00 Executing busybox-1.35.0-r13.trigger 22:38:00 OK: 226 MiB in 55 packages 22:38:01 Removing intermediate container 986bcb5641d1 22:38:01 ---> 45948f6aebdc 22:38:01 Step 9/13 : WORKDIR /device-rest-go 22:38:01 ---> Running in f13c438e28ff 22:38:01 Removing intermediate container f13c438e28ff 22:38:01 ---> 970074f34982 22:38:01 Step 10/13 : COPY go.mod vendor* ./ 22:38:02 ---> 63aff40b2928 22:38:02 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:38:02 ---> Running in a16e4e6c4b96 22:38:49 Removing intermediate container a16e4e6c4b96 22:38:49 ---> 9928575ee286 22:38:49 Step 12/13 : COPY . . 22:38:49 ---> 69c12b3c2333 22:38:49 Step 13/13 : RUN $MAKE 22:38:49 ---> Running in 8866e9934b2a 22:38:49 noop 22:38:50 Removing intermediate container 8866e9934b2a 22:38:50 ---> 65c7955afc24 22:38:50 Successfully built 65c7955afc24 22:38:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:50 + docker inspect -f . ci-base-image-arm64 22:38:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:38:51 prd-ubuntu20.04-docker-arm64-4c-16g-670 does not seem to be running inside a container 22:38:51 $ 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 ******** -e ******** ci-base-image-arm64 cat 22:38:52 $ docker top 603797a557418e832e30b94ca38dfd2e4cd9c12e3e70545ccc90a14d157f81fd -eo pid,comm [Pipeline] { [Pipeline] sh 22:38:53 + go version 22:38:53 go version go1.18.3 linux/arm64 [Pipeline] } 22:38:53 $ docker stop --time=1 603797a557418e832e30b94ca38dfd2e4cd9c12e3e70545ccc90a14d157f81fd 22:38:54 $ docker rm -f 603797a557418e832e30b94ca38dfd2e4cd9c12e3e70545ccc90a14d157f81fd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:38:55 + docker inspect -f . ci-base-image-arm64 22:38:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:38:56 prd-ubuntu20.04-docker-arm64-4c-16g-670 does not seem to be running inside a container 22:38:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -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 ******** -e ******** ci-base-image-arm64 cat 22:38:57 $ docker top c6b7d2a507bc9345a35ae765ba35cddd7386afd6ff02033764a4fb35bfac4e45 -eo pid,comm [Pipeline] { [Pipeline] sh 22:38:58 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 22:38:58 + make test 22:38:58 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:39:00 ? github.com/edgexfoundry/device-rest-go [no test files] 22:40:21 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:40:21 ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 55.2% of statements 22:40:22 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:40:22 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:40:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:40:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:40:44 ./bin/test-attribution-txt.sh [Pipeline] echo 22:40:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:40:44 $ docker stop --time=1 c6b7d2a507bc9345a35ae765ba35cddd7386afd6ff02033764a4fb35bfac4e45 22:40:46 $ docker rm -f c6b7d2a507bc9345a35ae765ba35cddd7386afd6ff02033764a4fb35bfac4e45 [Pipeline] // withDockerContainer [Pipeline] sh 22:40:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:40:47 Warning: overwriting stash ‘coverage-report’ 22:40:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:40:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:40:48 + ls -al . 22:40:48 total 176 22:40:48 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 22:38 . 22:40:48 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 22:36 .. 22:40:48 -rw-rw-r-- 1 jenkins jenkins 151 Sep 22 22:37 .dockerignore 22:40:48 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 22:37 .git 22:40:48 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 22:37 .github 22:40:48 -rw-rw-r-- 1 jenkins jenkins 329 Sep 22 22:37 .gitignore 22:40:48 -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 22:37 .golangci.yml 22:40:48 -rw-rw-r-- 1 jenkins jenkins 9100 Sep 22 22:37 Attribution.txt 22:40:48 -rw-rw-r-- 1 jenkins jenkins 11736 Sep 22 22:37 CHANGELOG.md 22:40:48 -rw-rw-r-- 1 jenkins jenkins 1730 Sep 22 22:37 Dockerfile 22:40:48 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 22:37 GOVERNANCE.md 22:40:48 -rw-rw-r-- 1 jenkins jenkins 680 Sep 22 22:37 Jenkinsfile 22:40:48 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 22:37 LICENSE 22:40:48 -rw-rw-r-- 1 jenkins jenkins 2173 Sep 22 22:37 Makefile 22:40:48 -rw-rw-r-- 1 jenkins jenkins 620 Sep 22 22:37 OWNERS.md 22:40:48 -rw-rw-r-- 1 jenkins jenkins 8667 Sep 22 22:37 README.md 22:40:48 -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 22:33 VERSION 22:40:48 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 22:37 bin 22:40:48 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 22:37 cmd 22:40:48 -rw-r--r-- 1 jenkins jenkins 9355 Sep 22 22:40 coverage.out 22:40:48 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 22:37 driver 22:40:48 -rw-rw-r-- 1 jenkins jenkins 3547 Sep 22 22:37 go.mod 22:40:48 -rw-rw-r-- 1 jenkins jenkins 37945 Sep 22 22:37 go.sum 22:40:48 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 22:37 snap 22:40:48 -rw-rw-r-- 1 jenkins jenkins 713 Sep 22 22:37 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:40:48 + 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=0620b8de6097426a9ccc0f6041add98431d45914 --label arch=arm64 --label version=0.0.0 . 22:40:48 Sending build context to Docker daemon 137.7kB 22:40:49 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 22:40:49 Step 2/26 : FROM ${BASE} AS builder 22:40:49 ---> 65c7955afc24 22:40:49 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:40:49 ---> Running in fa4be498ee1c 22:40:49 Removing intermediate container fa4be498ee1c 22:40:49 ---> d5904f4f9b64 22:40:49 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:40:49 ---> Running in 8bdd881a6e24 22:40:49 Removing intermediate container 8bdd881a6e24 22:40:49 ---> 79b4e6ca7b68 22:40:49 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:40:50 ---> Running in 7c46310d2e19 22:40:50 Removing intermediate container 7c46310d2e19 22:40:50 ---> 56204ce2c8e9 22:40:50 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:40:50 ---> Running in f7b4a5335fec 22:40:50 Removing intermediate container f7b4a5335fec 22:40:50 ---> f6287c3b59b3 22:40:50 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:40:50 ---> Running in d20fa61a7980 22:40:52 Removing intermediate container d20fa61a7980 22:40:52 ---> 9e7d7407006d 22:40:52 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:40:52 ---> Running in b278d5c0af74 22:40:53 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:40:54 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:40:55 OK: 226 MiB in 55 packages 22:40:55 Removing intermediate container b278d5c0af74 22:40:55 ---> 46bfde6cdf82 22:40:55 Step 9/26 : WORKDIR /device-rest-go 22:40:55 ---> Running in efe6d86bc8de 22:40:55 Removing intermediate container efe6d86bc8de 22:40:55 ---> e500bb40eab3 22:40:55 Step 10/26 : COPY go.mod vendor* ./ 22:40:56 ---> a9e3bddd46ef 22:40:56 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:40:56 ---> Running in 7186117b6a2e 22:40:58 Removing intermediate container 7186117b6a2e 22:40:58 ---> 99f4b0062332 22:40:58 Step 12/26 : COPY . . 22:40:59 ---> 8def621c2a14 22:40:59 Step 13/26 : RUN $MAKE 22:40:59 ---> Running in 46c30ae97e4d 22:40:59 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 22:43:36 Removing intermediate container 46c30ae97e4d 22:43:36 ---> 910dc398e0f9 22:43:36 Step 14/26 : FROM alpine:3.16 22:43:36 3.16: Pulling from library/alpine 22:43:36 9b18e9b68314: Pulling fs layer 22:43:36 9b18e9b68314: Download complete 22:43:36 9b18e9b68314: Pull complete 22:43:36 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:43:36 Status: Downloaded newer image for alpine:3.16 22:43:36 ---> a6215f271958 22:43:36 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:43:36 ---> Running in de06df095ff9 22:43:36 Removing intermediate container de06df095ff9 22:43:36 ---> 93923df6482d 22:43:36 Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} 22:43:36 ---> Running in 9070b2a42dec 22:43:36 Removing intermediate container 9070b2a42dec 22:43:36 ---> b02d18305ff8 22:43:36 Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init 22:43:36 ---> Running in d3a406f3e48b 22:43:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:43:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:43:36 (1/6) Installing dumb-init (1.2.5-r1) 22:43:36 (2/6) Installing libgcc (11.2.1_git20220219-r2) 22:43:36 (3/6) Installing libsodium (1.0.18-r0) 22:43:36 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 22:43:36 (5/6) Installing libzmq (4.3.4-r0) 22:43:36 (6/6) Installing zeromq (4.3.4-r0) 22:43:36 Executing busybox-1.35.0-r17.trigger 22:43:36 OK: 8 MiB in 20 packages 22:43:36 Removing intermediate container d3a406f3e48b 22:43:36 ---> 034599289b68 22:43:36 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 22:43:36 ---> 8bed1d847cfe 22:43:36 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 22:43:36 ---> 7a23adc43b0f 22:43:36 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 22:43:36 ---> 8c507fc9be90 22:43:36 Step 21/26 : EXPOSE 59986 22:43:36 ---> Running in 12bb4a202f1a 22:43:36 Removing intermediate container 12bb4a202f1a 22:43:36 ---> 35abe4dcc8ac 22:43:36 Step 22/26 : ENTRYPOINT ["/device-rest"] 22:43:36 ---> Running in 063ea1b4ffaf 22:43:36 Removing intermediate container 063ea1b4ffaf 22:43:36 ---> 9836e6814d1f 22:43:36 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 22:43:36 ---> Running in 15ce7ba70de8 22:43:36 Removing intermediate container 15ce7ba70de8 22:43:36 ---> cebd50ec8ae4 22:43:36 Step 24/26 : LABEL arch=arm64 22:43:36 ---> Running in 917e230208cc 22:43:36 Removing intermediate container 917e230208cc 22:43:36 ---> a7ad80d55de8 22:43:36 Step 25/26 : LABEL git_sha=0620b8de6097426a9ccc0f6041add98431d45914 22:43:36 ---> Running in c46623cd59d6 22:43:36 Removing intermediate container c46623cd59d6 22:43:36 ---> fc9523d1f713 22:43:36 Step 26/26 : LABEL version=0.0.0 22:43:36 ---> Running in dd58d333e872 22:43:36 Removing intermediate container dd58d333e872 22:43:36 ---> faf76ae4fd94 22:43:36 [Warning] One or more build-args [ARCH] were not consumed 22:43:36 Successfully built faf76ae4fd94 22:43:36 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [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] withEnv [Pipeline] { [Pipeline] sh 22:43:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:43:37 22:43:37 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:43:37 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:43:37 arm64: Pulling from edgex-lftools-log-publisher 22:43:37 8998bd30e6a1: Pulling fs layer 22:43:37 04944245beec: Pulling fs layer 22:43:37 699f458cf7ca: Pulling fs layer 22:43:37 765212b225bb: Pulling fs layer 22:43:37 f23df028b6ca: Pulling fs layer 22:43:37 d65c8cfc05b1: Pulling fs layer 22:43:37 2437ff75d9bd: Pulling fs layer 22:43:37 f23df028b6ca: Waiting 22:43:37 765212b225bb: Waiting 22:43:37 2437ff75d9bd: Waiting 22:43:37 d65c8cfc05b1: Waiting 22:43:38 04944245beec: Verifying Checksum 22:43:38 04944245beec: Download complete 22:43:38 765212b225bb: Verifying Checksum 22:43:38 765212b225bb: Download complete 22:43:38 f23df028b6ca: Verifying Checksum 22:43:38 f23df028b6ca: Download complete 22:43:38 d65c8cfc05b1: Verifying Checksum 22:43:38 d65c8cfc05b1: Download complete 22:43:38 699f458cf7ca: Verifying Checksum 22:43:38 699f458cf7ca: Download complete 22:43:38 8998bd30e6a1: Verifying Checksum 22:43:38 8998bd30e6a1: Download complete 22:43:41 2437ff75d9bd: Verifying Checksum 22:43:41 2437ff75d9bd: Download complete 22:43:42 8998bd30e6a1: Pull complete 22:43:43 04944245beec: Pull complete 22:43:44 699f458cf7ca: Pull complete 22:43:44 765212b225bb: Pull complete 22:43:45 f23df028b6ca: Pull complete 22:43:45 d65c8cfc05b1: Pull complete 22:44:00 2437ff75d9bd: Pull complete 22:44:00 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 22:44:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 22:44:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:44:00 prd-ubuntu20.04-docker-arm64-4c-16g-670 does not seem to be running inside a container 22:44: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 22:44:03 $ docker top 551fb1ed94571699b725f84f9687fe5606dc1831cd72bbfb6538262c0266731b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:44:04 ---> job-cost.sh 22:44:04 lf-activate-venv: SKIPPING 22:44:04 INFO: No Stack... 22:44:04 INFO: Retrieving Pricing Info for: v3-standard-4 22:44:05 INFO: Archiving Costs [Pipeline] sh 22:44:06 + cat /w/workspace/device-rest-go/1/archives/cost.csv 22:44:06 + cut -d, -f6 [Pipeline] lock 22:44:06 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-213-1-stack-cost] 22:44:06 Resource [jenkins-edgexfoundry-device-rest-go-PR-213-1-stack-cost] did not exist. Created. 22:44:06 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-213-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:44:06 /w/workspace/device-rest-go/1@tmp/durable-0d1b78ec/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 22:44:06 + echo total: 0.10999999940395355 [Pipeline] stash 22:44:06 Warning: overwriting stash ‘stack-cost’ 22:44:06 Stashed 1 file(s) [Pipeline] } 22:44:06 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-213-1-stack-cost] [Pipeline] // lock [Pipeline] } 22:44:07 $ docker stop --time=1 551fb1ed94571699b725f84f9687fe5606dc1831cd72bbfb6538262c0266731b 22:44:08 $ docker rm -f 551fb1ed94571699b725f84f9687fe5606dc1831cd72bbfb6538262c0266731b [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 22:44:09 provisioning config files... 22:44:09 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-213@tmp/config17134291784406876775tmp [Pipeline] { [Pipeline] sh 22:44:09 + set +x 22:44:09 + curl -s https://codecov.io/bash 22:44:09 + bash -s -- 22:44:09 22:44:09 _____ _ 22:44:09 / ____| | | 22:44:09 | | ___ __| | ___ ___ _____ __ 22:44:09 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 22:44:09 | |___| (_) | (_| | __/ (_| (_) \ V / 22:44:09 \_____\___/ \__,_|\___|\___\___/ \_/ 22:44:09 Bash-1.0.6 22:44:09 22:44:09 22:44:09 ==> git version 2.25.1 found 22:44:09 ==> 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 22:44:09 Release-Date: 2020-01-08 22:44:09 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 22:44:09 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 22:44:09 ==> Jenkins CI detected. 22:44:09 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-213 22:44:09 project root: . 22:44:09 --> token set from env 22:44:09 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 22:44:09 ==> Running gcov in . (disable via -X gcov) 22:44:09 ==> Python coveragepy not found 22:44:09 ==> Searching for coverage reports in: 22:44:09 + . 22:44:09 -> Found 1 reports 22:44:09 ==> Detecting git/mercurial file structure 22:44:09 ==> Reading reports 22:44:09 + ./coverage.out bytes=9355 22:44:09 ==> Appending adjustments 22:44:09 https://docs.codecov.io/docs/fixing-reports 22:44:10 + Found adjustments 22:44:10 ==> Gzipping contents 22:44:10 4.0K /tmp/codecov.qnrlyL.gz 22:44:10 ==> Uploading reports 22:44:10 url: https://codecov.io 22:44:10 query: branch=PR-213&commit=0620b8de6097426a9ccc0f6041add98431d45914&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-213%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=213&job=&cmd_args= 22:44:10 -> Pinging Codecov 22:44: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-213&commit=0620b8de6097426a9ccc0f6041add98431d45914&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-213%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=213&job=&cmd_args= 22:44:10 -> Uploading to 22:44:10 https://storage.googleapis.com/codecov/v4/raw/2022-09-22/4E5D53B4F1F92C436F7061BF334D961C/0620b8de6097426a9ccc0f6041add98431d45914/e26ba2d3-21a1-47f8-8ee3-f912a126c9fe.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220922T224410Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3f4e68a85e0715234189ae09801a6734d828013468db8372ebdbb77934c42a30 22:44:10 % Total % Received % Xferd Average Speed Time Time Time Current 22:44:10 Dload Upload Total Spent Left Speed 22:44:10 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 7241 --:--:-- --:--:-- --:--:-- 7211 100 1738 0 0 100 1738 0 7241 --:--:-- --:--:-- --:--:-- 7211 22:44:10 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/0620b8de6097426a9ccc0f6041add98431d45914 [Pipeline] } 22:44:10 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 22:44:12 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-213/archives ] 22:44:12 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-213/archives 22:44:12 total 16 22:44:12 drwxr-xr-x 3 root root 4096 Sep 22 22:34 . 22:44:12 drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 22:34 .. 22:44:12 drwxr-xr-x 2 root root 4096 Sep 22 22:34 cost 22:44:12 -rw-r--r-- 1 root root 87 Sep 22 22:34 cost.csv 22:44:12 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-213/archives 22:44:12 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-213/archives 22:44:12 total 16 22:44:12 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 22:34 . 22:44:12 drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 22:34 .. 22:44:12 drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 22:34 cost 22:44:12 -rw-r--r-- 1 jenkins jenkins 87 Sep 22 22:34 cost.csv [Pipeline] libraryResource [Pipeline] sh 22:44:12 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 22:44:13 ---> package-listing.sh 22:44:13 ++ facter osfamily 22:44:13 ++ tr '[:upper:]' '[:lower:]' 22:44:13 + OS_FAMILY=debian 22:44:13 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-213 22:44:13 + START_PACKAGES=/tmp/packages_start.txt 22:44:13 + END_PACKAGES=/tmp/packages_end.txt 22:44:13 + DIFF_PACKAGES=/tmp/packages_diff.txt 22:44:13 + PACKAGES=/tmp/packages_start.txt 22:44:13 + '[' /w/workspace/gexfoundry_device-rest-go_PR-213 ']' 22:44:13 + PACKAGES=/tmp/packages_end.txt 22:44:13 + case "${OS_FAMILY}" in 22:44:13 + dpkg -l 22:44:13 + grep '^ii' 22:44:13 + '[' -f /tmp/packages_start.txt ']' 22:44:13 + '[' -f /tmp/packages_end.txt ']' 22:44:13 + diff /tmp/packages_start.txt /tmp/packages_end.txt 22:44:13 + '[' /w/workspace/gexfoundry_device-rest-go_PR-213 ']' 22:44:13 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-213/archives/ 22:44:13 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-213/archives/ [Pipeline] echo 22:44:13 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-213/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 22:44:14 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:44:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:44:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:44:14 prd-ubuntu20.04-docker-8c-8g-666 does not seem to be running inside a container 22:44:14 $ 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-213/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-213 -v /w/workspace/gexfoundry_device-rest-go_PR-213:/w/workspace/gexfoundry_device-rest-go_PR-213:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-213@tmp:/w/workspace/gexfoundry_device-rest-go_PR-213@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 22:44:15 $ docker top 4cdecba52b960b8b4f97a3d44b525e0a42ffd6c075eec4dc27e801361f3cdabe -eo pid,comm [Pipeline] { [Pipeline] sh 22:44:15 + touch /tmp/pre-build-complete [Pipeline] sh 22:44:15 + mkdir -p /var/log/sysstat [Pipeline] sh 22:44:16 + ls /var/log/sa-host 22:44:16 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:44:16 provisioning config files... 22:44:16 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-213@tmp/config10312608474080465543tmp [Pipeline] { [Pipeline] echo 22:44:16 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 22:44:16 ---> create-netrc.sh [Pipeline] } 22:44:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 22:44:17 ---> python-tools-install.sh [Pipeline] echo 22:44:17 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 22:44:17 ---> sudo-logs.sh 22:44:17 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 22:44:17 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 22:44:17 ---> job-cost.sh 22:44:17 lf-activate-venv: SKIPPING 22:44:17 DEBUG: total: 0.2199999988079071 22:44:17 INFO: Retrieving Stack Cost... 22:44:18 INFO: Retrieving Pricing Info for: v3-standard-8 22:44:18 INFO: Archiving Costs [Pipeline] echo 22:44:18 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 22:44:18 ---> logs-deploy.sh 22:44:18 lf-activate-venv: SKIPPING 22:44:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-213/1 22:44:18 INFO: archiving workspace using pattern(s): 22:44:19 Archives upload complete. 22:44:20 INFO: archiving logs to Nexus 22:44:20 ---> uname -a: 22:44:20 Linux prd-ubuntu20-04-docker-8c-8g-666 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 22:44:20 22:44:20