Pull request #228 opened Connecting to https://api.github.com using edgex-jenkins github personal access token Connecting to https://api.github.com to check permissions of obtain list of lenny-intel for edgexfoundry/device-rest-go Obtained Jenkinsfile from 684b3cc16076e0871f51c109ed11a84cd1314297+98c53550becdffe5607264f4f78746e0be51d9ff (96086eea41c6e8b12e667d2f2496f2a26ecea471) 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-ssh8734845914978201421.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-ssh11096616727251856140.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-228/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-228/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh8835001379864908214.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-228/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9672075088868326715.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-ssh17654078628657569609.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-228/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-228/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh352072342186215099.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 Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-118611 in /w/workspace/gexfoundry_device-rest-go_PR-228 [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-228 # 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/228/head:refs/remotes/origin/PR-228 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 98c53550becdffe5607264f4f78746e0be51d9ff into PR head commit 684b3cc16076e0871f51c109ed11a84cd1314297 Merge succeeded, producing 684b3cc16076e0871f51c109ed11a84cd1314297 Checking out Revision 684b3cc16076e0871f51c109ed11a84cd1314297 (PR-228) > git config core.sparsecheckout # timeout=10 > git checkout -f 684b3cc16076e0871f51c109ed11a84cd1314297 # 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 98c53550becdffe5607264f4f78746e0be51d9ff # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 684b3cc16076e0871f51c109ed11a84cd1314297 # timeout=10 Commit message: "build: Update to use released SDK" 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 15:58:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 15:58:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 15:58:13 ========================================================= 15:58:13 EdgeX Global Pipelines Version Info 15:58:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 15:58:14 ------------------- 15:58:14 stable info: 15:58:14 ------------------- 15:58:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 15:58:14 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:58:14 Message: update stable to v1.0.244 15:58:15 ------------------- 15:58:15 experimental info: 15:58:15 ------------------- 15:58:15 Commited By: **** collab-it+edgex@linuxfoundation.org 15:58:15 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 15:58:15 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 15:58:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 15:58:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 15:58:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 15:58:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 15:58:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 15:58:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 15:58:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 15:58:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 15:58:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 15:58:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 15:58:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 15:58:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 15:58:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 15:58:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 15:58:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 15:58:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 15:58:16 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 15:58:16 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 15:58:16 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 15:58:16 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 15:58:16 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 15:58:16 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 15:58:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 15:58:16 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 15:58:16 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 15:58:16 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 15:58:16 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 15:58:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-228 [Pipeline] echo 15:58:16 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-228 [Pipeline] echo 15:58:16 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-228 [Pipeline] echo 15:58:16 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 684b3cc16076e0871f51c109ed11a84cd1314297 [Pipeline] echo 15:58:16 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 684b3cc [Pipeline] echo 15:58:16 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 15:58:16 provisioning config files... 15:58:16 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-228@tmp/config6595154055778142383tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:58:17 ---> docker-login.sh 15:58:17 nexus3.edgexfoundry.org:10001 15:58:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:17 Configure a credential helper to remove this warning. See 15:58:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:17 15:58:17 Login Succeeded 15:58:17 nexus3.edgexfoundry.org:10002 15:58:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:17 Configure a credential helper to remove this warning. See 15:58:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:17 15:58:17 Login Succeeded 15:58:17 nexus3.edgexfoundry.org:10003 15:58:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:17 Configure a credential helper to remove this warning. See 15:58:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:17 15:58:17 Login Succeeded 15:58:17 nexus3.edgexfoundry.org:10004 15:58:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:17 Configure a credential helper to remove this warning. See 15:58:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:17 15:58:17 Login Succeeded 15:58:17 docker.io 15:58:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:18 Configure a credential helper to remove this warning. See 15:58:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:18 15:58:18 Login Succeeded 15:58:18 ---> docker-login.sh ends [Pipeline] } 15:58:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 15:58:18 + git rev-list -1 --merges 684b3cc16076e0871f51c109ed11a84cd1314297~1..684b3cc16076e0871f51c109ed11a84cd1314297 [Pipeline] echo 15:58:18 -----------> git rev-list -1 --merges 684b3cc16076e0871f51c109ed11a84cd1314297~1..684b3cc16076e0871f51c109ed11a84cd1314297 684b3cc16076e0871f51c109ed11a84cd1314297 [false] [Pipeline] sh 15:58:19 + git log --format=format:%s -1 684b3cc16076e0871f51c109ed11a84cd1314297 [Pipeline] echo 15:58:19 ========================================================= 15:58:19 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 15:58:19 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 15:58:19 + git log --format=format:%s -1 684b3cc16076e0871f51c109ed11a84cd1314297 [Pipeline] echo 15:58:19 [semverPrep] GIT_COMMIT: 684b3cc16076e0871f51c109ed11a84cd1314297, Commit Message: build: Update to use released SDK [Pipeline] echo 15:58:19 [semverPrep] This is not a build commit. [Pipeline] sh 15:58:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 15:58:20 + grep -v github /etc/ssh/ssh_known_hosts 15:58:20 + [ -e /tmp/ssh_known_hosts ] 15:58:20 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 15:58:20 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 15:58:20 + sudo tee -a /etc/ssh/ssh_known_hosts 15:58:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:58:20 15:58:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:20 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:58:20 0.1.4: Pulling from edgex-devops/py-git-semver 15:58:20 b85a868b505f: Pulling fs layer 15:58:20 e2be974225ed: Pulling fs layer 15:58:20 339a4e72a1f5: Pulling fs layer 15:58:20 988bab9f4d93: Pulling fs layer 15:58:20 1469e6f7b9e6: Pulling fs layer 15:58:20 eaf3925da568: Pulling fs layer 15:58:20 bab4dde63d76: Pulling fs layer 15:58:20 bde34c3a00c8: Pulling fs layer 15:58:20 b352a97aabf1: Pulling fs layer 15:58:20 4872d77fe225: Pulling fs layer 15:58:20 5851b861e8e6: Pulling fs layer 15:58:20 eaf3925da568: Waiting 15:58:20 bab4dde63d76: Waiting 15:58:20 bde34c3a00c8: Waiting 15:58:20 5851b861e8e6: Waiting 15:58:20 988bab9f4d93: Waiting 15:58:20 b352a97aabf1: Waiting 15:58:20 1469e6f7b9e6: Waiting 15:58:20 e2be974225ed: Verifying Checksum 15:58:20 e2be974225ed: Download complete 15:58:20 988bab9f4d93: Verifying Checksum 15:58:20 988bab9f4d93: Download complete 15:58:21 1469e6f7b9e6: Verifying Checksum 15:58:21 1469e6f7b9e6: Download complete 15:58:21 339a4e72a1f5: Verifying Checksum 15:58:21 339a4e72a1f5: Download complete 15:58:21 eaf3925da568: Verifying Checksum 15:58:21 eaf3925da568: Download complete 15:58:21 bde34c3a00c8: Download complete 15:58:21 b352a97aabf1: Verifying Checksum 15:58:21 b352a97aabf1: Download complete 15:58:21 4872d77fe225: Verifying Checksum 15:58:21 4872d77fe225: Download complete 15:58:21 5851b861e8e6: Download complete 15:58:21 b85a868b505f: Verifying Checksum 15:58:21 b85a868b505f: Download complete 15:58:21 bab4dde63d76: Verifying Checksum 15:58:21 bab4dde63d76: Download complete 15:58:22 b85a868b505f: Pull complete 15:58:22 e2be974225ed: Pull complete 15:58:23 339a4e72a1f5: Pull complete 15:58:23 988bab9f4d93: Pull complete 15:58:23 1469e6f7b9e6: Pull complete 15:58:23 eaf3925da568: Pull complete 15:58:25 bab4dde63d76: Pull complete 15:58:25 bde34c3a00c8: Pull complete 15:58:25 b352a97aabf1: Pull complete 15:58:25 4872d77fe225: Pull complete 15:58:25 5851b861e8e6: Pull complete 15:58:25 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 15:58:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 15:58:25 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:58:25 prd-ubuntu20.04-docker-8c-8g-118611 does not seem to be running inside a container 15:58:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-228 -v /w/workspace/gexfoundry_device-rest-go_PR-228:/w/workspace/gexfoundry_device-rest-go_PR-228:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-228@tmp:/w/workspace/gexfoundry_device-rest-go_PR-228@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 15:58:27 $ docker top 8157d80e2679fca3c7311fdf9b880c8df483f657c66360612e5979e2eeaf14e5 -eo pid,comm 15:58:27 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). 15:58:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 15:58:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:58:27 [ssh-agent] Looking for ssh-agent implementation... 15:58:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:58:27 $ docker exec 8157d80e2679fca3c7311fdf9b880c8df483f657c66360612e5979e2eeaf14e5 ssh-agent 15:58:27 SSH_AUTH_SOCK=/tmp/ssh-BMBLLX6rYT8b/agent.33 15:58:27 SSH_AGENT_PID=39 15:58:27 Running ssh-add (command line suppressed) 15:58:27 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-228@tmp/private_key_13630526593238542266.key (/w/workspace/gexfoundry_device-rest-go_PR-228@tmp/private_key_13630526593238542266.key) 15:58:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:58:28 + git tag --points-at HEAD [Pipeline] } 15:58:28 $ docker exec --env ******** --env ******** 8157d80e2679fca3c7311fdf9b880c8df483f657c66360612e5979e2eeaf14e5 ssh-agent -k 15:58:28 unset SSH_AUTH_SOCK; 15:58:28 unset SSH_AGENT_PID; 15:58:28 echo Agent pid 39 killed; 15:58:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 15:58:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 15:58:28 [ssh-agent] Looking for ssh-agent implementation... 15:58:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 15:58:28 $ docker exec 8157d80e2679fca3c7311fdf9b880c8df483f657c66360612e5979e2eeaf14e5 ssh-agent 15:58:28 SSH_AUTH_SOCK=/tmp/ssh-9gYX3hbIlheU/agent.71 15:58:28 SSH_AGENT_PID=77 15:58:28 Running ssh-add (command line suppressed) 15:58:28 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-228@tmp/private_key_11653919478747382297.key (/w/workspace/gexfoundry_device-rest-go_PR-228@tmp/private_key_11653919478747382297.key) 15:58:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 15:58:28 + git semver init 15:58:29 2022-11-08 15:58:29,182 [run_init] DEBUG init version:0.0.0 force:False 15:58:29 2022-11-08 15:58:29,183 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-228/.semver 15:58:29 2022-11-08 15:58:29,183 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-228/.semver 15:58:29 2022-11-08 15:58:29,183 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-228/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-228, universal_newlines=False, shell=None, istream=None) 15:58:30 2022-11-08 15:58:30,290 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-228/.git/info/exclude 15:58:30 2022-11-08 15:58:30,291 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-228/.semver/PR-228 with force:False 15:58:30 2022-11-08 15:58:30,291 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-228/.semver/PR-228 15:58:30 2022-11-08 15:58:30,295 [execute] INFO git cat-file --batch-check 15:58:30 2022-11-08 15:58:30,295 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-228/.semver, universal_newlines=False, shell=None, istream=) 15:58:30 2022-11-08 15:58:30,300 [execute] INFO git cat-file --batch 15:58:30 2022-11-08 15:58:30,301 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-228/.semver, universal_newlines=False, shell=None, istream=) 15:58:30 2022-11-08 15:58:30,306 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-228/.semver/PR-228 15:58:30 0.0.0 [Pipeline] } 15:58:30 $ docker exec --env ******** --env ******** 8157d80e2679fca3c7311fdf9b880c8df483f657c66360612e5979e2eeaf14e5 ssh-agent -k 15:58:30 unset SSH_AUTH_SOCK; 15:58:30 unset SSH_AGENT_PID; 15:58:30 echo Agent pid 77 killed; 15:58:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 15:58:31 + git semver [Pipeline] } 15:58:31 $ docker stop --time=1 8157d80e2679fca3c7311fdf9b880c8df483f657c66360612e5979e2eeaf14e5 15:58:32 $ docker rm -f 8157d80e2679fca3c7311fdf9b880c8df483f657c66360612e5979e2eeaf14e5 [Pipeline] // withDockerContainer [Pipeline] sh 15:58:33 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 15:58:33 Stashed 1 file(s) [Pipeline] echo 15:58:33 [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 15:58:34 provisioning config files... 15:58:34 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-228@tmp/config5978647991081088829tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 15:58:34 ---> docker-login.sh 15:58:34 nexus3.edgexfoundry.org:10001 15:58:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:34 Configure a credential helper to remove this warning. See 15:58:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:34 15:58:34 Login Succeeded 15:58:34 nexus3.edgexfoundry.org:10002 15:58:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:34 Configure a credential helper to remove this warning. See 15:58:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:34 15:58:34 Login Succeeded 15:58:34 nexus3.edgexfoundry.org:10003 15:58:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:34 Configure a credential helper to remove this warning. See 15:58:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:34 15:58:34 Login Succeeded 15:58:34 nexus3.edgexfoundry.org:10004 15:58:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:34 Configure a credential helper to remove this warning. See 15:58:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:34 15:58:34 Login Succeeded 15:58:34 docker.io 15:58:34 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 15:58:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 15:58:35 Configure a credential helper to remove this warning. See 15:58:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 15:58:35 15:58:35 Login Succeeded 15:58:35 ---> docker-login.sh ends [Pipeline] } 15:58:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 15:58:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:58:35 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 15:58:35 ========================================================= 15:58:35 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 15:58:35 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:58:35 + 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 . 15:58:35 Sending build context to Docker daemon 10.76MB 15:58:35 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 15:58:35 Step 2/12 : FROM ${BASE} AS builder 15:58:35 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 15:58:35 213ec9aee27d: Pulling fs layer 15:58:35 4583459ba037: Pulling fs layer 15:58:35 93c1e223e6f2: Pulling fs layer 15:58:35 53926ce57604: Pulling fs layer 15:58:35 21b2b0c7a3f4: Pulling fs layer 15:58:35 22ff95d597cd: Pulling fs layer 15:58:35 12d6caf4c0d1: Pulling fs layer 15:58:35 96b7cbca73a9: Pulling fs layer 15:58:35 a7acece74701: Pulling fs layer 15:58:35 21b2b0c7a3f4: Waiting 15:58:35 12d6caf4c0d1: Waiting 15:58:35 96b7cbca73a9: Waiting 15:58:35 a7acece74701: Waiting 15:58:35 53926ce57604: Waiting 15:58:35 22ff95d597cd: Waiting 15:58:36 93c1e223e6f2: Verifying Checksum 15:58:36 93c1e223e6f2: Download complete 15:58:36 4583459ba037: Verifying Checksum 15:58:36 4583459ba037: Download complete 15:58:36 21b2b0c7a3f4: Verifying Checksum 15:58:36 21b2b0c7a3f4: Download complete 15:58:36 22ff95d597cd: Verifying Checksum 15:58:36 22ff95d597cd: Download complete 15:58:36 213ec9aee27d: Verifying Checksum 15:58:36 213ec9aee27d: Download complete 15:58:36 12d6caf4c0d1: Verifying Checksum 15:58:36 12d6caf4c0d1: Download complete 15:58:36 213ec9aee27d: Pull complete 15:58:36 4583459ba037: Pull complete 15:58:36 93c1e223e6f2: Pull complete 15:58:37 a7acece74701: Verifying Checksum 15:58:37 a7acece74701: Download complete 15:58:37 53926ce57604: Verifying Checksum 15:58:37 53926ce57604: Download complete 15:58:37 96b7cbca73a9: Verifying Checksum 15:58:37 96b7cbca73a9: Download complete 15:58:40 53926ce57604: Pull complete 15:58:40 21b2b0c7a3f4: Pull complete 15:58:40 22ff95d597cd: Pull complete 15:58:40 12d6caf4c0d1: Pull complete 15:58:42 96b7cbca73a9: Pull complete 15:58:43 a7acece74701: Pull complete 15:58:43 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 15:58:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 15:58:43 ---> db6d94c90886 15:58:43 Step 3/12 : ARG ADD_BUILD_TAGS="" 15:58:45 ---> Running in 46a29720dfab 15:58:45 Removing intermediate container 46a29720dfab 15:58:45 ---> dd9964bb29ca 15:58:45 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:58:45 ---> Running in 80d611723211 15:58:45 Removing intermediate container 80d611723211 15:58:45 ---> f3e2ccf094f7 15:58:45 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:58:45 ---> Running in 1a867fef788b 15:58:45 Removing intermediate container 1a867fef788b 15:58:45 ---> 6adb0848ee9e 15:58:45 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 15:58:45 ---> Running in 69a05a3b1c84 15:58:45 Removing intermediate container 69a05a3b1c84 15:58:45 ---> 7e52bb2856db 15:58:45 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:58:45 ---> Running in 447bdbb1d170 15:58:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:58:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:58:46 (1/4) Installing openssh-keygen (9.0_p1-r2) 15:58:46 (2/4) Installing libedit (20210910.3.1-r0) 15:58:46 (3/4) Installing openssh-client-common (9.0_p1-r2) 15:58:46 (4/4) Installing openssh-client-default (9.0_p1-r2) 15:58:46 Executing busybox-1.35.0-r17.trigger 15:58:46 OK: 216 MiB in 55 packages 15:58:47 Removing intermediate container 447bdbb1d170 15:58:47 ---> 8d0f6cbf631c 15:58:47 Step 8/12 : WORKDIR /device-rest-go 15:58:47 ---> Running in a8de92d974e4 15:58:47 Removing intermediate container a8de92d974e4 15:58:47 ---> 658cd413aa6e 15:58:47 Step 9/12 : COPY go.mod vendor* ./ 15:58:47 ---> f98b9a4d32b8 15:58:47 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:58:47 ---> Running in c22a54c45df0 15:58:48 Still waiting to schedule task 15:58:48 ‘prd-centos7-blackbox-4c-2g-118274’ doesn’t have label ‘ubuntu20.04-docker-arm64-4c-16g’ 15:58:48 ‘prd-ubuntu20.04-docker-arm64-4c-16g-118612’ is offline 15:59:05 Removing intermediate container c22a54c45df0 15:59:05 ---> 73bfc94e5251 15:59:05 Step 11/12 : COPY . . 15:59:05 ---> e0bb3cd13c8b 15:59:05 Step 12/12 : RUN $MAKE 15:59:05 ---> Running in 4499ed950e71 15:59:05 noop 15:59:05 Removing intermediate container 4499ed950e71 15:59:05 ---> cf323ead1f9b 15:59:05 Successfully built cf323ead1f9b 15:59:05 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:05 + docker inspect -f . ci-base-image-x86_64 15:59:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:59:06 prd-ubuntu20.04-docker-8c-8g-118611 does not seem to be running inside a container 15:59:06 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-228 -v /w/workspace/gexfoundry_device-rest-go_PR-228:/w/workspace/gexfoundry_device-rest-go_PR-228:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-228@tmp:/w/workspace/gexfoundry_device-rest-go_PR-228@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:59:06 $ docker top 74f8d3845c4b92d22fa756bb6be8dd05dfd5e7b95433cac4bceb15c82d457ee0 -eo pid,comm [Pipeline] { [Pipeline] sh 15:59:06 + go version 15:59:06 go version go1.18.7 linux/amd64 [Pipeline] } 15:59:06 $ docker stop --time=1 74f8d3845c4b92d22fa756bb6be8dd05dfd5e7b95433cac4bceb15c82d457ee0 15:59:08 $ docker rm -f 74f8d3845c4b92d22fa756bb6be8dd05dfd5e7b95433cac4bceb15c82d457ee0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:08 + docker inspect -f . ci-base-image-x86_64 15:59:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 15:59:09 prd-ubuntu20.04-docker-8c-8g-118611 does not seem to be running inside a container 15:59:09 $ 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-228 -v /w/workspace/gexfoundry_device-rest-go_PR-228:/w/workspace/gexfoundry_device-rest-go_PR-228:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-228@tmp:/w/workspace/gexfoundry_device-rest-go_PR-228@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 15:59:09 $ docker top bb6d035e4dff2c271ad7e7bf8bbd5783963f09fe6dc13ae41d596596ca3efee9 -eo pid,comm [Pipeline] { [Pipeline] sh 15:59:09 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-228 [Pipeline] fileExists [Pipeline] sh 15:59:10 + make test 15:59:10 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 15:59:10 ? github.com/edgexfoundry/device-rest-go [no test files] 15:59:20 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 15:59:20 ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 55.2% of statements 15:59:26 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." 15:59:26 CGO_ENABLED=1 GO111MODULE=on go vet ./... 15:59:28 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 15:59:28 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 15:59:28 ./bin/test-attribution-txt.sh [Pipeline] echo 15:59:29 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 15:59:29 $ docker stop --time=1 bb6d035e4dff2c271ad7e7bf8bbd5783963f09fe6dc13ae41d596596ca3efee9 15:59:30 $ docker rm -f bb6d035e4dff2c271ad7e7bf8bbd5783963f09fe6dc13ae41d596596ca3efee9 [Pipeline] // withDockerContainer [Pipeline] sh 15:59:31 + sudo chown -R jenkins:jenkins . [Pipeline] stash 15:59:31 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 15:59:32 + sudo chown -R jenkins:jenkins . [Pipeline] sh 15:59:32 + ls -al . 15:59:32 total 188 15:59:32 drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 15:59 . 15:59:32 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 15:58 .. 15:59:32 -rw-rw-r-- 1 jenkins jenkins 151 Nov 8 15:58 .dockerignore 15:59:32 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 15:59 .git 15:59:32 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 15:58 .github 15:59:32 -rw-rw-r-- 1 jenkins jenkins 329 Nov 8 15:58 .gitignore 15:59:32 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 15:58 .golangci.yml 15:59:32 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 15:58 .semver 15:59:32 -rw-rw-r-- 1 jenkins jenkins 9100 Nov 8 15:58 Attribution.txt 15:59:32 -rw-rw-r-- 1 jenkins jenkins 13085 Nov 8 15:58 CHANGELOG.md 15:59:32 -rw-rw-r-- 1 jenkins jenkins 1641 Nov 8 15:58 Dockerfile 15:59:32 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 15:58 GOVERNANCE.md 15:59:32 -rw-rw-r-- 1 jenkins jenkins 680 Nov 8 15:58 Jenkinsfile 15:59:32 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 15:58 LICENSE 15:59:32 -rw-rw-r-- 1 jenkins jenkins 2173 Nov 8 15:58 Makefile 15:59:32 -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 15:58 OWNERS.md 15:59:32 -rw-rw-r-- 1 jenkins jenkins 8667 Nov 8 15:58 README.md 15:59:32 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 15:58 VERSION 15:59:32 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 15:58 bin 15:59:32 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 15:58 cmd 15:59:32 -rw-r--r-- 1 jenkins jenkins 9355 Nov 8 15:59 coverage.out 15:59:32 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 15:58 driver 15:59:32 -rw-rw-r-- 1 jenkins jenkins 3487 Nov 8 15:58 go.mod 15:59:32 -rw-rw-r-- 1 jenkins jenkins 44869 Nov 8 15:58 go.sum 15:59:32 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 15:58 snap 15:59:32 -rw-rw-r-- 1 jenkins jenkins 713 Nov 8 15:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:32 + 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=684b3cc16076e0871f51c109ed11a84cd1314297 --label arch=amd64 --label version=0.0.0 . 15:59:32 Sending build context to Docker daemon 10.77MB 15:59:32 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 15:59:32 Step 2/25 : FROM ${BASE} AS builder 15:59:32 ---> cf323ead1f9b 15:59:32 Step 3/25 : ARG ADD_BUILD_TAGS="" 15:59:32 ---> Running in f6a76813881d 15:59:33 Removing intermediate container f6a76813881d 15:59:33 ---> 050f3893a9eb 15:59:33 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 15:59:33 ---> Running in 99e23e9fdef7 15:59:33 Removing intermediate container 99e23e9fdef7 15:59:33 ---> 6a438ca12bd3 15:59:33 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 15:59:33 ---> Running in 8967e9582be7 15:59:33 Removing intermediate container 8967e9582be7 15:59:33 ---> c9cf97d67d0a 15:59:33 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 15:59:33 ---> Running in 3853b12114d9 15:59:33 Removing intermediate container 3853b12114d9 15:59:33 ---> 8358e53db223 15:59:33 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 15:59:33 ---> Running in 6123f49ae7bc 15:59:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:59:33 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:59:34 OK: 216 MiB in 55 packages 15:59:34 Removing intermediate container 6123f49ae7bc 15:59:34 ---> 4c7405a197cd 15:59:34 Step 8/25 : WORKDIR /device-rest-go 15:59:34 ---> Running in 9bb0750ed26d 15:59:34 Removing intermediate container 9bb0750ed26d 15:59:34 ---> 01c54170fe89 15:59:34 Step 9/25 : COPY go.mod vendor* ./ 15:59:34 ---> 1640667dcc12 15:59:34 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 15:59:34 ---> Running in a3c2186a989a 15:59:35 Removing intermediate container a3c2186a989a 15:59:35 ---> 89aafb9782da 15:59:35 Step 11/25 : COPY . . 15:59:35 ---> d9add8796226 15:59:35 Step 12/25 : RUN $MAKE 15:59:35 ---> Running in ecc16cfaf0cd 15:59:36 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 15:59:54 Removing intermediate container ecc16cfaf0cd 15:59:54 ---> 051d6a89b35e 15:59:54 Step 13/25 : FROM alpine:3.16 15:59:54 3.16: Pulling from library/alpine 15:59:54 213ec9aee27d: Already exists 15:59:54 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 15:59:54 Status: Downloaded newer image for alpine:3.16 15:59:54 ---> 9c6f07244728 15:59:54 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 15:59:54 ---> Running in 4931c84c202a 15:59:55 Removing intermediate container 4931c84c202a 15:59:55 ---> bceb7c6e96c7 15:59:55 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 15:59:55 ---> Running in 4978779fa3ab 15:59:55 Removing intermediate container 4978779fa3ab 15:59:55 ---> 6059436cb804 15:59:55 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 15:59:55 ---> Running in 9e0edef0ca3f 15:59:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 15:59:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 15:59:56 (1/6) Installing dumb-init (1.2.5-r1) 15:59:56 (2/6) Installing libgcc (11.2.1_git20220219-r2) 15:59:56 (3/6) Installing libsodium (1.0.18-r0) 15:59:56 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 15:59:56 (5/6) Installing libzmq (4.3.4-r0) 15:59:56 (6/6) Installing zeromq (4.3.4-r0) 15:59:56 Executing busybox-1.35.0-r17.trigger 15:59:56 OK: 8 MiB in 20 packages 15:59:56 Removing intermediate container 9e0edef0ca3f 15:59:56 ---> 306962ffcea9 15:59:56 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 15:59:57 ---> c988d0eb85c1 15:59:57 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 15:59:57 ---> 0cfed827fa90 15:59:57 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 15:59:57 ---> 76f4fe645202 15:59:57 Step 20/25 : EXPOSE 59986 15:59:57 ---> Running in 90c7d9aa67e0 15:59:57 Removing intermediate container 90c7d9aa67e0 15:59:57 ---> 2cf08c1dd32c 15:59:57 Step 21/25 : ENTRYPOINT ["/device-rest"] 15:59:57 ---> Running in 6a6c7a6885f9 15:59:57 Removing intermediate container 6a6c7a6885f9 15:59:57 ---> d791ebffe496 15:59:57 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 15:59:57 ---> Running in e65e38486339 15:59:57 Removing intermediate container e65e38486339 15:59:57 ---> 81769bb65b0f 15:59:57 Step 23/25 : LABEL arch=amd64 15:59:57 ---> Running in 5dacc7e5bba1 15:59:57 Removing intermediate container 5dacc7e5bba1 15:59:57 ---> 6f8e160eae81 15:59:57 Step 24/25 : LABEL git_sha=684b3cc16076e0871f51c109ed11a84cd1314297 15:59:57 ---> Running in 1bd299d157fe 15:59:57 Removing intermediate container 1bd299d157fe 15:59:57 ---> 98d5d6e6c2c6 15:59:57 Step 25/25 : LABEL version=0.0.0 15:59:58 ---> Running in 084b44ffc2b3 15:59:58 Removing intermediate container 084b44ffc2b3 15:59:58 ---> e37cfbf41ab5 15:59:58 [Warning] One or more build-args [ARCH] were not consumed 15:59:58 Successfully built e37cfbf41ab5 15:59:58 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 15:59:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:59:59 15:59:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 15:59:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 15:59:59 latest: Pulling from edgex-lftools-log-publisher 15:59:59 5eb5b503b376: Pulling fs layer 15:59:59 5c69ac0246d0: Pulling fs layer 15:59:59 ec43610c2a17: Pulling fs layer 15:59:59 3a2ae6a8a46f: Pulling fs layer 15:59:59 33b1e0a273af: Pulling fs layer 15:59:59 5d3b04190fa2: Pulling fs layer 15:59:59 2f39f015ded8: Pulling fs layer 15:59:59 5d3b04190fa2: Waiting 15:59:59 2f39f015ded8: Waiting 15:59:59 3a2ae6a8a46f: Waiting 15:59:59 33b1e0a273af: Waiting 15:59:59 5c69ac0246d0: Download complete 15:59:59 3a2ae6a8a46f: Download complete 15:59:59 33b1e0a273af: Verifying Checksum 15:59:59 33b1e0a273af: Download complete 15:59:59 ec43610c2a17: Verifying Checksum 15:59:59 ec43610c2a17: Download complete 15:59:59 5d3b04190fa2: Verifying Checksum 15:59:59 5d3b04190fa2: Download complete 15:59:59 5eb5b503b376: Verifying Checksum 15:59:59 5eb5b503b376: Download complete 16:00:00 2f39f015ded8: Download complete 16:00:00 5eb5b503b376: Pull complete 16:00:00 5c69ac0246d0: Pull complete 16:00:01 ec43610c2a17: Pull complete 16:00:01 3a2ae6a8a46f: Pull complete 16:00:01 33b1e0a273af: Pull complete 16:00:01 5d3b04190fa2: Pull complete 16:00:05 2f39f015ded8: Pull complete 16:00:05 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:00:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:00:05 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:00:06 prd-ubuntu20.04-docker-8c-8g-118611 does not seem to be running inside a container 16:00:06 $ 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-228 -v /w/workspace/gexfoundry_device-rest-go_PR-228:/w/workspace/gexfoundry_device-rest-go_PR-228:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-228@tmp:/w/workspace/gexfoundry_device-rest-go_PR-228@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:00:07 $ docker top a6b1aa86e8c19b5c528de123ff2b3ea85b28e7e3281e622ae4e908285667069f -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:00:08 ---> job-cost.sh 16:00:08 lf-activate-venv: SKIPPING 16:00:08 INFO: No Stack... 16:00:08 INFO: Retrieving Pricing Info for: v3-standard-8 16:00:08 INFO: Archiving Costs [Pipeline] sh 16:00:09 + + cat /w/workspace/gexfoundry_device-rest-go_PR-228/archives/cost.csv 16:00:09 cut -d, -f6 [Pipeline] lock 16:00:09 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-228-1-stack-cost] 16:00:09 Resource [jenkins-edgexfoundry-device-rest-go-PR-228-1-stack-cost] did not exist. Created. 16:00:09 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-228-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:00:09 + echo total: 0.2199999988079071 [Pipeline] stash 16:00:09 Stashed 1 file(s) [Pipeline] } 16:00:09 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-228-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:00:09 $ docker stop --time=1 a6b1aa86e8c19b5c528de123ff2b3ea85b28e7e3281e622ae4e908285667069f 16:00:10 $ docker rm -f a6b1aa86e8c19b5c528de123ff2b3ea85b28e7e3281e622ae4e908285667069f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:01:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118614 in /w/workspace/gexfoundry_device-rest-go_PR-228 [Pipeline] { [Pipeline] ws 16:01:01 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 16:01:01 The recommended git tool is: git 16:01:07 using credential edgex-jenkins-ssh 16:01:07 Cloning the remote Git repository 16:01:07 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 16:01:07 > git init /w/workspace/device-rest-go/1 # timeout=10 16:01:07 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:01:07 > git --version # timeout=10 16:01:07 > git --version # 'git version 2.25.1' 16:01:07 using GIT_SSH to set credentials SSH Credentials for GitHub 16:01:07 Verifying host key using known hosts file 16:01:07 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. 16:01:07 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:01:09 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:01:09 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:01:10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:01:11 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:01:11 using GIT_SSH to set credentials SSH Credentials for GitHub 16:01:11 Verifying host key using known hosts file 16:01:11 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. 16:01:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/228/head:refs/remotes/origin/PR-228 +refs/heads/main:refs/remotes/origin/main # timeout=10 16:01:11 Merging remotes/origin/main commit 98c53550becdffe5607264f4f78746e0be51d9ff into PR head commit 684b3cc16076e0871f51c109ed11a84cd1314297 16:01:11 Merge succeeded, producing 684b3cc16076e0871f51c109ed11a84cd1314297 16:01:11 Checking out Revision 684b3cc16076e0871f51c109ed11a84cd1314297 (PR-228) 16:01:11 > git config core.sparsecheckout # timeout=10 16:01:11 > git checkout -f 684b3cc16076e0871f51c109ed11a84cd1314297 # timeout=10 16:01:11 > git remote # timeout=10 16:01:11 > git config --get remote.origin.url # timeout=10 16:01:11 using GIT_SSH to set credentials SSH Credentials for GitHub 16:01:11 Verifying host key using known hosts file 16:01:11 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. 16:01:11 > git merge 98c53550becdffe5607264f4f78746e0be51d9ff # timeout=10 16:01:11 > git rev-parse HEAD^{commit} # timeout=10 16:01:11 > git config core.sparsecheckout # timeout=10 16:01:11 > git checkout -f 684b3cc16076e0871f51c109ed11a84cd1314297 # timeout=10 16:01:15 Commit message: "build: Update to use released SDK" 16:01:15 > git --version # timeout=10 16:01:15 > git --version # 'git version 2.25.1' 16:01:15 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:01:16 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:01:16 % Total % Received % Xferd Average Speed Time Time Time Current 16:01:16 Dload Upload Total Spent Left Speed 16:01:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 192k 0 --:--:-- --:--:-- --:--:-- 192k [Pipeline] sh 16:01:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:01:17 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:01:17 + sudo tee /etc/docker/daemon.new 16:01:17 { 16:01:17 "registry-mirrors": [ 16:01:17 "https://nexus3.edgexfoundry.org:10001" 16:01:17 ], 16:01:17 "bip": "10.250.0.254/24", 16:01:17 "hosts": [ 16:01:17 "tcp://0.0.0.0:5555", 16:01:17 "unix:///var/run/docker.sock" 16:01:17 ], 16:01:17 "mtu": 1458, 16:01:17 "selinux-enabled": true, 16:01:17 "seccomp-profile": "/etc/docker/seccomp.json" 16:01:17 } [Pipeline] sh 16:01:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:01:18 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:01:40 provisioning config files... 16:01:40 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config11509570994776961042tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:01:41 ---> docker-login.sh 16:01:41 nexus3.edgexfoundry.org:10001 16:01:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:41 Configure a credential helper to remove this warning. See 16:01:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:41 16:01:41 Login Succeeded 16:01:41 nexus3.edgexfoundry.org:10002 16:01:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:42 Configure a credential helper to remove this warning. See 16:01:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:42 16:01:42 Login Succeeded 16:01:42 nexus3.edgexfoundry.org:10003 16:01:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:42 Configure a credential helper to remove this warning. See 16:01:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:42 16:01:42 Login Succeeded 16:01:42 nexus3.edgexfoundry.org:10004 16:01:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:43 Configure a credential helper to remove this warning. See 16:01:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:43 16:01:43 Login Succeeded 16:01:43 docker.io 16:01:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:01:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:01:43 Configure a credential helper to remove this warning. See 16:01:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:01:43 16:01:43 Login Succeeded 16:01:43 ---> docker-login.sh ends [Pipeline] } 16:01:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:01:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:01:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:01:44 ========================================================= 16:01:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:01:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:01:44 + 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 . 16:01:44 Sending build context to Docker daemon 129.5kB 16:01:44 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 16:01:44 Step 2/12 : FROM ${BASE} AS builder 16:01:45 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:01:45 9b18e9b68314: Pulling fs layer 16:01:45 35d82f9e3411: Pulling fs layer 16:01:45 e16973657156: Pulling fs layer 16:01:45 fc693d55d65f: Pulling fs layer 16:01:45 7e9fc2657dce: Pulling fs layer 16:01:45 dda99020689f: Pulling fs layer 16:01:45 db1c61fa0a46: Pulling fs layer 16:01:45 891c053d2c06: Pulling fs layer 16:01:45 fc693d55d65f: Waiting 16:01:45 7e9fc2657dce: Waiting 16:01:45 dda99020689f: Waiting 16:01:45 db1c61fa0a46: Waiting 16:01:45 e16973657156: Verifying Checksum 16:01:45 e16973657156: Download complete 16:01:45 35d82f9e3411: Download complete 16:01:45 7e9fc2657dce: Verifying Checksum 16:01:45 7e9fc2657dce: Download complete 16:01:45 dda99020689f: Verifying Checksum 16:01:45 dda99020689f: Download complete 16:01:45 9b18e9b68314: Download complete 16:01:46 9b18e9b68314: Pull complete 16:01:46 891c053d2c06: Verifying Checksum 16:01:46 35d82f9e3411: Pull complete 16:01:46 e16973657156: Pull complete 16:01:47 db1c61fa0a46: Verifying Checksum 16:01:47 db1c61fa0a46: Download complete 16:01:48 fc693d55d65f: Verifying Checksum 16:01:48 fc693d55d65f: Download complete 16:02:00 fc693d55d65f: Pull complete 16:02:00 7e9fc2657dce: Pull complete 16:02:00 dda99020689f: Pull complete 16:02:05 db1c61fa0a46: Pull complete 16:02:07 891c053d2c06: Pull complete 16:02:07 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 16:02:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:02:07 ---> f96f9c87975a 16:02:07 Step 3/12 : ARG ADD_BUILD_TAGS="" 16:02:09 ---> Running in 347c97688f25 16:02:09 Removing intermediate container 347c97688f25 16:02:09 ---> b1820f0da757 16:02:09 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:02:09 ---> Running in b26c7b73f472 16:02:10 Removing intermediate container b26c7b73f472 16:02:10 ---> 0afbba148c62 16:02:10 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:02:10 ---> Running in 6e741f80f24b 16:02:10 Removing intermediate container 6e741f80f24b 16:02:10 ---> 3aa97e2180cc 16:02:10 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 16:02:10 ---> Running in 7f3252c66eeb 16:02:11 Removing intermediate container 7f3252c66eeb 16:02:11 ---> 7076e3f017e9 16:02:11 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:02:11 ---> Running in 17096e374357 16:02:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:02:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:02:13 (1/4) Installing openssh-keygen (9.0_p1-r2) 16:02:13 (2/4) Installing libedit (20210910.3.1-r0) 16:02:13 (3/4) Installing openssh-client-common (9.0_p1-r2) 16:02:13 (4/4) Installing openssh-client-default (9.0_p1-r2) 16:02:13 Executing busybox-1.35.0-r17.trigger 16:02:13 OK: 226 MiB in 55 packages 16:02:14 Removing intermediate container 17096e374357 16:02:14 ---> bb7b483f034d 16:02:14 Step 8/12 : WORKDIR /device-rest-go 16:02:15 ---> Running in db7093d226dd 16:02:15 Removing intermediate container db7093d226dd 16:02:15 ---> 3b3faeef5eb3 16:02:15 Step 9/12 : COPY go.mod vendor* ./ 16:02:16 ---> b0d6705ec96e 16:02:16 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:02:16 ---> Running in 5f6696bfd474 16:03:12 Removing intermediate container 5f6696bfd474 16:03:12 ---> 9e4937042152 16:03:12 Step 11/12 : COPY . . 16:03:12 ---> c7a451722508 16:03:12 Step 12/12 : RUN $MAKE 16:03:12 ---> Running in 4bd1087aa689 16:03:13 noop 16:03:13 Removing intermediate container 4bd1087aa689 16:03:13 ---> db934d9f25bc 16:03:13 Successfully built db934d9f25bc 16:03:13 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:03:14 + docker inspect -f . ci-base-image-arm64 16:03:14 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:03:14 prd-ubuntu20.04-docker-arm64-4c-16g-118614 does not seem to be running inside a container 16:03:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:03:16 $ docker top 8fdbb3bcc810b086133c84db8dd1698efecead6d3b332afce5a81ebbf0694295 -eo pid,comm [Pipeline] { [Pipeline] sh 16:03:17 + go version 16:03:17 go version go1.18.7 linux/arm64 [Pipeline] } 16:03:17 $ docker stop --time=1 8fdbb3bcc810b086133c84db8dd1698efecead6d3b332afce5a81ebbf0694295 16:03:18 $ docker rm -f 8fdbb3bcc810b086133c84db8dd1698efecead6d3b332afce5a81ebbf0694295 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:03:19 + docker inspect -f . ci-base-image-arm64 16:03:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:03:20 prd-ubuntu20.04-docker-arm64-4c-16g-118614 does not seem to be running inside a container 16:03:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:03:21 $ docker top 19d859a71f7f3617e15a4bf8bc892a7bb1a54c7c6da6c6f00a00daba03677174 -eo pid,comm [Pipeline] { [Pipeline] sh 16:03:22 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 16:03:23 + make test 16:03:23 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:03:25 ? github.com/edgexfoundry/device-rest-go [no test files] 16:05:01 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 16:05:05 ok github.com/edgexfoundry/device-rest-go/driver 0.075s coverage: 55.2% of statements 16:05:05 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:05:05 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:05:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:05:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:05:37 ./bin/test-attribution-txt.sh [Pipeline] echo 16:05:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:05:37 $ docker stop --time=1 19d859a71f7f3617e15a4bf8bc892a7bb1a54c7c6da6c6f00a00daba03677174 16:05:39 $ docker rm -f 19d859a71f7f3617e15a4bf8bc892a7bb1a54c7c6da6c6f00a00daba03677174 [Pipeline] // withDockerContainer [Pipeline] sh 16:05:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:05:40 Warning: overwriting stash ‘coverage-report’ 16:05:41 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:05:42 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:05:42 + ls -al . 16:05:42 total 184 16:05:42 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 16:03 . 16:05:42 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:01 .. 16:05:42 -rw-rw-r-- 1 jenkins jenkins 151 Nov 8 16:01 .dockerignore 16:05:42 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 16:01 .git 16:05:42 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:01 .github 16:05:42 -rw-rw-r-- 1 jenkins jenkins 329 Nov 8 16:01 .gitignore 16:05:42 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 16:01 .golangci.yml 16:05:42 -rw-rw-r-- 1 jenkins jenkins 9100 Nov 8 16:01 Attribution.txt 16:05:42 -rw-rw-r-- 1 jenkins jenkins 13085 Nov 8 16:01 CHANGELOG.md 16:05:42 -rw-rw-r-- 1 jenkins jenkins 1641 Nov 8 16:01 Dockerfile 16:05:42 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 16:01 GOVERNANCE.md 16:05:42 -rw-rw-r-- 1 jenkins jenkins 680 Nov 8 16:01 Jenkinsfile 16:05:42 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 16:01 LICENSE 16:05:42 -rw-rw-r-- 1 jenkins jenkins 2173 Nov 8 16:01 Makefile 16:05:42 -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 16:01 OWNERS.md 16:05:42 -rw-rw-r-- 1 jenkins jenkins 8667 Nov 8 16:01 README.md 16:05:42 -rw-rw-r-- 1 jenkins jenkins 5 Nov 8 15:58 VERSION 16:05:42 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 16:01 bin 16:05:42 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:01 cmd 16:05:42 -rw-r--r-- 1 jenkins jenkins 9355 Nov 8 16:05 coverage.out 16:05:42 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 16:01 driver 16:05:42 -rw-rw-r-- 1 jenkins jenkins 3487 Nov 8 16:01 go.mod 16:05:42 -rw-rw-r-- 1 jenkins jenkins 44869 Nov 8 16:01 go.sum 16:05:42 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:01 snap 16:05:42 -rw-rw-r-- 1 jenkins jenkins 713 Nov 8 16:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:42 + 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=684b3cc16076e0871f51c109ed11a84cd1314297 --label arch=arm64 --label version=0.0.0 . 16:05:42 Sending build context to Docker daemon 139.8kB 16:05:43 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 16:05:43 Step 2/25 : FROM ${BASE} AS builder 16:05:43 ---> db934d9f25bc 16:05:43 Step 3/25 : ARG ADD_BUILD_TAGS="" 16:05:43 ---> Running in f9dd77016fa0 16:05:43 Removing intermediate container f9dd77016fa0 16:05:43 ---> 5e40bb1948e0 16:05:43 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:05:43 ---> Running in db495d2d64c5 16:05:44 Removing intermediate container db495d2d64c5 16:05:44 ---> 0cd11aee5784 16:05:44 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:05:44 ---> Running in a077587a24a0 16:05:44 Removing intermediate container a077587a24a0 16:05:44 ---> d99d5025e4ef 16:05:44 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 16:05:44 ---> Running in fc303e1c09b1 16:05:45 Removing intermediate container fc303e1c09b1 16:05:45 ---> 8b94aba03056 16:05:45 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:05:45 ---> Running in f102df0b0fa3 16:05:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:05:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:05:47 OK: 226 MiB in 55 packages 16:05:49 Removing intermediate container f102df0b0fa3 16:05:49 ---> bd2b47adf31e 16:05:49 Step 8/25 : WORKDIR /device-rest-go 16:05:49 ---> Running in 428242ffdf4a 16:05:49 Removing intermediate container 428242ffdf4a 16:05:49 ---> 9a93c071efbc 16:05:49 Step 9/25 : COPY go.mod vendor* ./ 16:05:50 ---> 88c9467a2008 16:05:50 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:05:50 ---> Running in 591458c04b40 16:05:52 Removing intermediate container 591458c04b40 16:05:52 ---> df44816a53d9 16:05:52 Step 11/25 : COPY . . 16:05:54 ---> 47f190caa945 16:05:54 Step 12/25 : RUN $MAKE 16:05:55 ---> Running in 819d239b4053 16:05: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 16:08:48 Removing intermediate container 819d239b4053 16:08:48 ---> 54c3581d0aae 16:08:48 Step 13/25 : FROM alpine:3.16 16:08:48 3.16: Pulling from library/alpine 16:08:48 9b18e9b68314: Already exists 16:08:48 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 16:08:48 Status: Downloaded newer image for alpine:3.16 16:08:48 ---> a6215f271958 16:08:48 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:08:48 ---> Running in a5fb0023a239 16:08:48 Removing intermediate container a5fb0023a239 16:08:48 ---> 06beb10f4ab2 16:08:48 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 16:08:48 ---> Running in 40214e3e3c27 16:08:48 Removing intermediate container 40214e3e3c27 16:08:48 ---> 28cc5a8c4eef 16:08:48 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 16:08:48 ---> Running in 2d2ebf7fca91 16:08:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:08:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:08:48 (1/6) Installing dumb-init (1.2.5-r1) 16:08:48 (2/6) Installing libgcc (11.2.1_git20220219-r2) 16:08:48 (3/6) Installing libsodium (1.0.18-r0) 16:08:48 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 16:08:48 (5/6) Installing libzmq (4.3.4-r0) 16:08:48 (6/6) Installing zeromq (4.3.4-r0) 16:08:48 Executing busybox-1.35.0-r17.trigger 16:08:48 OK: 8 MiB in 20 packages 16:08:48 Removing intermediate container 2d2ebf7fca91 16:08:48 ---> 588503eab552 16:08:48 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 16:08:48 ---> 1af4ddf79651 16:08:48 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 16:08:48 ---> 4bb616b87f36 16:08:48 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 16:08:48 ---> f1f91ab5e05a 16:08:48 Step 20/25 : EXPOSE 59986 16:08:48 ---> Running in 609d42d43f9f 16:08:48 Removing intermediate container 609d42d43f9f 16:08:48 ---> bcd31645dc85 16:08:48 Step 21/25 : ENTRYPOINT ["/device-rest"] 16:08:48 ---> Running in 14bcee3f159b 16:08:48 Removing intermediate container 14bcee3f159b 16:08:48 ---> c680ef51d1e2 16:08:48 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 16:08:48 ---> Running in 35e82fabf980 16:08:48 Removing intermediate container 35e82fabf980 16:08:48 ---> cdfff8ae18cc 16:08:48 Step 23/25 : LABEL arch=arm64 16:08:48 ---> Running in 32781b6e06dd 16:08:48 Removing intermediate container 32781b6e06dd 16:08:48 ---> 32606e52a5da 16:08:48 Step 24/25 : LABEL git_sha=684b3cc16076e0871f51c109ed11a84cd1314297 16:08:48 ---> Running in 6a3699a2c722 16:08:48 Removing intermediate container 6a3699a2c722 16:08:48 ---> e8ea5404cc5c 16:08:48 Step 25/25 : LABEL version=0.0.0 16:08:48 ---> Running in f2dc33f3e8b9 16:08:48 Removing intermediate container f2dc33f3e8b9 16:08:48 ---> 53053d851ccd 16:08:48 [Warning] One or more build-args [ARCH] were not consumed 16:08:48 Successfully built 53053d851ccd 16:08:48 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 16:08:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:08:49 16:08:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:49 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:08:49 arm64: Pulling from edgex-lftools-log-publisher 16:08:49 8998bd30e6a1: Pulling fs layer 16:08:49 04944245beec: Pulling fs layer 16:08:49 699f458cf7ca: Pulling fs layer 16:08:49 765212b225bb: Pulling fs layer 16:08:49 f23df028b6ca: Pulling fs layer 16:08:49 d65c8cfc05b1: Pulling fs layer 16:08:49 2437ff75d9bd: Pulling fs layer 16:08:49 765212b225bb: Waiting 16:08:49 f23df028b6ca: Waiting 16:08:49 d65c8cfc05b1: Waiting 16:08:49 2437ff75d9bd: Waiting 16:08:49 04944245beec: Verifying Checksum 16:08:49 04944245beec: Download complete 16:08:49 765212b225bb: Verifying Checksum 16:08:49 765212b225bb: Download complete 16:08:49 f23df028b6ca: Download complete 16:08:49 d65c8cfc05b1: Verifying Checksum 16:08:49 d65c8cfc05b1: Download complete 16:08:50 699f458cf7ca: Verifying Checksum 16:08:50 699f458cf7ca: Download complete 16:08:50 8998bd30e6a1: Download complete 16:08:52 2437ff75d9bd: Verifying Checksum 16:08:52 2437ff75d9bd: Download complete 16:08:54 8998bd30e6a1: Pull complete 16:08:54 04944245beec: Pull complete 16:08:56 699f458cf7ca: Pull complete 16:08:56 765212b225bb: Pull complete 16:08:57 f23df028b6ca: Pull complete 16:08:57 d65c8cfc05b1: Pull complete 16:09:12 2437ff75d9bd: Pull complete 16:09:12 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:09:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:09:12 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:09:12 prd-ubuntu20.04-docker-arm64-4c-16g-118614 does not seem to be running inside a container 16:09:12 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:09:15 $ docker top 722208b10d6b9898b48bdbcfc80598d2b736e68e4f0ccb999af6986c402f0d8e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:09:16 ---> job-cost.sh 16:09:16 lf-activate-venv: SKIPPING 16:09:16 INFO: No Stack... 16:09:16 INFO: Retrieving Pricing Info for: v3-standard-4 16:09:17 INFO: Archiving Costs [Pipeline] sh 16:09:17 + cut -d, -f6 16:09:17 + cat /w/workspace/device-rest-go/1/archives/cost.csv [Pipeline] lock 16:09:18 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-228-1-stack-cost] 16:09:18 Resource [jenkins-edgexfoundry-device-rest-go-PR-228-1-stack-cost] did not exist. Created. 16:09:18 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-228-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:09:18 /w/workspace/device-rest-go/1@tmp/durable-fee6de79/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:09:19 + echo total: 0.10999999940395355 [Pipeline] stash 16:09:19 Warning: overwriting stash ‘stack-cost’ 16:09:19 Stashed 1 file(s) [Pipeline] } 16:09:19 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-228-1-stack-cost] [Pipeline] // lock [Pipeline] } 16:09:19 $ docker stop --time=1 722208b10d6b9898b48bdbcfc80598d2b736e68e4f0ccb999af6986c402f0d8e 16:09:21 $ docker rm -f 722208b10d6b9898b48bdbcfc80598d2b736e68e4f0ccb999af6986c402f0d8e [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 16:09:22 provisioning config files... 16:09:22 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-228@tmp/config4304798199797352746tmp [Pipeline] { [Pipeline] sh 16:09:22 + set +x 16:09:22 + curl -s https://codecov.io/bash 16:09:22 + bash -s -- 16:09:22 16:09:22 _____ _ 16:09:22 / ____| | | 16:09:22 | | ___ __| | ___ ___ _____ __ 16:09:22 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:09:22 | |___| (_) | (_| | __/ (_| (_) \ V / 16:09:22 \_____\___/ \__,_|\___|\___\___/ \_/ 16:09:22 Bash-1.0.6 16:09:22 16:09:22 16:09:22 ==> git version 2.25.1 found 16:09:22 ==> 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 16:09:22 Release-Date: 2020-01-08 16:09:22 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:09:22 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:09:22 ==> Jenkins CI detected. 16:09:22 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-228 16:09:22 project root: . 16:09:22 --> token set from env 16:09:22 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:09:22 ==> Running gcov in . (disable via -X gcov) 16:09:22 ==> Python coveragepy not found 16:09:22 ==> Searching for coverage reports in: 16:09:22 + . 16:09:22 -> Found 1 reports 16:09:22 ==> Detecting git/mercurial file structure 16:09:22 ==> Reading reports 16:09:22 + ./coverage.out bytes=9355 16:09:22 ==> Appending adjustments 16:09:22 https://docs.codecov.io/docs/fixing-reports 16:09:22 + Found adjustments 16:09:22 ==> Gzipping contents 16:09:22 4.0K /tmp/codecov.ucmzn2.gz 16:09:22 ==> Uploading reports 16:09:22 url: https://codecov.io 16:09:22 query: branch=PR-228&commit=684b3cc16076e0871f51c109ed11a84cd1314297&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-228%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=228&job=&cmd_args= 16:09:22 -> Pinging Codecov 16:09:22 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-228&commit=684b3cc16076e0871f51c109ed11a84cd1314297&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-228%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=228&job=&cmd_args= 16:09:23 -> Uploading to 16:09:23 https://storage.googleapis.com/codecov/v4/raw/2022-11-08/4E5D53B4F1F92C436F7061BF334D961C/684b3cc16076e0871f51c109ed11a84cd1314297/5b2cf958-0640-4a22-a9b7-133a0759e89f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221108T160923Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4e164aa9d5a244b9d34174a5c6b8312c5c076e6aaa931e122e443c643dff41ab 16:09:23 % Total % Received % Xferd Average Speed Time Time Time Current 16:09:23 Dload Upload Total Spent Left Speed 16:09:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 7523 --:--:-- --:--:-- --:--:-- 7491 16:09:23 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/684b3cc16076e0871f51c109ed11a84cd1314297 [Pipeline] } 16:09:23 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 16:09:25 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-228/archives ] 16:09:25 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-228/archives 16:09:25 total 16 16:09:25 drwxr-xr-x 3 root root 4096 Nov 8 16:00 . 16:09:25 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 16:00 .. 16:09:25 drwxr-xr-x 2 root root 4096 Nov 8 16:00 cost 16:09:25 -rw-r--r-- 1 root root 86 Nov 8 16:00 cost.csv 16:09:25 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-228/archives 16:09:25 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-228/archives 16:09:25 total 16 16:09:25 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 16:00 . 16:09:25 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 16:00 .. 16:09:25 drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 16:00 cost 16:09:25 -rw-r--r-- 1 jenkins jenkins 86 Nov 8 16:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:09:25 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:09:26 ---> package-listing.sh 16:09:26 ++ facter osfamily 16:09:26 ++ tr '[:upper:]' '[:lower:]' 16:09:26 + OS_FAMILY=debian 16:09:26 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-228 16:09:26 + START_PACKAGES=/tmp/packages_start.txt 16:09:26 + END_PACKAGES=/tmp/packages_end.txt 16:09:26 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:09:26 + PACKAGES=/tmp/packages_start.txt 16:09:26 + '[' /w/workspace/gexfoundry_device-rest-go_PR-228 ']' 16:09:26 + PACKAGES=/tmp/packages_end.txt 16:09:26 + case "${OS_FAMILY}" in 16:09:26 + dpkg -l 16:09:26 + grep '^ii' 16:09:26 + '[' -f /tmp/packages_start.txt ']' 16:09:26 + '[' -f /tmp/packages_end.txt ']' 16:09:26 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:09:26 + '[' /w/workspace/gexfoundry_device-rest-go_PR-228 ']' 16:09:26 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-228/archives/ 16:09:26 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-228/archives/ [Pipeline] echo 16:09:26 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-228/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:09:27 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:09:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:09:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:09:27 prd-ubuntu20.04-docker-8c-8g-118611 does not seem to be running inside a container 16:09:27 $ 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-228/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-228 -v /w/workspace/gexfoundry_device-rest-go_PR-228:/w/workspace/gexfoundry_device-rest-go_PR-228:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-228@tmp:/w/workspace/gexfoundry_device-rest-go_PR-228@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:09:28 $ docker top 1fa6db40322ff98ffa01544908e3243009b27a3c358fcb7eee1e53983c3437b3 -eo pid,comm [Pipeline] { [Pipeline] sh 16:09:28 + touch /tmp/pre-build-complete [Pipeline] sh 16:09:28 + mkdir -p /var/log/sysstat [Pipeline] sh 16:09:29 + ls /var/log/sa-host 16:09:29 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:09:29 provisioning config files... 16:09:29 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-228@tmp/config9585350819688685066tmp [Pipeline] { [Pipeline] echo 16:09:29 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:09:29 ---> create-netrc.sh [Pipeline] } 16:09:29 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:09:30 ---> python-tools-install.sh [Pipeline] echo 16:09:30 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:09:30 ---> sudo-logs.sh 16:09:30 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:09:30 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:09:30 ---> job-cost.sh 16:09:30 lf-activate-venv: SKIPPING 16:09:30 DEBUG: total: 0.2199999988079071 16:09:30 INFO: Retrieving Stack Cost... 16:09:31 INFO: Retrieving Pricing Info for: v3-standard-8 16:09:31 INFO: Archiving Costs [Pipeline] echo 16:09:31 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:09:32 ---> logs-deploy.sh 16:09:32 lf-activate-venv: SKIPPING 16:09:32 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-228/1 16:09:32 INFO: archiving workspace using pattern(s): 16:09:33 Archives upload complete. 16:09:33 INFO: archiving logs to Nexus