Pull request #213 updated 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 74fc3e8542c31808ca5ce87043c5bbc954559f8c+4a40192a1b6bb0369d057e4fca0f08fde1edf441 (55dca57fb2d2e330910ad7124f462ef9d7450b6d) 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-ssh6923686638715786454.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh2974385270705370778.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision bd7468d5528128c83034753e4c3def8ef9af3f2d The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-213/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > 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 > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-213/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh15112348764276725147.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision bd7468d5528128c83034753e4c3def8ef9af3f2d (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f bd7468d5528128c83034753e4c3def8ef9af3f2d # timeout=10 Commit message: "Merge pull request #410 from ernestojeda/changes-for-dind-test" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh6231033982629096347.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 > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-213/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/PR-213/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh16136084881482202544.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 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 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-1405 in /w/workspace/gexfoundry_device-rest-go_PR-213 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-213 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/213/head:refs/remotes/origin/PR-213 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit 4a40192a1b6bb0369d057e4fca0f08fde1edf441 into PR head commit 74fc3e8542c31808ca5ce87043c5bbc954559f8c Merge succeeded, producing 74fc3e8542c31808ca5ce87043c5bbc954559f8c Checking out Revision 74fc3e8542c31808ca5ce87043c5bbc954559f8c (PR-213) > git config core.sparsecheckout # timeout=10 > git checkout -f 74fc3e8542c31808ca5ce87043c5bbc954559f8c # 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 4a40192a1b6bb0369d057e4fca0f08fde1edf441 # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 74fc3e8542c31808ca5ce87043c5bbc954559f8c # timeout=10 Commit message: "build: Add option to build Service with NATS Capability" First time build. Skipping changelog. [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:58:12 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:58:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:58:12 ========================================================= 20:58:12 EdgeX Global Pipelines Version Info 20:58:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:58:13 ------------------- 20:58:13 stable info: 20:58:13 ------------------- 20:58:13 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:58:13 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 20:58:13 Message: update stable to v1.0.239 > git rev-list --no-walk cc27d241021b405d783a15e4eed4849dd6d745cb # timeout=10 20:58:14 ------------------- 20:58:14 experimental info: 20:58:14 ------------------- 20:58:14 Commited By: **** collab-it+edgex@linuxfoundation.org 20:58:14 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 20:58:14 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:58:14 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:58:14 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:58:14 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:58:14 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:58:14 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:58:14 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 20:58:14 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:58:14 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:58:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:58:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:58:14 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:58:14 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:58:14 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:58:14 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:58:14 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:58:14 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:58:14 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:58:14 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:58:14 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:58:14 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:58:14 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:58:14 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:58:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:58:14 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:58:14 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:58:14 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:58:14 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:58:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-213 [Pipeline] echo 20:58:14 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-213 [Pipeline] echo 20:58:14 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-213 [Pipeline] echo 20:58:14 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 74fc3e8542c31808ca5ce87043c5bbc954559f8c [Pipeline] echo 20:58:14 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 74fc3e8 [Pipeline] echo 20:58:14 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:58:14 provisioning config files... 20:58:14 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-213@tmp/config6082230371038031405tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:58:15 ---> docker-login.sh 20:58:15 nexus3.edgexfoundry.org:10001 20:58:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:15 Configure a credential helper to remove this warning. See 20:58:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:15 20:58:15 Login Succeeded 20:58:15 nexus3.edgexfoundry.org:10002 20:58:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:15 Configure a credential helper to remove this warning. See 20:58:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:15 20:58:15 Login Succeeded 20:58:15 nexus3.edgexfoundry.org:10003 20:58:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:15 Configure a credential helper to remove this warning. See 20:58:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:15 20:58:15 Login Succeeded 20:58:15 nexus3.edgexfoundry.org:10004 20:58:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:15 Configure a credential helper to remove this warning. See 20:58:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:15 20:58:15 Login Succeeded 20:58:15 docker.io 20:58:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:16 Configure a credential helper to remove this warning. See 20:58:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:16 20:58:16 Login Succeeded 20:58:16 ---> docker-login.sh ends [Pipeline] } 20:58:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:58:16 + git rev-list -1 --merges 74fc3e8542c31808ca5ce87043c5bbc954559f8c~1..74fc3e8542c31808ca5ce87043c5bbc954559f8c [Pipeline] echo 20:58:16 -----------> git rev-list -1 --merges 74fc3e8542c31808ca5ce87043c5bbc954559f8c~1..74fc3e8542c31808ca5ce87043c5bbc954559f8c 74fc3e8542c31808ca5ce87043c5bbc954559f8c [false] [Pipeline] sh 20:58:16 + git log --format=format:%s -1 74fc3e8542c31808ca5ce87043c5bbc954559f8c [Pipeline] echo 20:58:16 ========================================================= 20:58:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:58:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:58:17 + git log --format=format:%s -1 74fc3e8542c31808ca5ce87043c5bbc954559f8c [Pipeline] echo 20:58:17 [semverPrep] GIT_COMMIT: 74fc3e8542c31808ca5ce87043c5bbc954559f8c, Commit Message: build: Add option to build Service with NATS Capability [Pipeline] echo 20:58:17 [semverPrep] This is not a build commit. [Pipeline] sh 20:58:17 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:58:17 + grep -v github /etc/ssh/ssh_known_hosts 20:58:17 + [ -e /tmp/ssh_known_hosts ] 20:58:17 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:58:17 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:58:17 + sudo tee -a /etc/ssh/ssh_known_hosts 20:58:17 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:58:17 20:58:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:58:18 0.1.4: Pulling from edgex-devops/py-git-semver 20:58:18 b85a868b505f: Pulling fs layer 20:58:18 e2be974225ed: Pulling fs layer 20:58:18 339a4e72a1f5: Pulling fs layer 20:58:18 988bab9f4d93: Pulling fs layer 20:58:18 1469e6f7b9e6: Pulling fs layer 20:58:18 eaf3925da568: Pulling fs layer 20:58:18 bab4dde63d76: Pulling fs layer 20:58:18 bde34c3a00c8: Pulling fs layer 20:58:18 b352a97aabf1: Pulling fs layer 20:58:18 4872d77fe225: Pulling fs layer 20:58:18 5851b861e8e6: Pulling fs layer 20:58:18 1469e6f7b9e6: Waiting 20:58:18 bab4dde63d76: Waiting 20:58:18 bde34c3a00c8: Waiting 20:58:18 b352a97aabf1: Waiting 20:58:18 4872d77fe225: Waiting 20:58:18 5851b861e8e6: Waiting 20:58:18 eaf3925da568: Waiting 20:58:18 988bab9f4d93: Waiting 20:58:18 e2be974225ed: Download complete 20:58:18 988bab9f4d93: Verifying Checksum 20:58:18 988bab9f4d93: Download complete 20:58:18 1469e6f7b9e6: Verifying Checksum 20:58:18 1469e6f7b9e6: Download complete 20:58:18 339a4e72a1f5: Verifying Checksum 20:58:18 339a4e72a1f5: Download complete 20:58:18 eaf3925da568: Verifying Checksum 20:58:18 eaf3925da568: Download complete 20:58:18 bde34c3a00c8: Verifying Checksum 20:58:18 bde34c3a00c8: Download complete 20:58:18 b352a97aabf1: Download complete 20:58:18 4872d77fe225: Verifying Checksum 20:58:18 4872d77fe225: Download complete 20:58:18 b85a868b505f: Verifying Checksum 20:58:18 b85a868b505f: Download complete 20:58:18 5851b861e8e6: Verifying Checksum 20:58:18 5851b861e8e6: Download complete 20:58:19 bab4dde63d76: Verifying Checksum 20:58:19 bab4dde63d76: Download complete 20:58:20 b85a868b505f: Pull complete 20:58:20 e2be974225ed: Pull complete 20:58:20 339a4e72a1f5: Pull complete 20:58:20 988bab9f4d93: Pull complete 20:58:20 1469e6f7b9e6: Pull complete 20:58:20 eaf3925da568: Pull complete 20:58:22 bab4dde63d76: Pull complete 20:58:22 bde34c3a00c8: Pull complete 20:58:22 b352a97aabf1: Pull complete 20:58:22 4872d77fe225: Pull complete 20:58:23 5851b861e8e6: Pull complete 20:58:23 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:58:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:58:23 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:58:23 prd-ubuntu20.04-docker-8c-8g-1405 does not seem to be running inside a container 20:58:23 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/gexfoundry_device-rest-go_PR-213 -v /w/workspace/gexfoundry_device-rest-go_PR-213:/w/workspace/gexfoundry_device-rest-go_PR-213:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-213@tmp:/w/workspace/gexfoundry_device-rest-go_PR-213@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:58:24 $ docker top 968386c2c270b3f62583e3fe5c6d2fc80db953ff4b146fed4251cc136a1425e0 -eo pid,comm 20:58:24 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:58:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:58:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:58:24 [ssh-agent] Looking for ssh-agent implementation... 20:58:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:58:24 $ docker exec 968386c2c270b3f62583e3fe5c6d2fc80db953ff4b146fed4251cc136a1425e0 ssh-agent 20:58:24 SSH_AUTH_SOCK=/tmp/ssh-58dhYl9FJYme/agent.33 20:58:24 SSH_AGENT_PID=39 20:58:24 Running ssh-add (command line suppressed) 20:58:24 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-213@tmp/private_key_12716701883048781976.key (/w/workspace/gexfoundry_device-rest-go_PR-213@tmp/private_key_12716701883048781976.key) 20:58:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:58:25 + git tag --points-at HEAD [Pipeline] } 20:58:25 $ docker exec --env ******** --env ******** 968386c2c270b3f62583e3fe5c6d2fc80db953ff4b146fed4251cc136a1425e0 ssh-agent -k 20:58:25 unset SSH_AUTH_SOCK; 20:58:25 unset SSH_AGENT_PID; 20:58:25 echo Agent pid 39 killed; 20:58:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:58:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:58:25 [ssh-agent] Looking for ssh-agent implementation... 20:58:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:58:25 $ docker exec 968386c2c270b3f62583e3fe5c6d2fc80db953ff4b146fed4251cc136a1425e0 ssh-agent 20:58:25 SSH_AUTH_SOCK=/tmp/ssh-ITCogkFRoQfF/agent.71 20:58:25 SSH_AGENT_PID=77 20:58:25 Running ssh-add (command line suppressed) 20:58:25 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-213@tmp/private_key_11361155667291254720.key (/w/workspace/gexfoundry_device-rest-go_PR-213@tmp/private_key_11361155667291254720.key) 20:58:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:58:25 + git semver init 20:58:26 2022-09-27 20:58:26,065 [run_init] DEBUG init version:0.0.0 force:False 20:58:26 2022-09-27 20:58:26,065 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-213/.semver 20:58:26 2022-09-27 20:58:26,066 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-213/.semver 20:58:26 2022-09-27 20:58:26,066 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-213/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-213, universal_newlines=False, shell=None, istream=None) 20:58:27 2022-09-27 20:58:27,114 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-213/.git/info/exclude 20:58:27 2022-09-27 20:58:27,114 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-213/.semver/PR-213 with force:False 20:58:27 2022-09-27 20:58:27,115 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-213/.semver/PR-213 20:58:27 2022-09-27 20:58:27,119 [execute] INFO git cat-file --batch-check 20:58:27 2022-09-27 20:58:27,119 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-213/.semver, universal_newlines=False, shell=None, istream=) 20:58:27 2022-09-27 20:58:27,126 [execute] INFO git cat-file --batch 20:58:27 2022-09-27 20:58:27,126 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-213/.semver, universal_newlines=False, shell=None, istream=) 20:58:27 2022-09-27 20:58:27,131 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-213/.semver/PR-213 20:58:27 0.0.0 [Pipeline] } 20:58:27 $ docker exec --env ******** --env ******** 968386c2c270b3f62583e3fe5c6d2fc80db953ff4b146fed4251cc136a1425e0 ssh-agent -k 20:58:27 unset SSH_AUTH_SOCK; 20:58:27 unset SSH_AGENT_PID; 20:58:27 echo Agent pid 77 killed; 20:58:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:58:27 + git semver [Pipeline] } 20:58:28 $ docker stop --time=1 968386c2c270b3f62583e3fe5c6d2fc80db953ff4b146fed4251cc136a1425e0 20:58:29 $ docker rm -f 968386c2c270b3f62583e3fe5c6d2fc80db953ff4b146fed4251cc136a1425e0 [Pipeline] // withDockerContainer [Pipeline] sh 20:58:29 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:58:30 Stashed 1 file(s) [Pipeline] echo 20:58:30 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:58:30 provisioning config files... 20:58:30 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-213@tmp/config12474270140622745120tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:58:30 ---> docker-login.sh 20:58:30 nexus3.edgexfoundry.org:10001 20:58:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:30 Configure a credential helper to remove this warning. See 20:58:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:30 20:58:30 Login Succeeded 20:58:30 nexus3.edgexfoundry.org:10002 20:58:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:30 Configure a credential helper to remove this warning. See 20:58:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:30 20:58:30 Login Succeeded 20:58:30 nexus3.edgexfoundry.org:10003 20:58:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:30 Configure a credential helper to remove this warning. See 20:58:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:30 20:58:30 Login Succeeded 20:58:30 nexus3.edgexfoundry.org:10004 20:58:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:30 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:30 Configure a credential helper to remove this warning. See 20:58:30 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:30 20:58:30 Login Succeeded 20:58:30 docker.io 20:58:30 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:58:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:58:31 Configure a credential helper to remove this warning. See 20:58:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:58:31 20:58:31 Login Succeeded 20:58:31 ---> docker-login.sh ends [Pipeline] } 20:58:31 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:58:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:58:31 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:58:31 ========================================================= 20:58:31 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 20:58:31 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:58:31 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 20:58:31 Sending build context to Docker daemon 10.72MB 20:58:31 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 20:58:31 Step 2/13 : FROM ${BASE} AS builder 20:58:31 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 20:58:31 2408cc74d12b: Pulling fs layer 20:58:31 ea60b727a1ce: Pulling fs layer 20:58:31 30c4a7721957: Pulling fs layer 20:58:31 370296b7ddb6: Pulling fs layer 20:58:31 7c6cee850709: Pulling fs layer 20:58:31 39a5fcdaea64: Pulling fs layer 20:58:31 d94ebbe4e438: Pulling fs layer 20:58:31 bcfd1f05c69d: Pulling fs layer 20:58:31 59ccb84bbe0f: Pulling fs layer 20:58:31 7c6cee850709: Waiting 20:58:31 370296b7ddb6: Waiting 20:58:31 39a5fcdaea64: Waiting 20:58:31 d94ebbe4e438: Waiting 20:58:31 bcfd1f05c69d: Waiting 20:58:31 59ccb84bbe0f: Waiting 20:58:31 30c4a7721957: Verifying Checksum 20:58:31 30c4a7721957: Download complete 20:58:31 ea60b727a1ce: Verifying Checksum 20:58:31 ea60b727a1ce: Download complete 20:58:31 7c6cee850709: Download complete 20:58:31 39a5fcdaea64: Download complete 20:58:31 2408cc74d12b: Verifying Checksum 20:58:31 d94ebbe4e438: Download complete 20:58:31 2408cc74d12b: Pull complete 20:58:32 ea60b727a1ce: Pull complete 20:58:32 30c4a7721957: Pull complete 20:58:32 59ccb84bbe0f: Verifying Checksum 20:58:32 59ccb84bbe0f: Download complete 20:58:32 bcfd1f05c69d: Verifying Checksum 20:58:32 bcfd1f05c69d: Download complete 20:58:32 370296b7ddb6: Verifying Checksum 20:58:32 370296b7ddb6: Download complete 20:58:36 370296b7ddb6: Pull complete 20:58:36 7c6cee850709: Pull complete 20:58:36 39a5fcdaea64: Pull complete 20:58:36 d94ebbe4e438: Pull complete 20:58:38 bcfd1f05c69d: Pull complete 20:58:39 59ccb84bbe0f: Pull complete 20:58:39 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 20:58:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 20:58:39 ---> a4fb48ad2a94 20:58:39 Step 3/13 : ARG ADD_BUILD_TAGS="" 20:58:40 ---> Running in 256c9a082203 20:58:40 Removing intermediate container 256c9a082203 20:58:40 ---> d5fd8a95caf1 20:58:40 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:58:40 ---> Running in 14220612393b 20:58:40 Removing intermediate container 14220612393b 20:58:40 ---> 7291e0841ea1 20:58:40 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:58:40 ---> Running in 0ecbe48988ea 20:58:41 Removing intermediate container 0ecbe48988ea 20:58:41 ---> 54f8390474e8 20:58:41 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 20:58:41 ---> Running in 8df9cd5103bf 20:58:41 Removing intermediate container 8df9cd5103bf 20:58:41 ---> fa096a7060ab 20:58:41 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:58:41 ---> Running in 48aba84c6597 20:58:41 Removing intermediate container 48aba84c6597 20:58:41 ---> a12403b71e74 20:58:41 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:58:41 ---> Running in 5b1109e4ecb2 20:58:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:58:42 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:58:43 (1/4) Installing openssh-keygen (9.0_p1-r2) 20:58:43 (2/4) Installing libedit (20210910.3.1-r0) 20:58:43 (3/4) Installing openssh-client-common (9.0_p1-r2) 20:58:43 (4/4) Installing openssh-client-default (9.0_p1-r2) 20:58:43 Executing busybox-1.35.0-r13.trigger 20:58:43 OK: 216 MiB in 55 packages 20:58:44 Removing intermediate container 5b1109e4ecb2 20:58:44 ---> ca697a3013a7 20:58:44 Step 9/13 : WORKDIR /device-rest-go 20:58:44 ---> Running in 4727bed8cd3c 20:58:44 Removing intermediate container 4727bed8cd3c 20:58:44 ---> 854101adc803 20:58:44 Step 10/13 : COPY go.mod vendor* ./ 20:58:44 ---> 64f40d818198 20:58:44 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:58:44 ---> Running in ed43ea8fde89 20:58:45 Still waiting to schedule task 20:58:45 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 20:59:02 Removing intermediate container ed43ea8fde89 20:59:02 ---> a9c8ac1a6bc8 20:59:02 Step 12/13 : COPY . . 20:59:02 ---> c5259d83383f 20:59:02 Step 13/13 : RUN $MAKE 20:59:02 ---> Running in 0303d16fa16c 20:59:02 noop 20:59:02 Removing intermediate container 0303d16fa16c 20:59:02 ---> a34e8f1c2ca0 20:59:02 Successfully built a34e8f1c2ca0 20:59:02 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:02 + docker inspect -f . ci-base-image-x86_64 20:59:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:02 prd-ubuntu20.04-docker-8c-8g-1405 does not seem to be running inside a container 20:59:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/gexfoundry_device-rest-go_PR-213 -v /w/workspace/gexfoundry_device-rest-go_PR-213:/w/workspace/gexfoundry_device-rest-go_PR-213:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-213@tmp:/w/workspace/gexfoundry_device-rest-go_PR-213@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:59:03 $ docker top 893e592b1b4c031829977ce3ea123b8ec5c2fc1ac0996735de02ea34c6a98185 -eo pid,comm [Pipeline] { [Pipeline] sh 20:59:03 + go version 20:59:03 go version go1.18.3 linux/amd64 [Pipeline] } 20:59:03 $ docker stop --time=1 893e592b1b4c031829977ce3ea123b8ec5c2fc1ac0996735de02ea34c6a98185 20:59:04 $ docker rm -f 893e592b1b4c031829977ce3ea123b8ec5c2fc1ac0996735de02ea34c6a98185 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:05 + docker inspect -f . ci-base-image-x86_64 20:59:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:59:05 prd-ubuntu20.04-docker-8c-8g-1405 does not seem to be running inside a container 20:59:05 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/gexfoundry_device-rest-go_PR-213 -v /w/workspace/gexfoundry_device-rest-go_PR-213:/w/workspace/gexfoundry_device-rest-go_PR-213:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-213@tmp:/w/workspace/gexfoundry_device-rest-go_PR-213@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:59:05 $ docker top 8ee58653694c57265ef7def8e7968663bafb6d19793502679678fd999ea598a0 -eo pid,comm [Pipeline] { [Pipeline] sh 20:59:06 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-213 [Pipeline] fileExists [Pipeline] sh 20:59:06 + make test 20:59:06 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 20:59:06 ? github.com/edgexfoundry/device-rest-go [no test files] 20:59:16 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:59:16 ok github.com/edgexfoundry/device-rest-go/driver 0.016s coverage: 55.2% of statements 20:59:23 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 20:59:23 CGO_ENABLED=1 GO111MODULE=on go vet ./... 20:59:25 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:59:25 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:59:25 ./bin/test-attribution-txt.sh [Pipeline] echo 20:59:25 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:59:25 $ docker stop --time=1 8ee58653694c57265ef7def8e7968663bafb6d19793502679678fd999ea598a0 20:59:27 $ docker rm -f 8ee58653694c57265ef7def8e7968663bafb6d19793502679678fd999ea598a0 [Pipeline] // withDockerContainer [Pipeline] sh 20:59:27 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:59:27 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:59:27 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:59:28 + ls -al . 20:59:28 total 180 20:59:28 drwxrwxr-x 9 jenkins jenkins 4096 Sep 27 20:59 . 20:59:28 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 20:58 .. 20:59:28 -rw-rw-r-- 1 jenkins jenkins 151 Sep 27 20:58 .dockerignore 20:59:28 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 20:59 .git 20:59:28 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 20:58 .github 20:59:28 -rw-rw-r-- 1 jenkins jenkins 329 Sep 27 20:58 .gitignore 20:59:28 -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 20:58 .golangci.yml 20:59:28 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 20:58 .semver 20:59:28 -rw-rw-r-- 1 jenkins jenkins 9100 Sep 27 20:58 Attribution.txt 20:59:28 -rw-rw-r-- 1 jenkins jenkins 11736 Sep 27 20:58 CHANGELOG.md 20:59:28 -rw-rw-r-- 1 jenkins jenkins 1730 Sep 27 20:58 Dockerfile 20:59:28 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 20:58 GOVERNANCE.md 20:59:28 -rw-rw-r-- 1 jenkins jenkins 680 Sep 27 20:58 Jenkinsfile 20:59:28 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 20:58 LICENSE 20:59:28 -rw-rw-r-- 1 jenkins jenkins 2173 Sep 27 20:58 Makefile 20:59:28 -rw-rw-r-- 1 jenkins jenkins 620 Sep 27 20:58 OWNERS.md 20:59:28 -rw-rw-r-- 1 jenkins jenkins 8667 Sep 27 20:58 README.md 20:59:28 -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 20:58 VERSION 20:59:28 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 20:58 bin 20:59:28 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 20:58 cmd 20:59:28 -rw-r--r-- 1 jenkins jenkins 9355 Sep 27 20:59 coverage.out 20:59:28 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 20:58 driver 20:59:28 -rw-rw-r-- 1 jenkins jenkins 3547 Sep 27 20:58 go.mod 20:59:28 -rw-rw-r-- 1 jenkins jenkins 37946 Sep 27 20:58 go.sum 20:59:28 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 20:58 snap 20:59:28 -rw-rw-r-- 1 jenkins jenkins 713 Sep 27 20:58 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:28 + 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=74fc3e8542c31808ca5ce87043c5bbc954559f8c --label arch=amd64 --label version=0.0.0 . 20:59:28 Sending build context to Docker daemon 10.73MB 20:59:28 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 20:59:28 Step 2/26 : FROM ${BASE} AS builder 20:59:28 ---> a34e8f1c2ca0 20:59:28 Step 3/26 : ARG ADD_BUILD_TAGS="" 20:59:28 ---> Running in 313a065889ad 20:59:28 Removing intermediate container 313a065889ad 20:59:28 ---> addbf6b1896c 20:59:28 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:59:28 ---> Running in f1e78b38b5fb 20:59:28 Removing intermediate container f1e78b38b5fb 20:59:28 ---> 7e84f8d98ba7 20:59:28 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 20:59:28 ---> Running in aec25fefcc0b 20:59:28 Removing intermediate container aec25fefcc0b 20:59:28 ---> fb542cf90c3e 20:59:28 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 20:59:29 ---> Running in 825da2b6ca74 20:59:29 Removing intermediate container 825da2b6ca74 20:59:29 ---> dfce2c6516b0 20:59:29 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 20:59:29 ---> Running in 60e3a321c485 20:59:29 Removing intermediate container 60e3a321c485 20:59:29 ---> cbf7d6a6949c 20:59:29 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:59:29 ---> Running in dd0b12e2754b 20:59:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:59:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:59:31 OK: 216 MiB in 55 packages 20:59:31 Removing intermediate container dd0b12e2754b 20:59:31 ---> b134f657f91a 20:59:31 Step 9/26 : WORKDIR /device-rest-go 20:59:31 ---> Running in d09285b02101 20:59:31 Removing intermediate container d09285b02101 20:59:31 ---> 98458b094819 20:59:31 Step 10/26 : COPY go.mod vendor* ./ 20:59:31 ---> 1a679b9b6a65 20:59:31 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:59:31 ---> Running in b1ee45de637d 20:59:32 Removing intermediate container b1ee45de637d 20:59:32 ---> 1c4726b7b147 20:59:32 Step 12/26 : COPY . . 20:59:32 ---> f686f9fdc065 20:59:32 Step 13/26 : RUN $MAKE 20:59:32 ---> Running in 7316b1811689 20:59:32 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 20:59:50 Removing intermediate container 7316b1811689 20:59:50 ---> 7d8cd79fab85 20:59:50 Step 14/26 : FROM alpine:3.16 20:59:51 3.16: Pulling from library/alpine 20:59:51 213ec9aee27d: Pulling fs layer 20:59:51 213ec9aee27d: Download complete 20:59:51 213ec9aee27d: Pull complete 20:59:51 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 20:59:51 Status: Downloaded newer image for alpine:3.16 20:59:51 ---> 9c6f07244728 20:59:51 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:59:51 ---> Running in 45e39e3df17a 20:59:51 Removing intermediate container 45e39e3df17a 20:59:51 ---> 14becd725a98 20:59:51 Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} 20:59:52 ---> Running in 0931f5f4ce7e 20:59:52 Removing intermediate container 0931f5f4ce7e 20:59:52 ---> d3cf72619ee9 20:59:52 Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init 20:59:52 ---> Running in a72c55546114 20:59:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 20:59:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 20:59:52 (1/6) Installing dumb-init (1.2.5-r1) 20:59:52 (2/6) Installing libgcc (11.2.1_git20220219-r2) 20:59:52 (3/6) Installing libsodium (1.0.18-r0) 20:59:52 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 20:59:53 (5/6) Installing libzmq (4.3.4-r0) 20:59:53 (6/6) Installing zeromq (4.3.4-r0) 20:59:53 Executing busybox-1.35.0-r17.trigger 20:59:53 OK: 8 MiB in 20 packages 20:59:53 Removing intermediate container a72c55546114 20:59:53 ---> 596066a19eb7 20:59:53 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 20:59:53 ---> ab790aaa38fd 20:59:53 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 20:59:53 ---> 688d102ba547 20:59:53 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 20:59:54 ---> 0efad0d73f58 20:59:54 Step 21/26 : EXPOSE 59986 20:59:54 ---> Running in dec290b95750 20:59:54 Removing intermediate container dec290b95750 20:59:54 ---> 045038c342f5 20:59:54 Step 22/26 : ENTRYPOINT ["/device-rest"] 20:59:54 ---> Running in ee36773942b4 20:59:54 Removing intermediate container ee36773942b4 20:59:54 ---> bab646dfc519 20:59:54 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 20:59:54 ---> Running in 058547ac5b7b 20:59:54 Removing intermediate container 058547ac5b7b 20:59:54 ---> a2f57668123f 20:59:54 Step 24/26 : LABEL arch=amd64 20:59:54 ---> Running in 93a271933533 20:59:54 Removing intermediate container 93a271933533 20:59:54 ---> 8f2c9ad74054 20:59:54 Step 25/26 : LABEL git_sha=74fc3e8542c31808ca5ce87043c5bbc954559f8c 20:59:54 ---> Running in 02379b6b1c89 20:59:54 Removing intermediate container 02379b6b1c89 20:59:54 ---> 8a5dc8f11c75 20:59:54 Step 26/26 : LABEL version=0.0.0 20:59:54 ---> Running in 9ec5fb249d90 20:59:54 Removing intermediate container 9ec5fb249d90 20:59:54 ---> ccf422e8d1c2 20:59:54 [Warning] One or more build-args [ARCH] were not consumed 20:59:54 Successfully built ccf422e8d1c2 20:59:54 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:55 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:59:55 20:59:55 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:59:55 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:59:55 latest: Pulling from edgex-lftools-log-publisher 20:59:55 5eb5b503b376: Pulling fs layer 20:59:55 5c69ac0246d0: Pulling fs layer 20:59:55 ec43610c2a17: Pulling fs layer 20:59:55 3a2ae6a8a46f: Pulling fs layer 20:59:55 33b1e0a273af: Pulling fs layer 20:59:55 5d3b04190fa2: Pulling fs layer 20:59:55 2f39f015ded8: Pulling fs layer 20:59:55 2f39f015ded8: Waiting 20:59:55 33b1e0a273af: Waiting 20:59:55 5d3b04190fa2: Waiting 20:59:55 3a2ae6a8a46f: Waiting 20:59:55 5c69ac0246d0: Download complete 20:59:55 3a2ae6a8a46f: Verifying Checksum 20:59:55 3a2ae6a8a46f: Download complete 20:59:55 33b1e0a273af: Verifying Checksum 20:59:55 33b1e0a273af: Download complete 20:59:55 ec43610c2a17: Verifying Checksum 20:59:55 ec43610c2a17: Download complete 20:59:55 5d3b04190fa2: Download complete 20:59:55 5eb5b503b376: Verifying Checksum 20:59:55 5eb5b503b376: Download complete 20:59:56 2f39f015ded8: Download complete 20:59:56 5eb5b503b376: Pull complete 20:59:56 5c69ac0246d0: Pull complete 20:59:57 ec43610c2a17: Pull complete 20:59:57 3a2ae6a8a46f: Pull complete 20:59:57 33b1e0a273af: Pull complete 20:59:57 5d3b04190fa2: Pull complete 21:00:01 2f39f015ded8: Pull complete 21:00:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:00:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:00:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:00:01 prd-ubuntu20.04-docker-8c-8g-1405 does not seem to be running inside a container 21:00:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-213 -v /w/workspace/gexfoundry_device-rest-go_PR-213:/w/workspace/gexfoundry_device-rest-go_PR-213:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-213@tmp:/w/workspace/gexfoundry_device-rest-go_PR-213@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:00:03 $ docker top 38450f21168e831360ed1d4a1ddbe0b9e2f95a5d44925201ae348fcf157fa0a7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:00:03 ---> job-cost.sh 21:00:03 lf-activate-venv: SKIPPING 21:00:03 INFO: No Stack... 21:00:03 INFO: Retrieving Pricing Info for: v3-standard-8 21:00:04 INFO: Archiving Costs [Pipeline] sh 21:00:04 + cat /w/workspace/gexfoundry_device-rest-go_PR-213/archives/cost.csv 21:00:04 + cut -d, -f6 [Pipeline] lock 21:00:04 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-213-3-stack-cost] 21:00:04 Resource [jenkins-edgexfoundry-device-rest-go-PR-213-3-stack-cost] did not exist. Created. 21:00:04 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-213-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:00:04 + echo total: 0.2199999988079071 [Pipeline] stash 21:00:04 Stashed 1 file(s) [Pipeline] } 21:00:04 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-213-3-stack-cost] [Pipeline] // lock [Pipeline] } 21:00:04 $ docker stop --time=1 38450f21168e831360ed1d4a1ddbe0b9e2f95a5d44925201ae348fcf157fa0a7 21:00:06 $ docker rm -f 38450f21168e831360ed1d4a1ddbe0b9e2f95a5d44925201ae348fcf157fa0a7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:01:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1408 in /w/workspace/gexfoundry_device-rest-go_PR-213 [Pipeline] { [Pipeline] ws 21:01:12 Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout 21:01:12 The recommended git tool is: git 21:01:18 using credential edgex-jenkins-ssh 21:01:18 Cloning the remote Git repository 21:01:18 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:01:18 > git init /w/workspace/device-rest-go/3 # timeout=10 21:01:18 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:01:18 > git --version # timeout=10 21:01:18 > git --version # 'git version 2.25.1' 21:01:18 using GIT_SSH to set credentials SSH Credentials for GitHub 21:01:18 Verifying host key using known hosts file 21:01:18 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:01:18 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:01:20 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:01:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:01:22 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:01:22 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:01:22 using GIT_SSH to set credentials SSH Credentials for GitHub 21:01:22 Verifying host key using known hosts file 21:01:22 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:01:22 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/213/head:refs/remotes/origin/PR-213 +refs/heads/main:refs/remotes/origin/main # timeout=10 21:01:22 Merging remotes/origin/main commit 4a40192a1b6bb0369d057e4fca0f08fde1edf441 into PR head commit 74fc3e8542c31808ca5ce87043c5bbc954559f8c 21:01:22 Merge succeeded, producing 74fc3e8542c31808ca5ce87043c5bbc954559f8c 21:01:22 Checking out Revision 74fc3e8542c31808ca5ce87043c5bbc954559f8c (PR-213) 21:01:22 > git config core.sparsecheckout # timeout=10 21:01:22 > git checkout -f 74fc3e8542c31808ca5ce87043c5bbc954559f8c # timeout=10 21:01:22 > git remote # timeout=10 21:01:22 > git config --get remote.origin.url # timeout=10 21:01:22 using GIT_SSH to set credentials SSH Credentials for GitHub 21:01:22 Verifying host key using known hosts file 21:01:22 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:01:22 > git merge 4a40192a1b6bb0369d057e4fca0f08fde1edf441 # timeout=10 21:01:22 > git rev-parse HEAD^{commit} # timeout=10 21:01:22 > git config core.sparsecheckout # timeout=10 21:01:22 > git checkout -f 74fc3e8542c31808ca5ce87043c5bbc954559f8c # timeout=10 21:01:26 Commit message: "build: Add option to build Service with NATS Capability" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:01:27 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:01:27 % Total % Received % Xferd Average Speed Time Time Time Current 21:01:27 Dload Upload Total Spent Left Speed 21:01:27 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 50814 0 --:--:-- --:--:-- --:--:-- 50814 [Pipeline] sh 21:01:28 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:01:28 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:01:28 + sudo tee /etc/docker/daemon.new 21:01:28 { 21:01:28 "registry-mirrors": [ 21:01:28 "https://nexus3.edgexfoundry.org:10001" 21:01:28 ], 21:01:28 "bip": "10.250.0.254/24", 21:01:28 "hosts": [ 21:01:28 "tcp://0.0.0.0:5555", 21:01:28 "unix:///var/run/docker.sock" 21:01:28 ], 21:01:28 "mtu": 1458, 21:01:28 "selinux-enabled": true, 21:01:28 "seccomp-profile": "/etc/docker/seccomp.json" 21:01:28 } [Pipeline] sh 21:01:29 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:01:29 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:01:47 provisioning config files... 21:01:47 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config12206549241087402970tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:01:47 ---> docker-login.sh 21:01:47 nexus3.edgexfoundry.org:10001 21:01:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:48 Configure a credential helper to remove this warning. See 21:01:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:48 21:01:48 Login Succeeded 21:01:48 nexus3.edgexfoundry.org:10002 21:01:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:49 Configure a credential helper to remove this warning. See 21:01:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:49 21:01:49 Login Succeeded 21:01:49 nexus3.edgexfoundry.org:10003 21:01:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:49 Configure a credential helper to remove this warning. See 21:01:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:49 21:01:49 Login Succeeded 21:01:49 nexus3.edgexfoundry.org:10004 21:01:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:49 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:49 Configure a credential helper to remove this warning. See 21:01:49 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:49 21:01:49 Login Succeeded 21:01:49 docker.io 21:01:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:01:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:01:50 Configure a credential helper to remove this warning. See 21:01:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:01:50 21:01:50 Login Succeeded 21:01:50 ---> docker-login.sh ends [Pipeline] } 21:01:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:01:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:01:50 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:01:50 ========================================================= 21:01:50 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:01:50 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:01:50 + 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:01:50 Sending build context to Docker daemon 127kB 21:01:51 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 21:01:51 Step 2/13 : FROM ${BASE} AS builder 21:01:51 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:01:51 b3c136eddcbf: Pulling fs layer 21:01:51 c0a3192eca97: Pulling fs layer 21:01:51 a050256f5b6f: Pulling fs layer 21:01:51 656be50a0ddc: Pulling fs layer 21:01:51 2bbca73fdf42: Pulling fs layer 21:01:51 46d945488cbd: Pulling fs layer 21:01:51 8a5474983e97: Pulling fs layer 21:01:51 329c88fbcd65: Pulling fs layer 21:01:51 656be50a0ddc: Waiting 21:01:51 2bbca73fdf42: Waiting 21:01:51 46d945488cbd: Waiting 21:01:51 8a5474983e97: Waiting 21:01:51 329c88fbcd65: Waiting 21:01:51 a050256f5b6f: Verifying Checksum 21:01:51 a050256f5b6f: Download complete 21:01:51 c0a3192eca97: Verifying Checksum 21:01:51 c0a3192eca97: Download complete 21:01:51 2bbca73fdf42: Verifying Checksum 21:01:51 2bbca73fdf42: Download complete 21:01:51 46d945488cbd: Download complete 21:01:51 b3c136eddcbf: Download complete 21:01:52 b3c136eddcbf: Pull complete 21:01:52 329c88fbcd65: Verifying Checksum 21:01:52 329c88fbcd65: Download complete 21:01:53 c0a3192eca97: Pull complete 21:01:53 a050256f5b6f: Pull complete 21:01:53 8a5474983e97: Verifying Checksum 21:01:53 8a5474983e97: Download complete 21:01:54 656be50a0ddc: Verifying Checksum 21:01:54 656be50a0ddc: Download complete 21:02:06 656be50a0ddc: Pull complete 21:02:06 2bbca73fdf42: Pull complete 21:02:06 46d945488cbd: Pull complete 21:02:11 8a5474983e97: Pull complete 21:02:13 329c88fbcd65: Pull complete 21:02:13 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 21:02:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:02:13 ---> ff4287adb874 21:02:13 Step 3/13 : ARG ADD_BUILD_TAGS="" 21:02:14 ---> Running in 6df652ea5f7e 21:02:15 Removing intermediate container 6df652ea5f7e 21:02:15 ---> e5663944b691 21:02:15 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:02:15 ---> Running in 371d0237563d 21:02:15 Removing intermediate container 371d0237563d 21:02:15 ---> 968d66840eb3 21:02:15 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:02:15 ---> Running in b1440c94eb93 21:02:16 Removing intermediate container b1440c94eb93 21:02:16 ---> 41740ff54979 21:02:16 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 21:02:16 ---> Running in ab49daf9cd27 21:02:16 Removing intermediate container ab49daf9cd27 21:02:16 ---> b61bc1d129e7 21:02:16 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:02:16 ---> Running in be9be2b31cdd 21:02:18 Removing intermediate container be9be2b31cdd 21:02:18 ---> cdb52d1a2a95 21:02:18 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:02:18 ---> Running in a20b3c45035e 21:02:19 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:02:20 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:02:21 (1/4) Installing openssh-keygen (9.0_p1-r2) 21:02:21 (2/4) Installing libedit (20210910.3.1-r0) 21:02:21 (3/4) Installing openssh-client-common (9.0_p1-r2) 21:02:21 (4/4) Installing openssh-client-default (9.0_p1-r2) 21:02:21 Executing busybox-1.35.0-r13.trigger 21:02:22 OK: 226 MiB in 55 packages 21:02:23 Removing intermediate container a20b3c45035e 21:02:23 ---> 7e94638fecd3 21:02:23 Step 9/13 : WORKDIR /device-rest-go 21:02:23 ---> Running in d67bd3e01cdb 21:02:23 Removing intermediate container d67bd3e01cdb 21:02:23 ---> e671bf0b078a 21:02:23 Step 10/13 : COPY go.mod vendor* ./ 21:02:23 ---> 5605769a71cc 21:02:23 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:02:23 ---> Running in fef9876ae714 21:03:20 Removing intermediate container fef9876ae714 21:03:20 ---> bb9be5f974e4 21:03:20 Step 12/13 : COPY . . 21:03:20 ---> 9e80dede188b 21:03:20 Step 13/13 : RUN $MAKE 21:03:20 ---> Running in e648c0da2dc1 21:03:20 noop 21:03:20 Removing intermediate container e648c0da2dc1 21:03:20 ---> d325a10aa4f8 21:03:20 Successfully built d325a10aa4f8 21:03:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:20 + docker inspect -f . ci-base-image-arm64 21:03:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:20 prd-ubuntu20.04-docker-arm64-4c-16g-1408 does not seem to be running inside a container 21:03:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:03:22 $ docker top 82d229f92ffb42574e509f6ee80ef409214cf2671c0c265ff7adb4de242b6f19 -eo pid,comm [Pipeline] { [Pipeline] sh 21:03:23 + go version 21:03:23 go version go1.18.3 linux/arm64 [Pipeline] } 21:03:23 $ docker stop --time=1 82d229f92ffb42574e509f6ee80ef409214cf2671c0c265ff7adb4de242b6f19 21:03:24 $ docker rm -f 82d229f92ffb42574e509f6ee80ef409214cf2671c0c265ff7adb4de242b6f19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:03:25 + docker inspect -f . ci-base-image-arm64 21:03:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:03:25 prd-ubuntu20.04-docker-arm64-4c-16g-1408 does not seem to be running inside a container 21:03:25 $ 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/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:03:26 $ docker top 879e3b63f340be50debf540cbef1738021ff5423fe03499167d453855949337c -eo pid,comm [Pipeline] { [Pipeline] sh 21:03:27 + git config --global --add safe.directory /w/workspace/device-rest-go/3 [Pipeline] fileExists [Pipeline] sh 21:03:28 + make test 21:03:28 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 21:03:29 ? github.com/edgexfoundry/device-rest-go [no test files] 21:05:06 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:05:06 ok github.com/edgexfoundry/device-rest-go/driver 0.074s coverage: 55.2% of statements 21:05:06 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:05:06 CGO_ENABLED=1 GO111MODULE=on go vet ./... 21:05:21 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:05:21 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:05:21 ./bin/test-attribution-txt.sh [Pipeline] echo 21:05:21 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:05:21 $ docker stop --time=1 879e3b63f340be50debf540cbef1738021ff5423fe03499167d453855949337c 21:05:23 $ docker rm -f 879e3b63f340be50debf540cbef1738021ff5423fe03499167d453855949337c [Pipeline] // withDockerContainer [Pipeline] sh 21:05:24 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:05:24 Warning: overwriting stash ‘coverage-report’ 21:05:24 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:05:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:05:25 + ls -al . 21:05:25 total 176 21:05:25 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 21:03 . 21:05:25 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:01 .. 21:05:25 -rw-rw-r-- 1 jenkins jenkins 151 Sep 27 21:01 .dockerignore 21:05:25 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 21:01 .git 21:05:25 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:01 .github 21:05:25 -rw-rw-r-- 1 jenkins jenkins 329 Sep 27 21:01 .gitignore 21:05:25 -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 21:01 .golangci.yml 21:05:25 -rw-rw-r-- 1 jenkins jenkins 9100 Sep 27 21:01 Attribution.txt 21:05:25 -rw-rw-r-- 1 jenkins jenkins 11736 Sep 27 21:01 CHANGELOG.md 21:05:25 -rw-rw-r-- 1 jenkins jenkins 1730 Sep 27 21:01 Dockerfile 21:05:25 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 21:01 GOVERNANCE.md 21:05:25 -rw-rw-r-- 1 jenkins jenkins 680 Sep 27 21:01 Jenkinsfile 21:05:25 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 21:01 LICENSE 21:05:25 -rw-rw-r-- 1 jenkins jenkins 2173 Sep 27 21:01 Makefile 21:05:25 -rw-rw-r-- 1 jenkins jenkins 620 Sep 27 21:01 OWNERS.md 21:05:25 -rw-rw-r-- 1 jenkins jenkins 8667 Sep 27 21:01 README.md 21:05:25 -rw-rw-r-- 1 jenkins jenkins 5 Sep 27 20:58 VERSION 21:05:25 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:01 bin 21:05:25 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:01 cmd 21:05:25 -rw-r--r-- 1 jenkins jenkins 9355 Sep 27 21:04 coverage.out 21:05:25 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:01 driver 21:05:25 -rw-rw-r-- 1 jenkins jenkins 3547 Sep 27 21:01 go.mod 21:05:25 -rw-rw-r-- 1 jenkins jenkins 37946 Sep 27 21:01 go.sum 21:05:25 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:01 snap 21:05:25 -rw-rw-r-- 1 jenkins jenkins 713 Sep 27 21:01 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:05:25 + 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=74fc3e8542c31808ca5ce87043c5bbc954559f8c --label arch=arm64 --label version=0.0.0 . 21:05:25 Sending build context to Docker daemon 137.2kB 21:05:25 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 21:05:25 Step 2/26 : FROM ${BASE} AS builder 21:05:25 ---> d325a10aa4f8 21:05:25 Step 3/26 : ARG ADD_BUILD_TAGS="" 21:05:26 ---> Running in 5b36f22e61c0 21:05:26 Removing intermediate container 5b36f22e61c0 21:05:26 ---> 5e1624bbb6f2 21:05:26 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:05:26 ---> Running in bda38c3cf822 21:05:27 Removing intermediate container bda38c3cf822 21:05:27 ---> 9868c79b7fc5 21:05:27 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 21:05:27 ---> Running in 404636936a06 21:05:27 Removing intermediate container 404636936a06 21:05:27 ---> 94f6d8573fb8 21:05:27 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 21:05:27 ---> Running in 1f9075f3bffb 21:05:27 Removing intermediate container 1f9075f3bffb 21:05:27 ---> 8773507c68c9 21:05:27 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 21:05:27 ---> Running in b424c2de57c9 21:05:29 Removing intermediate container b424c2de57c9 21:05:29 ---> b4db9f266468 21:05:29 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:05:29 ---> Running in 6afcd398e018 21:05:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:05:31 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:05:33 OK: 226 MiB in 55 packages 21:05:34 Removing intermediate container 6afcd398e018 21:05:34 ---> 56802ff46439 21:05:34 Step 9/26 : WORKDIR /device-rest-go 21:05:34 ---> Running in 8f793f699a14 21:05:34 Removing intermediate container 8f793f699a14 21:05:34 ---> d86d14edae96 21:05:34 Step 10/26 : COPY go.mod vendor* ./ 21:05:35 ---> 15c9acbead9d 21:05:35 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:05:35 ---> Running in c16ad545f15a 21:05:37 Removing intermediate container c16ad545f15a 21:05:37 ---> 9e0188f30595 21:05:37 Step 12/26 : COPY . . 21:05:38 ---> 2e123dbc950e 21:05:38 Step 13/26 : RUN $MAKE 21:05:38 ---> Running in 14a40b2d60e9 21:05:39 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:08:15 Removing intermediate container 14a40b2d60e9 21:08:15 ---> ca55c49c3180 21:08:15 Step 14/26 : FROM alpine:3.16 21:08:15 3.16: Pulling from library/alpine 21:08:15 9b18e9b68314: Pulling fs layer 21:08:15 9b18e9b68314: Verifying Checksum 21:08:15 9b18e9b68314: Download complete 21:08:15 9b18e9b68314: Pull complete 21:08:15 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 21:08:15 Status: Downloaded newer image for alpine:3.16 21:08:15 ---> a6215f271958 21:08:15 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:08:15 ---> Running in d3f949e244a3 21:08:15 Removing intermediate container d3f949e244a3 21:08:15 ---> e1b764164d8d 21:08:15 Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} 21:08:15 ---> Running in a4f5ff7eaa96 21:08:15 Removing intermediate container a4f5ff7eaa96 21:08:15 ---> 48cf3aacb61e 21:08:15 Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init 21:08:15 ---> Running in 98a5a08fe39b 21:08:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:08:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:08:15 (1/6) Installing dumb-init (1.2.5-r1) 21:08:15 (2/6) Installing libgcc (11.2.1_git20220219-r2) 21:08:15 (3/6) Installing libsodium (1.0.18-r0) 21:08:15 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 21:08:15 (5/6) Installing libzmq (4.3.4-r0) 21:08:15 (6/6) Installing zeromq (4.3.4-r0) 21:08:15 Executing busybox-1.35.0-r17.trigger 21:08:15 OK: 8 MiB in 20 packages 21:08:16 Removing intermediate container 98a5a08fe39b 21:08:16 ---> cf83793a99c8 21:08:16 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 21:08:18 ---> 0834767da212 21:08:18 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 21:08:18 ---> 8cbfbe2fb988 21:08:18 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 21:08:19 ---> 052839a1661c 21:08:19 Step 21/26 : EXPOSE 59986 21:08:19 ---> Running in 3b4aed29bead 21:08:19 Removing intermediate container 3b4aed29bead 21:08:19 ---> 4d1a744e28d1 21:08:19 Step 22/26 : ENTRYPOINT ["/device-rest"] 21:08:19 ---> Running in 701bcf01446b 21:08:20 Removing intermediate container 701bcf01446b 21:08:20 ---> 5ee084dd9825 21:08:20 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 21:08:20 ---> Running in a64530a45690 21:08:20 Removing intermediate container a64530a45690 21:08:20 ---> 57776deca9f8 21:08:20 Step 24/26 : LABEL arch=arm64 21:08:20 ---> Running in 24917646e098 21:08:20 Removing intermediate container 24917646e098 21:08:20 ---> b4cc4857a442 21:08:20 Step 25/26 : LABEL git_sha=74fc3e8542c31808ca5ce87043c5bbc954559f8c 21:08:20 ---> Running in bda0c6076380 21:08:21 Removing intermediate container bda0c6076380 21:08:21 ---> fa14ee10719c 21:08:21 Step 26/26 : LABEL version=0.0.0 21:08:21 ---> Running in 0a52e0129eb2 21:08:22 Removing intermediate container 0a52e0129eb2 21:08:22 ---> a1ca05dc7344 21:08:22 [Warning] One or more build-args [ARCH] were not consumed 21:08:22 Successfully built a1ca05dc7344 21:08:22 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:08:22 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:08:22 21:08:22 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:08:22 arm64: Pulling from edgex-lftools-log-publisher 21:08:22 8998bd30e6a1: Pulling fs layer 21:08:22 04944245beec: Pulling fs layer 21:08:22 699f458cf7ca: Pulling fs layer 21:08:22 765212b225bb: Pulling fs layer 21:08:22 f23df028b6ca: Pulling fs layer 21:08:22 d65c8cfc05b1: Pulling fs layer 21:08:22 2437ff75d9bd: Pulling fs layer 21:08:22 2437ff75d9bd: Waiting 21:08:22 f23df028b6ca: Waiting 21:08:22 d65c8cfc05b1: Waiting 21:08:22 765212b225bb: Waiting 21:08:23 04944245beec: Verifying Checksum 21:08:23 04944245beec: Download complete 21:08:23 765212b225bb: Verifying Checksum 21:08:23 765212b225bb: Download complete 21:08:23 f23df028b6ca: Verifying Checksum 21:08:23 f23df028b6ca: Download complete 21:08:23 d65c8cfc05b1: Verifying Checksum 21:08:23 d65c8cfc05b1: Download complete 21:08:23 699f458cf7ca: Verifying Checksum 21:08:23 699f458cf7ca: Download complete 21:08:23 8998bd30e6a1: Download complete 21:08:26 2437ff75d9bd: Verifying Checksum 21:08:26 2437ff75d9bd: Download complete 21:08:27 8998bd30e6a1: Pull complete 21:08:28 04944245beec: Pull complete 21:08:29 699f458cf7ca: Pull complete 21:08:29 765212b225bb: Pull complete 21:08:30 f23df028b6ca: Pull complete 21:08:30 d65c8cfc05b1: Pull complete 21:08:45 2437ff75d9bd: Pull complete 21:08:45 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:08:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:08:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:45 prd-ubuntu20.04-docker-arm64-4c-16g-1408 does not seem to be running inside a container 21:08:45 $ 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/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 21:08:48 $ docker top 5948c7c055d3237ff6ed544f71765709d0a733566134a14761074de4eee1bae7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:08:48 ---> job-cost.sh 21:08:49 lf-activate-venv: SKIPPING 21:08:49 INFO: No Stack... 21:08:49 INFO: Retrieving Pricing Info for: v3-standard-4 21:08:50 INFO: Archiving Costs [Pipeline] sh 21:08:50 + cat /w/workspace/device-rest-go/3/archives/cost.csv 21:08:50 + cut -d, -f6 [Pipeline] lock 21:08:50 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-213-3-stack-cost] 21:08:50 Resource [jenkins-edgexfoundry-device-rest-go-PR-213-3-stack-cost] did not exist. Created. 21:08:50 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-213-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:08:51 /w/workspace/device-rest-go/3@tmp/durable-5416f76f/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:08:51 + echo total: 0.10999999940395355 [Pipeline] stash 21:08:51 Warning: overwriting stash ‘stack-cost’ 21:08:51 Stashed 1 file(s) [Pipeline] } 21:08:51 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-213-3-stack-cost] [Pipeline] // lock [Pipeline] } 21:08:51 $ docker stop --time=1 5948c7c055d3237ff6ed544f71765709d0a733566134a14761074de4eee1bae7 21:08:53 $ docker rm -f 5948c7c055d3237ff6ed544f71765709d0a733566134a14761074de4eee1bae7 [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:08:53 provisioning config files... 21:08:53 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-213@tmp/config12852815574154648751tmp [Pipeline] { [Pipeline] sh 21:08:53 + set +x 21:08:53 + curl -s+ https://codecov.io/bash 21:08:53 bash -s -- 21:08:53 21:08:53 _____ _ 21:08:53 / ____| | | 21:08:53 | | ___ __| | ___ ___ _____ __ 21:08:53 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:08:53 | |___| (_) | (_| | __/ (_| (_) \ V / 21:08:53 \_____\___/ \__,_|\___|\___\___/ \_/ 21:08:53 Bash-1.0.6 21:08:53 21:08:53 21:08:53 ==> git version 2.25.1 found 21:08:53 ==> 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:08:53 Release-Date: 2020-01-08 21:08:53 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:08:53 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:08:53 ==> Jenkins CI detected. 21:08:53 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-213 21:08:53 project root: . 21:08:53 --> token set from env 21:08:53 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:08:53 ==> Running gcov in . (disable via -X gcov) 21:08:53 ==> Python coveragepy not found 21:08:53 ==> Searching for coverage reports in: 21:08:53 + . 21:08:53 -> Found 1 reports 21:08:53 ==> Detecting git/mercurial file structure 21:08:53 ==> Reading reports 21:08:53 + ./coverage.out bytes=9355 21:08:53 ==> Appending adjustments 21:08:53 https://docs.codecov.io/docs/fixing-reports 21:08:53 + Found adjustments 21:08:53 ==> Gzipping contents 21:08:53 4.0K /tmp/codecov.WzsNdP.gz 21:08:53 ==> Uploading reports 21:08:53 url: https://codecov.io 21:08:53 query: branch=PR-213&commit=74fc3e8542c31808ca5ce87043c5bbc954559f8c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-213%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=213&job=&cmd_args= 21:08:54 -> Pinging Codecov 21:08:54 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=PR-213&commit=74fc3e8542c31808ca5ce87043c5bbc954559f8c&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-213%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=213&job=&cmd_args= 21:08:54 -> Uploading to 21:08:54 https://storage.googleapis.com/codecov/v4/raw/2022-09-27/4E5D53B4F1F92C436F7061BF334D961C/74fc3e8542c31808ca5ce87043c5bbc954559f8c/f5291171-e29a-462e-bf2e-d5db55640fb3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220927T210854Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=10eac20f1fe276f52d2250c88eb7456c07578059597b7e6a345d2cb0b0774d97 21:08:54 % Total % Received % Xferd Average Speed Time Time Time Current 21:08:54 Dload Upload Total Spent Left Speed 21:08:54 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1747 0 0 100 1747 0 8605 --:--:-- --:--:-- --:--:-- 8563 100 1747 0 0 100 1747 0 7662 --:--:-- --:--:-- --:--:-- 7628 21:08:54 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/74fc3e8542c31808ca5ce87043c5bbc954559f8c [Pipeline] } 21:08:54 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:08:55 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-213/archives ] 21:08:55 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-213/archives 21:08:55 total 16 21:08:55 drwxr-xr-x 3 root root 4096 Sep 27 21:00 . 21:08:55 drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 21:00 .. 21:08:55 drwxr-xr-x 2 root root 4096 Sep 27 21:00 cost 21:08:55 -rw-r--r-- 1 root root 86 Sep 27 21:00 cost.csv 21:08:55 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-213/archives 21:08:55 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-213/archives 21:08:55 total 16 21:08:55 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 21:00 . 21:08:55 drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 21:00 .. 21:08:55 drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 21:00 cost 21:08:55 -rw-r--r-- 1 jenkins jenkins 86 Sep 27 21:00 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:08:55 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:08:56 ---> package-listing.sh 21:08:56 ++ facter osfamily 21:08:56 ++ tr '[:upper:]' '[:lower:]' 21:08:56 + OS_FAMILY=debian 21:08:56 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-213 21:08:56 + START_PACKAGES=/tmp/packages_start.txt 21:08:56 + END_PACKAGES=/tmp/packages_end.txt 21:08:56 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:08:56 + PACKAGES=/tmp/packages_start.txt 21:08:56 + '[' /w/workspace/gexfoundry_device-rest-go_PR-213 ']' 21:08:56 + PACKAGES=/tmp/packages_end.txt 21:08:56 + case "${OS_FAMILY}" in 21:08:56 + dpkg -l 21:08:56 + grep '^ii' 21:08:56 + '[' -f /tmp/packages_start.txt ']' 21:08:56 + '[' -f /tmp/packages_end.txt ']' 21:08:56 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:08:56 + '[' /w/workspace/gexfoundry_device-rest-go_PR-213 ']' 21:08:56 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-213/archives/ 21:08:56 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/gexfoundry_device-rest-go_PR-213/archives/ [Pipeline] echo 21:08:56 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-213/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 21:08:57 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:08:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:08:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:08:57 prd-ubuntu20.04-docker-8c-8g-1405 does not seem to be running inside a container 21:08:57 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/gexfoundry_device-rest-go_PR-213/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/gexfoundry_device-rest-go_PR-213 -v /w/workspace/gexfoundry_device-rest-go_PR-213:/w/workspace/gexfoundry_device-rest-go_PR-213:rw,z -v /w/workspace/gexfoundry_device-rest-go_PR-213@tmp:/w/workspace/gexfoundry_device-rest-go_PR-213@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:08:57 $ docker top 035c8c29278d39321be7653c60af9584ba3f605ca064117b721096d743f3e29e -eo pid,comm [Pipeline] { [Pipeline] sh 21:08:58 + touch /tmp/pre-build-complete [Pipeline] sh 21:08:58 + mkdir -p /var/log/sysstat [Pipeline] sh 21:08:58 + ls /var/log/sa-host 21:08:58 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:08:58 provisioning config files... 21:08:58 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-213@tmp/config3590484327991281534tmp [Pipeline] { [Pipeline] echo 21:08:58 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:08:59 ---> create-netrc.sh [Pipeline] } 21:08:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:08:59 ---> python-tools-install.sh [Pipeline] echo 21:08:59 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:08:59 ---> sudo-logs.sh 21:08:59 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:08:59 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:09:00 ---> job-cost.sh 21:09:00 lf-activate-venv: SKIPPING 21:09:00 DEBUG: total: 0.2199999988079071 21:09:00 INFO: Retrieving Stack Cost... 21:09:00 INFO: Retrieving Pricing Info for: v3-standard-8 21:09:00 INFO: Archiving Costs [Pipeline] echo 21:09:01 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:09:01 ---> logs-deploy.sh 21:09:01 lf-activate-venv: SKIPPING 21:09:01 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-213/3 21:09:01 INFO: archiving workspace using pattern(s): 21:09:02 Archives upload complete. 21:09:02 INFO: archiving logs to Nexus