Pull request #225 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 aa00165741bec1656c685d0c62563bdb56a3afb8+811e52826d6202cae27d826a4f6ae05b050034a3 (7d4348b31d903ad955572db6a971c4c7f46c65fb) 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-ssh7087938846833553984.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-ssh181893552797494833.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-225/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-225/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh1096817725099177760.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-225/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15439240563081775463.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-ssh12100593911296142392.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-225/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-225/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9292327499604056040.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 > git --version # timeout=10 > git --version # 'git version 2.16.6' fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-117979 in /w/workspace/gexfoundry_device-rest-go_PR-225 [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-225 # 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/225/head:refs/remotes/origin/PR-225 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 811e52826d6202cae27d826a4f6ae05b050034a3 into PR head commit aa00165741bec1656c685d0c62563bdb56a3afb8 Merge succeeded, producing aa00165741bec1656c685d0c62563bdb56a3afb8 Checking out Revision aa00165741bec1656c685d0c62563bdb56a3afb8 (PR-225) > git config core.sparsecheckout # timeout=10 > git checkout -f aa00165741bec1656c685d0c62563bdb56a3afb8 # 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 811e52826d6202cae27d826a4f6ae05b050034a3 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f aa00165741bec1656c685d0c62563bdb56a3afb8 # timeout=10 Commit message: "docs: Levski Change Log" 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 21:36:39 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:36:39 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:36:40 ========================================================= 21:36:40 EdgeX Global Pipelines Version Info 21:36:40 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:36:40 ------------------- 21:36:40 stable info: 21:36:40 ------------------- 21:36:40 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:36:40 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:36:40 Message: update stable to v1.0.244 21:36:41 ------------------- 21:36:41 experimental info: 21:36:41 ------------------- 21:36:41 Commited By: **** collab-it+edgex@linuxfoundation.org 21:36:41 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:36:41 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:36:41 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 21:36:41 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 21:36:41 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:36:41 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:36:41 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:36:41 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:36:41 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:36:41 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-225 [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-225 [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-225 [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = aa00165741bec1656c685d0c62563bdb56a3afb8 [Pipeline] echo 21:36:42 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = aa00165 [Pipeline] echo 21:36:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:36:43 provisioning config files... 21:36:43 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-225@tmp/config15753237297294764107tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:36:43 ---> docker-login.sh 21:36:43 nexus3.edgexfoundry.org:10001 21:36:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:43 Configure a credential helper to remove this warning. See 21:36:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:43 21:36:43 Login Succeeded 21:36:43 nexus3.edgexfoundry.org:10002 21:36:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:43 Configure a credential helper to remove this warning. See 21:36:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:43 21:36:43 Login Succeeded 21:36:43 nexus3.edgexfoundry.org:10003 21:36:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:43 Configure a credential helper to remove this warning. See 21:36:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:43 21:36:43 Login Succeeded 21:36:43 nexus3.edgexfoundry.org:10004 21:36:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:43 Configure a credential helper to remove this warning. See 21:36:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:43 21:36:43 Login Succeeded 21:36:43 docker.io 21:36:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:36:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:36:44 Configure a credential helper to remove this warning. See 21:36:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:36:44 21:36:44 Login Succeeded 21:36:44 ---> docker-login.sh ends [Pipeline] } 21:36:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:36:45 + git rev-list -1 --merges aa00165741bec1656c685d0c62563bdb56a3afb8~1..aa00165741bec1656c685d0c62563bdb56a3afb8 [Pipeline] echo 21:36:45 -----------> git rev-list -1 --merges aa00165741bec1656c685d0c62563bdb56a3afb8~1..aa00165741bec1656c685d0c62563bdb56a3afb8 aa00165741bec1656c685d0c62563bdb56a3afb8 [false] [Pipeline] sh 21:36:45 + git log --format=format:%s -1 aa00165741bec1656c685d0c62563bdb56a3afb8 [Pipeline] echo 21:36:45 ========================================================= 21:36:45 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:36:45 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:36:45 + git log --format=format:%s -1 aa00165741bec1656c685d0c62563bdb56a3afb8 [Pipeline] echo 21:36:46 [semverPrep] GIT_COMMIT: aa00165741bec1656c685d0c62563bdb56a3afb8, Commit Message: docs: Levski Change Log [Pipeline] echo 21:36:46 [semverPrep] This is not a build commit. [Pipeline] sh 21:36:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:36:46 + grep -v github /etc/ssh/ssh_known_hosts 21:36:46 + [ -e /tmp/ssh_known_hosts ] 21:36:46 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:36:46 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:36:46 + sudo tee -a /etc/ssh/ssh_known_hosts 21:36:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:36:46 21:36:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:36:47 0.1.4: Pulling from edgex-devops/py-git-semver 21:36:47 b85a868b505f: Pulling fs layer 21:36:47 e2be974225ed: Pulling fs layer 21:36:47 339a4e72a1f5: Pulling fs layer 21:36:47 988bab9f4d93: Pulling fs layer 21:36:47 1469e6f7b9e6: Pulling fs layer 21:36:47 eaf3925da568: Pulling fs layer 21:36:47 bab4dde63d76: Pulling fs layer 21:36:47 bde34c3a00c8: Pulling fs layer 21:36:47 b352a97aabf1: Pulling fs layer 21:36:47 4872d77fe225: Pulling fs layer 21:36:47 5851b861e8e6: Pulling fs layer 21:36:47 988bab9f4d93: Waiting 21:36:47 b352a97aabf1: Waiting 21:36:47 4872d77fe225: Waiting 21:36:47 5851b861e8e6: Waiting 21:36:47 bde34c3a00c8: Waiting 21:36:47 1469e6f7b9e6: Waiting 21:36:47 eaf3925da568: Waiting 21:36:47 e2be974225ed: Verifying Checksum 21:36:47 e2be974225ed: Download complete 21:36:47 988bab9f4d93: Verifying Checksum 21:36:47 988bab9f4d93: Download complete 21:36:47 339a4e72a1f5: Verifying Checksum 21:36:47 339a4e72a1f5: Download complete 21:36:47 1469e6f7b9e6: Verifying Checksum 21:36:47 1469e6f7b9e6: Download complete 21:36:47 eaf3925da568: Download complete 21:36:47 bde34c3a00c8: Verifying Checksum 21:36:47 bde34c3a00c8: Download complete 21:36:47 b352a97aabf1: Verifying Checksum 21:36:47 b352a97aabf1: Download complete 21:36:47 4872d77fe225: Verifying Checksum 21:36:47 4872d77fe225: Download complete 21:36:47 5851b861e8e6: Verifying Checksum 21:36:47 5851b861e8e6: Download complete 21:36:47 b85a868b505f: Verifying Checksum 21:36:47 b85a868b505f: Download complete 21:36:47 bab4dde63d76: Verifying Checksum 21:36:47 bab4dde63d76: Download complete 21:36:48 b85a868b505f: Pull complete 21:36:48 e2be974225ed: Pull complete 21:36:49 339a4e72a1f5: Pull complete 21:36:49 988bab9f4d93: Pull complete 21:36:49 1469e6f7b9e6: Pull complete 21:36:49 eaf3925da568: Pull complete 21:36:51 bab4dde63d76: Pull complete 21:36:51 bde34c3a00c8: Pull complete 21:36:51 b352a97aabf1: Pull complete 21:36:51 4872d77fe225: Pull complete 21:36:51 5851b861e8e6: Pull complete 21:36:51 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:36:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:36:51 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:36:52 prd-ubuntu20.04-docker-8c-8g-117979 does not seem to be running inside a container 21:36:52 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-225 -v /w/workspace/gexfoundry_device-rest-go_PR-225:/w/workspace/gexfoundry_device-rest-go_PR-225:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-225@tmp:/w/workspace/gexfoundry_device-rest-go_PR-225@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 21:36:53 $ docker top 62a20fbc007e354376e017685a5d0f6a97cb33a42594af3a2f104c81f1d10a92 -eo pid,comm 21:36:53 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). 21:36:53 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:36:53 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:36:53 [ssh-agent] Looking for ssh-agent implementation... 21:36:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:36:53 $ docker exec 62a20fbc007e354376e017685a5d0f6a97cb33a42594af3a2f104c81f1d10a92 ssh-agent 21:36:53 SSH_AUTH_SOCK=/tmp/ssh-Ha4y8m8O7xwp/agent.32 21:36:53 SSH_AGENT_PID=38 21:36:53 Running ssh-add (command line suppressed) 21:36:54 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-225@tmp/private_key_5784998873458667076.key (/w/workspace/gexfoundry_device-rest-go_PR-225@tmp/private_key_5784998873458667076.key) 21:36:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:36:54 + git tag --points-at HEAD [Pipeline] } 21:36:54 $ docker exec --env ******** --env ******** 62a20fbc007e354376e017685a5d0f6a97cb33a42594af3a2f104c81f1d10a92 ssh-agent -k 21:36:54 unset SSH_AUTH_SOCK; 21:36:54 unset SSH_AGENT_PID; 21:36:54 echo Agent pid 38 killed; 21:36:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:36:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:36:54 [ssh-agent] Looking for ssh-agent implementation... 21:36:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:36:54 $ docker exec 62a20fbc007e354376e017685a5d0f6a97cb33a42594af3a2f104c81f1d10a92 ssh-agent 21:36:54 SSH_AUTH_SOCK=/tmp/ssh-DKZdAJMW0tlU/agent.70 21:36:54 SSH_AGENT_PID=76 21:36:54 Running ssh-add (command line suppressed) 21:36:54 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-225@tmp/private_key_3247984976811163754.key (/w/workspace/gexfoundry_device-rest-go_PR-225@tmp/private_key_3247984976811163754.key) 21:36:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:36:55 + git semver init 21:36:55 2022-11-02 21:36:55,475 [run_init] DEBUG init version:0.0.0 force:False 21:36:55 2022-11-02 21:36:55,476 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-225/.semver 21:36:55 2022-11-02 21:36:55,476 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-225/.semver 21:36:55 2022-11-02 21:36:55,477 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-225/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-225, universal_newlines=False, shell=None, istream=None) 21:36:56 2022-11-02 21:36:56,594 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-225/.git/info/exclude 21:36:56 2022-11-02 21:36:56,595 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-225/.semver/PR-225 with force:False 21:36:56 2022-11-02 21:36:56,595 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-225/.semver/PR-225 21:36:56 2022-11-02 21:36:56,599 [execute] INFO git cat-file --batch-check 21:36:56 2022-11-02 21:36:56,600 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-225/.semver, universal_newlines=False, shell=None, istream=) 21:36:56 2022-11-02 21:36:56,606 [execute] INFO git cat-file --batch 21:36:56 2022-11-02 21:36:56,606 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-225/.semver, universal_newlines=False, shell=None, istream=) 21:36:56 2022-11-02 21:36:56,613 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-225/.semver/PR-225 21:36:56 0.0.0 [Pipeline] } 21:36:56 $ docker exec --env ******** --env ******** 62a20fbc007e354376e017685a5d0f6a97cb33a42594af3a2f104c81f1d10a92 ssh-agent -k 21:36:57 unset SSH_AUTH_SOCK; 21:36:57 unset SSH_AGENT_PID; 21:36:57 echo Agent pid 76 killed; 21:36:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:36:57 + git semver [Pipeline] } 21:36:57 $ docker stop --time=1 62a20fbc007e354376e017685a5d0f6a97cb33a42594af3a2f104c81f1d10a92 21:36:59 $ docker rm -f 62a20fbc007e354376e017685a5d0f6a97cb33a42594af3a2f104c81f1d10a92 [Pipeline] // withDockerContainer [Pipeline] sh 21:36:59 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:36:59 Stashed 1 file(s) [Pipeline] echo 21:36:59 [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 21:37:00 provisioning config files... 21:37:00 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-225@tmp/config10314872165069828830tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:37:00 ---> docker-login.sh 21:37:00 nexus3.edgexfoundry.org:10001 21:37:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:00 Configure a credential helper to remove this warning. See 21:37:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:00 21:37:00 Login Succeeded 21:37:00 nexus3.edgexfoundry.org:10002 21:37:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:00 Configure a credential helper to remove this warning. See 21:37:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:00 21:37:00 Login Succeeded 21:37:00 nexus3.edgexfoundry.org:10003 21:37:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:00 Configure a credential helper to remove this warning. See 21:37:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:00 21:37:00 Login Succeeded 21:37:00 nexus3.edgexfoundry.org:10004 21:37:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:01 Configure a credential helper to remove this warning. See 21:37:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:01 21:37:01 Login Succeeded 21:37:01 docker.io 21:37:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:37:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:37:01 Configure a credential helper to remove this warning. See 21:37:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:37:01 21:37:01 Login Succeeded 21:37:01 ---> docker-login.sh ends [Pipeline] } 21:37:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:37:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:37:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:37:01 ========================================================= 21:37:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:37:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:02 + 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 . 21:37:02 Sending build context to Docker daemon 10.75MB 21:37:02 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 21:37:02 Step 2/12 : FROM ${BASE} AS builder 21:37:02 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:37:02 213ec9aee27d: Pulling fs layer 21:37:02 4583459ba037: Pulling fs layer 21:37:02 93c1e223e6f2: Pulling fs layer 21:37:02 53926ce57604: Pulling fs layer 21:37:02 21b2b0c7a3f4: Pulling fs layer 21:37:02 22ff95d597cd: Pulling fs layer 21:37:02 12d6caf4c0d1: Pulling fs layer 21:37:02 96b7cbca73a9: Pulling fs layer 21:37:02 a7acece74701: Pulling fs layer 21:37:02 53926ce57604: Waiting 21:37:02 22ff95d597cd: Waiting 21:37:02 12d6caf4c0d1: Waiting 21:37:02 96b7cbca73a9: Waiting 21:37:02 21b2b0c7a3f4: Waiting 21:37:02 a7acece74701: Waiting 21:37:02 93c1e223e6f2: Download complete 21:37:02 4583459ba037: Verifying Checksum 21:37:02 4583459ba037: Download complete 21:37:02 21b2b0c7a3f4: Download complete 21:37:02 22ff95d597cd: Download complete 21:37:02 12d6caf4c0d1: Verifying Checksum 21:37:02 12d6caf4c0d1: Download complete 21:37:02 213ec9aee27d: Pull complete 21:37:02 4583459ba037: Pull complete 21:37:02 93c1e223e6f2: Pull complete 21:37:03 a7acece74701: Download complete 21:37:03 96b7cbca73a9: Verifying Checksum 21:37:03 96b7cbca73a9: Download complete 21:37:03 53926ce57604: Verifying Checksum 21:37:03 53926ce57604: Download complete 21:37:07 53926ce57604: Pull complete 21:37:07 21b2b0c7a3f4: Pull complete 21:37:07 22ff95d597cd: Pull complete 21:37:07 12d6caf4c0d1: Pull complete 21:37:09 96b7cbca73a9: Pull complete 21:37:09 a7acece74701: Pull complete 21:37:09 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 21:37:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:37:09 ---> db6d94c90886 21:37:09 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:37:12 ---> Running in 947f5b5f7e33 21:37:12 Removing intermediate container 947f5b5f7e33 21:37:12 ---> d454db597558 21:37:12 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:37:12 ---> Running in 4fe8ecaf5f41 21:37:12 Removing intermediate container 4fe8ecaf5f41 21:37:12 ---> c8d698374b96 21:37:12 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:37:12 ---> Running in 9b48a34681ac 21:37:12 Removing intermediate container 9b48a34681ac 21:37:12 ---> 7119e971ede9 21:37:12 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:37:12 ---> Running in ec2a5aadcd89 21:37:12 Removing intermediate container ec2a5aadcd89 21:37:12 ---> 788841bc9c7a 21:37:12 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:37:12 ---> Running in f486beee0c0f 21:37:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:37:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:37:13 (1/4) Installing openssh-keygen (9.0_p1-r2) 21:37:13 (2/4) Installing libedit (20210910.3.1-r0) 21:37:13 (3/4) Installing openssh-client-common (9.0_p1-r2) 21:37:13 (4/4) Installing openssh-client-default (9.0_p1-r2) 21:37:13 Executing busybox-1.35.0-r17.trigger 21:37:13 OK: 216 MiB in 55 packages 21:37:13 Removing intermediate container f486beee0c0f 21:37:13 ---> efd381d9ae11 21:37:13 Step 8/12 : WORKDIR /device-rest-go 21:37:13 ---> Running in 6a6e4a24c2cb 21:37:13 Removing intermediate container 6a6e4a24c2cb 21:37:13 ---> bc20e4997dfd 21:37:13 Step 9/12 : COPY go.mod vendor* ./ 21:37:14 ---> 21c04805055f 21:37:14 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:37:14 ---> Running in dbb58c18c536 21:37:15 Still waiting to schedule task 21:37:15 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:37:32 Removing intermediate container dbb58c18c536 21:37:32 ---> aaf927634329 21:37:32 Step 11/12 : COPY . . 21:37:32 ---> f4ed928cc4b7 21:37:32 Step 12/12 : RUN $MAKE 21:37:32 ---> Running in 747f496d7e2a 21:37:32 noop 21:37:32 Removing intermediate container 747f496d7e2a 21:37:32 ---> 967976995e06 21:37:32 Successfully built 967976995e06 21:37:32 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:33 + docker inspect -f . ci-base-image-x86_64 21:37:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:37:33 prd-ubuntu20.04-docker-8c-8g-117979 does not seem to be running inside a container 21:37:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-225 -v /w/workspace/gexfoundry_device-rest-go_PR-225:/w/workspace/gexfoundry_device-rest-go_PR-225:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-225@tmp:/w/workspace/gexfoundry_device-rest-go_PR-225@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 21:37:33 $ docker top 5f97a7bb1ae53b6593a155699b7e9d02c807524eb821c2f7ecbe733219344116 -eo pid,comm [Pipeline] { [Pipeline] sh 21:37:34 + go version 21:37:34 go version go1.18.7 linux/amd64 [Pipeline] } 21:37:34 $ docker stop --time=1 5f97a7bb1ae53b6593a155699b7e9d02c807524eb821c2f7ecbe733219344116 21:37:35 $ docker rm -f 5f97a7bb1ae53b6593a155699b7e9d02c807524eb821c2f7ecbe733219344116 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:36 + docker inspect -f . ci-base-image-x86_64 21:37:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:37:36 prd-ubuntu20.04-docker-8c-8g-117979 does not seem to be running inside a container 21:37:36 $ 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-225 -v /w/workspace/gexfoundry_device-rest-go_PR-225:/w/workspace/gexfoundry_device-rest-go_PR-225:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-225@tmp:/w/workspace/gexfoundry_device-rest-go_PR-225@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 21:37:36 $ docker top c87696f24167d669bbe56d4f6a2eaa6a3b0fa6ba43497cc2134421d0624dbe9f -eo pid,comm [Pipeline] { [Pipeline] sh 21:37:36 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-225 [Pipeline] fileExists [Pipeline] sh 21:37:37 + make test 21:37:37 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:37:37 ? github.com/edgexfoundry/device-rest-go [no test files] 21:37:47 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:37:47 ok github.com/edgexfoundry/device-rest-go/driver 0.019s coverage: 55.2% of statements 21:37:54 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." 21:37:54 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:37:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:37:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:37:56 ./bin/test-attribution-txt.sh [Pipeline] echo 21:37:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:37:56 $ docker stop --time=1 c87696f24167d669bbe56d4f6a2eaa6a3b0fa6ba43497cc2134421d0624dbe9f 21:37:57 $ docker rm -f c87696f24167d669bbe56d4f6a2eaa6a3b0fa6ba43497cc2134421d0624dbe9f [Pipeline] // withDockerContainer [Pipeline] sh 21:37:58 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:37:58 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:37:59 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:37:59 + ls -al . 21:37:59 total 188 21:37:59 drwxrwxr-x 9 jenkins jenkins 4096 Nov 2 21:37 . 21:37:59 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 21:36 .. 21:37:59 -rw-rw-r-- 1 jenkins jenkins 151 Nov 2 21:36 .dockerignore 21:37:59 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 21:37 .git 21:37:59 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 21:36 .github 21:37:59 -rw-rw-r-- 1 jenkins jenkins 329 Nov 2 21:36 .gitignore 21:37:59 -rw-rw-r-- 1 jenkins jenkins 41 Nov 2 21:36 .golangci.yml 21:37:59 drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 21:36 .semver 21:37:59 -rw-rw-r-- 1 jenkins jenkins 9100 Nov 2 21:36 Attribution.txt 21:37:59 -rw-rw-r-- 1 jenkins jenkins 13085 Nov 2 21:36 CHANGELOG.md 21:37:59 -rw-rw-r-- 1 jenkins jenkins 1641 Nov 2 21:36 Dockerfile 21:37:59 -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 21:36 GOVERNANCE.md 21:37:59 -rw-rw-r-- 1 jenkins jenkins 680 Nov 2 21:36 Jenkinsfile 21:37:59 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 2 21:36 LICENSE 21:37:59 -rw-rw-r-- 1 jenkins jenkins 2173 Nov 2 21:36 Makefile 21:37:59 -rw-rw-r-- 1 jenkins jenkins 620 Nov 2 21:36 OWNERS.md 21:37:59 -rw-rw-r-- 1 jenkins jenkins 8667 Nov 2 21:36 README.md 21:37:59 -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 21:36 VERSION 21:37:59 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 21:36 bin 21:37:59 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 21:36 cmd 21:37:59 -rw-r--r-- 1 jenkins jenkins 9355 Nov 2 21:37 coverage.out 21:37:59 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 21:36 driver 21:37:59 -rw-rw-r-- 1 jenkins jenkins 3536 Nov 2 21:36 go.mod 21:37:59 -rw-rw-r-- 1 jenkins jenkins 44967 Nov 2 21:36 go.sum 21:37:59 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 21:36 snap 21:37:59 -rw-rw-r-- 1 jenkins jenkins 713 Nov 2 21:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:37:59 + 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=aa00165741bec1656c685d0c62563bdb56a3afb8 --label arch=amd64 --label version=0.0.0 . 21:37:59 Sending build context to Docker daemon 10.76MB 21:37:59 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 21:37:59 Step 2/25 : FROM ${BASE} AS builder 21:37:59 ---> 967976995e06 21:37:59 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:37:59 ---> Running in acc834617327 21:38:00 Removing intermediate container acc834617327 21:38:00 ---> 6d00fcf52ce6 21:38:00 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:38:00 ---> Running in 14c7fe145d16 21:38:00 Removing intermediate container 14c7fe145d16 21:38:00 ---> 81004c8d5e6b 21:38:00 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:38:00 ---> Running in 26f7629f2b93 21:38:00 Removing intermediate container 26f7629f2b93 21:38:00 ---> be35deff9efd 21:38:00 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:38:00 ---> Running in b9ab79eb336e 21:38:00 Removing intermediate container b9ab79eb336e 21:38:00 ---> fb02e0514862 21:38:00 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:38:00 ---> Running in 9d0ae68e6fee 21:38:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:38:00 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:38:00 OK: 216 MiB in 55 packages 21:38:01 Removing intermediate container 9d0ae68e6fee 21:38:01 ---> c0cfc7766cce 21:38:01 Step 8/25 : WORKDIR /device-rest-go 21:38:01 ---> Running in b8318ea1b09b 21:38:01 Removing intermediate container b8318ea1b09b 21:38:01 ---> d2f6c298938d 21:38:01 Step 9/25 : COPY go.mod vendor* ./ 21:38:01 ---> f38a8b812608 21:38:01 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:38:01 ---> Running in 8e08f93f4203 21:38:02 Removing intermediate container 8e08f93f4203 21:38:02 ---> 07a64ffd6af6 21:38:02 Step 11/25 : COPY . . 21:38:02 ---> ba6654fb2304 21:38:02 Step 12/25 : RUN $MAKE 21:38:02 ---> Running in dd074e05cd28 21:38:02 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 21:38:24 Removing intermediate container dd074e05cd28 21:38:24 ---> 49ab32f8921e 21:38:24 Step 13/25 : FROM alpine:3.16 21:38:24 3.16: Pulling from library/alpine 21:38:24 213ec9aee27d: Already exists 21:38:24 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 21:38:24 Status: Downloaded newer image for alpine:3.16 21:38:24 ---> 9c6f07244728 21:38:24 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:38:24 ---> Running in 75b4bd4a1ca0 21:38:24 Removing intermediate container 75b4bd4a1ca0 21:38:24 ---> a579c6f20ab4 21:38:24 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:38:24 ---> Running in 3f4cdef98870 21:38:24 Removing intermediate container 3f4cdef98870 21:38:24 ---> e94d3f267810 21:38:24 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 21:38:24 ---> Running in 0d06ca9b7352 21:38:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:38:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:38:24 (1/6) Installing dumb-init (1.2.5-r1) 21:38:24 (2/6) Installing libgcc (11.2.1_git20220219-r2) 21:38:24 (3/6) Installing libsodium (1.0.18-r0) 21:38:24 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 21:38:24 (5/6) Installing libzmq (4.3.4-r0) 21:38:24 (6/6) Installing zeromq (4.3.4-r0) 21:38:24 Executing busybox-1.35.0-r17.trigger 21:38:24 OK: 8 MiB in 20 packages 21:38:24 Removing intermediate container 0d06ca9b7352 21:38:24 ---> 546c647f678c 21:38:24 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:38:24 ---> 8fe576760f65 21:38:24 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:38:24 ---> 333b2b2828c8 21:38:24 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:38:24 ---> 42b5ef36d341 21:38:24 Step 20/25 : EXPOSE 59986 21:38:24 ---> Running in 43b45b084c63 21:38:24 Removing intermediate container 43b45b084c63 21:38:24 ---> a53b910cf830 21:38:24 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:38:24 ---> Running in a867766e4085 21:38:24 Removing intermediate container a867766e4085 21:38:24 ---> 6788d5c3d3e3 21:38:24 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 21:38:24 ---> Running in 2419c09166ae 21:38:24 Removing intermediate container 2419c09166ae 21:38:24 ---> 0c851065dd46 21:38:24 Step 23/25 : LABEL arch=amd64 21:38:24 ---> Running in cd720a910e6e 21:38:24 Removing intermediate container cd720a910e6e 21:38:24 ---> f97616b506fb 21:38:24 Step 24/25 : LABEL git_sha=aa00165741bec1656c685d0c62563bdb56a3afb8 21:38:24 ---> Running in d6687bbe1222 21:38:24 Removing intermediate container d6687bbe1222 21:38:24 ---> 39cdb91cab6c 21:38:24 Step 25/25 : LABEL version=0.0.0 21:38:24 ---> Running in 62cd73827b38 21:38:24 Removing intermediate container 62cd73827b38 21:38:24 ---> 85ce3bebe0be 21:38:24 [Warning] One or more build-args [ARCH] were not consumed 21:38:24 Successfully built 85ce3bebe0be 21:38:24 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 21:38:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:38:25 21:38:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:38:26 latest: Pulling from edgex-lftools-log-publisher 21:38:26 5eb5b503b376: Pulling fs layer 21:38:26 5c69ac0246d0: Pulling fs layer 21:38:26 ec43610c2a17: Pulling fs layer 21:38:26 3a2ae6a8a46f: Pulling fs layer 21:38:26 33b1e0a273af: Pulling fs layer 21:38:26 5d3b04190fa2: Pulling fs layer 21:38:26 2f39f015ded8: Pulling fs layer 21:38:26 33b1e0a273af: Waiting 21:38:26 5d3b04190fa2: Waiting 21:38:26 3a2ae6a8a46f: Waiting 21:38:26 2f39f015ded8: Waiting 21:38:26 5c69ac0246d0: Download complete 21:38:26 3a2ae6a8a46f: Verifying Checksum 21:38:26 3a2ae6a8a46f: Download complete 21:38:26 33b1e0a273af: Verifying Checksum 21:38:26 33b1e0a273af: Download complete 21:38:26 ec43610c2a17: Verifying Checksum 21:38:26 ec43610c2a17: Download complete 21:38:26 5d3b04190fa2: Verifying Checksum 21:38:26 5eb5b503b376: Verifying Checksum 21:38:26 5eb5b503b376: Download complete 21:38:26 2f39f015ded8: Download complete 21:38:27 5eb5b503b376: Pull complete 21:38:27 5c69ac0246d0: Pull complete 21:38:28 ec43610c2a17: Pull complete 21:38:28 3a2ae6a8a46f: Pull complete 21:38:28 33b1e0a273af: Pull complete 21:38:28 5d3b04190fa2: Pull complete 21:38:32 2f39f015ded8: Pull complete 21:38:32 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:38:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:38:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:38:32 prd-ubuntu20.04-docker-8c-8g-117979 does not seem to be running inside a container 21:38:32 $ 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-225 -v /w/workspace/gexfoundry_device-rest-go_PR-225:/w/workspace/gexfoundry_device-rest-go_PR-225:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-225@tmp:/w/workspace/gexfoundry_device-rest-go_PR-225@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 21:38:34 $ docker top 5b37196bf39725547265819c64dae69c046e600e3063d0d16b855ae07eae5c70 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:38:34 ---> job-cost.sh 21:38:34 lf-activate-venv: SKIPPING 21:38:34 INFO: No Stack... 21:38:35 INFO: Retrieving Pricing Info for: v3-standard-8 21:38:35 INFO: Archiving Costs [Pipeline] sh 21:38:35 + cat /w/workspace/gexfoundry_device-rest-go_PR-225/archives/cost.csv 21:38:35 + cut -d, -f6 [Pipeline] lock 21:38:35 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-225-1-stack-cost] 21:38:35 Resource [jenkins-edgexfoundry-device-rest-go-PR-225-1-stack-cost] did not exist. Created. 21:38:35 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-225-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:38:36 + echo total: 0.2199999988079071 [Pipeline] stash 21:38:36 Stashed 1 file(s) [Pipeline] } 21:38:36 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-225-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:38:36 $ docker stop --time=1 5b37196bf39725547265819c64dae69c046e600e3063d0d16b855ae07eae5c70 21:38:37 $ docker rm -f 5b37196bf39725547265819c64dae69c046e600e3063d0d16b855ae07eae5c70 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:38:46 Running on prd-ubuntu20.04-docker-arm64-4c-16g-117980 in /w/workspace/gexfoundry_device-rest-go_PR-225 [Pipeline] { [Pipeline] ws 21:38:46 Running in /w/workspace/device-rest-go/1 [Pipeline] { [Pipeline] checkout 21:38:46 The recommended git tool is: git 21:38:51 using credential edgex-jenkins-ssh 21:38:51 Cloning the remote Git repository 21:38:51 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:38:51 > git init /w/workspace/device-rest-go/1 # timeout=10 21:38:51 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:38:51 > git --version # timeout=10 21:38:51 > git --version # 'git version 2.25.1' 21:38:51 using GIT_SSH to set credentials SSH Credentials for GitHub 21:38:51 Verifying host key using known hosts file 21:38:51 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. 21:38:51 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:38:53 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:38:53 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:38:54 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:38:54 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:38:54 using GIT_SSH to set credentials SSH Credentials for GitHub 21:38:54 Verifying host key using known hosts file 21:38:54 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. 21:38:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/225/head:refs/remotes/origin/PR-225 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:38:55 Merging remotes/origin/main commit 811e52826d6202cae27d826a4f6ae05b050034a3 into PR head commit aa00165741bec1656c685d0c62563bdb56a3afb8 21:38:55 Merge succeeded, producing aa00165741bec1656c685d0c62563bdb56a3afb8 21:38:55 Checking out Revision aa00165741bec1656c685d0c62563bdb56a3afb8 (PR-225) 21:38:55 > git config core.sparsecheckout # timeout=10 21:38:55 > git checkout -f aa00165741bec1656c685d0c62563bdb56a3afb8 # timeout=10 21:38:55 > git remote # timeout=10 21:38:55 > git config --get remote.origin.url # timeout=10 21:38:55 using GIT_SSH to set credentials SSH Credentials for GitHub 21:38:55 Verifying host key using known hosts file 21:38:55 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. 21:38:55 > git merge 811e52826d6202cae27d826a4f6ae05b050034a3 # timeout=10 21:38:55 > git rev-parse HEAD^{commit} # timeout=10 21:38:55 > git config core.sparsecheckout # timeout=10 21:38:55 > git checkout -f aa00165741bec1656c685d0c62563bdb56a3afb8 # timeout=10 21:38:59 Commit message: "docs: Levski Change Log" 21:38:59 > git --version # timeout=10 21:38:59 > git --version # 'git version 2.25.1' 21:38:59 fatal: bad object cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:39:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:39:00 % Total % Received % Xferd Average Speed Time Time Time Current 21:39:00 Dload Upload Total Spent Left Speed 21:39:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 100k 0 --:--:-- --:--:-- --:--:-- 100k [Pipeline] sh 21:39:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:39:01 + sudo tee /etc/docker/daemon.new 21:39:01 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:39:01 { 21:39:01 "registry-mirrors": [ 21:39:01 "https://nexus3.edgexfoundry.org:10001" 21:39:01 ], 21:39:01 "bip": "10.250.0.254/24", 21:39:01 "hosts": [ 21:39:01 "tcp://0.0.0.0:5555", 21:39:01 "unix:///var/run/docker.sock" 21:39:01 ], 21:39:01 "mtu": 1458, 21:39:01 "selinux-enabled": true, 21:39:01 "seccomp-profile": "/etc/docker/seccomp.json" 21:39:01 } [Pipeline] sh 21:39:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:39:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:39:20 provisioning config files... 21:39:20 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/1@tmp/config5859075803222908360tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:39:20 ---> docker-login.sh 21:39:20 nexus3.edgexfoundry.org:10001 21:39:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:21 Configure a credential helper to remove this warning. See 21:39:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:21 21:39:21 Login Succeeded 21:39:21 nexus3.edgexfoundry.org:10002 21:39:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:21 Configure a credential helper to remove this warning. See 21:39:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:21 21:39:21 Login Succeeded 21:39:21 nexus3.edgexfoundry.org:10003 21:39:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:22 Configure a credential helper to remove this warning. See 21:39:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:22 21:39:22 Login Succeeded 21:39:22 nexus3.edgexfoundry.org:10004 21:39:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:22 Configure a credential helper to remove this warning. See 21:39:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:22 21:39:22 Login Succeeded 21:39:22 docker.io 21:39:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:39:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:39:22 Configure a credential helper to remove this warning. See 21:39:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:39:22 21:39:22 Login Succeeded 21:39:22 ---> docker-login.sh ends [Pipeline] } 21:39:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:39:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:39:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:39:23 ========================================================= 21:39:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:39:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:39:23 + 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 . 21:39:23 Sending build context to Docker daemon 129.5kB 21:39:23 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 21:39:23 Step 2/12 : FROM ${BASE} AS builder 21:39:23 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:39:23 9b18e9b68314: Pulling fs layer 21:39:23 35d82f9e3411: Pulling fs layer 21:39:23 e16973657156: Pulling fs layer 21:39:23 fc693d55d65f: Pulling fs layer 21:39:23 7e9fc2657dce: Pulling fs layer 21:39:23 dda99020689f: Pulling fs layer 21:39:23 db1c61fa0a46: Pulling fs layer 21:39:23 891c053d2c06: Pulling fs layer 21:39:23 fc693d55d65f: Waiting 21:39:23 7e9fc2657dce: Waiting 21:39:23 dda99020689f: Waiting 21:39:23 db1c61fa0a46: Waiting 21:39:23 891c053d2c06: Waiting 21:39:23 e16973657156: Verifying Checksum 21:39:23 e16973657156: Download complete 21:39:23 35d82f9e3411: Verifying Checksum 21:39:23 35d82f9e3411: Download complete 21:39:23 7e9fc2657dce: Verifying Checksum 21:39:23 7e9fc2657dce: Download complete 21:39:24 dda99020689f: Verifying Checksum 21:39:24 dda99020689f: Download complete 21:39:24 9b18e9b68314: Download complete 21:39:25 9b18e9b68314: Pull complete 21:39:25 891c053d2c06: Verifying Checksum 21:39:25 891c053d2c06: Download complete 21:39:25 35d82f9e3411: Pull complete 21:39:25 e16973657156: Pull complete 21:39:26 db1c61fa0a46: Verifying Checksum 21:39:26 db1c61fa0a46: Download complete 21:39:26 fc693d55d65f: Verifying Checksum 21:39:26 fc693d55d65f: Download complete 21:39:39 fc693d55d65f: Pull complete 21:39:39 7e9fc2657dce: Pull complete 21:39:39 dda99020689f: Pull complete 21:39:44 db1c61fa0a46: Pull complete 21:39:46 891c053d2c06: Pull complete 21:39:46 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 21:39:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:39:46 ---> f96f9c87975a 21:39:46 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:39:48 ---> Running in 02ffcf205149 21:39:48 Removing intermediate container 02ffcf205149 21:39:48 ---> 42fdcd730cc5 21:39:48 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:39:48 ---> Running in 86634ee72393 21:39:48 Removing intermediate container 86634ee72393 21:39:48 ---> 85ad98c9f35f 21:39:48 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:39:49 ---> Running in b48236477f13 21:39:49 Removing intermediate container b48236477f13 21:39:49 ---> 587bae500a96 21:39:49 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:39:49 ---> Running in b91e1ad81d36 21:39:49 Removing intermediate container b91e1ad81d36 21:39:49 ---> 4d1f9698406a 21:39:49 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:39:49 ---> Running in d28fd343171c 21:39:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:39:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:39:51 (1/4) Installing openssh-keygen (9.0_p1-r2) 21:39:51 (2/4) Installing libedit (20210910.3.1-r0) 21:39:51 (3/4) Installing openssh-client-common (9.0_p1-r2) 21:39:51 (4/4) Installing openssh-client-default (9.0_p1-r2) 21:39:52 Executing busybox-1.35.0-r17.trigger 21:39:52 OK: 226 MiB in 55 packages 21:39:53 Removing intermediate container d28fd343171c 21:39:53 ---> 94d024e3b9e6 21:39:53 Step 8/12 : WORKDIR /device-rest-go 21:39:53 ---> Running in 571af56db870 21:39:53 Removing intermediate container 571af56db870 21:39:53 ---> a5416bd5510f 21:39:53 Step 9/12 : COPY go.mod vendor* ./ 21:39:54 ---> f7d7cf35af29 21:39:54 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:39:54 ---> Running in 35ae549dfde5 21:40:50 Removing intermediate container 35ae549dfde5 21:40:50 ---> f13c16c4e0b7 21:40:50 Step 11/12 : COPY . . 21:40:50 ---> 474e8581fa0f 21:40:50 Step 12/12 : RUN $MAKE 21:40:50 ---> Running in e65aa44c2048 21:40:50 noop 21:40:50 Removing intermediate container e65aa44c2048 21:40:50 ---> 8185983040da 21:40:50 Successfully built 8185983040da 21:40:50 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:50 + docker inspect -f . ci-base-image-arm64 21:40:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:40:51 prd-ubuntu20.04-docker-arm64-4c-16g-117980 does not seem to be running inside a container 21:40:51 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:40:52 $ docker top 06644065831a11cff71105f0cdc49128c3a32e366df4ac81f49437c680780c0d -eo pid,comm [Pipeline] { [Pipeline] sh 21:40:53 + go version 21:40:53 go version go1.18.7 linux/arm64 [Pipeline] } 21:40:53 $ docker stop --time=1 06644065831a11cff71105f0cdc49128c3a32e366df4ac81f49437c680780c0d 21:40:54 $ docker rm -f 06644065831a11cff71105f0cdc49128c3a32e366df4ac81f49437c680780c0d [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:40:55 + docker inspect -f . ci-base-image-arm64 21:40:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:40:56 prd-ubuntu20.04-docker-arm64-4c-16g-117980 does not seem to be running inside a container 21:40:56 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/device-rest-go/1 -v /w/workspace/device-rest-go/1:/w/workspace/device-rest-go/1:rw,z -v /w/workspace/device-rest-go/1@tmp:/w/workspace/device-rest-go/1@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:40:57 $ docker top 5d88dc520d3ebe0f5318cf139d50dfce958fc113063a14b56d606d8c3cc31a47 -eo pid,comm [Pipeline] { [Pipeline] sh 21:40:58 + git config --global --add safe.directory /w/workspace/device-rest-go/1 [Pipeline] fileExists [Pipeline] sh 21:40:58 + make test 21:40:58 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:41:00 ? github.com/edgexfoundry/device-rest-go [no test files] 21:42:21 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:42:21 ok github.com/edgexfoundry/device-rest-go/driver 0.068s coverage: 55.2% of statements 21:42:21 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:42:21 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:42:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:42:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:42:43 ./bin/test-attribution-txt.sh [Pipeline] echo 21:42:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:42:44 $ docker stop --time=1 5d88dc520d3ebe0f5318cf139d50dfce958fc113063a14b56d606d8c3cc31a47 21:42:45 $ docker rm -f 5d88dc520d3ebe0f5318cf139d50dfce958fc113063a14b56d606d8c3cc31a47 [Pipeline] // withDockerContainer [Pipeline] sh 21:42:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:42:46 Warning: overwriting stash ‘coverage-report’ 21:42:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:42:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:42:48 + ls -al . 21:42:48 total 184 21:42:48 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 21:40 . 21:42:48 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 21:38 .. 21:42:48 -rw-rw-r-- 1 jenkins jenkins 151 Nov 2 21:38 .dockerignore 21:42:48 drwxrwxr-x 8 jenkins jenkins 4096 Nov 2 21:38 .git 21:42:48 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 21:38 .github 21:42:48 -rw-rw-r-- 1 jenkins jenkins 329 Nov 2 21:38 .gitignore 21:42:48 -rw-rw-r-- 1 jenkins jenkins 41 Nov 2 21:38 .golangci.yml 21:42:48 -rw-rw-r-- 1 jenkins jenkins 9100 Nov 2 21:38 Attribution.txt 21:42:48 -rw-rw-r-- 1 jenkins jenkins 13085 Nov 2 21:38 CHANGELOG.md 21:42:48 -rw-rw-r-- 1 jenkins jenkins 1641 Nov 2 21:38 Dockerfile 21:42:48 -rw-rw-r-- 1 jenkins jenkins 677 Nov 2 21:38 GOVERNANCE.md 21:42:48 -rw-rw-r-- 1 jenkins jenkins 680 Nov 2 21:38 Jenkinsfile 21:42:48 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 2 21:38 LICENSE 21:42:48 -rw-rw-r-- 1 jenkins jenkins 2173 Nov 2 21:38 Makefile 21:42:48 -rw-rw-r-- 1 jenkins jenkins 620 Nov 2 21:38 OWNERS.md 21:42:48 -rw-rw-r-- 1 jenkins jenkins 8667 Nov 2 21:38 README.md 21:42:48 -rw-rw-r-- 1 jenkins jenkins 5 Nov 2 21:36 VERSION 21:42:48 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 21:38 bin 21:42:48 drwxrwxr-x 3 jenkins jenkins 4096 Nov 2 21:38 cmd 21:42:48 -rw-r--r-- 1 jenkins jenkins 9355 Nov 2 21:42 coverage.out 21:42:48 drwxrwxr-x 2 jenkins jenkins 4096 Nov 2 21:38 driver 21:42:48 -rw-rw-r-- 1 jenkins jenkins 3536 Nov 2 21:38 go.mod 21:42:48 -rw-rw-r-- 1 jenkins jenkins 44967 Nov 2 21:38 go.sum 21:42:48 drwxrwxr-x 4 jenkins jenkins 4096 Nov 2 21:38 snap 21:42:48 -rw-rw-r-- 1 jenkins jenkins 713 Nov 2 21:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:42:48 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=aa00165741bec1656c685d0c62563bdb56a3afb8 --label arch=arm64 --label version=0.0.0 . 21:42:48 Sending build context to Docker daemon 139.8kB 21:42:48 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 21:42:48 Step 2/25 : FROM ${BASE} AS builder 21:42:48 ---> 8185983040da 21:42:48 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:42:48 ---> Running in 3e1260601ea1 21:42:49 Removing intermediate container 3e1260601ea1 21:42:49 ---> 3c70c434528e 21:42:49 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:42:49 ---> Running in 3d9063beb43b 21:42:49 Removing intermediate container 3d9063beb43b 21:42:49 ---> 5e868b78f7a5 21:42:49 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:42:49 ---> Running in 4d151469d8ab 21:42:50 Removing intermediate container 4d151469d8ab 21:42:50 ---> 6334cbb81b66 21:42:50 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:42:50 ---> Running in 664e6d48f902 21:42:50 Removing intermediate container 664e6d48f902 21:42:50 ---> ccae19567255 21:42:50 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:42:50 ---> Running in 87ec265e52e3 21:42:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:42:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:42:52 OK: 226 MiB in 55 packages 21:42:53 Removing intermediate container 87ec265e52e3 21:42:53 ---> 809f57d5b3ca 21:42:53 Step 8/25 : WORKDIR /device-rest-go 21:42:53 ---> Running in 08bd39abf8f6 21:42:53 Removing intermediate container 08bd39abf8f6 21:42:53 ---> ba6f48780660 21:42:53 Step 9/25 : COPY go.mod vendor* ./ 21:42:53 ---> ca909b4fffff 21:42:53 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:42:53 ---> Running in a35ae6bc704f 21:42:55 Removing intermediate container a35ae6bc704f 21:42:55 ---> 0091fc94f4c2 21:42:55 Step 11/25 : COPY . . 21:42:56 ---> 50088151c361 21:42:56 Step 12/25 : RUN $MAKE 21:42:56 ---> Running in a2a2a7be0f4b 21:42:57 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 21:45:34 Removing intermediate container a2a2a7be0f4b 21:45:34 ---> f54ff15c4fc1 21:45:34 Step 13/25 : FROM alpine:3.16 21:45:34 3.16: Pulling from library/alpine 21:45:34 9b18e9b68314: Already exists 21:45:34 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 21:45:34 Status: Downloaded newer image for alpine:3.16 21:45:34 ---> a6215f271958 21:45:34 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:45:34 ---> Running in 48cf0265a0b1 21:45:34 Removing intermediate container 48cf0265a0b1 21:45:34 ---> d385c14dd4cf 21:45:34 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:45:34 ---> Running in e809088188d5 21:45:34 Removing intermediate container e809088188d5 21:45:34 ---> 5da3ee9d3e73 21:45:34 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 21:45:34 ---> Running in 90b3a488fb28 21:45:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:45:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:45:34 (1/6) Installing dumb-init (1.2.5-r1) 21:45:34 (2/6) Installing libgcc (11.2.1_git20220219-r2) 21:45:34 (3/6) Installing libsodium (1.0.18-r0) 21:45:34 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 21:45:34 (5/6) Installing libzmq (4.3.4-r0) 21:45:34 (6/6) Installing zeromq (4.3.4-r0) 21:45:34 Executing busybox-1.35.0-r17.trigger 21:45:34 OK: 8 MiB in 20 packages 21:45:34 Removing intermediate container 90b3a488fb28 21:45:34 ---> 16636f697992 21:45:34 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:45:34 ---> 5a758c49288d 21:45:34 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:45:34 ---> 43123065e978 21:45:34 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:45:34 ---> fe8effb682de 21:45:34 Step 20/25 : EXPOSE 59986 21:45:34 ---> Running in 33055eb6cc8b 21:45:34 Removing intermediate container 33055eb6cc8b 21:45:34 ---> 109ecd7b05a0 21:45:34 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:45:34 ---> Running in 9b45b8cbc65d 21:45:34 Removing intermediate container 9b45b8cbc65d 21:45:34 ---> 7fadcbb0c70b 21:45:34 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 21:45:34 ---> Running in 3822ec12382a 21:45:34 Removing intermediate container 3822ec12382a 21:45:34 ---> da000ad97c71 21:45:34 Step 23/25 : LABEL arch=arm64 21:45:34 ---> Running in 0536a2d6b566 21:45:34 Removing intermediate container 0536a2d6b566 21:45:34 ---> e508213e2d29 21:45:34 Step 24/25 : LABEL git_sha=aa00165741bec1656c685d0c62563bdb56a3afb8 21:45:34 ---> Running in 91af5e32760c 21:45:34 Removing intermediate container 91af5e32760c 21:45:34 ---> 564cae4a932c 21:45:34 Step 25/25 : LABEL version=0.0.0 21:45:34 ---> Running in 7f76c63b22d1 21:45:34 Removing intermediate container 7f76c63b22d1 21:45:34 ---> ddda453ab269 21:45:34 [Warning] One or more build-args [ARCH] were not consumed 21:45:34 Successfully built ddda453ab269 21:45:34 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 21:45:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:45:35 21:45:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:45:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:45:35 arm64: Pulling from edgex-lftools-log-publisher 21:45:35 8998bd30e6a1: Pulling fs layer 21:45:35 04944245beec: Pulling fs layer 21:45:35 699f458cf7ca: Pulling fs layer 21:45:35 765212b225bb: Pulling fs layer 21:45:35 f23df028b6ca: Pulling fs layer 21:45:35 d65c8cfc05b1: Pulling fs layer 21:45:35 2437ff75d9bd: Pulling fs layer 21:45:35 765212b225bb: Waiting 21:45:35 f23df028b6ca: Waiting 21:45:35 d65c8cfc05b1: Waiting 21:45:35 2437ff75d9bd: Waiting 21:45:35 04944245beec: Verifying Checksum 21:45:35 04944245beec: Download complete 21:45:35 765212b225bb: Verifying Checksum 21:45:35 765212b225bb: Download complete 21:45:35 f23df028b6ca: Download complete 21:45:35 d65c8cfc05b1: Verifying Checksum 21:45:35 d65c8cfc05b1: Download complete 21:45:36 699f458cf7ca: Verifying Checksum 21:45:36 699f458cf7ca: Download complete 21:45:36 8998bd30e6a1: Verifying Checksum 21:45:36 8998bd30e6a1: Download complete 21:45:38 2437ff75d9bd: Verifying Checksum 21:45:38 2437ff75d9bd: Download complete 21:45:40 8998bd30e6a1: Pull complete 21:45:40 04944245beec: Pull complete 21:45:43 699f458cf7ca: Pull complete 21:45:43 765212b225bb: Pull complete 21:45:44 f23df028b6ca: Pull complete 21:45:44 d65c8cfc05b1: Pull complete 21:45:59 2437ff75d9bd: Pull complete 21:45:59 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:45:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:45:59 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:45:59 prd-ubuntu20.04-docker-arm64-4c-16g-117980 does not seem to be running inside a container 21:45:59 $ 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 21:46:02 $ docker top a6a15998aa05f7870473fa6e8b2c319de3677a377ee4b214b58dab288218c3bd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:46:02 ---> job-cost.sh 21:46:02 lf-activate-venv: SKIPPING 21:46:02 INFO: No Stack... 21:46:03 INFO: Retrieving Pricing Info for: v3-standard-4 21:46:04 INFO: Archiving Costs [Pipeline] sh 21:46:04 + cat /w/workspace/device-rest-go/1/archives/cost.csv 21:46:04 + cut -d, -f6 [Pipeline] lock 21:46:04 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-225-1-stack-cost] 21:46:04 Resource [jenkins-edgexfoundry-device-rest-go-PR-225-1-stack-cost] did not exist. Created. 21:46:04 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-225-1-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:46:05 /w/workspace/device-rest-go/1@tmp/durable-734a5c38/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:46:05 + echo total: 0.10999999940395355 [Pipeline] stash 21:46:05 Warning: overwriting stash ‘stack-cost’ 21:46:05 Stashed 1 file(s) [Pipeline] } 21:46:05 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-225-1-stack-cost] [Pipeline] // lock [Pipeline] } 21:46:05 $ docker stop --time=1 a6a15998aa05f7870473fa6e8b2c319de3677a377ee4b214b58dab288218c3bd 21:46:07 $ docker rm -f a6a15998aa05f7870473fa6e8b2c319de3677a377ee4b214b58dab288218c3bd [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 21:46:08 provisioning config files... 21:46:08 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-225@tmp/config11754721137442200222tmp [Pipeline] { [Pipeline] sh 21:46:08 + set +x 21:46:08 + curl -s https://codecov.io/bash 21:46:08 + bash -s -- 21:46:08 21:46:08 _____ _ 21:46:08 / ____| | | 21:46:08 | | ___ __| | ___ ___ _____ __ 21:46:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:46:08 | |___| (_) | (_| | __/ (_| (_) \ V / 21:46:08 \_____\___/ \__,_|\___|\___\___/ \_/ 21:46:08 Bash-1.0.6 21:46:08 21:46:08 21:46:08 ==> git version 2.25.1 found 21:46:08 ==> 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 21:46:08 Release-Date: 2020-01-08 21:46:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:46:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:46:08 ==> Jenkins CI detected. 21:46:08 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-225 21:46:08 project root: . 21:46:08 --> token set from env 21:46:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:46:08 ==> Running gcov in . (disable via -X gcov) 21:46:08 ==> Python coveragepy not found 21:46:08 ==> Searching for coverage reports in: 21:46:08 + . 21:46:08 -> Found 1 reports 21:46:08 ==> Detecting git/mercurial file structure 21:46:09 ==> Reading reports 21:46:09 + ./coverage.out bytes=9355 21:46:09 ==> Appending adjustments 21:46:09 https://docs.codecov.io/docs/fixing-reports 21:46:09 + Found adjustments 21:46:09 ==> Gzipping contents 21:46:09 4.0K /tmp/codecov.ExyN5q.gz 21:46:09 ==> Uploading reports 21:46:09 url: https://codecov.io 21:46:09 query: branch=PR-225&commit=aa00165741bec1656c685d0c62563bdb56a3afb8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-225%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=225&job=&cmd_args= 21:46:09 -> Pinging Codecov 21:46:09 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-225&commit=aa00165741bec1656c685d0c62563bdb56a3afb8&build=1&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-225%2F1%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=225&job=&cmd_args= 21:46:09 -> Uploading to 21:46:09 https://storage.googleapis.com/codecov/v4/raw/2022-11-02/4E5D53B4F1F92C436F7061BF334D961C/aa00165741bec1656c685d0c62563bdb56a3afb8/6fe928b9-d298-450a-9ac1-23ef6da3e353.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221102%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221102T214609Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=e8580deec93f8717ee4907f4651b9510769ed06350ce016d23b11e696d8d8a24 21:46:09 % Total % Received % Xferd Average Speed Time Time Time Current 21:46:09 Dload Upload Total Spent Left Speed 21:46:09 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 7828 --:--:-- --:--:-- --:--:-- 7793 100 1738 0 0 100 1738 0 6608 --:--:-- --:--:-- --:--:-- 6608 21:46:09 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/aa00165741bec1656c685d0c62563bdb56a3afb8 [Pipeline] } 21:46:09 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 21:46:11 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-225/archives ] 21:46:11 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-225/archives 21:46:11 total 16 21:46:11 drwxr-xr-x 3 root root 4096 Nov 2 21:38 . 21:46:11 drwxrwxr-x 10 jenkins jenkins 4096 Nov 2 21:38 .. 21:46:11 drwxr-xr-x 2 root root 4096 Nov 2 21:38 cost 21:46:11 -rw-r--r-- 1 root root 86 Nov 2 21:38 cost.csv 21:46:11 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-225/archives 21:46:11 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-225/archives 21:46:11 total 16 21:46:11 drwxr-xr-x 3 jenkins jenkins 4096 Nov 2 21:38 . 21:46:11 drwxrwxr-x 10 jenkins jenkins 4096 Nov 2 21:38 .. 21:46:11 drwxr-xr-x 2 jenkins jenkins 4096 Nov 2 21:38 cost 21:46:11 -rw-r--r-- 1 jenkins jenkins 86 Nov 2 21:38 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:46:11 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:46:12 ---> package-listing.sh 21:46:12 ++ facter osfamily 21:46:12 ++ tr '[:upper:]' '[:lower:]' 21:46:12 + OS_FAMILY=debian 21:46:12 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-225 21:46:12 + START_PACKAGES=/tmp/packages_start.txt 21:46:12 + END_PACKAGES=/tmp/packages_end.txt 21:46:12 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:46:12 + PACKAGES=/tmp/packages_start.txt 21:46:12 + '[' /w/workspace/gexfoundry_device-rest-go_PR-225 ']' 21:46:12 + PACKAGES=/tmp/packages_end.txt 21:46:12 + case "${OS_FAMILY}" in 21:46:12 + dpkg -l 21:46:12 + grep '^ii' 21:46:12 + '[' -f /tmp/packages_start.txt ']' 21:46:12 + '[' -f /tmp/packages_end.txt ']' 21:46:12 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:46:12 + '[' /w/workspace/gexfoundry_device-rest-go_PR-225 ']' 21:46:12 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-225/archives/ 21:46:12 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-225/archives/ [Pipeline] echo 21:46:12 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-225/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:46:13 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:46:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:46:13 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:46:13 prd-ubuntu20.04-docker-8c-8g-117979 does not seem to be running inside a container 21:46:14 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-225/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-225 -v /w/workspace/gexfoundry_device-rest-go_PR-225:/w/workspace/gexfoundry_device-rest-go_PR-225:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-225@tmp:/w/workspace/gexfoundry_device-rest-go_PR-225@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 21:46:14 $ docker top c0803012837eca9331c92350fae2572b55489519bad61cfa2f9e093acfa22b09 -eo pid,comm [Pipeline] { [Pipeline] sh 21:46:14 + touch /tmp/pre-build-complete [Pipeline] sh 21:46:14 + mkdir -p /var/log/sysstat [Pipeline] sh 21:46:15 + ls /var/log/sa-host 21:46:15 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:46:15 provisioning config files... 21:46:15 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-225@tmp/config791932278199830014tmp [Pipeline] { [Pipeline] echo 21:46:15 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:46:15 ---> create-netrc.sh [Pipeline] } 21:46:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:46:16 ---> python-tools-install.sh [Pipeline] echo 21:46:16 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:46:16 ---> sudo-logs.sh 21:46:16 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:46:16 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:46:17 ---> job-cost.sh 21:46:17 lf-activate-venv: SKIPPING 21:46:17 DEBUG: total: 0.2199999988079071 21:46:17 INFO: Retrieving Stack Cost... 21:46:17 INFO: Retrieving Pricing Info for: v3-standard-8 21:46:17 INFO: Archiving Costs [Pipeline] echo 21:46:17 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:46:18 ---> logs-deploy.sh 21:46:18 lf-activate-venv: SKIPPING 21:46:18 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-225/1 21:46:18 INFO: archiving workspace using pattern(s): 21:46:19 Archives upload complete. 21:46:19 INFO: archiving logs to Nexus