Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ea2635875d50d8674d03123d64d8d0373faddc1b 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-ssh16178941658532514107.key Verifying host key using known hosts file > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh18066676776144680138.key Verifying host key using known hosts file > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/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/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh9923330441552869651.key Verifying host key using known hosts file > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 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-ssh11182579356732693429.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/main/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/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh10669464375915901923.key Verifying host key using known hosts file > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-118624 in /w/workspace/edgexfoundry_device-rest-go_main [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/edgexfoundry_device-rest-go_main # 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 Avoid second fetch Checking out Revision ea2635875d50d8674d03123d64d8d0373faddc1b (main) > 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 core.sparsecheckout # timeout=10 > git checkout -f ea2635875d50d8674d03123d64d8d0373faddc1b # timeout=10 Commit message: "Merge pull request #228 from lenny-intel/released-sdk-go-mods" > git rev-list --no-walk 98c53550becdffe5607264f4f78746e0be51d9ff # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:13:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:13:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:13:09 ========================================================= 16:13:09 EdgeX Global Pipelines Version Info 16:13:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:13:10 ------------------- 16:13:10 stable info: 16:13:10 ------------------- 16:13:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:13:10 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:13:10 Message: update stable to v1.0.244 16:13:11 ------------------- 16:13:11 experimental info: 16:13:11 ------------------- 16:13:11 Commited By: **** collab-it+edgex@linuxfoundation.org 16:13:11 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 16:13:11 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:13:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 16:13:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 16:13:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:13:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:13:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:13:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 16:13:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:13:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:13:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:13:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:13:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:13:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 16:13:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:13:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:13:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:13:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:13:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:13:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:13:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:13:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:13:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:13:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:13:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:13:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:13:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:13:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:13:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:13:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:13:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:13:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:13:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ea2635875d50d8674d03123d64d8d0373faddc1b [Pipeline] echo 16:13:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ea26358 [Pipeline] echo 16:13:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:13:11 provisioning config files... 16:13:11 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17422147887914782036tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:13:12 ---> docker-login.sh 16:13:12 nexus3.edgexfoundry.org:10001 16:13:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:12 Configure a credential helper to remove this warning. See 16:13:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:12 16:13:12 Login Succeeded 16:13:12 nexus3.edgexfoundry.org:10002 16:13:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:12 Configure a credential helper to remove this warning. See 16:13:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:12 16:13:12 Login Succeeded 16:13:12 nexus3.edgexfoundry.org:10003 16:13:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:12 Configure a credential helper to remove this warning. See 16:13:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:12 16:13:12 Login Succeeded 16:13:12 nexus3.edgexfoundry.org:10004 16:13:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:12 Configure a credential helper to remove this warning. See 16:13:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:12 16:13:12 Login Succeeded 16:13:12 docker.io 16:13:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:13 Configure a credential helper to remove this warning. See 16:13:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:13 16:13:13 Login Succeeded 16:13:13 ---> docker-login.sh ends [Pipeline] } 16:13:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:13:13 + git rev-list -1 --merges ea2635875d50d8674d03123d64d8d0373faddc1b~1..ea2635875d50d8674d03123d64d8d0373faddc1b [Pipeline] echo 16:13:13 -----------> git rev-list -1 --merges ea2635875d50d8674d03123d64d8d0373faddc1b~1..ea2635875d50d8674d03123d64d8d0373faddc1b ea2635875d50d8674d03123d64d8d0373faddc1b 16:13:13 ea2635875d50d8674d03123d64d8d0373faddc1b [false] [Pipeline] sh 16:13:13 + git log --format=format:%s -1 ea2635875d50d8674d03123d64d8d0373faddc1b [Pipeline] echo 16:13:13 ========================================================= 16:13:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:13:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:13:14 + git log --format=format:%s -1 ea2635875d50d8674d03123d64d8d0373faddc1b [Pipeline] echo 16:13:14 [semverPrep] GIT_COMMIT: ea2635875d50d8674d03123d64d8d0373faddc1b, Commit Message: Merge pull request #228 from lenny-intel/released-sdk-go-mods [Pipeline] echo 16:13:14 [semverPrep] This is not a build commit. [Pipeline] sh 16:13:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:13:14 + grep -v github /etc/ssh/ssh_known_hosts 16:13:14 + [ -e /tmp/ssh_known_hosts ] 16:13:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:13:14 + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:13:14 sudo tee -a /etc/ssh/ssh_known_hosts 16:13:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:13:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:13:14 16:13:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:13:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:13:15 0.1.4: Pulling from edgex-devops/py-git-semver 16:13:15 b85a868b505f: Pulling fs layer 16:13:15 e2be974225ed: Pulling fs layer 16:13:15 339a4e72a1f5: Pulling fs layer 16:13:15 988bab9f4d93: Pulling fs layer 16:13:15 1469e6f7b9e6: Pulling fs layer 16:13:15 eaf3925da568: Pulling fs layer 16:13:15 bab4dde63d76: Pulling fs layer 16:13:15 bde34c3a00c8: Pulling fs layer 16:13:15 b352a97aabf1: Pulling fs layer 16:13:15 4872d77fe225: Pulling fs layer 16:13:15 5851b861e8e6: Pulling fs layer 16:13:15 bab4dde63d76: Waiting 16:13:15 988bab9f4d93: Waiting 16:13:15 1469e6f7b9e6: Waiting 16:13:15 eaf3925da568: Waiting 16:13:15 bde34c3a00c8: Waiting 16:13:15 b352a97aabf1: Waiting 16:13:15 5851b861e8e6: Waiting 16:13:15 e2be974225ed: Download complete 16:13:15 988bab9f4d93: Verifying Checksum 16:13:15 988bab9f4d93: Download complete 16:13:15 1469e6f7b9e6: Verifying Checksum 16:13:15 1469e6f7b9e6: Download complete 16:13:15 eaf3925da568: Verifying Checksum 16:13:15 eaf3925da568: Download complete 16:13:15 339a4e72a1f5: Verifying Checksum 16:13:15 339a4e72a1f5: Download complete 16:13:15 bde34c3a00c8: Download complete 16:13:15 b352a97aabf1: Verifying Checksum 16:13:15 b352a97aabf1: Download complete 16:13:15 4872d77fe225: Download complete 16:13:15 5851b861e8e6: Verifying Checksum 16:13:15 5851b861e8e6: Download complete 16:13:15 b85a868b505f: Download complete 16:13:15 bab4dde63d76: Verifying Checksum 16:13:15 bab4dde63d76: Download complete 16:13:16 b85a868b505f: Pull complete 16:13:16 e2be974225ed: Pull complete 16:13:17 339a4e72a1f5: Pull complete 16:13:17 988bab9f4d93: Pull complete 16:13:17 1469e6f7b9e6: Pull complete 16:13:17 eaf3925da568: Pull complete 16:13:19 bab4dde63d76: Pull complete 16:13:19 bde34c3a00c8: Pull complete 16:13:19 b352a97aabf1: Pull complete 16:13:19 4872d77fe225: Pull complete 16:13:19 5851b861e8e6: Pull complete 16:13:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:13:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:13:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:13:19 prd-ubuntu20.04-docker-8c-8g-118624 does not seem to be running inside a container 16:13:19 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:13:20 $ docker top 5a675ccc4bbaa89075ed987cd78be35bddb481e95eb38442d9752cff625b670d -eo pid,comm 16:13:20 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). 16:13:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:13:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:13:20 [ssh-agent] Looking for ssh-agent implementation... 16:13:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:13:20 $ docker exec 5a675ccc4bbaa89075ed987cd78be35bddb481e95eb38442d9752cff625b670d ssh-agent 16:13:21 SSH_AUTH_SOCK=/tmp/ssh-Z6cYE1Baan3X/agent.32 16:13:21 SSH_AGENT_PID=38 16:13:21 Running ssh-add (command line suppressed) 16:13:21 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_44133983160491718.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_44133983160491718.key) 16:13:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:13:21 + git tag --points-at HEAD [Pipeline] } 16:13:21 $ docker exec --env ******** --env ******** 5a675ccc4bbaa89075ed987cd78be35bddb481e95eb38442d9752cff625b670d ssh-agent -k 16:13:21 unset SSH_AUTH_SOCK; 16:13:21 unset SSH_AGENT_PID; 16:13:21 echo Agent pid 38 killed; 16:13:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:13:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:13:21 [ssh-agent] Looking for ssh-agent implementation... 16:13:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:13:21 $ docker exec 5a675ccc4bbaa89075ed987cd78be35bddb481e95eb38442d9752cff625b670d ssh-agent 16:13:21 SSH_AUTH_SOCK=/tmp/ssh-iGtHmr3IanEU/agent.70 16:13:21 SSH_AGENT_PID=76 16:13:21 Running ssh-add (command line suppressed) 16:13:21 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4141551136495638836.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4141551136495638836.key) 16:13:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:13:22 + git semver init 16:13:22 2022-11-08 16:13:22,351 [run_init] DEBUG init version:0.0.0 force:False 16:13:22 2022-11-08 16:13:22,351 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 16:13:22 2022-11-08 16:13:22,352 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 16:13:22 2022-11-08 16:13:22,352 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 16:13:23 2022-11-08 16:13:23,490 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 16:13:23 2022-11-08 16:13:23,490 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 16:13:23 2022-11-08 16:13:23,491 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:13:23 2022-11-08 16:13:23,491 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:13:23 2.3.0-dev.25 [Pipeline] } 16:13:23 $ docker exec --env ******** --env ******** 5a675ccc4bbaa89075ed987cd78be35bddb481e95eb38442d9752cff625b670d ssh-agent -k 16:13:23 unset SSH_AUTH_SOCK; 16:13:23 unset SSH_AGENT_PID; 16:13:23 echo Agent pid 76 killed; 16:13:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:13:24 + git semver [Pipeline] } 16:13:24 $ docker stop --time=1 5a675ccc4bbaa89075ed987cd78be35bddb481e95eb38442d9752cff625b670d 16:13:25 $ docker rm -f 5a675ccc4bbaa89075ed987cd78be35bddb481e95eb38442d9752cff625b670d [Pipeline] // withDockerContainer [Pipeline] sh 16:13:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:13:26 Stashed 1 file(s) [Pipeline] echo 16:13:26 [edgeXSemver]: initialized semver on version 2.3.0-dev.25 [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 16:13:26 provisioning config files... 16:13:26 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3888907016908454878tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:13:26 ---> docker-login.sh 16:13:26 nexus3.edgexfoundry.org:10001 16:13:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:26 Configure a credential helper to remove this warning. See 16:13:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:26 16:13:26 Login Succeeded 16:13:26 nexus3.edgexfoundry.org:10002 16:13:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:26 Configure a credential helper to remove this warning. See 16:13:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:26 16:13:26 Login Succeeded 16:13:26 nexus3.edgexfoundry.org:10003 16:13:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:27 Configure a credential helper to remove this warning. See 16:13:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:27 16:13:27 Login Succeeded 16:13:27 nexus3.edgexfoundry.org:10004 16:13:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:27 Configure a credential helper to remove this warning. See 16:13:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:27 16:13:27 Login Succeeded 16:13:27 docker.io 16:13:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:13:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:13:27 Configure a credential helper to remove this warning. See 16:13:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:13:27 16:13:27 Login Succeeded 16:13:27 ---> docker-login.sh ends [Pipeline] } 16:13:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:13:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:13:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:13:27 ========================================================= 16:13:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 16:13:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:13:28 + 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 . 16:13:28 Sending build context to Docker daemon 10.76MB 16:13:28 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 16:13:28 Step 2/12 : FROM ${BASE} AS builder 16:13:28 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 16:13:28 213ec9aee27d: Pulling fs layer 16:13:28 4583459ba037: Pulling fs layer 16:13:28 93c1e223e6f2: Pulling fs layer 16:13:28 53926ce57604: Pulling fs layer 16:13:28 21b2b0c7a3f4: Pulling fs layer 16:13:28 53926ce57604: Waiting 16:13:28 22ff95d597cd: Pulling fs layer 16:13:28 12d6caf4c0d1: Pulling fs layer 16:13:28 96b7cbca73a9: Pulling fs layer 16:13:28 21b2b0c7a3f4: Waiting 16:13:28 a7acece74701: Pulling fs layer 16:13:28 96b7cbca73a9: Waiting 16:13:28 a7acece74701: Waiting 16:13:28 93c1e223e6f2: Verifying Checksum 16:13:28 93c1e223e6f2: Download complete 16:13:28 4583459ba037: Verifying Checksum 16:13:28 4583459ba037: Download complete 16:13:28 21b2b0c7a3f4: Verifying Checksum 16:13:28 21b2b0c7a3f4: Download complete 16:13:28 213ec9aee27d: Verifying Checksum 16:13:28 213ec9aee27d: Download complete 16:13:28 12d6caf4c0d1: Download complete 16:13:28 213ec9aee27d: Pull complete 16:13:28 4583459ba037: Pull complete 16:13:28 93c1e223e6f2: Pull complete 16:13:29 53926ce57604: Verifying Checksum 16:13:29 53926ce57604: Download complete 16:13:29 a7acece74701: Verifying Checksum 16:13:29 a7acece74701: Download complete 16:13:29 96b7cbca73a9: Verifying Checksum 16:13:29 96b7cbca73a9: Download complete 16:13:32 53926ce57604: Pull complete 16:13:32 21b2b0c7a3f4: Pull complete 16:13:32 22ff95d597cd: Pull complete 16:13:32 12d6caf4c0d1: Pull complete 16:13:35 96b7cbca73a9: Pull complete 16:13:35 a7acece74701: Pull complete 16:13:35 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 16:13:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 16:13:35 ---> db6d94c90886 16:13:35 Step 3/12 : ARG ADD_BUILD_TAGS="" 16:13:37 ---> Running in b264716c21e5 16:13:37 Removing intermediate container b264716c21e5 16:13:37 ---> 8150d045a6b8 16:13:37 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:13:37 ---> Running in 00dc8da1631e 16:13:37 Removing intermediate container 00dc8da1631e 16:13:37 ---> 14a3f40664cd 16:13:37 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:13:37 ---> Running in 3a40f696133a 16:13:37 Removing intermediate container 3a40f696133a 16:13:37 ---> bbed9ffae25c 16:13:37 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 16:13:37 ---> Running in fe171a2cdf17 16:13:37 Removing intermediate container fe171a2cdf17 16:13:37 ---> 8de352129a84 16:13:37 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:13:37 ---> Running in 2de24cedfa47 16:13:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:13:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:13:38 (1/4) Installing openssh-keygen (9.0_p1-r2) 16:13:38 (2/4) Installing libedit (20210910.3.1-r0) 16:13:38 (3/4) Installing openssh-client-common (9.0_p1-r2) 16:13:38 (4/4) Installing openssh-client-default (9.0_p1-r2) 16:13:38 Executing busybox-1.35.0-r17.trigger 16:13:38 OK: 216 MiB in 55 packages 16:13:38 Removing intermediate container 2de24cedfa47 16:13:38 ---> d0751b6af981 16:13:38 Step 8/12 : WORKDIR /device-rest-go 16:13:38 ---> Running in de81660db44a 16:13:38 Removing intermediate container de81660db44a 16:13:38 ---> 0d8fbf57a877 16:13:38 Step 9/12 : COPY go.mod vendor* ./ 16:13:38 ---> d4bef73afa62 16:13:38 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:13:38 ---> Running in bcfe31f2450f 16:13:41 Still waiting to schedule task 16:13:41 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 16:13:53 Removing intermediate container bcfe31f2450f 16:13:53 ---> 51ce74a95c82 16:13:53 Step 11/12 : COPY . . 16:13:54 ---> 331b16b623bf 16:13:54 Step 12/12 : RUN $MAKE 16:13:54 ---> Running in 7b80814d26ea 16:13:54 noop 16:13:54 Removing intermediate container 7b80814d26ea 16:13:54 ---> 70da6e2e3d2a 16:13:54 Successfully built 70da6e2e3d2a 16:13:54 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:13:55 + docker inspect -f . ci-base-image-x86_64 16:13:55 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:13:55 prd-ubuntu20.04-docker-8c-8g-118624 does not seem to be running inside a container 16:13:55 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** ci-base-image-x86_64 cat 16:13:55 $ docker top 25e5a8dee2c3ff4ccc1ced2410ec6def016d50d683b5994dd5e253a9b8d7022e -eo pid,comm [Pipeline] { [Pipeline] sh 16:13:56 + go version 16:13:56 go version go1.18.7 linux/amd64 [Pipeline] } 16:13:56 $ docker stop --time=1 25e5a8dee2c3ff4ccc1ced2410ec6def016d50d683b5994dd5e253a9b8d7022e 16:13:57 $ docker rm -f 25e5a8dee2c3ff4ccc1ced2410ec6def016d50d683b5994dd5e253a9b8d7022e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:13:57 + docker inspect -f . ci-base-image-x86_64 16:13:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:13:57 prd-ubuntu20.04-docker-8c-8g-118624 does not seem to be running inside a container 16:13:57 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** ci-base-image-x86_64 cat 16:13:58 $ docker top 0718d2200151753456cbd3bba384fa0a1e2320fa17d0c6c1159e306519bf4f4c -eo pid,comm [Pipeline] { [Pipeline] sh 16:13:58 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 16:13:58 + make test 16:13:58 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:13:59 ? github.com/edgexfoundry/device-rest-go [no test files] 16:14:09 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 16:14:09 ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 55.2% of statements 16:14:15 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." 16:14:15 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:14:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:14:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:14:18 ./bin/test-attribution-txt.sh [Pipeline] echo 16:14:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:14:18 $ docker stop --time=1 0718d2200151753456cbd3bba384fa0a1e2320fa17d0c6c1159e306519bf4f4c 16:14:19 $ docker rm -f 0718d2200151753456cbd3bba384fa0a1e2320fa17d0c6c1159e306519bf4f4c [Pipeline] // withDockerContainer [Pipeline] sh 16:14:20 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:14:20 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:14:20 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:14:20 + ls -al . 16:14:20 total 188 16:14:20 drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 16:13 . 16:14:20 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:13 .. 16:14:20 -rw-rw-r-- 1 jenkins jenkins 151 Nov 8 16:13 .dockerignore 16:14:20 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 16:14 .git 16:14:20 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:13 .github 16:14:20 -rw-rw-r-- 1 jenkins jenkins 329 Nov 8 16:13 .gitignore 16:14:20 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 16:13 .golangci.yml 16:14:20 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 16:13 .semver 16:14:20 -rw-rw-r-- 1 jenkins jenkins 9100 Nov 8 16:13 Attribution.txt 16:14:20 -rw-rw-r-- 1 jenkins jenkins 13085 Nov 8 16:13 CHANGELOG.md 16:14:20 -rw-rw-r-- 1 jenkins jenkins 1641 Nov 8 16:13 Dockerfile 16:14:20 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 16:13 GOVERNANCE.md 16:14:20 -rw-rw-r-- 1 jenkins jenkins 680 Nov 8 16:13 Jenkinsfile 16:14:20 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 16:13 LICENSE 16:14:20 -rw-rw-r-- 1 jenkins jenkins 2173 Nov 8 16:13 Makefile 16:14:20 -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 16:13 OWNERS.md 16:14:20 -rw-rw-r-- 1 jenkins jenkins 8667 Nov 8 16:13 README.md 16:14:20 -rw-rw-r-- 1 jenkins jenkins 12 Nov 8 16:13 VERSION 16:14:20 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 16:13 bin 16:14:20 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:13 cmd 16:14:20 -rw-r--r-- 1 jenkins jenkins 9355 Nov 8 16:14 coverage.out 16:14:20 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 16:13 driver 16:14:20 -rw-rw-r-- 1 jenkins jenkins 3487 Nov 8 16:13 go.mod 16:14:20 -rw-rw-r-- 1 jenkins jenkins 44869 Nov 8 16:13 go.sum 16:14:20 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:13 snap 16:14:20 -rw-rw-r-- 1 jenkins jenkins 713 Nov 8 16:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:14:21 + 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=ea2635875d50d8674d03123d64d8d0373faddc1b --label arch=amd64 --label version=2.3.0-dev.25 . 16:14:21 Sending build context to Docker daemon 10.77MB 16:14:21 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 16:14:21 Step 2/25 : FROM ${BASE} AS builder 16:14:21 ---> 70da6e2e3d2a 16:14:21 Step 3/25 : ARG ADD_BUILD_TAGS="" 16:14:21 ---> Running in 3f0c45d50e3d 16:14:21 Removing intermediate container 3f0c45d50e3d 16:14:21 ---> 33655aeec330 16:14:21 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:14:21 ---> Running in 0303c6a0b53a 16:14:21 Removing intermediate container 0303c6a0b53a 16:14:21 ---> 3e4b1b50d69c 16:14:21 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:14:21 ---> Running in 2ad3dc66ac09 16:14:21 Removing intermediate container 2ad3dc66ac09 16:14:21 ---> 25a8bdb48b04 16:14:21 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 16:14:21 ---> Running in 4d17ae6090da 16:14:21 Removing intermediate container 4d17ae6090da 16:14:21 ---> 6b038e81a7b0 16:14:21 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:14:21 ---> Running in 363bb0be6e87 16:14:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:14:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:14:22 OK: 216 MiB in 55 packages 16:14:22 Removing intermediate container 363bb0be6e87 16:14:22 ---> 77f183109522 16:14:22 Step 8/25 : WORKDIR /device-rest-go 16:14:22 ---> Running in 68aad4e2bf48 16:14:22 Removing intermediate container 68aad4e2bf48 16:14:22 ---> 8caa4fd28b2c 16:14:22 Step 9/25 : COPY go.mod vendor* ./ 16:14:23 ---> 77c59dadd523 16:14:23 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:14:23 ---> Running in aba648e48b4e 16:14:23 Removing intermediate container aba648e48b4e 16:14:23 ---> 67f44b6dbb31 16:14:23 Step 11/25 : COPY . . 16:14:23 ---> e87c48d1e48d 16:14:23 Step 12/25 : RUN $MAKE 16:14:23 ---> Running in 14706ea844f5 16:14:24 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.3.0-dev.25" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 16:14:46 Removing intermediate container 14706ea844f5 16:14:46 ---> 9ddfd6e6fa71 16:14:46 Step 13/25 : FROM alpine:3.16 16:14:46 3.16: Pulling from library/alpine 16:14:46 213ec9aee27d: Already exists 16:14:46 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 16:14:46 Status: Downloaded newer image for alpine:3.16 16:14:46 ---> 9c6f07244728 16:14:46 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:14:46 ---> Running in f814cb215380 16:14:46 Removing intermediate container f814cb215380 16:14:46 ---> 4b7146095ace 16:14:46 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 16:14:46 ---> Running in fa068bcdbed1 16:14:46 Removing intermediate container fa068bcdbed1 16:14:46 ---> 63eef22d2556 16:14:46 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 16:14:46 ---> Running in c29062100135 16:14:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 16:14:46 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 16:14:46 (1/6) Installing dumb-init (1.2.5-r1) 16:14:46 (2/6) Installing libgcc (11.2.1_git20220219-r2) 16:14:46 (3/6) Installing libsodium (1.0.18-r0) 16:14:46 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 16:14:46 (5/6) Installing libzmq (4.3.4-r0) 16:14:46 (6/6) Installing zeromq (4.3.4-r0) 16:14:46 Executing busybox-1.35.0-r17.trigger 16:14:46 OK: 8 MiB in 20 packages 16:14:46 Removing intermediate container c29062100135 16:14:46 ---> e12a589a46a7 16:14:46 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 16:14:46 ---> 204dc157f506 16:14:46 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 16:14:46 ---> b0636318c5c3 16:14:46 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 16:14:46 ---> b4e752d2510d 16:14:46 Step 20/25 : EXPOSE 59986 16:14:46 ---> Running in 262bfb61e20a 16:14:46 Removing intermediate container 262bfb61e20a 16:14:46 ---> a5ce198aecf9 16:14:46 Step 21/25 : ENTRYPOINT ["/device-rest"] 16:14:46 ---> Running in 4cb46c89556a 16:14:46 Removing intermediate container 4cb46c89556a 16:14:46 ---> 8dc64e60dc37 16:14:46 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 16:14:46 ---> Running in 6115d84eaa0a 16:14:46 Removing intermediate container 6115d84eaa0a 16:14:46 ---> 1ac038815e4d 16:14:46 Step 23/25 : LABEL arch=amd64 16:14:46 ---> Running in 387c047c0698 16:14:46 Removing intermediate container 387c047c0698 16:14:46 ---> 47b43b42be14 16:14:46 Step 24/25 : LABEL git_sha=ea2635875d50d8674d03123d64d8d0373faddc1b 16:14:46 ---> Running in d7f2518b4dc2 16:14:46 Removing intermediate container d7f2518b4dc2 16:14:46 ---> 202a0a9ad2ca 16:14:46 Step 25/25 : LABEL version=2.3.0-dev.25 16:14:46 ---> Running in 43a820ae1864 16:14:46 Removing intermediate container 43a820ae1864 16:14:46 ---> c457e50a3fe7 16:14:46 [Warning] One or more build-args [ARCH] were not consumed 16:14:46 Successfully built c457e50a3fe7 16:14:46 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:14:46 provisioning config files... 16:14:46 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10760633664627418441tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:14:47 ---> docker-login.sh 16:14:47 nexus3.edgexfoundry.org:10001 16:14:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:47 Configure a credential helper to remove this warning. See 16:14:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:47 16:14:47 Login Succeeded 16:14:47 nexus3.edgexfoundry.org:10002 16:14:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:47 Configure a credential helper to remove this warning. See 16:14:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:47 16:14:47 Login Succeeded 16:14:47 nexus3.edgexfoundry.org:10003 16:14:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:47 Configure a credential helper to remove this warning. See 16:14:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:47 16:14:47 Login Succeeded 16:14:47 nexus3.edgexfoundry.org:10004 16:14:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:47 Configure a credential helper to remove this warning. See 16:14:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:47 16:14:47 Login Succeeded 16:14:47 docker.io 16:14:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:14:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:14:48 Configure a credential helper to remove this warning. See 16:14:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:14:48 16:14:48 Login Succeeded 16:14:48 ---> docker-login.sh ends [Pipeline] } 16:14:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:14:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:14:48 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 16:14:48 ea2635875d50d8674d03123d64d8d0373faddc1b 16:14:48 latest 16:14:48 2.3.0-dev.25 16:14:48 ea2635875d50d8674d03123d64d8d0373faddc1b-2.3.0-dev.25 16:14:48 main 16:14:48 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:14:48 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:ea2635875d50d8674d03123d64d8d0373faddc1b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:14:48 + docker push nexus3.edgexfoundry.org:10004/device-rest:ea2635875d50d8674d03123d64d8d0373faddc1b 16:14:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 16:14:48 13d32ca90107: Preparing 16:14:48 d2e71957f40a: Preparing 16:14:48 3479c112b590: Preparing 16:14:48 a50e945a060e: Preparing 16:14:48 994393dc58e7: Preparing 16:14:48 994393dc58e7: Layer already exists 16:14:48 13d32ca90107: Pushed 16:14:48 d2e71957f40a: Pushed 16:14:49 a50e945a060e: Pushed 16:14:51 3479c112b590: Pushed 16:14:51 ea2635875d50d8674d03123d64d8d0373faddc1b: digest: sha256:d2624e67705dd37176e089b0f7436407a398f6574d30a0d62585ab2e258561a3 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:14:52 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:14:52 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 16:14:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 16:14:52 13d32ca90107: Preparing 16:14:52 d2e71957f40a: Preparing 16:14:52 3479c112b590: Preparing 16:14:52 a50e945a060e: Preparing 16:14:52 994393dc58e7: Preparing 16:14:52 3479c112b590: Layer already exists 16:14:52 d2e71957f40a: Layer already exists 16:14:52 13d32ca90107: Layer already exists 16:14:52 a50e945a060e: Layer already exists 16:14:52 994393dc58e7: Layer already exists 16:14:52 latest: digest: sha256:d2624e67705dd37176e089b0f7436407a398f6574d30a0d62585ab2e258561a3 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:14:52 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:14:52 + docker push nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.25 16:14:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 16:14:52 13d32ca90107: Preparing 16:14:52 d2e71957f40a: Preparing 16:14:52 3479c112b590: Preparing 16:14:52 a50e945a060e: Preparing 16:14:52 994393dc58e7: Preparing 16:14:52 13d32ca90107: Layer already exists 16:14:52 d2e71957f40a: Layer already exists 16:14:52 3479c112b590: Layer already exists 16:14:52 994393dc58e7: Layer already exists 16:14:52 a50e945a060e: Layer already exists 16:14:52 2.3.0-dev.25: digest: sha256:d2624e67705dd37176e089b0f7436407a398f6574d30a0d62585ab2e258561a3 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:14:53 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:ea2635875d50d8674d03123d64d8d0373faddc1b-2.3.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:14:53 + docker push nexus3.edgexfoundry.org:10004/device-rest:ea2635875d50d8674d03123d64d8d0373faddc1b-2.3.0-dev.25 16:14:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 16:14:53 13d32ca90107: Preparing 16:14:53 d2e71957f40a: Preparing 16:14:53 3479c112b590: Preparing 16:14:53 a50e945a060e: Preparing 16:14:53 994393dc58e7: Preparing 16:14:53 13d32ca90107: Layer already exists 16:14:53 994393dc58e7: Layer already exists 16:14:53 3479c112b590: Layer already exists 16:14:53 a50e945a060e: Layer already exists 16:14:53 d2e71957f40a: Layer already exists 16:14:53 ea2635875d50d8674d03123d64d8d0373faddc1b-2.3.0-dev.25: digest: sha256:d2624e67705dd37176e089b0f7436407a398f6574d30a0d62585ab2e258561a3 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:14:53 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:14:54 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 16:14:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 16:14:54 13d32ca90107: Preparing 16:14:54 d2e71957f40a: Preparing 16:14:54 3479c112b590: Preparing 16:14:54 a50e945a060e: Preparing 16:14:54 994393dc58e7: Preparing 16:14:54 3479c112b590: Layer already exists 16:14:54 994393dc58e7: Layer already exists 16:14:54 a50e945a060e: Layer already exists 16:14:54 d2e71957f40a: Layer already exists 16:14:54 13d32ca90107: Layer already exists 16:14:54 main: digest: sha256:d2624e67705dd37176e089b0f7436407a398f6574d30a0d62585ab2e258561a3 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:14:54 ===================================================== [Pipeline] echo 16:14:54 taggedImages: 16:14:54 - nexus3.edgexfoundry.org:10004/device-rest:ea2635875d50d8674d03123d64d8d0373faddc1b 16:14:54 - nexus3.edgexfoundry.org:10004/device-rest:latest 16:14:54 - nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.25 16:14:54 - nexus3.edgexfoundry.org:10004/device-rest:ea2635875d50d8674d03123d64d8d0373faddc1b-2.3.0-dev.25 16:14:54 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [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 16:14:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:14:54 16:14:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:14:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:14:54 latest: Pulling from edgex-lftools-log-publisher 16:14:54 5eb5b503b376: Pulling fs layer 16:14:54 5c69ac0246d0: Pulling fs layer 16:14:54 ec43610c2a17: Pulling fs layer 16:14:54 3a2ae6a8a46f: Pulling fs layer 16:14:54 33b1e0a273af: Pulling fs layer 16:14:54 5d3b04190fa2: Pulling fs layer 16:14:54 2f39f015ded8: Pulling fs layer 16:14:54 3a2ae6a8a46f: Waiting 16:14:54 5d3b04190fa2: Waiting 16:14:54 2f39f015ded8: Waiting 16:14:54 33b1e0a273af: Waiting 16:14:54 5c69ac0246d0: Verifying Checksum 16:14:54 5c69ac0246d0: Download complete 16:14:54 3a2ae6a8a46f: Verifying Checksum 16:14:54 3a2ae6a8a46f: Download complete 16:14:55 33b1e0a273af: Verifying Checksum 16:14:55 33b1e0a273af: Download complete 16:14:55 5d3b04190fa2: Verifying Checksum 16:14:55 5d3b04190fa2: Download complete 16:14:55 ec43610c2a17: Verifying Checksum 16:14:55 ec43610c2a17: Download complete 16:14:55 5eb5b503b376: Verifying Checksum 16:14:55 5eb5b503b376: Download complete 16:14:55 2f39f015ded8: Verifying Checksum 16:14:55 2f39f015ded8: Download complete 16:14:56 5eb5b503b376: Pull complete 16:14:56 5c69ac0246d0: Pull complete 16:14:56 ec43610c2a17: Pull complete 16:14:56 3a2ae6a8a46f: Pull complete 16:14:57 33b1e0a273af: Pull complete 16:14:57 5d3b04190fa2: Pull complete 16:15:01 2f39f015ded8: Pull complete 16:15:01 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:15:01 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:15:01 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:15:01 prd-ubuntu20.04-docker-8c-8g-118624 does not seem to be running inside a container 16:15:01 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:15:03 $ docker top dd40b7c410412c5fab7e3ab78c267e1346a4c513684ea9cf4d0c9ef8163e4a27 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:15:03 ---> job-cost.sh 16:15:03 lf-activate-venv: SKIPPING 16:15:03 INFO: No Stack... 16:15:03 INFO: Retrieving Pricing Info for: v3-standard-8 16:15:03 INFO: Archiving Costs [Pipeline] sh 16:15:04 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 16:15:04 + cut -d, -f6 [Pipeline] lock 16:15:04 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-71-stack-cost] 16:15:04 Resource [jenkins-edgexfoundry-device-rest-go-main-71-stack-cost] did not exist. Created. 16:15:04 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-71-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:15:04 + echo total: 0.2199999988079071 [Pipeline] stash 16:15:04 Stashed 1 file(s) [Pipeline] } 16:15:04 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-71-stack-cost] [Pipeline] // lock [Pipeline] } 16:15:04 $ docker stop --time=1 dd40b7c410412c5fab7e3ab78c267e1346a4c513684ea9cf4d0c9ef8163e4a27 16:15:05 $ docker rm -f dd40b7c410412c5fab7e3ab78c267e1346a4c513684ea9cf4d0c9ef8163e4a27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:16:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-118626 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 16:16:06 Running in /w/workspace/device-rest-go/71 [Pipeline] { [Pipeline] checkout 16:16:06 The recommended git tool is: git 16:16:13 using credential edgex-jenkins-ssh 16:16:13 Cloning the remote Git repository 16:16:13 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 16:16:13 > git init /w/workspace/device-rest-go/71 # timeout=10 16:16:13 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:16:13 > git --version # timeout=10 16:16:13 > git --version # 'git version 2.25.1' 16:16:13 using GIT_SSH to set credentials SSH Credentials for GitHub 16:16:13 Verifying host key using known hosts file 16:16:13 You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. 16:16:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:16:16 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:16:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:16:17 Avoid second fetch 16:16:17 Checking out Revision ea2635875d50d8674d03123d64d8d0373faddc1b (main) 16:16:17 Commit message: "Merge pull request #228 from lenny-intel/released-sdk-go-mods" 16:16:17 > git config core.sparsecheckout # timeout=10 16:16:17 > git checkout -f ea2635875d50d8674d03123d64d8d0373faddc1b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:16:18 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:16:18 % Total % Received % Xferd Average Speed Time Time Time Current 16:16:18 Dload Upload Total Spent Left Speed 16:16:18 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 183k 0 --:--:-- --:--:-- --:--:-- 186k [Pipeline] sh 16:16:19 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:16:19 + sudo tee /etc/docker/daemon.new 16:16:19 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:16:19 { 16:16:19 "registry-mirrors": [ 16:16:19 "https://nexus3.edgexfoundry.org:10001" 16:16:19 ], 16:16:19 "bip": "10.250.0.254/24", 16:16:19 "hosts": [ 16:16:19 "tcp://0.0.0.0:5555", 16:16:19 "unix:///var/run/docker.sock" 16:16:19 ], 16:16:19 "mtu": 1458, 16:16:19 "selinux-enabled": true, 16:16:19 "seccomp-profile": "/etc/docker/seccomp.json" 16:16:19 } [Pipeline] sh 16:16:20 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:16:20 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:16:38 provisioning config files... 16:16:39 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/71@tmp/config1632669137457248501tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:16:39 ---> docker-login.sh 16:16:39 nexus3.edgexfoundry.org:10001 16:16:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:40 Configure a credential helper to remove this warning. See 16:16:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:40 16:16:40 Login Succeeded 16:16:40 nexus3.edgexfoundry.org:10002 16:16:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:40 Configure a credential helper to remove this warning. See 16:16:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:40 16:16:40 Login Succeeded 16:16:40 nexus3.edgexfoundry.org:10003 16:16:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:41 Configure a credential helper to remove this warning. See 16:16:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:41 16:16:41 Login Succeeded 16:16:41 nexus3.edgexfoundry.org:10004 16:16:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:41 Configure a credential helper to remove this warning. See 16:16:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:41 16:16:41 Login Succeeded 16:16:41 docker.io 16:16:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:16:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:16:42 Configure a credential helper to remove this warning. See 16:16:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:16:42 16:16:42 Login Succeeded 16:16:42 ---> docker-login.sh ends [Pipeline] } 16:16:42 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:16:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:16:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:16:42 ========================================================= 16:16:42 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 16:16:42 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:16:42 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 16:16:42 Sending build context to Docker daemon 129.5kB 16:16:43 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 16:16:43 Step 2/12 : FROM ${BASE} AS builder 16:16:43 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:16:43 9b18e9b68314: Pulling fs layer 16:16:43 35d82f9e3411: Pulling fs layer 16:16:43 e16973657156: Pulling fs layer 16:16:43 fc693d55d65f: Pulling fs layer 16:16:43 7e9fc2657dce: Pulling fs layer 16:16:43 dda99020689f: Pulling fs layer 16:16:43 db1c61fa0a46: Pulling fs layer 16:16:43 891c053d2c06: Pulling fs layer 16:16:43 dda99020689f: Waiting 16:16:43 db1c61fa0a46: Waiting 16:16:43 fc693d55d65f: Waiting 16:16:43 7e9fc2657dce: Waiting 16:16:43 891c053d2c06: Waiting 16:16:43 e16973657156: Verifying Checksum 16:16:43 e16973657156: Download complete 16:16:43 35d82f9e3411: Download complete 16:16:43 7e9fc2657dce: Verifying Checksum 16:16:43 7e9fc2657dce: Download complete 16:16:43 dda99020689f: Verifying Checksum 16:16:43 dda99020689f: Download complete 16:16:43 9b18e9b68314: Verifying Checksum 16:16:43 9b18e9b68314: Download complete 16:16:44 9b18e9b68314: Pull complete 16:16:45 891c053d2c06: Verifying Checksum 16:16:45 891c053d2c06: Download complete 16:16:45 35d82f9e3411: Pull complete 16:16:46 e16973657156: Pull complete 16:16:46 db1c61fa0a46: Verifying Checksum 16:16:46 db1c61fa0a46: Download complete 16:16:47 fc693d55d65f: Download complete 16:16:59 fc693d55d65f: Pull complete 16:16:59 7e9fc2657dce: Pull complete 16:16:59 dda99020689f: Pull complete 16:17:06 db1c61fa0a46: Pull complete 16:17:07 891c053d2c06: Pull complete 16:17:07 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 16:17:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 16:17:07 ---> f96f9c87975a 16:17:07 Step 3/12 : ARG ADD_BUILD_TAGS="" 16:17:08 ---> Running in 732fd959264c 16:17:08 Removing intermediate container 732fd959264c 16:17:08 ---> 9b7c6f0b61c6 16:17:08 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:17:08 ---> Running in 7d14da431fa8 16:17:08 Removing intermediate container 7d14da431fa8 16:17:08 ---> ddb08b0f47d8 16:17:08 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:17:09 ---> Running in 857bb731707f 16:17:09 Removing intermediate container 857bb731707f 16:17:09 ---> 677d03d90c79 16:17:09 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 16:17:09 ---> Running in 58d0cac90962 16:17:10 Removing intermediate container 58d0cac90962 16:17:10 ---> 9bc4b993cc0a 16:17:10 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:17:10 ---> Running in 73a39358cd04 16:17:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:17:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:17:13 (1/4) Installing openssh-keygen (9.0_p1-r2) 16:17:13 (2/4) Installing libedit (20210910.3.1-r0) 16:17:13 (3/4) Installing openssh-client-common (9.0_p1-r2) 16:17:13 (4/4) Installing openssh-client-default (9.0_p1-r2) 16:17:13 Executing busybox-1.35.0-r17.trigger 16:17:13 OK: 226 MiB in 55 packages 16:17:14 Removing intermediate container 73a39358cd04 16:17:14 ---> cb3ef75ebd39 16:17:14 Step 8/12 : WORKDIR /device-rest-go 16:17:14 ---> Running in 954073cceb7f 16:17:14 Removing intermediate container 954073cceb7f 16:17:14 ---> a7ccb6138e0c 16:17:14 Step 9/12 : COPY go.mod vendor* ./ 16:17:15 ---> 9473ad85d9b2 16:17:15 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:17:15 ---> Running in ada4e3db4ad1 16:18:23 Removing intermediate container ada4e3db4ad1 16:18:23 ---> 75a28a9220bc 16:18:23 Step 11/12 : COPY . . 16:18:23 ---> bbf6c54bb930 16:18:23 Step 12/12 : RUN $MAKE 16:18:23 ---> Running in b397018c01f7 16:18:23 noop 16:18:23 Removing intermediate container b397018c01f7 16:18:23 ---> a4ed23365dcd 16:18:23 Successfully built a4ed23365dcd 16:18:23 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:24 + docker inspect -f . ci-base-image-arm64 16:18:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:18:24 prd-ubuntu20.04-docker-arm64-4c-16g-118626 does not seem to be running inside a container 16:18:24 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/71 -v /w/workspace/device-rest-go/71:/w/workspace/device-rest-go/71:rw,z -v /w/workspace/device-rest-go/71@tmp:/w/workspace/device-rest-go/71@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 ******** ci-base-image-arm64 cat 16:18:25 $ docker top 730c22955d5ce2b20dde49c914e93e6ddaf075af7a15cb9ef2ef5d61562969e4 -eo pid,comm [Pipeline] { [Pipeline] sh 16:18:26 + go version 16:18:26 go version go1.18.7 linux/arm64 [Pipeline] } 16:18:26 $ docker stop --time=1 730c22955d5ce2b20dde49c914e93e6ddaf075af7a15cb9ef2ef5d61562969e4 16:18:28 $ docker rm -f 730c22955d5ce2b20dde49c914e93e6ddaf075af7a15cb9ef2ef5d61562969e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:28 + docker inspect -f . ci-base-image-arm64 16:18:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:18:29 prd-ubuntu20.04-docker-arm64-4c-16g-118626 does not seem to be running inside a container 16:18:29 $ 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/71 -v /w/workspace/device-rest-go/71:/w/workspace/device-rest-go/71:rw,z -v /w/workspace/device-rest-go/71@tmp:/w/workspace/device-rest-go/71@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 ******** ci-base-image-arm64 cat 16:18:30 $ docker top f8cada6db1c6b09ae9054e9255145d25833879d98f7938f1378cbcf7ecc2e2fe -eo pid,comm [Pipeline] { [Pipeline] sh 16:18:31 + git config --global --add safe.directory /w/workspace/device-rest-go/71 [Pipeline] fileExists [Pipeline] sh 16:18:31 + make test 16:18:31 CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... 16:18:33 ? github.com/edgexfoundry/device-rest-go [no test files] 16:20:10 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 16:20:17 ok github.com/edgexfoundry/device-rest-go/driver 0.079s coverage: 55.2% of statements 16:20:17 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:20:17 CGO_ENABLED=1 GO111MODULE=on go vet ./... 16:20:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:20:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:20:44 ./bin/test-attribution-txt.sh [Pipeline] echo 16:20:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:20:44 $ docker stop --time=1 f8cada6db1c6b09ae9054e9255145d25833879d98f7938f1378cbcf7ecc2e2fe 16:20:45 $ docker rm -f f8cada6db1c6b09ae9054e9255145d25833879d98f7938f1378cbcf7ecc2e2fe [Pipeline] // withDockerContainer [Pipeline] sh 16:20:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:20:46 Warning: overwriting stash ‘coverage-report’ 16:20:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:20:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:20:48 + ls -al . 16:20:48 total 184 16:20:48 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 16:18 . 16:20:48 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:16 .. 16:20:48 -rw-rw-r-- 1 jenkins jenkins 151 Nov 8 16:16 .dockerignore 16:20:48 drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 16:16 .git 16:20:48 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:16 .github 16:20:48 -rw-rw-r-- 1 jenkins jenkins 329 Nov 8 16:16 .gitignore 16:20:48 -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 16:16 .golangci.yml 16:20:48 -rw-rw-r-- 1 jenkins jenkins 9100 Nov 8 16:16 Attribution.txt 16:20:48 -rw-rw-r-- 1 jenkins jenkins 13085 Nov 8 16:16 CHANGELOG.md 16:20:48 -rw-rw-r-- 1 jenkins jenkins 1641 Nov 8 16:16 Dockerfile 16:20:48 -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 16:16 GOVERNANCE.md 16:20:48 -rw-rw-r-- 1 jenkins jenkins 680 Nov 8 16:16 Jenkinsfile 16:20:48 -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 16:16 LICENSE 16:20:48 -rw-rw-r-- 1 jenkins jenkins 2173 Nov 8 16:16 Makefile 16:20:48 -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 16:16 OWNERS.md 16:20:48 -rw-rw-r-- 1 jenkins jenkins 8667 Nov 8 16:16 README.md 16:20:48 -rw-rw-r-- 1 jenkins jenkins 12 Nov 8 16:13 VERSION 16:20:48 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 16:16 bin 16:20:48 drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:16 cmd 16:20:48 -rw-r--r-- 1 jenkins jenkins 9355 Nov 8 16:20 coverage.out 16:20:48 drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 16:16 driver 16:20:48 -rw-rw-r-- 1 jenkins jenkins 3487 Nov 8 16:16 go.mod 16:20:48 -rw-rw-r-- 1 jenkins jenkins 44869 Nov 8 16:16 go.sum 16:20:48 drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:16 snap 16:20:48 -rw-rw-r-- 1 jenkins jenkins 713 Nov 8 16:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:20:48 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=ea2635875d50d8674d03123d64d8d0373faddc1b --label arch=arm64 --label version=2.3.0-dev.25 . 16:20:48 Sending build context to Docker daemon 139.8kB 16:20:48 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 16:20:48 Step 2/25 : FROM ${BASE} AS builder 16:20:48 ---> a4ed23365dcd 16:20:48 Step 3/25 : ARG ADD_BUILD_TAGS="" 16:20:49 ---> Running in 4335ec9c5390 16:20:49 Removing intermediate container 4335ec9c5390 16:20:49 ---> 3ad1b87c352d 16:20:49 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:20:49 ---> Running in d36665c8b55b 16:20:49 Removing intermediate container d36665c8b55b 16:20:49 ---> db140bab083f 16:20:49 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" 16:20:49 ---> Running in 7a9f8cf4420c 16:20:50 Removing intermediate container 7a9f8cf4420c 16:20:50 ---> e2f87dacc8b4 16:20:50 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 16:20:50 ---> Running in 64da88a0efb7 16:20:50 Removing intermediate container 64da88a0efb7 16:20:50 ---> bdfa9729b95f 16:20:50 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:20:50 ---> Running in d752f798c40f 16:20:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:20:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:20:53 OK: 226 MiB in 55 packages 16:20:54 Removing intermediate container d752f798c40f 16:20:54 ---> 595a3e40beec 16:20:54 Step 8/25 : WORKDIR /device-rest-go 16:20:54 ---> Running in 4c88cc857e01 16:20:54 Removing intermediate container 4c88cc857e01 16:20:54 ---> a580aae62715 16:20:54 Step 9/25 : COPY go.mod vendor* ./ 16:20:55 ---> 0b7821f6916a 16:20:55 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:20:55 ---> Running in a5e660ae974e 16:20:58 Removing intermediate container a5e660ae974e 16:20:58 ---> 9de0cb6b85d5 16:20:58 Step 11/25 : COPY . . 16:20:59 ---> 2869be88ebcb 16:20:59 Step 12/25 : RUN $MAKE 16:20:59 ---> Running in df7c8881aef6 16:21:00 CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.3.0-dev.25" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd 16:23:52 Removing intermediate container df7c8881aef6 16:23:52 ---> 66ad8029c22f 16:23:52 Step 13/25 : FROM alpine:3.16 16:23:52 3.16: Pulling from library/alpine 16:23:52 9b18e9b68314: Already exists 16:23:52 Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad 16:23:52 Status: Downloaded newer image for alpine:3.16 16:23:52 ---> a6215f271958 16:23:52 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:23:52 ---> Running in b949173d1ab4 16:23:52 Removing intermediate container b949173d1ab4 16:23:52 ---> a65e4857086a 16:23:52 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 16:23:52 ---> Running in c820be3811c6 16:23:52 Removing intermediate container c820be3811c6 16:23:52 ---> 7f8aa3ded971 16:23:52 Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init 16:23:52 ---> Running in 14dd93f97612 16:23:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 16:23:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 16:23:52 (1/6) Installing dumb-init (1.2.5-r1) 16:23:52 (2/6) Installing libgcc (11.2.1_git20220219-r2) 16:23:52 (3/6) Installing libsodium (1.0.18-r0) 16:23:52 (4/6) Installing libstdc++ (11.2.1_git20220219-r2) 16:23:52 (5/6) Installing libzmq (4.3.4-r0) 16:23:52 (6/6) Installing zeromq (4.3.4-r0) 16:23:52 Executing busybox-1.35.0-r17.trigger 16:23:52 OK: 8 MiB in 20 packages 16:23:52 Removing intermediate container 14dd93f97612 16:23:52 ---> 023bf4848a53 16:23:52 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 16:23:54 ---> 372fd1ce5815 16:23:54 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 16:23:54 ---> 163dc49045f6 16:23:54 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 16:23:55 ---> 0d44b70ba809 16:23:55 Step 20/25 : EXPOSE 59986 16:23:55 ---> Running in 2e244d642538 16:23:55 Removing intermediate container 2e244d642538 16:23:55 ---> 59f51913ac95 16:23:55 Step 21/25 : ENTRYPOINT ["/device-rest"] 16:23:55 ---> Running in b1be74b2457e 16:23:56 Removing intermediate container b1be74b2457e 16:23:56 ---> 5260197f4d3e 16:23:56 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] 16:23:56 ---> Running in e439ed67856b 16:23:56 Removing intermediate container e439ed67856b 16:23:56 ---> 9f601ea04d22 16:23:56 Step 23/25 : LABEL arch=arm64 16:23:56 ---> Running in d5f5c3d62d94 16:23:56 Removing intermediate container d5f5c3d62d94 16:23:56 ---> dba367b8cea9 16:23:56 Step 24/25 : LABEL git_sha=ea2635875d50d8674d03123d64d8d0373faddc1b 16:23:56 ---> Running in 4b12470824f8 16:23:57 Removing intermediate container 4b12470824f8 16:23:57 ---> f275aaf123cd 16:23:57 Step 25/25 : LABEL version=2.3.0-dev.25 16:23:57 ---> Running in 8aa9359d82c5 16:23:57 Removing intermediate container 8aa9359d82c5 16:23:57 ---> ceae53bc2c34 16:23:57 [Warning] One or more build-args [ARCH] were not consumed 16:23:57 Successfully built ceae53bc2c34 16:23:57 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:23:57 provisioning config files... 16:23:57 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/71@tmp/config14157973108010684995tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:23:58 ---> docker-login.sh 16:23:58 nexus3.edgexfoundry.org:10001 16:23:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:58 Configure a credential helper to remove this warning. See 16:23:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:58 16:23:58 Login Succeeded 16:23:58 nexus3.edgexfoundry.org:10002 16:23:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:58 Configure a credential helper to remove this warning. See 16:23:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:58 16:23:58 Login Succeeded 16:23:58 nexus3.edgexfoundry.org:10003 16:23:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:59 Configure a credential helper to remove this warning. See 16:23:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:59 16:23:59 Login Succeeded 16:23:59 nexus3.edgexfoundry.org:10004 16:23:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:59 Configure a credential helper to remove this warning. See 16:23:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:59 16:23:59 Login Succeeded 16:23:59 docker.io 16:23:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:23:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:23:59 Configure a credential helper to remove this warning. See 16:23:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:23:59 16:23:59 Login Succeeded 16:24:00 ---> docker-login.sh ends [Pipeline] } 16:24:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:24:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:24:00 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 16:24:00 ea2635875d50d8674d03123d64d8d0373faddc1b 16:24:00 latest 16:24:00 2.3.0-dev.25 16:24:00 ea2635875d50d8674d03123d64d8d0373faddc1b-2.3.0-dev.25 16:24:00 main 16:24:00 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:00 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:ea2635875d50d8674d03123d64d8d0373faddc1b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:00 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:ea2635875d50d8674d03123d64d8d0373faddc1b 16:24:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:24:00 7277a42c88a6: Preparing 16:24:00 3eaa9ef9a127: Preparing 16:24:00 5bf310e7d157: Preparing 16:24:00 237e1ddfa8a0: Preparing 16:24:00 5d3e392a13a0: Preparing 16:24:00 5d3e392a13a0: Layer already exists 16:24:01 3eaa9ef9a127: Pushed 16:24:01 7277a42c88a6: Pushed 16:24:01 237e1ddfa8a0: Pushed 16:24:07 5bf310e7d157: Pushed 16:24:07 ea2635875d50d8674d03123d64d8d0373faddc1b: digest: sha256:3f1b35295d547487b055b7557549af8e3fa4e429c47d9fac0009966b25fc5318 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:07 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:07 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 16:24:07 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:24:07 7277a42c88a6: Preparing 16:24:07 3eaa9ef9a127: Preparing 16:24:07 5bf310e7d157: Preparing 16:24:07 237e1ddfa8a0: Preparing 16:24:07 5d3e392a13a0: Preparing 16:24:07 3eaa9ef9a127: Layer already exists 16:24:07 5bf310e7d157: Layer already exists 16:24:07 5d3e392a13a0: Layer already exists 16:24:07 7277a42c88a6: Layer already exists 16:24:07 237e1ddfa8a0: Layer already exists 16:24:07 latest: digest: sha256:3f1b35295d547487b055b7557549af8e3fa4e429c47d9fac0009966b25fc5318 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:08 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:08 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.25 16:24:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:24:08 7277a42c88a6: Preparing 16:24:08 3eaa9ef9a127: Preparing 16:24:08 5bf310e7d157: Preparing 16:24:08 237e1ddfa8a0: Preparing 16:24:08 5d3e392a13a0: Preparing 16:24:08 5d3e392a13a0: Layer already exists 16:24:08 237e1ddfa8a0: Layer already exists 16:24:08 7277a42c88a6: Layer already exists 16:24:08 3eaa9ef9a127: Layer already exists 16:24:08 5bf310e7d157: Layer already exists 16:24:08 2.3.0-dev.25: digest: sha256:3f1b35295d547487b055b7557549af8e3fa4e429c47d9fac0009966b25fc5318 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:09 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:ea2635875d50d8674d03123d64d8d0373faddc1b-2.3.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:09 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:ea2635875d50d8674d03123d64d8d0373faddc1b-2.3.0-dev.25 16:24:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:24:09 7277a42c88a6: Preparing 16:24:09 3eaa9ef9a127: Preparing 16:24:09 5bf310e7d157: Preparing 16:24:09 237e1ddfa8a0: Preparing 16:24:09 5d3e392a13a0: Preparing 16:24:09 5d3e392a13a0: Layer already exists 16:24:09 3eaa9ef9a127: Layer already exists 16:24:09 7277a42c88a6: Layer already exists 16:24:09 5bf310e7d157: Layer already exists 16:24:09 237e1ddfa8a0: Layer already exists 16:24:09 ea2635875d50d8674d03123d64d8d0373faddc1b-2.3.0-dev.25: digest: sha256:3f1b35295d547487b055b7557549af8e3fa4e429c47d9fac0009966b25fc5318 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:09 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:10 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 16:24:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:24:10 7277a42c88a6: Preparing 16:24:10 3eaa9ef9a127: Preparing 16:24:10 5bf310e7d157: Preparing 16:24:10 237e1ddfa8a0: Preparing 16:24:10 5d3e392a13a0: Preparing 16:24:10 7277a42c88a6: Layer already exists 16:24:10 5d3e392a13a0: Layer already exists 16:24:10 3eaa9ef9a127: Layer already exists 16:24:10 5bf310e7d157: Layer already exists 16:24:10 237e1ddfa8a0: Layer already exists 16:24:10 main: digest: sha256:3f1b35295d547487b055b7557549af8e3fa4e429c47d9fac0009966b25fc5318 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:24:10 ===================================================== [Pipeline] echo 16:24:10 taggedImages: 16:24:10 - nexus3.edgexfoundry.org:10004/device-rest-arm64:ea2635875d50d8674d03123d64d8d0373faddc1b 16:24:10 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 16:24:10 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.25 16:24:10 - nexus3.edgexfoundry.org:10004/device-rest-arm64:ea2635875d50d8674d03123d64d8d0373faddc1b-2.3.0-dev.25 16:24:10 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:24:10 16:24:10 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:24:11 arm64: Pulling from edgex-lftools-log-publisher 16:24:11 8998bd30e6a1: Pulling fs layer 16:24:11 04944245beec: Pulling fs layer 16:24:11 699f458cf7ca: Pulling fs layer 16:24:11 765212b225bb: Pulling fs layer 16:24:11 f23df028b6ca: Pulling fs layer 16:24:11 d65c8cfc05b1: Pulling fs layer 16:24:11 2437ff75d9bd: Pulling fs layer 16:24:11 f23df028b6ca: Waiting 16:24:11 d65c8cfc05b1: Waiting 16:24:11 2437ff75d9bd: Waiting 16:24:11 765212b225bb: Waiting 16:24:11 04944245beec: Verifying Checksum 16:24:11 04944245beec: Download complete 16:24:11 765212b225bb: Verifying Checksum 16:24:11 f23df028b6ca: Verifying Checksum 16:24:11 f23df028b6ca: Download complete 16:24:11 d65c8cfc05b1: Verifying Checksum 16:24:11 d65c8cfc05b1: Download complete 16:24:11 699f458cf7ca: Verifying Checksum 16:24:11 699f458cf7ca: Download complete 16:24:12 8998bd30e6a1: Download complete 16:24:14 2437ff75d9bd: Verifying Checksum 16:24:14 2437ff75d9bd: Download complete 16:24:16 8998bd30e6a1: Pull complete 16:24:17 04944245beec: Pull complete 16:24:18 699f458cf7ca: Pull complete 16:24:18 765212b225bb: Pull complete 16:24:19 f23df028b6ca: Pull complete 16:24:19 d65c8cfc05b1: Pull complete 16:24:34 2437ff75d9bd: Pull complete 16:24:34 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:24:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:24:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:24:34 prd-ubuntu20.04-docker-arm64-4c-16g-118626 does not seem to be running inside a container 16:24:34 $ 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/71 -v /w/workspace/device-rest-go/71:/w/workspace/device-rest-go/71:rw,z -v /w/workspace/device-rest-go/71@tmp:/w/workspace/device-rest-go/71@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:24:37 $ docker top 093433c3b6b67e1037a95f8ed4be25b789bb0eeee0ddd3c4aafe7591ebb34656 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:24:38 ---> job-cost.sh 16:24:38 lf-activate-venv: SKIPPING 16:24:38 INFO: No Stack... 16:24:38 INFO: Retrieving Pricing Info for: v3-standard-4 16:24:39 INFO: Archiving Costs [Pipeline] sh 16:24:40 + cut -d, -f6 16:24:40 + cat /w/workspace/device-rest-go/71/archives/cost.csv [Pipeline] lock 16:24:40 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-71-stack-cost] 16:24:40 Resource [jenkins-edgexfoundry-device-rest-go-main-71-stack-cost] did not exist. Created. 16:24:40 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-71-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:24:41 /w/workspace/device-rest-go/71@tmp/durable-7bc493c2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:24:41 + echo total: 0.10999999940395355 [Pipeline] stash 16:24:41 Warning: overwriting stash ‘stack-cost’ 16:24:41 Stashed 1 file(s) [Pipeline] } 16:24:41 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-71-stack-cost] [Pipeline] // lock [Pipeline] } 16:24:41 $ docker stop --time=1 093433c3b6b67e1037a95f8ed4be25b789bb0eeee0ddd3c4aafe7591ebb34656 16:24:43 $ docker rm -f 093433c3b6b67e1037a95f8ed4be25b789bb0eeee0ddd3c4aafe7591ebb34656 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 16:24:43 provisioning config files... 16:24:43 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15735651277109892035tmp [Pipeline] { [Pipeline] sh 16:24:44 + set +x 16:24:44 + curl -s https://codecov.io/bash 16:24:44 + bash -s -- 16:24:44 16:24:44 _____ _ 16:24:44 / ____| | | 16:24:44 | | ___ __| | ___ ___ _____ __ 16:24:44 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:24:44 | |___| (_) | (_| | __/ (_| (_) \ V / 16:24:44 \_____\___/ \__,_|\___|\___\___/ \_/ 16:24:44 Bash-1.0.6 16:24:44 16:24:44 16:24:44 ==> git version 2.25.1 found 16:24:44 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 16:24:44 Release-Date: 2020-01-08 16:24:44 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:24:44 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:24:44 ==> Jenkins CI detected. 16:24:44 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 16:24:44 project root: . 16:24:44 --> token set from env 16:24:44 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:24:44 ==> Running gcov in . (disable via -X gcov) 16:24:44 ==> Python coveragepy not found 16:24:44 ==> Searching for coverage reports in: 16:24:44 + . 16:24:44 -> Found 1 reports 16:24:44 ==> Detecting git/mercurial file structure 16:24:44 ==> Reading reports 16:24:44 + ./coverage.out bytes=9355 16:24:44 ==> Appending adjustments 16:24:44 https://docs.codecov.io/docs/fixing-reports 16:24:44 + Found adjustments 16:24:44 ==> Gzipping contents 16:24:44 4.0K /tmp/codecov.Z7VrCJ.gz 16:24:44 ==> Uploading reports 16:24:44 url: https://codecov.io 16:24:44 query: branch=main&commit=ea2635875d50d8674d03123d64d8d0373faddc1b&build=71&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F71%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:24:44 -> Pinging Codecov 16:24:44 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=main&commit=ea2635875d50d8674d03123d64d8d0373faddc1b&build=71&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F71%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:24:44 -> Uploading to 16:24:44 https://storage.googleapis.com/codecov/v4/raw/2022-11-08/4E5D53B4F1F92C436F7061BF334D961C/ea2635875d50d8674d03123d64d8d0373faddc1b/74f6bab4-6805-4dab-8ba9-38aec1e40fe5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221108T162444Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=afc881c053f97317439f211cbabd997468be714883f40ebf7b9ba95c74aa1de8 16:24:44 % Total % Received % Xferd Average Speed Time Time Time Current 16:24:44 Dload Upload Total Spent Left Speed 16:24:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 7008 --:--:-- --:--:-- --:--:-- 7008 16:24:44 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/ea2635875d50d8674d03123d64d8d0373faddc1b [Pipeline] } 16:24:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:24:45 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:24:45 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:24:45 16:24:45 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:24:45 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:24:45 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:24:45 df9b9388f04a: Pulling fs layer 16:24:45 52dc419b0ee2: Pulling fs layer 16:24:45 25bc292e5bac: Pulling fs layer 16:24:45 114826534d7a: Pulling fs layer 16:24:45 4657fd5d0bcf: Pulling fs layer 16:24:45 6ad1cebc031e: Pulling fs layer 16:24:45 8a3aa393b2d8: Pulling fs layer 16:24:45 6ad1cebc031e: Waiting 16:24:45 4657fd5d0bcf: Waiting 16:24:45 8a3aa393b2d8: Waiting 16:24:45 25bc292e5bac: Verifying Checksum 16:24:45 25bc292e5bac: Download complete 16:24:45 52dc419b0ee2: Verifying Checksum 16:24:45 52dc419b0ee2: Download complete 16:24:45 4657fd5d0bcf: Verifying Checksum 16:24:45 4657fd5d0bcf: Download complete 16:24:45 df9b9388f04a: Download complete 16:24:45 df9b9388f04a: Pull complete 16:24:45 52dc419b0ee2: Pull complete 16:24:45 25bc292e5bac: Pull complete 16:24:46 6ad1cebc031e: Download complete 16:24:47 114826534d7a: Verifying Checksum 16:24:47 114826534d7a: Download complete 16:24:47 8a3aa393b2d8: Verifying Checksum 16:24:47 8a3aa393b2d8: Download complete 16:24:50 114826534d7a: Pull complete 16:24:50 4657fd5d0bcf: Pull complete 16:24:50 6ad1cebc031e: Pull complete 16:24:53 8a3aa393b2d8: Pull complete 16:24:53 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:24:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:24:53 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:24:53 prd-ubuntu20.04-docker-8c-8g-118624 does not seem to be running inside a container 16:24:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:24:55 $ docker top dd0f89e040be8193aa95f1c295b44f1e8da7909292c3792ea2e7bfa181d3d941 -eo pid,comm [Pipeline] { [Pipeline] echo 16:24:55 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 16:24:55 + set -o pipefail 16:24:55 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 16:25:00 16:25:00 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 16:25:00 16:25:00 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/c572e4cc-2713-473d-ba40-7114c92db964 16:25:00 16:25:00 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 16:25:00 16:25:00 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:25:00 16:25:01 16:25:01 A medium severity vulnerability was found in the Snyk CLI versions you are using. 16:25:01 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 16:25:01 More details here: https://snyk.co/ue1NS [Pipeline] } 16:25:01 $ docker stop --time=1 dd0f89e040be8193aa95f1c295b44f1e8da7909292c3792ea2e7bfa181d3d941 16:25:03 $ docker rm -f dd0f89e040be8193aa95f1c295b44f1e8da7909292c3792ea2e7bfa181d3d941 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [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) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:25:04 + git log --format=format:%s -1 ea2635875d50d8674d03123d64d8d0373faddc1b [Pipeline] sh 16:25:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:25:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:25:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:25:04 prd-ubuntu20.04-docker-8c-8g-118624 does not seem to be running inside a container 16:25:04 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:25:05 $ docker top d3ec803c8500b3696fa648ca1a073a335a43f8b502b1eefcfc34ac47553b1930 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:25:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:25:05 [ssh-agent] Looking for ssh-agent implementation... 16:25:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:25:05 $ docker exec d3ec803c8500b3696fa648ca1a073a335a43f8b502b1eefcfc34ac47553b1930 ssh-agent 16:25:05 SSH_AUTH_SOCK=/tmp/ssh-ZeLvFwYk15e7/agent.32 16:25:05 SSH_AGENT_PID=38 16:25:05 Running ssh-add (command line suppressed) 16:25:05 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8036134809799009917.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8036134809799009917.key) 16:25:05 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:25:05 + git semver tag 16:25:06 2022-11-08 16:25:06,027 [run_tag] DEBUG tag force:False 16:25:06 2022-11-08 16:25:06,027 [check_head_tag] DEBUG check head tag 16:25:06 2022-11-08 16:25:06,027 [execute] INFO git cat-file --batch-check 16:25:06 2022-11-08 16:25:06,028 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 16:25:06 2022-11-08 16:25:06,031 [execute] INFO git cat-file --batch 16:25:06 2022-11-08 16:25:06,031 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 16:25:06 2022-11-08 16:25:06,045 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:25:06 2022-11-08 16:25:06,046 [execute] INFO git tag -a v2.3.0-dev.25 -m v2.3.0-dev.25 16:25:06 2022-11-08 16:25:06,046 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.25', '-m', 'v2.3.0-dev.25'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 16:25:06 2022-11-08 16:25:06,051 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:25:06 2.3.0-dev.25 [Pipeline] } 16:25:06 $ docker exec --env ******** --env ******** d3ec803c8500b3696fa648ca1a073a335a43f8b502b1eefcfc34ac47553b1930 ssh-agent -k 16:25:06 unset SSH_AUTH_SOCK; 16:25:06 unset SSH_AGENT_PID; 16:25:06 echo Agent pid 38 killed; 16:25:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:25:06 + git semver [Pipeline] } 16:25:06 $ docker stop --time=1 d3ec803c8500b3696fa648ca1a073a335a43f8b502b1eefcfc34ac47553b1930 16:25:08 $ docker rm -f d3ec803c8500b3696fa648ca1a073a335a43f8b502b1eefcfc34ac47553b1930 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:25:08 16:25:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:25:08 0.23.1-centos7: Pulling from edgex-lftools 16:25:08 ab5ef0e58194: Pulling fs layer 16:25:08 9712f1f96733: Pulling fs layer 16:25:08 63f879dbbcfc: Pulling fs layer 16:25:08 0d9ebad4ef96: Pulling fs layer 16:25:08 e9a5061849ea: Pulling fs layer 16:25:08 d747dcd14b5f: Pulling fs layer 16:25:08 2de7ff778b66: Pulling fs layer 16:25:08 d747dcd14b5f: Waiting 16:25:08 0d9ebad4ef96: Waiting 16:25:08 2de7ff778b66: Waiting 16:25:08 9712f1f96733: Verifying Checksum 16:25:08 9712f1f96733: Download complete 16:25:09 0d9ebad4ef96: Verifying Checksum 16:25:09 0d9ebad4ef96: Download complete 16:25:09 63f879dbbcfc: Verifying Checksum 16:25:09 63f879dbbcfc: Download complete 16:25:09 d747dcd14b5f: Verifying Checksum 16:25:09 d747dcd14b5f: Download complete 16:25:09 ab5ef0e58194: Verifying Checksum 16:25:09 ab5ef0e58194: Download complete 16:25:09 2de7ff778b66: Verifying Checksum 16:25:09 2de7ff778b66: Download complete 16:25:09 e9a5061849ea: Verifying Checksum 16:25:09 e9a5061849ea: Download complete 16:25:12 ab5ef0e58194: Pull complete 16:25:12 9712f1f96733: Pull complete 16:25:12 63f879dbbcfc: Pull complete 16:25:15 0d9ebad4ef96: Pull complete 16:25:16 e9a5061849ea: Pull complete 16:25:16 d747dcd14b5f: Pull complete 16:25:17 2de7ff778b66: Pull complete 16:25:17 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:25:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:25:17 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:25:17 prd-ubuntu20.04-docker-8c-8g-118624 does not seem to be running inside a container 16:25:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:25:19 $ docker top 52bea6ca7e2d47307fb2c9b8829c6cd37a50ad670d1379b45d6265c76eb8ebda -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:25:19 provisioning config files... 16:25:19 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6788565462171878488tmp 16:25:19 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3287347892879369802tmp 16:25:19 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8067537033123811552tmp [Pipeline] { [Pipeline] echo 16:25:19 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:25:19 ---> sigul-configuration.sh 16:25:19 gpg: directory `/root/.gnupg' created 16:25:19 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:25:19 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:25:19 gpg: keyring `/root/.gnupg/secring.gpg' created 16:25:19 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:25:19 gpg: CAST5 encrypted data 16:25:19 gpg: encrypted with 1 passphrase 16:25:19 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:25:19 + mkdir /home/jenkins 16:25:19 + mkdir /home/jenkins/sigul [Pipeline] sh 16:25:20 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 16:25:20 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:25:20 ---> sigul-install.sh 16:25:20 Sigul already installed; skipping installation. [Pipeline] sh 16:25:20 + git tag --list 16:25:20 v1.0.0 16:25:20 v1.1.0 16:25:20 v1.1.1 16:25:20 v1.1.2 16:25:20 v1.2.0 16:25:20 v1.2.1 16:25:20 v2.0.0 16:25:20 v2.1.0 16:25:20 v2.1.1 16:25:20 v2.1.1-dev.1 16:25:20 v2.1.1-dev.2 16:25:20 v2.1.1-dev.3 16:25:20 v2.2.0 16:25:20 v2.2.1-dev.1 16:25:20 v2.2.1-dev.2 16:25:20 v2.2.1-dev.3 16:25:20 v2.2.1-dev.4 16:25:20 v2.2.1-dev.5 16:25:20 v2.2.1-dev.6 16:25:20 v2.2.1-dev.7 16:25:20 v2.2.1-dev.8 16:25:20 v2.2.1-dev.9 16:25:20 v2.3.0-dev.10 16:25:20 v2.3.0-dev.11 16:25:20 v2.3.0-dev.12 16:25:20 v2.3.0-dev.13 16:25:20 v2.3.0-dev.14 16:25:20 v2.3.0-dev.15 16:25:20 v2.3.0-dev.16 16:25:20 v2.3.0-dev.17 16:25:20 v2.3.0-dev.18 16:25:20 v2.3.0-dev.19 16:25:20 v2.3.0-dev.20 16:25:20 v2.3.0-dev.21 16:25:20 v2.3.0-dev.22 16:25:20 v2.3.0-dev.23 16:25:20 v2.3.0-dev.24 16:25:20 v2.3.0-dev.25 16:25:20 v2.3.0-dev.9 [Pipeline] sh 16:25:21 + lftools sign git-tag v2.3.0-dev.25 16:25:21 Signing Git tag with Sigul... 16:25:21 Signing v2.3.0-dev.25 [Pipeline] echo 16:25:22 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:25:22 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:25:22 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:25:22 $ docker stop --time=1 52bea6ca7e2d47307fb2c9b8829c6cd37a50ad670d1379b45d6265c76eb8ebda 16:25:23 $ docker rm -f 52bea6ca7e2d47307fb2c9b8829c6cd37a50ad670d1379b45d6265c76eb8ebda [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:25:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:25:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:25:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:25:24 prd-ubuntu20.04-docker-8c-8g-118624 does not seem to be running inside a container 16:25:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:25:25 $ docker top 51cb0d31894a68620550237c5fd8f7e168652baec38c3ba10f0d61e84044c292 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:25:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:25:25 [ssh-agent] Looking for ssh-agent implementation... 16:25:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:25:25 $ docker exec 51cb0d31894a68620550237c5fd8f7e168652baec38c3ba10f0d61e84044c292 ssh-agent 16:25:25 SSH_AUTH_SOCK=/tmp/ssh-SAHhwoKnCeFk/agent.32 16:25:25 SSH_AGENT_PID=38 16:25:25 Running ssh-add (command line suppressed) 16:25:25 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14955031493268093231.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14955031493268093231.key) 16:25:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:25:25 + git semver bump pre 16:25:26 2022-11-08 16:25:25,939 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:25:26 2022-11-08 16:25:25,940 [bump_version] DEBUG bumping version:2.3.0-dev.25 on axis:pre with prefix:dev 16:25:26 2022-11-08 16:25:25,940 [bump_version] DEBUG bumped version:2.3.0-dev.26 16:25:26 2022-11-08 16:25:25,940 [write_version] DEBUG write version:2.3.0-dev.26 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 16:25:26 2022-11-08 16:25:25,940 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:25:26 2022-11-08 16:25:25,940 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:25:26 2022-11-08 16:25:25,942 [execute] INFO git cat-file --batch-check 16:25:26 2022-11-08 16:25:25,943 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:25:26 2022-11-08 16:25:25,948 [execute] INFO git cat-file --batch 16:25:26 2022-11-08 16:25:25,948 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:25:26 2022-11-08 16:25:25,952 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:25:26 2.3.0-dev.26 [Pipeline] } 16:25:26 $ docker exec --env ******** --env ******** 51cb0d31894a68620550237c5fd8f7e168652baec38c3ba10f0d61e84044c292 ssh-agent -k 16:25:26 unset SSH_AUTH_SOCK; 16:25:26 unset SSH_AGENT_PID; 16:25:26 echo Agent pid 38 killed; 16:25:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:25:26 + git semver [Pipeline] } 16:25:26 $ docker stop --time=1 51cb0d31894a68620550237c5fd8f7e168652baec38c3ba10f0d61e84044c292 16:25:28 $ docker rm -f 51cb0d31894a68620550237c5fd8f7e168652baec38c3ba10f0d61e84044c292 [Pipeline] // withDockerContainer [Pipeline] sh 16:25:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:25:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:25:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:25:28 prd-ubuntu20.04-docker-8c-8g-118624 does not seem to be running inside a container 16:25:28 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:25:29 $ docker top ee75dd9b5e80ed1bb5adf4ab89609c15c17260effd776b0019232357e210fbac -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:25:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:25:29 [ssh-agent] Looking for ssh-agent implementation... 16:25:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:25:29 $ docker exec ee75dd9b5e80ed1bb5adf4ab89609c15c17260effd776b0019232357e210fbac ssh-agent 16:25:29 SSH_AUTH_SOCK=/tmp/ssh-nCYavS359Ypl/agent.32 16:25:29 SSH_AGENT_PID=38 16:25:29 Running ssh-add (command line suppressed) 16:25:29 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3914220369167878735.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3914220369167878735.key) 16:25:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:25:29 + git semver push 16:25:30 2022-11-08 16:25:30,031 [run_push] DEBUG push 16:25:30 2022-11-08 16:25:30,031 [execute] INFO git cat-file --batch-check 16:25:30 2022-11-08 16:25:30,032 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:25:30 2022-11-08 16:25:30,035 [execute] INFO git rev-list 4140e159b2982c9607dd2d039274c97358395cd0 -- 16:25:30 2022-11-08 16:25:30,035 [execute] DEBUG Popen(['git', 'rev-list', '4140e159b2982c9607dd2d039274c97358395cd0', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:25:30 2022-11-08 16:25:30,043 [execute] INFO git fetch -v origin 16:25:30 2022-11-08 16:25:30,044 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 16:25:30 2022-11-08 16:25:30,623 [run_push] DEBUG no remote changes detected 16:25:30 2022-11-08 16:25:30,623 [execute] INFO git push origin semver 16:25:30 2022-11-08 16:25:30,624 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:25:31 2022-11-08 16:25:31,422 [run_push] DEBUG push all version tags 16:25:31 2022-11-08 16:25:31,422 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:25:31 2022-11-08 16:25:31,423 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 16:25:32 2022-11-08 16:25:32,386 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:25:32 2.3.0-dev.26 [Pipeline] } 16:25:32 $ docker exec --env ******** --env ******** ee75dd9b5e80ed1bb5adf4ab89609c15c17260effd776b0019232357e210fbac ssh-agent -k 16:25:32 unset SSH_AUTH_SOCK; 16:25:32 unset SSH_AGENT_PID; 16:25:32 echo Agent pid 38 killed; 16:25:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:25:32 + git semver [Pipeline] } 16:25:33 $ docker stop --time=1 ee75dd9b5e80ed1bb5adf4ab89609c15c17260effd776b0019232357e210fbac 16:25:34 $ docker rm -f ee75dd9b5e80ed1bb5adf4ab89609c15c17260effd776b0019232357e210fbac [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 16:25:35 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 16:25:35 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 16:25:35 total 16 16:25:35 drwxr-xr-x 3 root root 4096 Nov 8 16:15 . 16:25:35 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 16:25 .. 16:25:35 drwxr-xr-x 2 root root 4096 Nov 8 16:15 cost 16:25:35 -rw-r--r-- 1 root root 85 Nov 8 16:15 cost.csv 16:25:35 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 16:25:35 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 16:25:35 total 16 16:25:35 drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 16:15 . 16:25:35 drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 16:25 .. 16:25:35 drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 16:15 cost 16:25:35 -rw-r--r-- 1 jenkins jenkins 85 Nov 8 16:15 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:25:35 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:25:36 ---> package-listing.sh 16:25:36 ++ facter osfamily 16:25:36 ++ tr '[:upper:]' '[:lower:]' 16:25:36 + OS_FAMILY=debian 16:25:36 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 16:25:36 + START_PACKAGES=/tmp/packages_start.txt 16:25:36 + END_PACKAGES=/tmp/packages_end.txt 16:25:36 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:25:36 + PACKAGES=/tmp/packages_start.txt 16:25:36 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 16:25:36 + PACKAGES=/tmp/packages_end.txt 16:25:36 + case "${OS_FAMILY}" in 16:25:36 + dpkg -l 16:25:36 + grep '^ii' 16:25:36 + '[' -f /tmp/packages_start.txt ']' 16:25:36 + '[' -f /tmp/packages_end.txt ']' 16:25:36 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:25:36 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 16:25:36 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 16:25:36 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 16:25:36 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:25:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:25:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:25:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:25:37 prd-ubuntu20.04-docker-8c-8g-118624 does not seem to be running inside a container 16:25:37 $ 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/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:25:37 $ docker top e84852ad1d028dd6e0ff30dde652dc4094d1159b2c5d34de557cbfd8b2eccad2 -eo pid,comm [Pipeline] { [Pipeline] sh 16:25:38 + touch /tmp/pre-build-complete [Pipeline] sh 16:25:38 + mkdir -p /var/log/sysstat [Pipeline] sh 16:25:38 + ls /var/log/sa-host 16:25:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:25:38 provisioning config files... 16:25:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config98859744300350432tmp [Pipeline] { [Pipeline] echo 16:25:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:25:39 ---> create-netrc.sh [Pipeline] } 16:25:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:25:39 ---> python-tools-install.sh [Pipeline] echo 16:25:39 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:25:39 ---> sudo-logs.sh 16:25:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:25:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:25:40 ---> job-cost.sh 16:25:40 lf-activate-venv: SKIPPING 16:25:40 DEBUG: total: 0.2199999988079071 16:25:40 INFO: Retrieving Stack Cost... 16:25:40 INFO: Retrieving Pricing Info for: v3-standard-8 16:25:40 INFO: Archiving Costs [Pipeline] echo 16:25:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:25:41 ---> logs-deploy.sh 16:25:41 lf-activate-venv: SKIPPING 16:25:41 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/71 16:25:41 INFO: archiving workspace using pattern(s): 16:25:42 Archives upload complete. 16:25:42 INFO: archiving logs to Nexus