Pull request #227 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f7b0f3ff55221c8141e07beec435664a9a9a79ab+ee3b3be503c005455f07215b653abfd16f272028 (f986543cea194502132f491adf4ec2367b6f2025) 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-ssh100740459163862864.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh3317769716274150053.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-227/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-227/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16725864383257947923.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-227/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh16900839431809668860.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh15038273542915584416.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-227/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-227/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh1996881386855892191.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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 Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-118507 in /w/workspace/gexfoundry_device-rest-go_PR-227 [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-227 # 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/227/head:refs/remotes/origin/PR-227 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit ee3b3be503c005455f07215b653abfd16f272028 into PR head commit f7b0f3ff55221c8141e07beec435664a9a9a79ab Merge succeeded, producing f7b0f3ff55221c8141e07beec435664a9a9a79ab Checking out Revision f7b0f3ff55221c8141e07beec435664a9a9a79ab (PR-227) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" First time build. Skipping changelog. > git --version # timeout=10 > git --version # 'git version 2.25.1' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:03:24 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:03:24 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:03:24 ========================================================= 20:03:24 EdgeX Global Pipelines Version Info 20:03:24 ========================================================= [Pipeline] libraryResource [Pipeline] sh > git config core.sparsecheckout # timeout=10 > git checkout -f f7b0f3ff55221c8141e07beec435664a9a9a79ab # 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 ee3b3be503c005455f07215b653abfd16f272028 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f7b0f3ff55221c8141e07beec435664a9a9a79ab # timeout=10 20:03:25 ------------------- 20:03:25 stable info: 20:03:25 ------------------- 20:03:25 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:03:25 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 20:03:25 Message: update stable to v1.0.244 20:03:26 ------------------- 20:03:26 experimental info: 20:03:26 ------------------- 20:03:26 Commited By: **** collab-it+edgex@linuxfoundation.org 20:03:26 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 20:03:26 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:03:26 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:03:26 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:03:26 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:03:26 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:03:26 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:03:26 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:03:26 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:03:26 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:03:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:03:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:03:26 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:03:26 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:03:26 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:03:27 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:03:27 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:03:27 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:03:27 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:03:27 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:03:27 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:03:27 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:03:27 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:03:27 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:03:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:03:27 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:03:27 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:03:27 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:03:27 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:03:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-227 [Pipeline] echo 20:03:27 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-227 [Pipeline] echo 20:03:27 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-227 [Pipeline] echo 20:03:27 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f7b0f3ff55221c8141e07beec435664a9a9a79ab [Pipeline] echo 20:03:27 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f7b0f3f [Pipeline] echo 20:03:27 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:03:28 provisioning config files... 20:03:28 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-227@tmp/config3073693812655246268tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:03:28 ---> docker-login.sh 20:03:28 nexus3.edgexfoundry.org:10001 20:03:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:28 Configure a credential helper to remove this warning. See 20:03:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:28 20:03:28 Login Succeeded 20:03:28 nexus3.edgexfoundry.org:10002 20:03:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:28 Configure a credential helper to remove this warning. See 20:03:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:28 20:03:28 Login Succeeded 20:03:28 nexus3.edgexfoundry.org:10003 20:03:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:28 Configure a credential helper to remove this warning. See 20:03:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:28 20:03:28 Login Succeeded 20:03:28 nexus3.edgexfoundry.org:10004 20:03:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:28 Configure a credential helper to remove this warning. See 20:03:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:28 20:03:28 Login Succeeded 20:03:28 docker.io 20:03:29 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:29 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:29 Configure a credential helper to remove this warning. See 20:03:29 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:29 20:03:29 Login Succeeded 20:03:29 ---> docker-login.sh ends [Pipeline] } 20:03:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:03:30 + git rev-list -1 --merges f7b0f3ff55221c8141e07beec435664a9a9a79ab~1..f7b0f3ff55221c8141e07beec435664a9a9a79ab [Pipeline] echo 20:03:30 -----------> git rev-list -1 --merges f7b0f3ff55221c8141e07beec435664a9a9a79ab~1..f7b0f3ff55221c8141e07beec435664a9a9a79ab f7b0f3ff55221c8141e07beec435664a9a9a79ab [false] [Pipeline] sh 20:03:30 + git log --format=format:%s -1 f7b0f3ff55221c8141e07beec435664a9a9a79ab [Pipeline] echo 20:03:30 ========================================================= 20:03:30 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:03:30 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:03:30 + git log --format=format:%s -1 f7b0f3ff55221c8141e07beec435664a9a9a79ab [Pipeline] echo 20:03:30 [semverPrep] GIT_COMMIT: f7b0f3ff55221c8141e07beec435664a9a9a79ab, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2 [Pipeline] echo 20:03:30 [semverPrep] This is not a build commit. [Pipeline] sh 20:03:31 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:03:31 + grep -v github /etc/ssh/ssh_known_hosts 20:03:31 + [ -e /tmp/ssh_known_hosts ] 20:03:31 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:03:31 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:03:31 + sudo tee -a /etc/ssh/ssh_known_hosts 20:03:31 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:03:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:03:31 20:03:31 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:03:32 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:03:32 0.1.4: Pulling from edgex-devops/py-git-semver 20:03:32 b85a868b505f: Pulling fs layer 20:03:32 e2be974225ed: Pulling fs layer 20:03:32 339a4e72a1f5: Pulling fs layer 20:03:32 988bab9f4d93: Pulling fs layer 20:03:32 1469e6f7b9e6: Pulling fs layer 20:03:32 eaf3925da568: Pulling fs layer 20:03:32 bab4dde63d76: Pulling fs layer 20:03:32 bde34c3a00c8: Pulling fs layer 20:03:32 b352a97aabf1: Pulling fs layer 20:03:32 4872d77fe225: Pulling fs layer 20:03:32 5851b861e8e6: Pulling fs layer 20:03:32 bab4dde63d76: Waiting 20:03:32 bde34c3a00c8: Waiting 20:03:32 988bab9f4d93: Waiting 20:03:32 b352a97aabf1: Waiting 20:03:32 1469e6f7b9e6: Waiting 20:03:32 eaf3925da568: Waiting 20:03:32 4872d77fe225: Waiting 20:03:32 5851b861e8e6: Waiting 20:03:32 e2be974225ed: Download complete 20:03:32 988bab9f4d93: Verifying Checksum 20:03:32 988bab9f4d93: Download complete 20:03:32 1469e6f7b9e6: Verifying Checksum 20:03:32 1469e6f7b9e6: Download complete 20:03:32 eaf3925da568: Verifying Checksum 20:03:32 eaf3925da568: Download complete 20:03:32 b85a868b505f: Verifying Checksum 20:03:32 b85a868b505f: Download complete 20:03:32 bde34c3a00c8: Verifying Checksum 20:03:32 bde34c3a00c8: Download complete 20:03:32 b352a97aabf1: Download complete 20:03:32 339a4e72a1f5: Verifying Checksum 20:03:32 339a4e72a1f5: Download complete 20:03:32 5851b861e8e6: Verifying Checksum 20:03:32 5851b861e8e6: Download complete 20:03:32 4872d77fe225: Verifying Checksum 20:03:32 4872d77fe225: Download complete 20:03:32 bab4dde63d76: Verifying Checksum 20:03:32 bab4dde63d76: Download complete 20:03:33 b85a868b505f: Pull complete 20:03:33 e2be974225ed: Pull complete 20:03:34 339a4e72a1f5: Pull complete 20:03:34 988bab9f4d93: Pull complete 20:03:34 1469e6f7b9e6: Pull complete 20:03:34 eaf3925da568: Pull complete 20:03:36 bab4dde63d76: Pull complete 20:03:36 bde34c3a00c8: Pull complete 20:03:36 b352a97aabf1: Pull complete 20:03:36 4872d77fe225: Pull complete 20:03:36 5851b861e8e6: Pull complete 20:03:36 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:03:36 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:03:36 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:03:36 prd-ubuntu20.04-docker-8c-8g-118507 does not seem to be running inside a container 20:03:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-227 -v /w/workspace/gexfoundry_device-rest-go_PR-227:/w/workspace/gexfoundry_device-rest-go_PR-227:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-227@tmp:/w/workspace/gexfoundry_device-rest-go_PR-227@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:03:38 $ docker top 399ca183650b688060b1fc6c2bd4f6937c46b9b0d72a8b488b23b6bd9c28f7e6 -eo pid,comm 20:03:38 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). 20:03:38 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:03:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:03:38 [ssh-agent] Looking for ssh-agent implementation... 20:03:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:03:38 $ docker exec 399ca183650b688060b1fc6c2bd4f6937c46b9b0d72a8b488b23b6bd9c28f7e6 ssh-agent 20:03:38 SSH_AUTH_SOCK=/tmp/ssh-X9AMYLECytB5/agent.32 20:03:38 SSH_AGENT_PID=38 20:03:38 Running ssh-add (command line suppressed) 20:03:38 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-227@tmp/private_key_7368849546961008469.key (/w/workspace/gexfoundry_device-rest-go_PR-227@tmp/private_key_7368849546961008469.key) 20:03:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:03:39 + git tag --points-at HEAD [Pipeline] } 20:03:39 $ docker exec --env ******** --env ******** 399ca183650b688060b1fc6c2bd4f6937c46b9b0d72a8b488b23b6bd9c28f7e6 ssh-agent -k 20:03:39 unset SSH_AUTH_SOCK; 20:03:39 unset SSH_AGENT_PID; 20:03:39 echo Agent pid 38 killed; 20:03:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:03:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:03:39 [ssh-agent] Looking for ssh-agent implementation... 20:03:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:03:39 $ docker exec 399ca183650b688060b1fc6c2bd4f6937c46b9b0d72a8b488b23b6bd9c28f7e6 ssh-agent 20:03:39 SSH_AUTH_SOCK=/tmp/ssh-1oud0edn19l8/agent.71 20:03:39 SSH_AGENT_PID=77 20:03:39 Running ssh-add (command line suppressed) 20:03:39 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-227@tmp/private_key_675600890240096796.key (/w/workspace/gexfoundry_device-rest-go_PR-227@tmp/private_key_675600890240096796.key) 20:03:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:03:40 + git semver init 20:03:40 2022-11-07 20:03:40,414 [run_init] DEBUG init version:0.0.0 force:False 20:03:40 2022-11-07 20:03:40,415 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-227/.semver 20:03:40 2022-11-07 20:03:40,415 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-227/.semver 20:03:40 2022-11-07 20:03:40,416 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-227/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-227, universal_newlines=False, shell=None, istream=None) 20:03:41 2022-11-07 20:03:41,805 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-227/.git/info/exclude 20:03:41 2022-11-07 20:03:41,805 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-227/.semver/PR-227 with force:False 20:03:41 2022-11-07 20:03:41,805 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-227/.semver/PR-227 20:03:41 2022-11-07 20:03:41,810 [execute] INFO git cat-file --batch-check 20:03:41 2022-11-07 20:03:41,811 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-227/.semver, universal_newlines=False, shell=None, istream=) 20:03:41 2022-11-07 20:03:41,818 [execute] INFO git cat-file --batch 20:03:41 2022-11-07 20:03:41,818 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-227/.semver, universal_newlines=False, shell=None, istream=) 20:03:41 2022-11-07 20:03:41,824 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-227/.semver/PR-227 20:03:41 0.0.0 [Pipeline] } 20:03:41 $ docker exec --env ******** --env ******** 399ca183650b688060b1fc6c2bd4f6937c46b9b0d72a8b488b23b6bd9c28f7e6 ssh-agent -k 20:03:41 unset SSH_AUTH_SOCK; 20:03:41 unset SSH_AGENT_PID; 20:03:41 echo Agent pid 77 killed; 20:03:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:03:42 + git semver [Pipeline] } 20:03:42 $ docker stop --time=1 399ca183650b688060b1fc6c2bd4f6937c46b9b0d72a8b488b23b6bd9c28f7e6 20:03:44 $ docker rm -f 399ca183650b688060b1fc6c2bd4f6937c46b9b0d72a8b488b23b6bd9c28f7e6 [Pipeline] // withDockerContainer [Pipeline] sh 20:03:44 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:03:44 Stashed 1 file(s) [Pipeline] echo 20:03:44 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:03:45 provisioning config files... 20:03:45 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-227@tmp/config4578484658612035991tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:03:45 ---> docker-login.sh 20:03:45 nexus3.edgexfoundry.org:10001 20:03:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:45 Configure a credential helper to remove this warning. See 20:03:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:45 20:03:45 Login Succeeded 20:03:45 nexus3.edgexfoundry.org:10002 20:03:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:45 Configure a credential helper to remove this warning. See 20:03:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:45 20:03:45 Login Succeeded 20:03:45 nexus3.edgexfoundry.org:10003 20:03:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:45 Configure a credential helper to remove this warning. See 20:03:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:45 20:03:45 Login Succeeded 20:03:45 nexus3.edgexfoundry.org:10004 20:03:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:45 Configure a credential helper to remove this warning. See 20:03:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:45 20:03:45 Login Succeeded 20:03:45 docker.io 20:03:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:03:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:03:46 Configure a credential helper to remove this warning. See 20:03:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:03:46 20:03:46 Login Succeeded 20:03:46 ---> docker-login.sh ends [Pipeline] } 20:03:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:03:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:03:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:03:46 ========================================================= 20:03:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:03:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:03:47 + 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 . 20:03:47 Sending build context to Docker daemon 10.76MB 20:03:47 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 20:03:47 Step 2/12 : FROM ${BASE} AS builder 20:03:47 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:03:47 213ec9aee27d: Pulling fs layer 20:03:47 4583459ba037: Pulling fs layer 20:03:47 93c1e223e6f2: Pulling fs layer 20:03:47 53926ce57604: Pulling fs layer 20:03:47 21b2b0c7a3f4: Pulling fs layer 20:03:47 22ff95d597cd: Pulling fs layer 20:03:47 12d6caf4c0d1: Pulling fs layer 20:03:47 96b7cbca73a9: Pulling fs layer 20:03:47 a7acece74701: Pulling fs layer 20:03:47 96b7cbca73a9: Waiting 20:03:47 21b2b0c7a3f4: Waiting 20:03:47 a7acece74701: Waiting 20:03:47 22ff95d597cd: Waiting 20:03:47 12d6caf4c0d1: Waiting 20:03:47 53926ce57604: Waiting 20:03:47 93c1e223e6f2: Verifying Checksum 20:03:47 93c1e223e6f2: Download complete 20:03:47 4583459ba037: Download complete 20:03:47 21b2b0c7a3f4: Verifying Checksum 20:03:47 21b2b0c7a3f4: Download complete 20:03:47 22ff95d597cd: Verifying Checksum 20:03:47 22ff95d597cd: Download complete 20:03:47 213ec9aee27d: Download complete 20:03:47 12d6caf4c0d1: Verifying Checksum 20:03:47 12d6caf4c0d1: Download complete 20:03:47 213ec9aee27d: Pull complete 20:03:47 4583459ba037: Pull complete 20:03:47 93c1e223e6f2: Pull complete 20:03:47 a7acece74701: Verifying Checksum 20:03:47 a7acece74701: Download complete 20:03:48 96b7cbca73a9: Verifying Checksum 20:03:48 96b7cbca73a9: Download complete 20:03:48 53926ce57604: Verifying Checksum 20:03:48 53926ce57604: Download complete 20:03:52 53926ce57604: Pull complete 20:03:52 21b2b0c7a3f4: Pull complete 20:03:52 22ff95d597cd: Pull complete 20:03:52 12d6caf4c0d1: Pull complete 20:03:54 96b7cbca73a9: Pull complete 20:03:54 a7acece74701: Pull complete 20:03:54 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 20:03:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:03:54 ---> db6d94c90886 20:03:54 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:03:56 ---> Running in c8eadf439bcd 20:03:56 Removing intermediate container c8eadf439bcd 20:03:56 ---> 38fcd6012ef7 20:03:56 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:03:56 ---> Running in 3eea654524ab 20:03:56 Removing intermediate container 3eea654524ab 20:03:56 ---> e279b3642bca 20:03:56 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:03:56 ---> Running in f5d93fc59876 20:03:56 Removing intermediate container f5d93fc59876 20:03:56 ---> 8daa74938a3e 20:03:56 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:03:56 ---> Running in 09af42e0a4c1 20:03:56 Removing intermediate container 09af42e0a4c1 20:03:56 ---> ff130051c227 20:03:56 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:03:57 ---> Running in 5b6063a5319c 20:03:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:03:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:03:57 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:03:57 (2/4) Installing libedit (20210910.3.1-r0) 20:03:57 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:03:57 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:03:57 Executing busybox-1.35.0-r17.trigger 20:03:57 OK: 216 MiB in 55 packages 20:03:58 Removing intermediate container 5b6063a5319c 20:03:58 ---> cd443e0dd6b2 20:03:58 Step 8/12 : WORKDIR /device-rest-go 20:03:58 ---> Running in 966f7a5aa4c6 20:03:58 Removing intermediate container 966f7a5aa4c6 20:03:58 ---> 91a3062ae0f2 20:03:58 Step 9/12 : COPY go.mod vendor* ./ 20:03:58 ---> 39e256198fab 20:03:58 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:03:58 ---> Running in a02bf05fa734 20:04:00 Still waiting to schedule task 20:04:00 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:04:16 Removing intermediate container a02bf05fa734 20:04:16 ---> 7aa3dcbb5fef 20:04:16 Step 11/12 : COPY . . 20:04:16 ---> bc8c23b0d8e8 20:04:16 Step 12/12 : RUN $MAKE 20:04:16 ---> Running in ccd967e30f09 20:04:16 noop 20:04:16 Removing intermediate container ccd967e30f09 20:04:16 ---> d6c2c0d2df7e 20:04:16 Successfully built d6c2c0d2df7e 20:04:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:04:16 + docker inspect -f . ci-base-image-x86_64 20:04:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:04:17 prd-ubuntu20.04-docker-8c-8g-118507 does not seem to be running inside a container 20:04:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-227 -v /w/workspace/gexfoundry_device-rest-go_PR-227:/w/workspace/gexfoundry_device-rest-go_PR-227:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-227@tmp:/w/workspace/gexfoundry_device-rest-go_PR-227@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:04:17 $ docker top 5f6fdefd553553ebf5fbb9761dada75acf17c4d2819f4f3b4eaaab71a58a4cee -eo pid,comm [Pipeline] { [Pipeline] sh 20:04:17 + go version 20:04:17 go version go1.18.7 linux/amd64 [Pipeline] } 20:04:17 $ docker stop --time=1 5f6fdefd553553ebf5fbb9761dada75acf17c4d2819f4f3b4eaaab71a58a4cee 20:04:19 $ docker rm -f 5f6fdefd553553ebf5fbb9761dada75acf17c4d2819f4f3b4eaaab71a58a4cee [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:04:20 + docker inspect -f . ci-base-image-x86_64 20:04:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:04:20 prd-ubuntu20.04-docker-8c-8g-118507 does not seem to be running inside a container 20:04:20 $ 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-227 -v /w/workspace/gexfoundry_device-rest-go_PR-227:/w/workspace/gexfoundry_device-rest-go_PR-227:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-227@tmp:/w/workspace/gexfoundry_device-rest-go_PR-227@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:04:20 $ docker top af78697a24581daab79b3edf77efe75cdb6697ac491a5d927eb26233c951f876 -eo pid,comm [Pipeline] { [Pipeline] sh 20:04:21 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-227 [Pipeline] fileExists [Pipeline] sh 20:04:21 + make test 20:04:21 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:04:21 ? github.com/edgexfoundry/device-rest-go [no test files] 20:04:31 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:04:31 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements 20:04:36 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." 20:04:36 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:04:40 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:04:40 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:04:40 ./bin/test-attribution-txt.sh [Pipeline] echo 20:04:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:04:40 $ docker stop --time=1 af78697a24581daab79b3edf77efe75cdb6697ac491a5d927eb26233c951f876 20:04:42 $ docker rm -f af78697a24581daab79b3edf77efe75cdb6697ac491a5d927eb26233c951f876 [Pipeline] // withDockerContainer [Pipeline] sh 20:04:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:04:42 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:04:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:04:43 + ls -al . 20:04:43 total 188 20:04:43 drwxrwxr-x 9 jenkins jenkins 4096 Nov 7 20:04 . 20:04:43 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 20:03 .. 20:04:43 -rw-rw-r-- 1 jenkins jenkins 151 Nov 7 20:03 .dockerignore 20:04:43 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 20:04 .git 20:04:43 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 20:03 .github 20:04:43 -rw-rw-r-- 1 jenkins jenkins 329 Nov 7 20:03 .gitignore 20:04:43 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 20:03 .golangci.yml 20:04:43 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 20:03 .semver 20:04:43 -rw-rw-r-- 1 jenkins jenkins 9100 Nov 7 20:03 Attribution.txt 20:04:43 -rw-rw-r-- 1 jenkins jenkins 13085 Nov 7 20:03 CHANGELOG.md 20:04:43 -rw-rw-r-- 1 jenkins jenkins 1641 Nov 7 20:03 Dockerfile 20:04:43 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 20:03 GOVERNANCE.md 20:04:43 -rw-rw-r-- 1 jenkins jenkins 680 Nov 7 20:03 Jenkinsfile 20:04:43 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 20:03 LICENSE 20:04:43 -rw-rw-r-- 1 jenkins jenkins 2173 Nov 7 20:03 Makefile 20:04:43 -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 20:03 OWNERS.md 20:04:43 -rw-rw-r-- 1 jenkins jenkins 8667 Nov 7 20:03 README.md 20:04:43 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 20:03 VERSION 20:04:43 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 20:03 bin 20:04:43 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 20:03 cmd 20:04:43 -rw-r--r-- 1 jenkins jenkins 9355 Nov 7 20:04 coverage.out 20:04:43 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 20:03 driver 20:04:43 -rw-rw-r-- 1 jenkins jenkins 3494 Nov 7 20:03 go.mod 20:04:43 -rw-rw-r-- 1 jenkins jenkins 44883 Nov 7 20:03 go.sum 20:04:43 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 20:03 snap 20:04:43 -rw-rw-r-- 1 jenkins jenkins 713 Nov 7 20:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:04:43 + 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=f7b0f3ff55221c8141e07beec435664a9a9a79ab --label arch=amd64 --label version=0.0.0 . 20:04:43 Sending build context to Docker daemon 10.77MB 20:04:43 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 20:04:43 Step 2/25 : FROM ${BASE} AS builder 20:04:43 ---> d6c2c0d2df7e 20:04:43 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:04:43 ---> Running in b6c0fbda1e8c 20:04:44 Removing intermediate container b6c0fbda1e8c 20:04:44 ---> ed7d79aa009f 20:04:44 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:04:44 ---> Running in de68dc109d1b 20:04:44 Removing intermediate container de68dc109d1b 20:04:44 ---> 1f5bde3f1cf3 20:04:44 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:04:44 ---> Running in 0ef33a352e7c 20:04:44 Removing intermediate container 0ef33a352e7c 20:04:44 ---> 78cc11792bc8 20:04:44 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:04:44 ---> Running in 7d711c4c550d 20:04:44 Removing intermediate container 7d711c4c550d 20:04:44 ---> cc29bec64262 20:04:44 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:04:44 ---> Running in 1c3f220bd1e5 20:04:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:04:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:04:45 OK: 216 MiB in 55 packages 20:04:45 Removing intermediate container 1c3f220bd1e5 20:04:45 ---> a5ac5d815164 20:04:45 Step 8/25 : WORKDIR /device-rest-go 20:04:45 ---> Running in 246927650ceb 20:04:45 Removing intermediate container 246927650ceb 20:04:45 ---> 474a6c8df463 20:04:45 Step 9/25 : COPY go.mod vendor* ./ 20:04:45 ---> 33e074a5437f 20:04:45 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:04:45 ---> Running in b4f930655f78 20:04:46 Removing intermediate container b4f930655f78 20:04:46 ---> 25fa4e982382 20:04:46 Step 11/25 : COPY . . 20:04:46 ---> 3e833a1cde90 20:04:46 Step 12/25 : RUN $MAKE 20:04:46 ---> Running in e1a4e4314c92 20:04:46 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 20:05:05 Removing intermediate container e1a4e4314c92 20:05:05 ---> 3503e48ab588 20:05:05 Step 13/25 : FROM alpine:3.16 20:05:05 3.16: Pulling from library/alpine 20:05:05 213ec9aee27d: Already exists 20:05:05 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:05:05 Status: Downloaded newer image for alpine:3.16 20:05:05 ---> 9c6f07244728 20:05:05 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:05:05 ---> Running in ee7761442a56 20:05:06 Removing intermediate container ee7761442a56 20:05:06 ---> f1d1f317e96c 20:05:06 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:05:06 ---> Running in 5436964485aa 20:05:06 Removing intermediate container 5436964485aa 20:05:06 ---> db6cf24f310a 20:05:06 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:05:06 ---> Running in 384231b1ebad 20:05:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:05:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:05:06 (1/6) Installing dumb-init (1.2.5-r1) 20:05:06 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:05:06 (3/6) Installing libsodium (1.0.18-r0) 20:05:06 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:05:06 (5/6) Installing libzmq (4.3.4-r0) 20:05:06 (6/6) Installing zeromq (4.3.4-r0) 20:05:06 Executing busybox-1.35.0-r17.trigger 20:05:06 OK: 8 MiB in 20 packages 20:05:07 Removing intermediate container 384231b1ebad 20:05:07 ---> afd014af9427 20:05:07 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:05:08 ---> 1a52a1d3deec 20:05:08 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:05:08 ---> 9c5b77cede33 20:05:08 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:05:08 ---> 924add3f54a2 20:05:08 Step 20/25 : EXPOSE 59986 20:05:08 ---> Running in 028cd0369499 20:05:08 Removing intermediate container 028cd0369499 20:05:08 ---> 616030e3d187 20:05:08 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:05:08 ---> Running in 01e1292ba0be 20:05:08 Removing intermediate container 01e1292ba0be 20:05:08 ---> 69898a321dd8 20:05:08 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:05:08 ---> Running in e494480c067e 20:05:08 Removing intermediate container e494480c067e 20:05:08 ---> 418d34b44368 20:05:08 Step 23/25 : LABEL arch=amd64 20:05:08 ---> Running in fdc4743d6e36 20:05:08 Removing intermediate container fdc4743d6e36 20:05:08 ---> 20910b93587d 20:05:08 Step 24/25 : LABEL git_sha=f7b0f3ff55221c8141e07beec435664a9a9a79ab 20:05:08 ---> Running in 04bcd183b6fa 20:05:09 Removing intermediate container 04bcd183b6fa 20:05:09 ---> 32d2d393e887 20:05:09 Step 25/25 : LABEL version=0.0.0 20:05:09 ---> Running in 60bcdde1aa52 20:05:09 Removing intermediate container 60bcdde1aa52 20:05:09 ---> 8fcdc17a82b4 20:05:09 [Warning] One or more build-args [ARCH] were not consumed 20:05:09 Successfully built 8fcdc17a82b4 20:05:09 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 20:05:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:05:09 20:05:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:05:10 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:05:10 latest: Pulling from edgex-lftools-log-publisher 20:05:10 5eb5b503b376: Pulling fs layer 20:05:10 5c69ac0246d0: Pulling fs layer 20:05:10 ec43610c2a17: Pulling fs layer 20:05:10 3a2ae6a8a46f: Pulling fs layer 20:05:10 33b1e0a273af: Pulling fs layer 20:05:10 5d3b04190fa2: Pulling fs layer 20:05:10 2f39f015ded8: Pulling fs layer 20:05:10 3a2ae6a8a46f: Waiting 20:05:10 33b1e0a273af: Waiting 20:05:10 5d3b04190fa2: Waiting 20:05:10 2f39f015ded8: Waiting 20:05:10 5c69ac0246d0: Download complete 20:05:10 3a2ae6a8a46f: Verifying Checksum 20:05:10 3a2ae6a8a46f: Download complete 20:05:10 33b1e0a273af: Verifying Checksum 20:05:10 33b1e0a273af: Download complete 20:05:10 5d3b04190fa2: Verifying Checksum 20:05:10 5d3b04190fa2: Download complete 20:05:10 ec43610c2a17: Verifying Checksum 20:05:10 ec43610c2a17: Download complete 20:05:10 5eb5b503b376: Download complete 20:05:11 2f39f015ded8: Download complete 20:05:11 5eb5b503b376: Pull complete 20:05:11 5c69ac0246d0: Pull complete 20:05:12 ec43610c2a17: Pull complete 20:05:12 3a2ae6a8a46f: Pull complete 20:05:12 33b1e0a273af: Pull complete 20:05:12 5d3b04190fa2: Pull complete 20:05:16 2f39f015ded8: Pull complete 20:05:16 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:05:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:05:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:05:17 prd-ubuntu20.04-docker-8c-8g-118507 does not seem to be running inside a container 20:05:17 $ 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-227 -v /w/workspace/gexfoundry_device-rest-go_PR-227:/w/workspace/gexfoundry_device-rest-go_PR-227:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-227@tmp:/w/workspace/gexfoundry_device-rest-go_PR-227@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:05:18 $ docker top 9f652bcef989ba521750ca691605bd4d5e066f106e1b0486183f5b07f0c5918b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:05:19 ---> job-cost.sh 20:05:19 lf-activate-venv: SKIPPING 20:05:19 INFO: No Stack... 20:05:19 INFO: Retrieving Pricing Info for: v3-standard-8 20:05:20 INFO: Archiving Costs [Pipeline] sh 20:05:20 + cat /w/workspace/gexfoundry_device-rest-go_PR-227/archives/cost.csv 20:05:20 + cut -d, -f6 [Pipeline] lock 20:05:20 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-227-1-stack-cost] 20:05:20 Resource [jenkins-edgexfoundry-device-rest-go-PR-227-1-stack-cost] did not exist. Created. 20:05:20 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-227-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:05:20 + echo total: 0.2199999988079071 [Pipeline] stash 20:05:20 Stashed 1 file(s) [Pipeline] } 20:05:20 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-227-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:05:21 $ docker stop --time=1 9f652bcef989ba521750ca691605bd4d5e066f106e1b0486183f5b07f0c5918b 20:05:22 $ docker rm -f 9f652bcef989ba521750ca691605bd4d5e066f106e1b0486183f5b07f0c5918b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:06:29 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118510 in /w/workspace/gexfoundry_device-rest-go_PR-227 [Pipeline] { [Pipeline] ws 20:06:29 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 20:06:29 The recommended git tool is: git 20:06:35 using credential edgex-jenkins-ssh 20:06:35 Cloning the remote Git repository 20:06:35 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:06:35 > git init /w/workspace/device-rest-go/1 # timeout=10 20:06:35 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:06:35 > git --version # timeout=10 20:06:35 > git --version # 'git version 2.25.1' 20:06:35 using GIT_SSH to set credentials SSH Credentials for GitHub 20:06:35 Verifying host key using known hosts file 20:06:35 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. 20:06:35 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:06:39 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:06:39 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:06:39 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:06:39 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:06:39 using GIT_SSH to set credentials SSH Credentials for GitHub 20:06:39 Verifying host key using known hosts file 20:06:39 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. 20:06:40 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/227/head:refs/remotes/origin/PR-227 +refs/heads/main:refs/remotes/origin/main # timeout=10 20:06:40 Merging remotes/origin/main commit ee3b3be503c005455f07215b653abfd16f272028 into PR head commit f7b0f3ff55221c8141e07beec435664a9a9a79ab 20:06:40 Merge succeeded, producing f7b0f3ff55221c8141e07beec435664a9a9a79ab 20:06:40 Checking out Revision f7b0f3ff55221c8141e07beec435664a9a9a79ab (PR-227) 20:06:41 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v2" 20:06:41 > git --version # timeout=10 20:06:41 > git --version # 'git version 2.25.1' 20:06:41 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 20:06:40 > git config core.sparsecheckout # timeout=10 20:06:40 > git checkout -f f7b0f3ff55221c8141e07beec435664a9a9a79ab # timeout=10 20:06:40 > git remote # timeout=10 20:06:40 > git config --get remote.origin.url # timeout=10 20:06:40 using GIT_SSH to set credentials SSH Credentials for GitHub 20:06:40 Verifying host key using known hosts file 20:06:40 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. 20:06:40 > git merge ee3b3be503c005455f07215b653abfd16f272028 # timeout=10 20:06:40 > git rev-parse HEAD^{commit} # timeout=10 20:06:40 > git config core.sparsecheckout # timeout=10 20:06:40 > git checkout -f f7b0f3ff55221c8141e07beec435664a9a9a79ab # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:06:42 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:06:42 % Total % Received % Xferd Average Speed Time Time Time Current 20:06:42 Dload Upload Total Spent Left Speed 20:06:42 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 208k 0 --:--:-- --:--:-- --:--:-- 212k [Pipeline] sh 20:06:43 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:06:43 + + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:06:43 sudo tee /etc/docker/daemon.new 20:06:43 { 20:06:43 "registry-mirrors": [ 20:06:43 "https://nexus3.edgexfoundry.org:10001" 20:06:43 ], 20:06:43 "bip": "10.250.0.254/24", 20:06:43 "hosts": [ 20:06:43 "tcp://0.0.0.0:5555", 20:06:43 "unix:///var/run/docker.sock" 20:06:43 ], 20:06:43 "mtu": 1458, 20:06:43 "selinux-enabled": true, 20:06:43 "seccomp-profile": "/etc/docker/seccomp.json" 20:06:43 } [Pipeline] sh 20:06:43 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:06:44 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:07:02 provisioning config files... 20:07:02 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config13249832151468021962tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:07:03 ---> docker-login.sh 20:07:03 nexus3.edgexfoundry.org:10001 20:07:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:03 Configure a credential helper to remove this warning. See 20:07:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:03 20:07:03 Login Succeeded 20:07:03 nexus3.edgexfoundry.org:10002 20:07:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:04 Configure a credential helper to remove this warning. See 20:07:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:04 20:07:04 Login Succeeded 20:07:04 nexus3.edgexfoundry.org:10003 20:07:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:04 Configure a credential helper to remove this warning. See 20:07:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:04 20:07:04 Login Succeeded 20:07:04 nexus3.edgexfoundry.org:10004 20:07:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:04 Configure a credential helper to remove this warning. See 20:07:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:04 20:07:04 Login Succeeded 20:07:04 docker.io 20:07:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:07:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:07:05 Configure a credential helper to remove this warning. See 20:07:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:07:05 20:07:05 Login Succeeded 20:07:05 ---> docker-login.sh ends [Pipeline] } 20:07:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:07:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:07:06 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:07:06 ========================================================= 20:07:06 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 20:07:06 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:07:06 + 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 . 20:07:06 Sending build context to Docker daemon 129.5kB 20:07:06 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 20:07:06 Step 2/12 : FROM ${BASE} AS builder 20:07:07 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:07:07 9b18e9b68314: Pulling fs layer 20:07:07 35d82f9e3411: Pulling fs layer 20:07:07 e16973657156: Pulling fs layer 20:07:07 fc693d55d65f: Pulling fs layer 20:07:07 7e9fc2657dce: Pulling fs layer 20:07:07 dda99020689f: Pulling fs layer 20:07:07 db1c61fa0a46: Pulling fs layer 20:07:07 891c053d2c06: Pulling fs layer 20:07:07 fc693d55d65f: Waiting 20:07:07 7e9fc2657dce: Waiting 20:07:07 dda99020689f: Waiting 20:07:07 db1c61fa0a46: Waiting 20:07:07 891c053d2c06: Waiting 20:07:07 e16973657156: Download complete 20:07:07 35d82f9e3411: Verifying Checksum 20:07:07 35d82f9e3411: Download complete 20:07:07 7e9fc2657dce: Verifying Checksum 20:07:07 7e9fc2657dce: Download complete 20:07:07 dda99020689f: Download complete 20:07:07 9b18e9b68314: Download complete 20:07:08 9b18e9b68314: Pull complete 20:07:08 891c053d2c06: Verifying Checksum 20:07:08 891c053d2c06: Download complete 20:07:08 35d82f9e3411: Pull complete 20:07:09 e16973657156: Pull complete 20:07:09 db1c61fa0a46: Verifying Checksum 20:07:09 db1c61fa0a46: Download complete 20:07:10 fc693d55d65f: Verifying Checksum 20:07:22 fc693d55d65f: Pull complete 20:07:22 7e9fc2657dce: Pull complete 20:07:22 dda99020689f: Pull complete 20:07:29 db1c61fa0a46: Pull complete 20:07:32 891c053d2c06: Pull complete 20:07:32 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 20:07:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 20:07:32 ---> f96f9c87975a 20:07:32 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:07:34 ---> Running in 119b126501c4 20:07:34 Removing intermediate container 119b126501c4 20:07:34 ---> e314e54fccdb 20:07:34 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:07:34 ---> Running in 0d13296b9d85 20:07:34 Removing intermediate container 0d13296b9d85 20:07:34 ---> 00453207924d 20:07:34 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:07:34 ---> Running in 13619299d5da 20:07:35 Removing intermediate container 13619299d5da 20:07:35 ---> 4cf26f94c762 20:07:35 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:07:35 ---> Running in c72d5169bbb9 20:07:35 Removing intermediate container c72d5169bbb9 20:07:35 ---> 90eaef6587c6 20:07:35 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:07:35 ---> Running in 646c20904b8a 20:07:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:07:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:07:37 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:07:37 (2/4) Installing libedit (20210910.3.1-r0) 20:07:37 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:07:37 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:07:37 Executing busybox-1.35.0-r17.trigger 20:07:37 OK: 226 MiB in 55 packages 20:07:38 Removing intermediate container 646c20904b8a 20:07:38 ---> 3ba1929280cd 20:07:38 Step 8/12 : WORKDIR /device-rest-go 20:07:38 ---> Running in 074eaf84afc5 20:07:39 Removing intermediate container 074eaf84afc5 20:07:39 ---> eb323e320143 20:07:39 Step 9/12 : COPY go.mod vendor* ./ 20:07:39 ---> ecda8e954d4a 20:07:39 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:07:39 ---> Running in 37d014dbfd6b 20:08:36 Removing intermediate container 37d014dbfd6b 20:08:36 ---> 82bfe74e3cd2 20:08:36 Step 11/12 : COPY . . 20:08:36 ---> 9def74778af2 20:08:36 Step 12/12 : RUN $MAKE 20:08:36 ---> Running in e17c7f6d4aed 20:08:36 noop 20:08:36 Removing intermediate container e17c7f6d4aed 20:08:36 ---> 9cf346683f3c 20:08:36 Successfully built 9cf346683f3c 20:08:36 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:08:36 + docker inspect -f . ci-base-image-arm64 20:08:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:08:36 prd-ubuntu20.04-docker-arm64-4c-16g-118510 does not seem to be running inside a container 20:08:36 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:08:38 $ docker top f34e86f2358f199da1fa1cdb1cc355ba8001a1a0d9b68112870217c01aed7f1d -eo pid,comm [Pipeline] { [Pipeline] sh 20:08:38 + go version 20:08:38 go version go1.18.7 linux/arm64 [Pipeline] } 20:08:38 $ docker stop --time=1 f34e86f2358f199da1fa1cdb1cc355ba8001a1a0d9b68112870217c01aed7f1d 20:08:40 $ docker rm -f f34e86f2358f199da1fa1cdb1cc355ba8001a1a0d9b68112870217c01aed7f1d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:08:41 + docker inspect -f . ci-base-image-arm64 20:08:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:08:41 prd-ubuntu20.04-docker-arm64-4c-16g-118510 does not seem to be running inside a container 20:08:41 $ 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 ******** ci-base-image-arm64 cat 20:08:43 $ docker top 4ed5b5c5927bd2d4a02982970e55cf02cc17adbcccf6821c2e39251e474316d7 -eo pid,comm [Pipeline] { [Pipeline] sh 20:08:44 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 20:08:44 + make test 20:08:44 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:08:46 ? github.com/edgexfoundry/device-rest-go [no test files] 20:10:23 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:10:23 ok github.com/edgexfoundry/device-rest-go/driver 0.072s coverage: 55.2% of statements 20:10:23 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:10:23 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:10:38 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:10:38 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:10:38 ./bin/test-attribution-txt.sh [Pipeline] echo 20:10:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:10:38 $ docker stop --time=1 4ed5b5c5927bd2d4a02982970e55cf02cc17adbcccf6821c2e39251e474316d7 20:10:40 $ docker rm -f 4ed5b5c5927bd2d4a02982970e55cf02cc17adbcccf6821c2e39251e474316d7 [Pipeline] // withDockerContainer [Pipeline] sh 20:10:41 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:10:41 Warning: overwriting stash ‘coverage-report’ 20:10:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:10:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:10:42 + ls -al . 20:10:42 total 184 20:10:42 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 20:08 . 20:10:42 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 20:06 .. 20:10:42 -rw-rw-r-- 1 jenkins jenkins 151 Nov 7 20:06 .dockerignore 20:10:42 drwxrwxr-x 8 jenkins jenkins 4096 Nov 7 20:06 .git 20:10:42 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 20:06 .github 20:10:42 -rw-rw-r-- 1 jenkins jenkins 329 Nov 7 20:06 .gitignore 20:10:42 -rw-rw-r-- 1 jenkins jenkins 41 Nov 7 20:06 .golangci.yml 20:10:42 -rw-rw-r-- 1 jenkins jenkins 9100 Nov 7 20:06 Attribution.txt 20:10:42 -rw-rw-r-- 1 jenkins jenkins 13085 Nov 7 20:06 CHANGELOG.md 20:10:42 -rw-rw-r-- 1 jenkins jenkins 1641 Nov 7 20:06 Dockerfile 20:10:42 -rw-rw-r-- 1 jenkins jenkins 677 Nov 7 20:06 GOVERNANCE.md 20:10:42 -rw-rw-r-- 1 jenkins jenkins 680 Nov 7 20:06 Jenkinsfile 20:10:42 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 7 20:06 LICENSE 20:10:42 -rw-rw-r-- 1 jenkins jenkins 2173 Nov 7 20:06 Makefile 20:10:42 -rw-rw-r-- 1 jenkins jenkins 620 Nov 7 20:06 OWNERS.md 20:10:42 -rw-rw-r-- 1 jenkins jenkins 8667 Nov 7 20:06 README.md 20:10:42 -rw-rw-r-- 1 jenkins jenkins 5 Nov 7 20:03 VERSION 20:10:42 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 20:06 bin 20:10:42 drwxrwxr-x 3 jenkins jenkins 4096 Nov 7 20:06 cmd 20:10:42 -rw-r--r-- 1 jenkins jenkins 9355 Nov 7 20:10 coverage.out 20:10:42 drwxrwxr-x 2 jenkins jenkins 4096 Nov 7 20:06 driver 20:10:42 -rw-rw-r-- 1 jenkins jenkins 3494 Nov 7 20:06 go.mod 20:10:42 -rw-rw-r-- 1 jenkins jenkins 44883 Nov 7 20:06 go.sum 20:10:42 drwxrwxr-x 4 jenkins jenkins 4096 Nov 7 20:06 snap 20:10:42 -rw-rw-r-- 1 jenkins jenkins 713 Nov 7 20:06 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:10:43 + 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=f7b0f3ff55221c8141e07beec435664a9a9a79ab --label arch=arm64 --label version=0.0.0 . 20:10:43 Sending build context to Docker daemon 139.8kB 20:10:43 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 20:10:43 Step 2/25 : FROM ${BASE} AS builder 20:10:43 ---> 9cf346683f3c 20:10:43 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:10:43 ---> Running in 320b8222867e 20:10:43 Removing intermediate container 320b8222867e 20:10:43 ---> e578f4752be2 20:10:43 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:10:44 ---> Running in 2a1335c6a82a 20:10:44 Removing intermediate container 2a1335c6a82a 20:10:44 ---> 42c198535708 20:10:44 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:10:44 ---> Running in 5274b85d15ce 20:10:44 Removing intermediate container 5274b85d15ce 20:10:44 ---> 439137b9bf91 20:10:44 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:10:44 ---> Running in eb8a9d3acf46 20:10:44 Removing intermediate container eb8a9d3acf46 20:10:44 ---> 656294459787 20:10:44 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:10:45 ---> Running in 1a83df4407a1 20:10:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:10:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:10:47 OK: 226 MiB in 55 packages 20:10:48 Removing intermediate container 1a83df4407a1 20:10:48 ---> 222f9565735e 20:10:48 Step 8/25 : WORKDIR /device-rest-go 20:10:48 ---> Running in b19c625be119 20:10:48 Removing intermediate container b19c625be119 20:10:48 ---> 860cb0dd95f3 20:10:48 Step 9/25 : COPY go.mod vendor* ./ 20:10:49 ---> 1ea24c2dbbdd 20:10:49 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:10:49 ---> Running in 1e5d3b93185e 20:10:53 Removing intermediate container 1e5d3b93185e 20:10:53 ---> 83ba729b07a6 20:10:53 Step 11/25 : COPY . . 20:10:55 ---> 2d7e0f1db566 20:10:55 Step 12/25 : RUN $MAKE 20:10:55 ---> Running in 5f372a7eee0b 20:10:56 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 20:13:32 Removing intermediate container 5f372a7eee0b 20:13:32 ---> 5da3ab497ab3 20:13:32 Step 13/25 : FROM alpine:3.16 20:13:32 3.16: Pulling from library/alpine 20:13:32 9b18e9b68314: Already exists 20:13:32 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:13:32 Status: Downloaded newer image for alpine:3.16 20:13:32 ---> a6215f271958 20:13:32 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:13:32 ---> Running in c8631c9a9267 20:13:32 Removing intermediate container c8631c9a9267 20:13:32 ---> 835485c2a8f1 20:13:32 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:13:32 ---> Running in 0df088764fea 20:13:32 Removing intermediate container 0df088764fea 20:13:32 ---> 0cca791419f8 20:13:32 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 20:13:32 ---> Running in e33b6cfb9992 20:13:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 20:13:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 20:13:32 (1/6) Installing dumb-init (1.2.5-r1) 20:13:32 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:13:32 (3/6) Installing libsodium (1.0.18-r0) 20:13:32 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:13:32 (5/6) Installing libzmq (4.3.4-r0) 20:13:32 (6/6) Installing zeromq (4.3.4-r0) 20:13:32 Executing busybox-1.35.0-r17.trigger 20:13:32 OK: 8 MiB in 20 packages 20:13:32 Removing intermediate container e33b6cfb9992 20:13:32 ---> b75148575631 20:13:32 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:13:32 ---> d50555d61f40 20:13:32 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:13:32 ---> 020167e1b522 20:13:32 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:13:32 ---> 31eae40a17ec 20:13:32 Step 20/25 : EXPOSE 59986 20:13:32 ---> Running in 571cfc42acc7 20:13:32 Removing intermediate container 571cfc42acc7 20:13:32 ---> 763e1bf5ea2a 20:13:32 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:13:32 ---> Running in 55f1efe5a06d 20:13:32 Removing intermediate container 55f1efe5a06d 20:13:32 ---> 7b6c562f453c 20:13:32 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:13:32 ---> Running in 3a1dc1f66aa4 20:13:32 Removing intermediate container 3a1dc1f66aa4 20:13:32 ---> b8f0af127f79 20:13:32 Step 23/25 : LABEL arch=arm64 20:13:32 ---> Running in 54c0f4ed4c8c 20:13:32 Removing intermediate container 54c0f4ed4c8c 20:13:32 ---> 09c7fc0b6369 20:13:32 Step 24/25 : LABEL git_sha=f7b0f3ff55221c8141e07beec435664a9a9a79ab 20:13:32 ---> Running in d774bdf94598 20:13:32 Removing intermediate container d774bdf94598 20:13:32 ---> 202533b421c6 20:13:32 Step 25/25 : LABEL version=0.0.0 20:13:32 ---> Running in 81e8b67958a0 20:13:32 Removing intermediate container 81e8b67958a0 20:13:32 ---> 88cf084dc51c 20:13:32 [Warning] One or more build-args [ARCH] were not consumed 20:13:32 Successfully built 88cf084dc51c 20:13:32 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 20:13:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:13:33 20:13:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:13:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:13:34 arm64: Pulling from edgex-lftools-log-publisher 20:13:34 8998bd30e6a1: Pulling fs layer 20:13:34 04944245beec: Pulling fs layer 20:13:34 699f458cf7ca: Pulling fs layer 20:13:34 765212b225bb: Pulling fs layer 20:13:34 f23df028b6ca: Pulling fs layer 20:13:34 d65c8cfc05b1: Pulling fs layer 20:13:34 2437ff75d9bd: Pulling fs layer 20:13:34 f23df028b6ca: Waiting 20:13:34 2437ff75d9bd: Waiting 20:13:34 d65c8cfc05b1: Waiting 20:13:34 765212b225bb: Waiting 20:13:34 04944245beec: Verifying Checksum 20:13:34 04944245beec: Download complete 20:13:34 765212b225bb: Verifying Checksum 20:13:34 765212b225bb: Download complete 20:13:34 f23df028b6ca: Download complete 20:13:34 d65c8cfc05b1: Download complete 20:13:34 699f458cf7ca: Verifying Checksum 20:13:34 699f458cf7ca: Download complete 20:13:34 8998bd30e6a1: Download complete 20:13:37 2437ff75d9bd: Verifying Checksum 20:13:37 2437ff75d9bd: Download complete 20:13:38 8998bd30e6a1: Pull complete 20:13:39 04944245beec: Pull complete 20:13:40 699f458cf7ca: Pull complete 20:13:40 765212b225bb: Pull complete 20:13:41 f23df028b6ca: Pull complete 20:13:41 d65c8cfc05b1: Pull complete 20:13:56 2437ff75d9bd: Pull complete 20:13:56 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:13:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:13:56 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:13:57 prd-ubuntu20.04-docker-arm64-4c-16g-118510 does not seem to be running inside a container 20:13:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:13:59 $ docker top 3932bcd00fc642be45fb40da8dc283b713ce98445c7c16913f0c905c22ffd26d -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:14:00 ---> job-cost.sh 20:14:00 lf-activate-venv: SKIPPING 20:14:00 INFO: No Stack... 20:14:00 INFO: Retrieving Pricing Info for: v3-standard-4 20:14:01 INFO: Archiving Costs [Pipeline] sh 20:14:02 + cut -d, -f6 20:14:02 + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock 20:14:02 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-227-1-stack-cost] 20:14:02 Resource [jenkins-edgexfoundry-device-rest-go-PR-227-1-stack-cost] did not exist. Created. 20:14:02 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-227-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:14:03 /w/workspace/device-rest-go/1@tmp/durable-f96c4f27/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:14:03 + echo total: 0.10999999940395355 [Pipeline] stash 20:14:03 Warning: overwriting stash ‘stack-cost’ 20:14:04 Stashed 1 file(s) [Pipeline] } 20:14:04 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-227-1-stack-cost] [Pipeline] // lock [Pipeline] } 20:14:04 $ docker stop --time=1 3932bcd00fc642be45fb40da8dc283b713ce98445c7c16913f0c905c22ffd26d 20:14:05 $ docker rm -f 3932bcd00fc642be45fb40da8dc283b713ce98445c7c16913f0c905c22ffd26d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 20:14:06 provisioning config files... 20:14:06 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-227@tmp/config16560801211076171899tmp [Pipeline] { [Pipeline] sh 20:14:06 + set +x 20:14:06 + curl -s https://codecov.io/bash 20:14:06 + bash -s -- 20:14:06 20:14:06 _____ _ 20:14:06 / ____| | | 20:14:06 | | ___ __| | ___ ___ _____ __ 20:14:06 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:14:06 | |___| (_) | (_| | __/ (_| (_) \ V / 20:14:06 \_____\___/ \__,_|\___|\___\___/ \_/ 20:14:06 Bash-1.0.6 20:14:06 20:14:06 20:14:06 ==> git version 2.25.1 found 20:14:06 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 20:14:06 Release-Date: 2020-01-08 20:14:06 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:14:06 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:14:06 ==> Jenkins CI detected. 20:14:06 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-227 20:14:06 project root: . 20:14:06 --> token set from env 20:14:06 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:14:06 ==> Running gcov in . (disable via -X gcov) 20:14:06 ==> Python coveragepy not found 20:14:06 ==> Searching for coverage reports in: 20:14:06 + . 20:14:06 -> Found 1 reports 20:14:06 ==> Detecting git/mercurial file structure 20:14:06 ==> Reading reports 20:14:06 + ./coverage.out bytes=9355 20:14:06 ==> Appending adjustments 20:14:06 https://docs.codecov.io/docs/fixing-reports 20:14:06 + Found adjustments 20:14:06 ==> Gzipping contents 20:14:06 4.0K /tmp/codecov.DKMcRE.gz 20:14:06 ==> Uploading reports 20:14:06 url: https://codecov.io 20:14:06 query: branch=PR-227&commit=f7b0f3ff55221c8141e07beec435664a9a9a79ab&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-227%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=227&job=&cmd_args= 20:14:07 -> Pinging Codecov 20:14:07 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-227&commit=f7b0f3ff55221c8141e07beec435664a9a9a79ab&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-227%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=227&job=&cmd_args= 20:14:07 -> Uploading to 20:14:07 https://storage.googleapis.com/codecov/v4/raw/2022-11-07/4E5D53B4F1F92C436F7061BF334D961C/f7b0f3ff55221c8141e07beec435664a9a9a79ab/4fb34c78-ad62-4892-9444-f34951ab01e5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221107%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221107T201407Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=d09c261e34ace2452b94c4ced1a1f5ce13f4d685def3925a9b00ebdff634ca37 20:14:07 % Total % Received % Xferd Average Speed Time Time Time Current 20:14:07 Dload Upload Total Spent Left Speed 20:14:07 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 6924 --:--:-- --:--:-- --:--:-- 6924 20:14:07 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/f7b0f3ff55221c8141e07beec435664a9a9a79ab [Pipeline] } 20:14:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) Stage "Snyk Dependency Scan" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to when conditional [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:14:09 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-227/archives ] 20:14:09 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-227/archives 20:14:09 total 16 20:14:09 drwxr-xr-x 3 root root 4096 Nov 7 20:05 . 20:14:09 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 20:05 .. 20:14:09 drwxr-xr-x 2 root root 4096 Nov 7 20:05 cost 20:14:09 -rw-r--r-- 1 root root 86 Nov 7 20:05 cost.csv 20:14:09 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-227/archives 20:14:09 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-227/archives 20:14:09 total 16 20:14:09 drwxr-xr-x 3 jenkins jenkins 4096 Nov 7 20:05 . 20:14:09 drwxrwxr-x 10 jenkins jenkins 4096 Nov 7 20:05 .. 20:14:09 drwxr-xr-x 2 jenkins jenkins 4096 Nov 7 20:05 cost 20:14:09 -rw-r--r-- 1 jenkins jenkins 86 Nov 7 20:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:14:09 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:14:10 ---> package-listing.sh 20:14:10 ++ facter osfamily 20:14:10 ++ tr '[:upper:]' '[:lower:]' 20:14:10 + OS_FAMILY=debian 20:14:10 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-227 20:14:10 + START_PACKAGES=/tmp/packages_start.txt 20:14:10 + END_PACKAGES=/tmp/packages_end.txt 20:14:10 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:14:10 + PACKAGES=/tmp/packages_start.txt 20:14:10 + '[' /w/workspace/gexfoundry_device-rest-go_PR-227 ']' 20:14:10 + PACKAGES=/tmp/packages_end.txt 20:14:10 + case "${OS_FAMILY}" in 20:14:10 + dpkg -l 20:14:10 + grep '^ii' 20:14:10 + '[' -f /tmp/packages_start.txt ']' 20:14:10 + '[' -f /tmp/packages_end.txt ']' 20:14:10 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:14:10 + '[' /w/workspace/gexfoundry_device-rest-go_PR-227 ']' 20:14:10 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-227/archives/ 20:14:10 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-227/archives/ [Pipeline] echo 20:14:10 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-227/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:14:11 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:14:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:14:11 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:14:11 prd-ubuntu20.04-docker-8c-8g-118507 does not seem to be running inside a container 20:14:11 $ 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-227/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-227 -v /w/workspace/gexfoundry_device-rest-go_PR-227:/w/workspace/gexfoundry_device-rest-go_PR-227:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-227@tmp:/w/workspace/gexfoundry_device-rest-go_PR-227@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:14:12 $ docker top 175b1ef559baf37618c6e67d5ded72d3afcd856403ecc5a697ec1288bd31e78e -eo pid,comm [Pipeline] { [Pipeline] sh 20:14:12 + touch /tmp/pre-build-complete [Pipeline] sh 20:14:12 + mkdir -p /var/log/sysstat [Pipeline] sh 20:14:13 + ls /var/log/sa-host 20:14:13 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:14:13 provisioning config files... 20:14:13 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-227@tmp/config3170752496023918548tmp [Pipeline] { [Pipeline] echo 20:14:13 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:14:13 ---> create-netrc.sh [Pipeline] } 20:14:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:14:14 ---> python-tools-install.sh [Pipeline] echo 20:14:14 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:14:14 ---> sudo-logs.sh 20:14:14 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:14:14 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:14:14 ---> job-cost.sh 20:14:14 lf-activate-venv: SKIPPING 20:14:14 DEBUG: total: 0.2199999988079071 20:14:14 INFO: Retrieving Stack Cost... 20:14:15 INFO: Retrieving Pricing Info for: v3-standard-8 20:14:15 INFO: Archiving Costs [Pipeline] echo 20:14:15 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:14:16 ---> logs-deploy.sh 20:14:16 lf-activate-venv: SKIPPING 20:14:16 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-227/1 20:14:16 INFO: archiving workspace using pattern(s): 20:14:16 Archives upload complete. 20:14:16 INFO: archiving logs to Nexus