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 cc27d241021b405d783a15e4eed4849dd6d745cb+dba35d3ba46b7861587cc7246b39f98fa3ba425a (8396b9b8e3db0164e6ed4358c8b72fdd4bdbbc7d) 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-ssh16544739731088905680.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-ssh16775748255358391707.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-ssh6780944389823964060.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-ssh18234588220704548124.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-ssh14539732476272868133.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 ‘prd-ubuntu20.04-docker-8c-8g-673’ Running on prd-ubuntu20.04-docker-8c-8g-675 in /w/workspace/gexfoundry_device-rest-go_PR-213 [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/gexfoundry_device-rest-go_PR-213 # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/213/head:refs/remotes/origin/PR-213 +refs/heads/main:refs/remotes/origin/main # timeout=10 Merging remotes/origin/main commit dba35d3ba46b7861587cc7246b39f98fa3ba425a into PR head commit cc27d241021b405d783a15e4eed4849dd6d745cb Merge succeeded, producing cc27d241021b405d783a15e4eed4849dd6d745cb Checking out Revision cc27d241021b405d783a15e4eed4849dd6d745cb (PR-213) > git config core.sparsecheckout # timeout=10 > git checkout -f cc27d241021b405d783a15e4eed4849dd6d745cb # timeout=10 > git remote # timeout=10 > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > git merge dba35d3ba46b7861587cc7246b39f98fa3ba425a # timeout=10 > git rev-parse HEAD^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f cc27d241021b405d783a15e4eed4849dd6d745cb # timeout=10 Commit message: "build: Add option to build Service with NATS Capability" First time build. Skipping changelog. > git rev-list --no-walk 0620b8de6097426a9ccc0f6041add98431d45914 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 22:51:59 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 22:51:59 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 22:51:59 ========================================================= 22:51:59 EdgeX Global Pipelines Version Info 22:51:59 ========================================================= [Pipeline] libraryResource [Pipeline] sh 22:52:00 ------------------- 22:52:00 stable info: 22:52:00 ------------------- 22:52:00 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 22:52:00 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 22:52:00 Message: update stable to v1.0.239 22:52:01 ------------------- 22:52:01 experimental info: 22:52:01 ------------------- 22:52:01 Commited By: **** collab-it+edgex@linuxfoundation.org 22:52:01 Commit SHA: bd7468d5528128c83034753e4c3def8ef9af3f2d 22:52:01 Message: update experimental to v1.0.239 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 22:52:01 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 22:52:01 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 22:52:01 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 22:52:01 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 22:52:01 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 22:52:01 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 22:52:01 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 22:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 22:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 22:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 22:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 22:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 22:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 22:52:01 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 22:52:01 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 22:52:01 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 22:52:01 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 22:52:01 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 22:52:01 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 22:52:01 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 22:52:01 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 22:52:01 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 22:52:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 22:52:01 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 22:52:01 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 22:52:01 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 22:52:01 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 22:52:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = PR-213 [Pipeline] echo 22:52:01 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = PR-213 [Pipeline] echo 22:52:01 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = PR-213 [Pipeline] echo 22:52:01 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = cc27d241021b405d783a15e4eed4849dd6d745cb [Pipeline] echo 22:52:01 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = cc27d24 [Pipeline] echo 22:52:01 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:52:01 provisioning config files... 22:52:01 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-213@tmp/config15056040185386520218tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:52:02 ---> docker-login.sh 22:52:02 nexus3.edgexfoundry.org:10001 22:52:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:52:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:52:02 Configure a credential helper to remove this warning. See 22:52:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:52:02 22:52:02 Login Succeeded 22:52:02 nexus3.edgexfoundry.org:10002 22:52:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:52:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:52:02 Configure a credential helper to remove this warning. See 22:52:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:52:02 22:52:02 Login Succeeded 22:52:02 nexus3.edgexfoundry.org:10003 22:52:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:52:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:52:02 Configure a credential helper to remove this warning. See 22:52:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:52:02 22:52:02 Login Succeeded 22:52:02 nexus3.edgexfoundry.org:10004 22:52:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:52:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:52:02 Configure a credential helper to remove this warning. See 22:52:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:52:02 22:52:02 Login Succeeded 22:52:02 docker.io 22:52:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:52:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:52:03 Configure a credential helper to remove this warning. See 22:52:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:52:03 22:52:03 Login Succeeded 22:52:03 ---> docker-login.sh ends [Pipeline] } 22:52:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 22:52:03 + git rev-list -1 --merges cc27d241021b405d783a15e4eed4849dd6d745cb~1..cc27d241021b405d783a15e4eed4849dd6d745cb [Pipeline] echo 22:52:03 -----------> git rev-list -1 --merges cc27d241021b405d783a15e4eed4849dd6d745cb~1..cc27d241021b405d783a15e4eed4849dd6d745cb cc27d241021b405d783a15e4eed4849dd6d745cb [false] [Pipeline] sh 22:52:04 + git log --format=format:%s -1 cc27d241021b405d783a15e4eed4849dd6d745cb [Pipeline] echo 22:52:04 ========================================================= 22:52:04 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 22:52:04 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 22:52:04 + git log --format=format:%s -1 cc27d241021b405d783a15e4eed4849dd6d745cb [Pipeline] echo 22:52:04 [semverPrep] GIT_COMMIT: cc27d241021b405d783a15e4eed4849dd6d745cb, Commit Message: build: Add option to build Service with NATS Capability [Pipeline] echo 22:52:04 [semverPrep] This is not a build commit. [Pipeline] sh 22:52:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 22:52:04 + grep -v github /etc/ssh/ssh_known_hosts 22:52:04 + [ -e /tmp/ssh_known_hosts ] 22:52:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 22:52:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 22:52:04 + sudo tee -a /etc/ssh/ssh_known_hosts 22:52:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:52:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:52:05 22:52:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:52:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:52:05 0.1.4: Pulling from edgex-devops/py-git-semver 22:52:05 b85a868b505f: Pulling fs layer 22:52:05 e2be974225ed: Pulling fs layer 22:52:05 339a4e72a1f5: Pulling fs layer 22:52:05 988bab9f4d93: Pulling fs layer 22:52:05 1469e6f7b9e6: Pulling fs layer 22:52:05 eaf3925da568: Pulling fs layer 22:52:05 bab4dde63d76: Pulling fs layer 22:52:05 bde34c3a00c8: Pulling fs layer 22:52:05 b352a97aabf1: Pulling fs layer 22:52:05 4872d77fe225: Pulling fs layer 22:52:05 5851b861e8e6: Pulling fs layer 22:52:05 988bab9f4d93: Waiting 22:52:05 bab4dde63d76: Waiting 22:52:05 1469e6f7b9e6: Waiting 22:52:05 eaf3925da568: Waiting 22:52:05 b352a97aabf1: Waiting 22:52:05 bde34c3a00c8: Waiting 22:52:05 5851b861e8e6: Waiting 22:52:05 4872d77fe225: Waiting 22:52:05 e2be974225ed: Download complete 22:52:05 988bab9f4d93: Verifying Checksum 22:52:05 988bab9f4d93: Download complete 22:52:05 1469e6f7b9e6: Verifying Checksum 22:52:05 1469e6f7b9e6: Download complete 22:52:05 339a4e72a1f5: Verifying Checksum 22:52:05 339a4e72a1f5: Download complete 22:52:05 eaf3925da568: Download complete 22:52:05 bde34c3a00c8: Verifying Checksum 22:52:05 bde34c3a00c8: Download complete 22:52:05 b352a97aabf1: Download complete 22:52:05 4872d77fe225: Download complete 22:52:05 5851b861e8e6: Download complete 22:52:05 b85a868b505f: Verifying Checksum 22:52:05 b85a868b505f: Download complete 22:52:06 bab4dde63d76: Verifying Checksum 22:52:06 bab4dde63d76: Download complete 22:52:07 b85a868b505f: Pull complete 22:52:07 e2be974225ed: Pull complete 22:52:07 339a4e72a1f5: Pull complete 22:52:07 988bab9f4d93: Pull complete 22:52:08 1469e6f7b9e6: Pull complete 22:52:08 eaf3925da568: Pull complete 22:52:10 bab4dde63d76: Pull complete 22:52:10 bde34c3a00c8: Pull complete 22:52:10 b352a97aabf1: Pull complete 22:52:10 4872d77fe225: Pull complete 22:52:10 5851b861e8e6: Pull complete 22:52:10 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 22:52:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 22:52:10 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:52:10 prd-ubuntu20.04-docker-8c-8g-675 does not seem to be running inside a container 22:52:10 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 22:52:11 $ docker top c9e7ec90a5f0235db3c84e62518650388fd088448457d7c6956042bfe96ef505 -eo pid,comm 22:52:11 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 22:52:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 22:52:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:52:11 [ssh-agent] Looking for ssh-agent implementation... 22:52:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:52:11 $ docker exec c9e7ec90a5f0235db3c84e62518650388fd088448457d7c6956042bfe96ef505 ssh-agent 22:52:11 SSH_AUTH_SOCK=/tmp/ssh-xpRHBto8lGoW/agent.31 22:52:11 SSH_AGENT_PID=38 22:52:12 Running ssh-add (command line suppressed) 22:52:12 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-213@tmp/private_key_9540454378768888383.key (/w/workspace/gexfoundry_device-rest-go_PR-213@tmp/private_key_9540454378768888383.key) 22:52:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:52:12 + git tag --points-at HEAD [Pipeline] } 22:52:12 $ docker exec --env ******** --env ******** c9e7ec90a5f0235db3c84e62518650388fd088448457d7c6956042bfe96ef505 ssh-agent -k 22:52:12 unset SSH_AUTH_SOCK; 22:52:12 unset SSH_AGENT_PID; 22:52:12 echo Agent pid 38 killed; 22:52:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 22:52:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 22:52:12 [ssh-agent] Looking for ssh-agent implementation... 22:52:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 22:52:12 $ docker exec c9e7ec90a5f0235db3c84e62518650388fd088448457d7c6956042bfe96ef505 ssh-agent 22:52:12 SSH_AUTH_SOCK=/tmp/ssh-W2RNeDGPjJWr/agent.70 22:52:12 SSH_AGENT_PID=76 22:52:12 Running ssh-add (command line suppressed) 22:52:12 Identity added: /w/workspace/gexfoundry_device-rest-go_PR-213@tmp/private_key_7801899758852561210.key (/w/workspace/gexfoundry_device-rest-go_PR-213@tmp/private_key_7801899758852561210.key) 22:52:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 22:52:13 + git semver init 22:52:13 2022-09-22 22:52:13,452 [run_init] DEBUG init version:0.0.0 force:False 22:52:13 2022-09-22 22:52:13,452 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/gexfoundry_device-rest-go_PR-213/.semver 22:52:13 2022-09-22 22:52:13,453 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/gexfoundry_device-rest-go_PR-213/.semver 22:52:13 2022-09-22 22:52:13,453 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/gexfoundry_device-rest-go_PR-213/.semver'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-213, universal_newlines=False, shell=None, istream=None) 22:52:14 2022-09-22 22:52:14,475 [append_file] DEBUG append to file:/w/workspace/gexfoundry_device-rest-go_PR-213/.git/info/exclude 22:52:14 2022-09-22 22:52:14,476 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/gexfoundry_device-rest-go_PR-213/.semver/PR-213 with force:False 22:52:14 2022-09-22 22:52:14,476 [write_file] DEBUG write to file:/w/workspace/gexfoundry_device-rest-go_PR-213/.semver/PR-213 22:52:14 2022-09-22 22:52:14,479 [execute] INFO git cat-file --batch-check 22:52:14 2022-09-22 22:52:14,479 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-213/.semver, universal_newlines=False, shell=None, istream=) 22:52:14 2022-09-22 22:52:14,485 [execute] INFO git cat-file --batch 22:52:14 2022-09-22 22:52:14,486 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/gexfoundry_device-rest-go_PR-213/.semver, universal_newlines=False, shell=None, istream=) 22:52:14 2022-09-22 22:52:14,492 [read_version] DEBUG read version from /w/workspace/gexfoundry_device-rest-go_PR-213/.semver/PR-213 22:52:14 0.0.0 [Pipeline] } 22:52:14 $ docker exec --env ******** --env ******** c9e7ec90a5f0235db3c84e62518650388fd088448457d7c6956042bfe96ef505 ssh-agent -k 22:52:15 unset SSH_AUTH_SOCK; 22:52:15 unset SSH_AGENT_PID; 22:52:15 echo Agent pid 76 killed; 22:52:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 22:52:15 + git semver [Pipeline] } 22:52:15 $ docker stop --time=1 c9e7ec90a5f0235db3c84e62518650388fd088448457d7c6956042bfe96ef505 22:52:16 $ docker rm -f c9e7ec90a5f0235db3c84e62518650388fd088448457d7c6956042bfe96ef505 [Pipeline] // withDockerContainer [Pipeline] sh 22:52:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 22:52:17 Stashed 1 file(s) [Pipeline] echo 22:52:17 [edgeXSemver]: initialized semver on version 0.0.0 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:52:17 provisioning config files... 22:52:17 copy managed file [device-rest-go-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-213@tmp/config3415017054484917930tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:52:17 ---> docker-login.sh 22:52:17 nexus3.edgexfoundry.org:10001 22:52:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:52:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:52:17 Configure a credential helper to remove this warning. See 22:52:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:52:17 22:52:17 Login Succeeded 22:52:17 nexus3.edgexfoundry.org:10002 22:52:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:52:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:52:17 Configure a credential helper to remove this warning. See 22:52:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:52:17 22:52:17 Login Succeeded 22:52:17 nexus3.edgexfoundry.org:10003 22:52:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:52:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:52:18 Configure a credential helper to remove this warning. See 22:52:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:52:18 22:52:18 Login Succeeded 22:52:18 nexus3.edgexfoundry.org:10004 22:52:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:52:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:52:18 Configure a credential helper to remove this warning. See 22:52:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:52:18 22:52:18 Login Succeeded 22:52:18 docker.io 22:52:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:52:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:52:18 Configure a credential helper to remove this warning. See 22:52:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:52:18 22:52:18 Login Succeeded 22:52:18 ---> docker-login.sh ends [Pipeline] } 22:52:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:52:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:52:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:52:18 ========================================================= 22:52:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 22:52:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:52:19 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 22:52:19 Sending build context to Docker daemon 10.71MB 22:52:19 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:52:19 Step 2/13 : FROM ${BASE} AS builder 22:52:19 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 22:52:19 2408cc74d12b: Pulling fs layer 22:52:19 ea60b727a1ce: Pulling fs layer 22:52:19 30c4a7721957: Pulling fs layer 22:52:19 370296b7ddb6: Pulling fs layer 22:52:19 7c6cee850709: Pulling fs layer 22:52:19 39a5fcdaea64: Pulling fs layer 22:52:19 d94ebbe4e438: Pulling fs layer 22:52:19 bcfd1f05c69d: Pulling fs layer 22:52:19 59ccb84bbe0f: Pulling fs layer 22:52:19 d94ebbe4e438: Waiting 22:52:19 bcfd1f05c69d: Waiting 22:52:19 7c6cee850709: Waiting 22:52:19 59ccb84bbe0f: Waiting 22:52:19 370296b7ddb6: Waiting 22:52:19 30c4a7721957: Verifying Checksum 22:52:19 30c4a7721957: Download complete 22:52:19 ea60b727a1ce: Verifying Checksum 22:52:19 ea60b727a1ce: Download complete 22:52:19 7c6cee850709: Verifying Checksum 22:52:19 7c6cee850709: Download complete 22:52:19 39a5fcdaea64: Verifying Checksum 22:52:19 39a5fcdaea64: Download complete 22:52:19 2408cc74d12b: Verifying Checksum 22:52:19 2408cc74d12b: Download complete 22:52:19 d94ebbe4e438: Verifying Checksum 22:52:19 d94ebbe4e438: Download complete 22:52:19 2408cc74d12b: Pull complete 22:52:19 ea60b727a1ce: Pull complete 22:52:19 30c4a7721957: Pull complete 22:52:19 59ccb84bbe0f: Verifying Checksum 22:52:19 59ccb84bbe0f: Download complete 22:52:19 bcfd1f05c69d: Verifying Checksum 22:52:19 bcfd1f05c69d: Download complete 22:52:20 370296b7ddb6: Verifying Checksum 22:52:20 370296b7ddb6: Download complete 22:52:24 370296b7ddb6: Pull complete 22:52:24 7c6cee850709: Pull complete 22:52:24 39a5fcdaea64: Pull complete 22:52:24 d94ebbe4e438: Pull complete 22:52:26 bcfd1f05c69d: Pull complete 22:52:26 59ccb84bbe0f: Pull complete 22:52:26 Digest: sha256:b7a3521351a9cbc7ce2a60b0b0d40edf4ed6cc338df7dc09f1589c9a81f0a497 22:52:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 22:52:26 ---> a4fb48ad2a94 22:52:26 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:52:28 ---> Running in 04c912760ed9 22:52:28 Removing intermediate container 04c912760ed9 22:52:28 ---> 3815acb9cb1e 22:52:28 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:52:28 ---> Running in f5283dff96e8 22:52:28 Removing intermediate container f5283dff96e8 22:52:28 ---> b271767f0c83 22:52:28 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:52:28 ---> Running in 78bcb49bb2fc 22:52:28 Removing intermediate container 78bcb49bb2fc 22:52:28 ---> a4fff3011cb1 22:52:28 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:52:28 ---> Running in bc12934bdb1a 22:52:28 Removing intermediate container bc12934bdb1a 22:52:28 ---> 00fdeacc0eec 22:52:28 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:52:28 ---> Running in 219df9ae6f23 22:52:29 Removing intermediate container 219df9ae6f23 22:52:29 ---> f97303ef2dee 22:52:29 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:52:29 ---> Running in a0cacc316b6f 22:52:29 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:52:30 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:52:30 (1/4) Installing openssh-keygen (9.0_p1-r2) 22:52:30 (2/4) Installing libedit (20210910.3.1-r0) 22:52:30 (3/4) Installing openssh-client-common (9.0_p1-r2) 22:52:30 (4/4) Installing openssh-client-default (9.0_p1-r2) 22:52:30 Executing busybox-1.35.0-r13.trigger 22:52:30 OK: 216 MiB in 55 packages 22:52:31 Removing intermediate container a0cacc316b6f 22:52:31 ---> e0c4ccc8e94e 22:52:31 Step 9/13 : WORKDIR /device-rest-go 22:52:31 ---> Running in ab0404b753ab 22:52:31 Removing intermediate container ab0404b753ab 22:52:31 ---> f13829f0d4ac 22:52:31 Step 10/13 : COPY go.mod vendor* ./ 22:52:31 ---> 38bc56c90ef1 22:52:31 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:52:31 ---> Running in 70dc5e65760b 22:52:32 Still waiting to schedule task 22:52:32 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-674’ 22:52:46 Removing intermediate container 70dc5e65760b 22:52:46 ---> 02dc804d38e1 22:52:46 Step 12/13 : COPY . . 22:52:46 ---> 514adecd6ac4 22:52:46 Step 13/13 : RUN $MAKE 22:52:46 ---> Running in d53b22ef136b 22:52:46 noop 22:52:46 Removing intermediate container d53b22ef136b 22:52:46 ---> 9a0955a64fe2 22:52:46 Successfully built 9a0955a64fe2 22:52:46 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:52:46 + docker inspect -f . ci-base-image-x86_64 22:52:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:52:46 prd-ubuntu20.04-docker-8c-8g-675 does not seem to be running inside a container 22:52:47 $ 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 ******** ci-base-image-x86_64 cat 22:52:47 $ docker top 13365e326ee0d0b3ead8110a1f2f97c12513fe8301bf757d75f7b70d92774d96 -eo pid,comm [Pipeline] { [Pipeline] sh 22:52:47 + go version 22:52:47 go version go1.18.3 linux/amd64 [Pipeline] } 22:52:47 $ docker stop --time=1 13365e326ee0d0b3ead8110a1f2f97c12513fe8301bf757d75f7b70d92774d96 22:52:49 $ docker rm -f 13365e326ee0d0b3ead8110a1f2f97c12513fe8301bf757d75f7b70d92774d96 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:52:49 + docker inspect -f . ci-base-image-x86_64 22:52:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:52:49 prd-ubuntu20.04-docker-8c-8g-675 does not seem to be running inside a container 22:52:49 $ 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 ******** ci-base-image-x86_64 cat 22:52:49 $ docker top f8c3a499f61cad8868d5c54ac330a5fbfc1d5afa1b221cdc39b45e325310a4f0 -eo pid,comm [Pipeline] { [Pipeline] sh 22:52:50 + git config --global --add safe.directory /w/workspace/gexfoundry_device-rest-go_PR-213 [Pipeline] fileExists [Pipeline] sh 22:52:50 + make test 22:52:50 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:52:50 ? github.com/edgexfoundry/device-rest-go [no test files] 22:53:00 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:53:00 ok github.com/edgexfoundry/device-rest-go/driver 0.018s coverage: 55.2% of statements 22:53:06 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 22:53:06 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:53:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:53:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:53:09 ./bin/test-attribution-txt.sh [Pipeline] echo 22:53:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:53:09 $ docker stop --time=1 f8c3a499f61cad8868d5c54ac330a5fbfc1d5afa1b221cdc39b45e325310a4f0 22:53:10 $ docker rm -f f8c3a499f61cad8868d5c54ac330a5fbfc1d5afa1b221cdc39b45e325310a4f0 [Pipeline] // withDockerContainer [Pipeline] sh 22:53:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:53:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 22:53:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:53:12 + ls -al . 22:53:12 total 180 22:53:12 drwxrwxr-x 9 jenkins jenkins 4096 Sep 22 22:52 . 22:53:12 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 22:51 .. 22:53:12 -rw-rw-r-- 1 jenkins jenkins 151 Sep 22 22:51 .dockerignore 22:53:12 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 22:53 .git 22:53:12 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 22:51 .github 22:53:12 -rw-rw-r-- 1 jenkins jenkins 329 Sep 22 22:51 .gitignore 22:53:12 -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 22:51 .golangci.yml 22:53:12 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 22:52 .semver 22:53:12 -rw-rw-r-- 1 jenkins jenkins 9100 Sep 22 22:51 Attribution.txt 22:53:12 -rw-rw-r-- 1 jenkins jenkins 11736 Sep 22 22:51 CHANGELOG.md 22:53:12 -rw-rw-r-- 1 jenkins jenkins 1730 Sep 22 22:51 Dockerfile 22:53:12 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 22:51 GOVERNANCE.md 22:53:12 -rw-rw-r-- 1 jenkins jenkins 680 Sep 22 22:51 Jenkinsfile 22:53:12 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 22:51 LICENSE 22:53:12 -rw-rw-r-- 1 jenkins jenkins 2173 Sep 22 22:51 Makefile 22:53:12 -rw-rw-r-- 1 jenkins jenkins 620 Sep 22 22:51 OWNERS.md 22:53:12 -rw-rw-r-- 1 jenkins jenkins 8667 Sep 22 22:51 README.md 22:53:12 -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 22:52 VERSION 22:53:12 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 22:51 bin 22:53:12 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 22:51 cmd 22:53:12 -rw-r--r-- 1 jenkins jenkins 9355 Sep 22 22:52 coverage.out 22:53:12 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 22:51 driver 22:53:12 -rw-rw-r-- 1 jenkins jenkins 3547 Sep 22 22:51 go.mod 22:53:12 -rw-rw-r-- 1 jenkins jenkins 37945 Sep 22 22:51 go.sum 22:53:12 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 22:51 snap 22:53:12 -rw-rw-r-- 1 jenkins jenkins 713 Sep 22 22:51 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:53:12 + 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=cc27d241021b405d783a15e4eed4849dd6d745cb --label arch=amd64 --label version=0.0.0 . 22:53:12 Sending build context to Docker daemon 10.72MB 22:53:12 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 22:53:12 Step 2/26 : FROM ${BASE} AS builder 22:53:12 ---> 9a0955a64fe2 22:53:12 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:53:12 ---> Running in 3ab04071b422 22:53:12 Removing intermediate container 3ab04071b422 22:53:12 ---> 7ebc93dc6d97 22:53:12 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:53:12 ---> Running in c290ef613ef8 22:53:12 Removing intermediate container c290ef613ef8 22:53:12 ---> 9feb42f5df35 22:53:12 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:53:12 ---> Running in 43090ff1ad0a 22:53:13 Removing intermediate container 43090ff1ad0a 22:53:13 ---> 9bd519a271c8 22:53:13 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:53:13 ---> Running in c4668f97c1bb 22:53:13 Removing intermediate container c4668f97c1bb 22:53:13 ---> 2482b4accfa6 22:53:13 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:53:13 ---> Running in d63ae4cba75e 22:53:13 Removing intermediate container d63ae4cba75e 22:53:13 ---> c2ce6f727a84 22:53:13 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:53:13 ---> Running in a0b8c4f2ef0f 22:53:13 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:53:14 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:53:15 OK: 216 MiB in 55 packages 22:53:15 Removing intermediate container a0b8c4f2ef0f 22:53:15 ---> bab5a4cdeba8 22:53:15 Step 9/26 : WORKDIR /device-rest-go 22:53:15 ---> Running in 99792834009e 22:53:15 Removing intermediate container 99792834009e 22:53:15 ---> 3ccc082ce229 22:53:15 Step 10/26 : COPY go.mod vendor* ./ 22:53:15 ---> 51155ea4641a 22:53:15 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:53:15 ---> Running in e3b1e7a1cbb3 22:53:16 Removing intermediate container e3b1e7a1cbb3 22:53:16 ---> b0bb79f8be91 22:53:16 Step 12/26 : COPY . . 22:53:16 ---> 0c1ee2d9c2c4 22:53:16 Step 13/26 : RUN $MAKE 22:53:16 ---> Running in 00d9803fa0c0 22:53:16 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=0.0.0" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 22:53:34 Removing intermediate container 00d9803fa0c0 22:53:34 ---> 568b994e228f 22:53:34 Step 14/26 : FROM alpine:3.16 22:53:35 3.16: Pulling from library/alpine 22:53:35 213ec9aee27d: Pulling fs layer 22:53:35 213ec9aee27d: Verifying Checksum 22:53:35 213ec9aee27d: Download complete 22:53:35 213ec9aee27d: Pull complete 22:53:35 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 22:53:35 Status: Downloaded newer image for alpine:3.16 22:53:35 ---> 9c6f07244728 22:53:35 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 22:53:35 ---> Running in 043798e12b8a 22:53:35 Removing intermediate container 043798e12b8a 22:53:35 ---> c74809cf31ba 22:53:35 Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} 22:53:35 ---> Running in 6c2096230d35 22:53:35 Removing intermediate container 6c2096230d35 22:53:35 ---> e196a69914e5 22:53:35 Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init 22:53:35 ---> Running in 4361efa230c3 22:53:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 22:53:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 22:53:36 (1/6) Installing dumb-init (1.2.5-r1) 22:53:36 (2/6) Installing libgcc (11.2.1_git20220219-r2) 22:53:36 (3/6) Installing libsodium (1.0.18-r0) 22:53:36 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 22:53:36 (5/6) Installing libzmq (4.3.4-r0) 22:53:36 (6/6) Installing zeromq (4.3.4-r0) 22:53:36 Executing busybox-1.35.0-r17.trigger 22:53:36 OK: 8 MiB in 20 packages 22:53:36 Removing intermediate container 4361efa230c3 22:53:36 ---> 8d4b3a9ead9a 22:53:36 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 22:53:37 ---> 9c58a36df807 22:53:37 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 22:53:37 ---> 687449251c3c 22:53:37 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 22:53:37 ---> 890abe939531 22:53:37 Step 21/26 : EXPOSE 59986 22:53:37 ---> Running in c00cf91477e4 22:53:37 Removing intermediate container c00cf91477e4 22:53:37 ---> b480623401b5 22:53:37 Step 22/26 : ENTRYPOINT ["/device-rest"] 22:53:37 ---> Running in b9bdde2a01ee 22:53:37 Removing intermediate container b9bdde2a01ee 22:53:37 ---> 1fe4c995a5a5 22:53:37 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 22:53:37 ---> Running in 204fe027fcfe 22:53:37 Removing intermediate container 204fe027fcfe 22:53:37 ---> e2aecfe49610 22:53:37 Step 24/26 : LABEL arch=amd64 22:53:37 ---> Running in 1eb59ad5912b 22:53:38 Removing intermediate container 1eb59ad5912b 22:53:38 ---> 65215baee01c 22:53:38 Step 25/26 : LABEL git_sha=cc27d241021b405d783a15e4eed4849dd6d745cb 22:53:38 ---> Running in 064c95a749fc 22:53:38 Removing intermediate container 064c95a749fc 22:53:38 ---> 53cf9c435275 22:53:38 Step 26/26 : LABEL version=0.0.0 22:53:38 ---> Running in f1873b2a8e16 22:53:38 Removing intermediate container f1873b2a8e16 22:53:38 ---> c931019d06ae 22:53:38 [Warning] One or more build-args [ARCH] were not consumed 22:53:38 Successfully built c931019d06ae 22:53:38 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) Stage "Docker Push" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:53:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:53:38 22:53:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:53:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:53:39 latest: Pulling from edgex-lftools-log-publisher 22:53:39 5eb5b503b376: Pulling fs layer 22:53:39 5c69ac0246d0: Pulling fs layer 22:53:39 ec43610c2a17: Pulling fs layer 22:53:39 3a2ae6a8a46f: Pulling fs layer 22:53:39 33b1e0a273af: Pulling fs layer 22:53:39 5d3b04190fa2: Pulling fs layer 22:53:39 2f39f015ded8: Pulling fs layer 22:53:39 3a2ae6a8a46f: Waiting 22:53:39 33b1e0a273af: Waiting 22:53:39 5d3b04190fa2: Waiting 22:53:39 2f39f015ded8: Waiting 22:53:39 5c69ac0246d0: Verifying Checksum 22:53:39 5c69ac0246d0: Download complete 22:53:39 3a2ae6a8a46f: Download complete 22:53:39 33b1e0a273af: Verifying Checksum 22:53:39 33b1e0a273af: Download complete 22:53:39 5d3b04190fa2: Verifying Checksum 22:53:39 5d3b04190fa2: Download complete 22:53:39 ec43610c2a17: Verifying Checksum 22:53:39 ec43610c2a17: Download complete 22:53:39 5eb5b503b376: Verifying Checksum 22:53:39 5eb5b503b376: Download complete 22:53:39 2f39f015ded8: Download complete 22:53:40 5eb5b503b376: Pull complete 22:53:40 5c69ac0246d0: Pull complete 22:53:40 ec43610c2a17: Pull complete 22:53:40 3a2ae6a8a46f: Pull complete 22:53:41 33b1e0a273af: Pull complete 22:53:41 5d3b04190fa2: Pull complete 22:53:45 2f39f015ded8: Pull complete 22:53:45 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 22:53:45 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 22:53:45 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:53:45 prd-ubuntu20.04-docker-8c-8g-675 does not seem to be running inside a container 22:53: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/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 22:53:46 $ docker top f7478d41ca2b08a671df6e63888449da5de793ae516d7cd8c07e9dfa65a30b41 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:53:47 ---> job-cost.sh 22:53:47 lf-activate-venv: SKIPPING 22:53:47 INFO: No Stack... 22:53:47 INFO: Retrieving Pricing Info for: v3-standard-8 22:53:48 INFO: Archiving Costs [Pipeline] sh 22:53:48 + + cut -d, -f6cat 22:53:48 /w/workspace/gexfoundry_device-rest-go_PR-213/archives/cost.csv [Pipeline] lock 22:53:48 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-213-2-stack-cost] 22:53:48 Resource [jenkins-edgexfoundry-device-rest-go-PR-213-2-stack-cost] did not exist. Created. 22:53:48 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-213-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 22:53:49 + echo total: 0.2199999988079071 [Pipeline] stash 22:53:49 Stashed 1 file(s) [Pipeline] } 22:53:49 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-213-2-stack-cost] [Pipeline] // lock [Pipeline] } 22:53:49 $ docker stop --time=1 f7478d41ca2b08a671df6e63888449da5de793ae516d7cd8c07e9dfa65a30b41 22:53:50 $ docker rm -f f7478d41ca2b08a671df6e63888449da5de793ae516d7cd8c07e9dfa65a30b41 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 22:55:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-677 in /w/workspace/gexfoundry_device-rest-go_PR-213 [Pipeline] { [Pipeline] ws 22:55:02 Running in /w/workspace/device-rest-go/2 [Pipeline] { [Pipeline] checkout 22:55:02 The recommended git tool is: git 22:55:07 using credential edgex-jenkins-ssh 22:55:07 Cloning the remote Git repository 22:55:07 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 22:55:07 > git init /w/workspace/device-rest-go/2 # timeout=10 22:55:08 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:55:08 > git --version # timeout=10 22:55:08 > git --version # 'git version 2.25.1' 22:55:08 using GIT_SSH to set credentials SSH Credentials for GitHub 22:55:08 Verifying host key using known hosts file 22:55:08 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 22:55:08 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 22:55:10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:55:10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 22:55:11 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 22:55:11 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 22:55:11 using GIT_SSH to set credentials SSH Credentials for GitHub 22:55:11 Verifying host key using known hosts file 22:55:11 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 22:55:11 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/pull/213/head:refs/remotes/origin/PR-213 +refs/heads/main:refs/remotes/origin/main # timeout=10 22:55:12 Merging remotes/origin/main commit dba35d3ba46b7861587cc7246b39f98fa3ba425a into PR head commit cc27d241021b405d783a15e4eed4849dd6d745cb 22:55:12 Merge succeeded, producing cc27d241021b405d783a15e4eed4849dd6d745cb 22:55:12 Checking out Revision cc27d241021b405d783a15e4eed4849dd6d745cb (PR-213) 22:55:12 > git config core.sparsecheckout # timeout=10 22:55:12 > git checkout -f cc27d241021b405d783a15e4eed4849dd6d745cb # timeout=10 22:55:12 > git remote # timeout=10 22:55:12 > git config --get remote.origin.url # timeout=10 22:55:12 using GIT_SSH to set credentials SSH Credentials for GitHub 22:55:12 Verifying host key using known hosts file 22:55:12 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 22:55:12 > git merge dba35d3ba46b7861587cc7246b39f98fa3ba425a # timeout=10 22:55:12 > git rev-parse HEAD^{commit} # timeout=10 22:55:12 > git config core.sparsecheckout # timeout=10 22:55:12 > git checkout -f cc27d241021b405d783a15e4eed4849dd6d745cb # timeout=10 22:55:16 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 22:55:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 22:55:17 % Total % Received % Xferd Average Speed Time Time Time Current 22:55:17 Dload Upload Total Spent Left Speed 22:55:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 78762 0 --:--:-- --:--:-- --:--:-- 78762 [Pipeline] sh 22:55:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 22:55:18 + sudo jq+ . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 22:55:18 sudo tee /etc/docker/daemon.new 22:55:18 { 22:55:18 "registry-mirrors": [ 22:55:18 "https://nexus3.edgexfoundry.org:10001" 22:55:18 ], 22:55:18 "bip": "10.250.0.254/24", 22:55:18 "hosts": [ 22:55:18 "tcp://0.0.0.0:5555", 22:55:18 "unix:///var/run/docker.sock" 22:55:18 ], 22:55:18 "mtu": 1458, 22:55:18 "selinux-enabled": true, 22:55:18 "seccomp-profile": "/etc/docker/seccomp.json" 22:55:18 } [Pipeline] sh 22:55:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 22:55:18 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 22:55:37 provisioning config files... 22:55:37 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/2@tmp/config13832205333602282531tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 22:55:37 ---> docker-login.sh 22:55:37 nexus3.edgexfoundry.org:10001 22:55:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:38 Configure a credential helper to remove this warning. See 22:55:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:38 22:55:38 Login Succeeded 22:55:38 nexus3.edgexfoundry.org:10002 22:55:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:38 Configure a credential helper to remove this warning. See 22:55:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:38 22:55:38 Login Succeeded 22:55:38 nexus3.edgexfoundry.org:10003 22:55:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:38 Configure a credential helper to remove this warning. See 22:55:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:38 22:55:38 Login Succeeded 22:55:38 nexus3.edgexfoundry.org:10004 22:55:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:39 Configure a credential helper to remove this warning. See 22:55:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:39 22:55:39 Login Succeeded 22:55:39 docker.io 22:55:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 22:55:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 22:55:39 Configure a credential helper to remove this warning. See 22:55:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 22:55:39 22:55:39 Login Succeeded 22:55:39 ---> docker-login.sh ends [Pipeline] } 22:55:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 22:55:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:55:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 22:55:39 ========================================================= 22:55:39 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 22:55:39 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:55:40 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 22:55:40 Sending build context to Docker daemon 127.5kB 22:55:40 Step 1/13 : ARG BASE=golang:1.18-alpine3.16 22:55:40 Step 2/13 : FROM ${BASE} AS builder 22:55:40 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 22:55:40 b3c136eddcbf: Pulling fs layer 22:55:40 c0a3192eca97: Pulling fs layer 22:55:40 a050256f5b6f: Pulling fs layer 22:55:40 656be50a0ddc: Pulling fs layer 22:55:40 2bbca73fdf42: Pulling fs layer 22:55:40 46d945488cbd: Pulling fs layer 22:55:40 8a5474983e97: Pulling fs layer 22:55:40 329c88fbcd65: Pulling fs layer 22:55:40 656be50a0ddc: Waiting 22:55:40 2bbca73fdf42: Waiting 22:55:40 46d945488cbd: Waiting 22:55:40 8a5474983e97: Waiting 22:55:40 329c88fbcd65: Waiting 22:55:40 a050256f5b6f: Verifying Checksum 22:55:40 a050256f5b6f: Download complete 22:55:40 c0a3192eca97: Verifying Checksum 22:55:40 c0a3192eca97: Download complete 22:55:40 2bbca73fdf42: Verifying Checksum 22:55:40 2bbca73fdf42: Download complete 22:55:40 46d945488cbd: Verifying Checksum 22:55:40 46d945488cbd: Download complete 22:55:40 b3c136eddcbf: Verifying Checksum 22:55:41 b3c136eddcbf: Pull complete 22:55:41 329c88fbcd65: Verifying Checksum 22:55:41 329c88fbcd65: Download complete 22:55:42 c0a3192eca97: Pull complete 22:55:43 a050256f5b6f: Pull complete 22:55:43 8a5474983e97: Verifying Checksum 22:55:43 8a5474983e97: Download complete 22:55:43 656be50a0ddc: Verifying Checksum 22:55:43 656be50a0ddc: Download complete 22:55:55 656be50a0ddc: Pull complete 22:55:55 2bbca73fdf42: Pull complete 22:55:55 46d945488cbd: Pull complete 22:56:01 8a5474983e97: Pull complete 22:56:02 329c88fbcd65: Pull complete 22:56:02 Digest: sha256:53af0e8f7504757f555691f1ffb14839a2b3754f429f24055fc4060c6a6ea7d8 22:56:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 22:56:02 ---> ff4287adb874 22:56:02 Step 3/13 : ARG ADD_BUILD_TAGS="" 22:56:04 ---> Running in a5f4651ea750 22:56:04 Removing intermediate container a5f4651ea750 22:56:04 ---> 451cde390b79 22:56:04 Step 4/13 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:56:05 ---> Running in 9abd3cef17a9 22:56:05 Removing intermediate container 9abd3cef17a9 22:56:05 ---> ae7a9d7bf34a 22:56:05 Step 5/13 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:56:05 ---> Running in 159a4a65c0e5 22:56:06 Removing intermediate container 159a4a65c0e5 22:56:06 ---> 657a4f8165cd 22:56:06 Step 6/13 : ARG ALPINE_PKG_EXTRA="" 22:56:06 ---> Running in caa4bfd328b4 22:56:06 Removing intermediate container caa4bfd328b4 22:56:06 ---> fce9676d1484 22:56:06 Step 7/13 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:56:06 ---> Running in 2aead2d5c347 22:56:08 Removing intermediate container 2aead2d5c347 22:56:08 ---> 9aea7fd87efb 22:56:08 Step 8/13 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:56:08 ---> Running in ba28376611d3 22:56:09 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:56:10 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:56:11 (1/4) Installing openssh-keygen (9.0_p1-r2) 22:56:11 (2/4) Installing libedit (20210910.3.1-r0) 22:56:11 (3/4) Installing openssh-client-common (9.0_p1-r2) 22:56:11 (4/4) Installing openssh-client-default (9.0_p1-r2) 22:56:11 Executing busybox-1.35.0-r13.trigger 22:56:11 OK: 226 MiB in 55 packages 22:56:12 Removing intermediate container ba28376611d3 22:56:12 ---> d3b551e74301 22:56:12 Step 9/13 : WORKDIR /device-rest-go 22:56:12 ---> Running in 41214e8d87cc 22:56:13 Removing intermediate container 41214e8d87cc 22:56:13 ---> 9a3b3d9c924b 22:56:13 Step 10/13 : COPY go.mod vendor* ./ 22:56:13 ---> acc45b09d980 22:56:13 Step 11/13 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:56:13 ---> Running in 66ad11e9f1af 22:57:10 Removing intermediate container 66ad11e9f1af 22:57:10 ---> c3578356224c 22:57:10 Step 12/13 : COPY . . 22:57:10 ---> 50ee452148da 22:57:10 Step 13/13 : RUN $MAKE 22:57:10 ---> Running in 1356ba66a8e8 22:57:10 noop 22:57:10 Removing intermediate container 1356ba66a8e8 22:57:10 ---> 9fc4c93c303b 22:57:10 Successfully built 9fc4c93c303b 22:57:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:10 + docker inspect -f . ci-base-image-arm64 22:57:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:57:10 prd-ubuntu20.04-docker-arm64-4c-16g-677 does not seem to be running inside a container 22:57:10 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 22:57:12 $ docker top 1d233b068115b396db735458aad9c56168b99a36f932d834435c160dca80ad4e -eo pid,comm [Pipeline] { [Pipeline] sh 22:57:13 + go version 22:57:13 go version go1.18.3 linux/arm64 [Pipeline] } 22:57:13 $ docker stop --time=1 1d233b068115b396db735458aad9c56168b99a36f932d834435c160dca80ad4e 22:57:14 $ docker rm -f 1d233b068115b396db735458aad9c56168b99a36f932d834435c160dca80ad4e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:57:15 + docker inspect -f . ci-base-image-arm64 22:57:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 22:57:15 prd-ubuntu20.04-docker-arm64-4c-16g-677 does not seem to be running inside a container 22:57:15 $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 22:57:16 $ docker top eddd68f4889a530407d9264d992967a14426311c1d27b28aef81dcf4920de86c -eo pid,comm [Pipeline] { [Pipeline] sh 22:57:17 + git config --global --add safe.directory /w/workspace/device-rest-go/2 [Pipeline] fileExists [Pipeline] sh 22:57:17 + make test 22:57:18 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 22:57:19 ? github.com/edgexfoundry/device-rest-go [no test files] 22:58:56 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 22:58:56 ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 55.2% of statements 22:58:56 WARNING: Linting skipped (not on x86_64 or linter not installed) 22:58:56 CGO_ENABLED=1 GO111MODULE=on go vet ./... 22:59:11 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 22:59:11 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 22:59:11 ./bin/test-attribution-txt.sh [Pipeline] echo 22:59:11 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 22:59:11 $ docker stop --time=1 eddd68f4889a530407d9264d992967a14426311c1d27b28aef81dcf4920de86c 22:59:13 $ docker rm -f eddd68f4889a530407d9264d992967a14426311c1d27b28aef81dcf4920de86c [Pipeline] // withDockerContainer [Pipeline] sh 22:59:14 + sudo chown -R jenkins:jenkins . [Pipeline] stash 22:59:14 Warning: overwriting stash ‘coverage-report’ 22:59:14 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 22:59:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 22:59:15 + ls -al . 22:59:15 total 176 22:59:15 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 22:57 . 22:59:15 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 22:55 .. 22:59:15 -rw-rw-r-- 1 jenkins jenkins 151 Sep 22 22:55 .dockerignore 22:59:15 drwxrwxr-x 8 jenkins jenkins 4096 Sep 22 22:55 .git 22:59:15 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 22:55 .github 22:59:15 -rw-rw-r-- 1 jenkins jenkins 329 Sep 22 22:55 .gitignore 22:59:15 -rw-rw-r-- 1 jenkins jenkins 41 Sep 22 22:55 .golangci.yml 22:59:15 -rw-rw-r-- 1 jenkins jenkins 9100 Sep 22 22:55 Attribution.txt 22:59:15 -rw-rw-r-- 1 jenkins jenkins 11736 Sep 22 22:55 CHANGELOG.md 22:59:15 -rw-rw-r-- 1 jenkins jenkins 1730 Sep 22 22:55 Dockerfile 22:59:15 -rw-rw-r-- 1 jenkins jenkins 677 Sep 22 22:55 GOVERNANCE.md 22:59:15 -rw-rw-r-- 1 jenkins jenkins 680 Sep 22 22:55 Jenkinsfile 22:59:15 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 22 22:55 LICENSE 22:59:15 -rw-rw-r-- 1 jenkins jenkins 2173 Sep 22 22:55 Makefile 22:59:15 -rw-rw-r-- 1 jenkins jenkins 620 Sep 22 22:55 OWNERS.md 22:59:15 -rw-rw-r-- 1 jenkins jenkins 8667 Sep 22 22:55 README.md 22:59:15 -rw-rw-r-- 1 jenkins jenkins 5 Sep 22 22:52 VERSION 22:59:15 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 22:55 bin 22:59:15 drwxrwxr-x 3 jenkins jenkins 4096 Sep 22 22:55 cmd 22:59:15 -rw-r--r-- 1 jenkins jenkins 9355 Sep 22 22:58 coverage.out 22:59:15 drwxrwxr-x 2 jenkins jenkins 4096 Sep 22 22:55 driver 22:59:15 -rw-rw-r-- 1 jenkins jenkins 3547 Sep 22 22:55 go.mod 22:59:15 -rw-rw-r-- 1 jenkins jenkins 37945 Sep 22 22:55 go.sum 22:59:15 drwxrwxr-x 4 jenkins jenkins 4096 Sep 22 22:55 snap 22:59:15 -rw-rw-r-- 1 jenkins jenkins 713 Sep 22 22:55 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 22:59:15 + 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=cc27d241021b405d783a15e4eed4849dd6d745cb --label arch=arm64 --label version=0.0.0 . 22:59:15 Sending build context to Docker daemon 137.7kB 22:59:16 Step 1/26 : ARG BASE=golang:1.18-alpine3.16 22:59:16 Step 2/26 : FROM ${BASE} AS builder 22:59:16 ---> 9fc4c93c303b 22:59:16 Step 3/26 : ARG ADD_BUILD_TAGS="" 22:59:16 ---> Running in 2635a2c476e0 22:59:16 Removing intermediate container 2635a2c476e0 22:59:16 ---> 040732975e92 22:59:16 Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 22:59:16 ---> Running in b335e73a2dcf 22:59:17 Removing intermediate container b335e73a2dcf 22:59:17 ---> c2eb7ea72afd 22:59:17 Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 22:59:17 ---> Running in cf06e8669c0f 22:59:17 Removing intermediate container cf06e8669c0f 22:59:17 ---> dc5b7dc0f3ac 22:59:17 Step 6/26 : ARG ALPINE_PKG_EXTRA="" 22:59:17 ---> Running in 0e6628eca7d6 22:59:17 Removing intermediate container 0e6628eca7d6 22:59:17 ---> 8014481c48a1 22:59:17 Step 7/26 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/dl-4.alpinelinux.org/g' -i~ /etc/apk/repositories 22:59:17 ---> Running in bbd7b5fba3cf 22:59:19 Removing intermediate container bbd7b5fba3cf 22:59:19 ---> 1139e4a8b432 22:59:19 Step 8/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 22:59:20 ---> Running in 49e402baa43e 22:59:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 22:59:21 fetch https://dl-4.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 22:59:22 OK: 226 MiB in 55 packages 22:59:24 Removing intermediate container 49e402baa43e 22:59:24 ---> baedfcb3eb53 22:59:24 Step 9/26 : WORKDIR /device-rest-go 22:59:24 ---> Running in facc743fecb1 22:59:24 Removing intermediate container facc743fecb1 22:59:24 ---> 3e6834854aa9 22:59:24 Step 10/26 : COPY go.mod vendor* ./ 22:59:25 ---> 9368a0a5fd8c 22:59:25 Step 11/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 22:59:25 ---> Running in d10f012022fd 22:59:28 Removing intermediate container d10f012022fd 22:59:28 ---> ecb049c7ac92 22:59:28 Step 12/26 : COPY . . 22:59:28 ---> 3f506e89a7a7 22:59:28 Step 13/26 : RUN $MAKE 22:59:28 ---> Running in 22f7995b1d72 22:59:29 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 23:02:06 Removing intermediate container 22f7995b1d72 23:02:06 ---> 6733c22040f2 23:02:06 Step 14/26 : FROM alpine:3.16 23:02:06 3.16: Pulling from library/alpine 23:02:06 9b18e9b68314: Pulling fs layer 23:02:06 9b18e9b68314: Verifying Checksum 23:02:06 9b18e9b68314: Download complete 23:02:06 9b18e9b68314: Pull complete 23:02:06 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 23:02:06 Status: Downloaded newer image for alpine:3.16 23:02:06 ---> a6215f271958 23:02:06 Step 15/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:02:06 ---> Running in 1a81777746ae 23:02:06 Removing intermediate container 1a81777746ae 23:02:06 ---> 1422cad8fb31 23:02:06 Step 16/26 : LABEL Name=device-rest-go Version=${VERSION} 23:02:06 ---> Running in d253229325c8 23:02:06 Removing intermediate container d253229325c8 23:02:06 ---> d77111e8fb9e 23:02:06 Step 17/26 : RUN apk add --update --no-cache zeromq dumb-init 23:02:06 ---> Running in f1a5c0319bdf 23:02:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:02:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:02:06 (1/6) Installing dumb-init (1.2.5-r1) 23:02:06 (2/6) Installing libgcc (11.2.1_git20220219-r2) 23:02:06 (3/6) Installing libsodium (1.0.18-r0) 23:02:06 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 23:02:06 (5/6) Installing libzmq (4.3.4-r0) 23:02:06 (6/6) Installing zeromq (4.3.4-r0) 23:02:06 Executing busybox-1.35.0-r17.trigger 23:02:06 OK: 8 MiB in 20 packages 23:02:06 Removing intermediate container f1a5c0319bdf 23:02:06 ---> 9a5188527a1d 23:02:06 Step 18/26 : COPY --from=builder /device-rest-go/cmd / 23:02:07 ---> 5c56c3df7413 23:02:07 Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / 23:02:07 ---> d13eb604c878 23:02:07 Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / 23:02:08 ---> 249d49acbf30 23:02:08 Step 21/26 : EXPOSE 59986 23:02:08 ---> Running in b545cffd2001 23:02:08 Removing intermediate container b545cffd2001 23:02:08 ---> 6976cae32066 23:02:08 Step 22/26 : ENTRYPOINT ["/device-rest"] 23:02:08 ---> Running in e80680cbe70c 23:02:08 Removing intermediate container e80680cbe70c 23:02:08 ---> a42fdbc28880 23:02:08 Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 23:02:09 ---> Running in a1a5afcdc5df 23:02:09 Removing intermediate container a1a5afcdc5df 23:02:09 ---> 3632f028a12a 23:02:09 Step 24/26 : LABEL arch=arm64 23:02:09 ---> Running in 54fc9f2dcf38 23:02:09 Removing intermediate container 54fc9f2dcf38 23:02:09 ---> bb6fa3295fb8 23:02:09 Step 25/26 : LABEL git_sha=cc27d241021b405d783a15e4eed4849dd6d745cb 23:02:10 ---> Running in a49ba50efcfd 23:02:10 Removing intermediate container a49ba50efcfd 23:02:10 ---> 45193e03207f 23:02:10 Step 26/26 : LABEL version=0.0.0 23:02:10 ---> Running in e19148f2410d 23:02:10 Removing intermediate container e19148f2410d 23:02:10 ---> efc4c4da2f42 23:02:10 [Warning] One or more build-args [ARCH] were not consumed 23:02:10 Successfully built efc4c4da2f42 23:02:10 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 23:02:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:02:10 23:02:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:02:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:02:11 arm64: Pulling from edgex-lftools-log-publisher 23:02:11 8998bd30e6a1: Pulling fs layer 23:02:11 04944245beec: Pulling fs layer 23:02:11 699f458cf7ca: Pulling fs layer 23:02:11 765212b225bb: Pulling fs layer 23:02:11 f23df028b6ca: Pulling fs layer 23:02:11 d65c8cfc05b1: Pulling fs layer 23:02:11 2437ff75d9bd: Pulling fs layer 23:02:11 f23df028b6ca: Waiting 23:02:11 d65c8cfc05b1: Waiting 23:02:11 765212b225bb: Waiting 23:02:11 04944245beec: Verifying Checksum 23:02:11 04944245beec: Download complete 23:02:11 765212b225bb: Verifying Checksum 23:02:11 765212b225bb: Download complete 23:02:11 f23df028b6ca: Download complete 23:02:11 d65c8cfc05b1: Verifying Checksum 23:02:11 d65c8cfc05b1: Download complete 23:02:11 699f458cf7ca: Verifying Checksum 23:02:11 699f458cf7ca: Download complete 23:02:12 8998bd30e6a1: Verifying Checksum 23:02:12 8998bd30e6a1: Download complete 23:02:14 2437ff75d9bd: Verifying Checksum 23:02:14 2437ff75d9bd: Download complete 23:02:16 8998bd30e6a1: Pull complete 23:02:18 04944245beec: Pull complete 23:02:19 699f458cf7ca: Pull complete 23:02:19 765212b225bb: Pull complete 23:02:20 f23df028b6ca: Pull complete 23:02:20 d65c8cfc05b1: Pull complete 23:02:35 2437ff75d9bd: Pull complete 23:02:35 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:02:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:02:35 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:02:36 prd-ubuntu20.04-docker-arm64-4c-16g-677 does not seem to be running inside a container 23:02:36 $ 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/2 -v /w/workspace/device-rest-go/2:/w/workspace/device-rest-go/2:rw,z -v /w/workspace/device-rest-go/2@tmp:/w/workspace/device-rest-go/2@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 23:02:38 $ docker top f14a6ed6479e8bade241197caae64c8b453e816db11ebb17ca90aa9078858cc5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:02:39 ---> job-cost.sh 23:02:39 lf-activate-venv: SKIPPING 23:02:39 INFO: No Stack... 23:02:40 INFO: Retrieving Pricing Info for: v3-standard-4 23:02:41 INFO: Archiving Costs [Pipeline] sh 23:02:41 + cut -d, -f6 23:02:41 + cat /w/workspace/device-rest-go/2/archives/cost.csv [Pipeline] lock 23:02:41 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-PR-213-2-stack-cost] 23:02:41 Resource [jenkins-edgexfoundry-device-rest-go-PR-213-2-stack-cost] did not exist. Created. 23:02:41 Lock acquired on [jenkins-edgexfoundry-device-rest-go-PR-213-2-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:02:42 /w/workspace/device-rest-go/2@tmp/durable-5c0e530e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:02:43 + echo total: 0.10999999940395355 [Pipeline] stash 23:02:43 Warning: overwriting stash ‘stack-cost’ 23:02:43 Stashed 1 file(s) [Pipeline] } 23:02:43 Lock released on resource [jenkins-edgexfoundry-device-rest-go-PR-213-2-stack-cost] [Pipeline] // lock [Pipeline] } 23:02:43 $ docker stop --time=1 f14a6ed6479e8bade241197caae64c8b453e816db11ebb17ca90aa9078858cc5 23:02:44 $ docker rm -f f14a6ed6479e8bade241197caae64c8b453e816db11ebb17ca90aa9078858cc5 [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 23:02:45 provisioning config files... 23:02:45 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/gexfoundry_device-rest-go_PR-213@tmp/config16396613470127272136tmp [Pipeline] { [Pipeline] sh 23:02:45 + set +x 23:02:45 + bash -s -- 23:02:45 + curl -s https://codecov.io/bash 23:02:45 23:02:45 _____ _ 23:02:45 / ____| | | 23:02:45 | | ___ __| | ___ ___ _____ __ 23:02:45 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:02:45 | |___| (_) | (_| | __/ (_| (_) \ V / 23:02:45 \_____\___/ \__,_|\___|\___\___/ \_/ 23:02:45 Bash-1.0.6 23:02:45 23:02:45 23:02:45 ==> git version 2.25.1 found 23:02:45 ==> 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 23:02:45 Release-Date: 2020-01-08 23:02:45 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:02:45 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:02:45 ==> Jenkins CI detected. 23:02:45 current dir:  /w/workspace/gexfoundry_device-rest-go_PR-213 23:02:45 project root: . 23:02:45 --> token set from env 23:02:45 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:02:45 ==> Running gcov in . (disable via -X gcov) 23:02:45 ==> Python coveragepy not found 23:02:45 ==> Searching for coverage reports in: 23:02:45 + . 23:02:45 -> Found 1 reports 23:02:45 ==> Detecting git/mercurial file structure 23:02:45 ==> Reading reports 23:02:45 + ./coverage.out bytes=9355 23:02:45 ==> Appending adjustments 23:02:45 https://docs.codecov.io/docs/fixing-reports 23:02:45 + Found adjustments 23:02:45 ==> Gzipping contents 23:02:45 4.0K /tmp/codecov.yyKxNf.gz 23:02:45 ==> Uploading reports 23:02:45 url: https://codecov.io 23:02:45 query: branch=PR-213&commit=cc27d241021b405d783a15e4eed4849dd6d745cb&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-213%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=213&job=&cmd_args= 23:02:45 -> Pinging Codecov 23:02:45 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=cc27d241021b405d783a15e4eed4849dd6d745cb&build=2&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2FPR-213%2F2%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=213&job=&cmd_args= 23:02:45 -> Uploading to 23:02:45 https://storage.googleapis.com/codecov/v4/raw/2022-09-22/4E5D53B4F1F92C436F7061BF334D961C/cc27d241021b405d783a15e4eed4849dd6d745cb/b4206ddb-8ee2-48e2-9989-1bf3213fa075.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20220922%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220922T230245Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0c3d7391cff2644b7e3d391df84cb13870e5a842b5059d5d85828f9a77852305 23:02:45 % Total % Received % Xferd Average Speed Time Time Time Current 23:02:45 Dload Upload Total Spent Left Speed 23:02:46 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 7864 --:--:-- --:--:-- --:--:-- 7864 23:02:46 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/cc27d241021b405d783a15e4eed4849dd6d745cb [Pipeline] } 23:02:46 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 23:02:46 + [ -d /w/workspace/gexfoundry_device-rest-go_PR-213/archives ] 23:02:46 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-213/archives 23:02:46 total 16 23:02:46 drwxr-xr-x 3 root root 4096 Sep 22 22:53 . 23:02:46 drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 22:53 .. 23:02:46 drwxr-xr-x 2 root root 4096 Sep 22 22:53 cost 23:02:46 -rw-r--r-- 1 root root 86 Sep 22 22:53 cost.csv 23:02:46 + sudo chown -R jenkins:jenkins /w/workspace/gexfoundry_device-rest-go_PR-213/archives 23:02:46 + ls -al /w/workspace/gexfoundry_device-rest-go_PR-213/archives 23:02:46 total 16 23:02:46 drwxr-xr-x 3 jenkins jenkins 4096 Sep 22 22:53 . 23:02:46 drwxrwxr-x 10 jenkins jenkins 4096 Sep 22 22:53 .. 23:02:46 drwxr-xr-x 2 jenkins jenkins 4096 Sep 22 22:53 cost 23:02:46 -rw-r--r-- 1 jenkins jenkins 86 Sep 22 22:53 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:02:47 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:02:48 ---> package-listing.sh 23:02:48 ++ facter osfamily 23:02:48 ++ tr '[:upper:]' '[:lower:]' 23:02:48 + OS_FAMILY=debian 23:02:48 + workspace=/w/workspace/gexfoundry_device-rest-go_PR-213 23:02:48 + START_PACKAGES=/tmp/packages_start.txt 23:02:48 + END_PACKAGES=/tmp/packages_end.txt 23:02:48 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:02:48 + PACKAGES=/tmp/packages_start.txt 23:02:48 + '[' /w/workspace/gexfoundry_device-rest-go_PR-213 ']' 23:02:48 + PACKAGES=/tmp/packages_end.txt 23:02:48 + case "${OS_FAMILY}" in 23:02:48 + dpkg -l 23:02:48 + grep '^ii' 23:02:48 + '[' -f /tmp/packages_start.txt ']' 23:02:48 + '[' -f /tmp/packages_end.txt ']' 23:02:48 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:02:48 + '[' /w/workspace/gexfoundry_device-rest-go_PR-213 ']' 23:02:48 + mkdir -p /w/workspace/gexfoundry_device-rest-go_PR-213/archives/ 23:02:48 + 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 23:02:48 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 23:02:48 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:02:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:02:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:02:49 prd-ubuntu20.04-docker-8c-8g-675 does not seem to be running inside a container 23:02:49 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:02:49 $ docker top c6a50ef2809b9a7f107a30c8069714aa5e2dcbfcb65a27291f77f440366831b0 -eo pid,comm [Pipeline] { [Pipeline] sh 23:02:49 + touch /tmp/pre-build-complete [Pipeline] sh 23:02:50 + mkdir -p /var/log/sysstat [Pipeline] sh 23:02:50 + ls /var/log/sa-host 23:02:50 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:02:50 provisioning config files... 23:02:50 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/gexfoundry_device-rest-go_PR-213@tmp/config13133743488007613394tmp [Pipeline] { [Pipeline] echo 23:02:50 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:02:50 ---> create-netrc.sh [Pipeline] } 23:02:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:02:51 ---> python-tools-install.sh [Pipeline] echo 23:02:51 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:02:51 ---> sudo-logs.sh 23:02:51 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:02:51 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:02:51 ---> job-cost.sh 23:02:51 lf-activate-venv: SKIPPING 23:02:51 DEBUG: total: 0.2199999988079071 23:02:51 INFO: Retrieving Stack Cost... 23:02:52 INFO: Retrieving Pricing Info for: v3-standard-8 23:02:52 INFO: Archiving Costs [Pipeline] echo 23:02:52 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:02:52 ---> logs-deploy.sh 23:02:52 lf-activate-venv: SKIPPING 23:02:52 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/PR-213/2 23:02:52 INFO: archiving workspace using pattern(s): 23:02:53 Archives upload complete. 23:02:53 INFO: archiving logs to Nexus