Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from a09ef0c5b5718b7e2deeb983e8068139a6f667f6 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-ssh6939491952422762321.key > 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-ssh11614740039920895988.key > 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-ssh1774186308145283907.key > 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-ssh17351433772160382564.key > 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-ssh15438217927620277751.key > 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-1765 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 > 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 a09ef0c5b5718b7e2deeb983e8068139a6f667f6 (main) Commit message: "feat!: Remove ZeroMQ MessageBus capability (#235)" > 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 a09ef0c5b5718b7e2deeb983e8068139a6f667f6 # timeout=10 > git rev-list --no-walk 6ec9f51e6b3e6e38f1e3adcbf889ec129489e7ba # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:41:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:41:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:41:57 ========================================================= 23:41:57 EdgeX Global Pipelines Version Info 23:41:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:41:58 ------------------- 23:41:58 stable info: 23:41:58 ------------------- 23:41:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:41:58 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 23:41:58 Message: update stable to v1.0.244 23:41:58 ------------------- 23:41:58 experimental info: 23:41:58 ------------------- 23:41:58 Commited By: **** collab-it+edgex@linuxfoundation.org 23:41:58 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 23:41:58 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:41:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 23:41:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 23:41:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:41:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:41:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:41:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 23:41:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:41:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:41:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:41:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:41:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:41:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 23:41:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:41:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:41:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:41:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:41:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:41:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:41:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:41:58 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:41:58 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:41:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:41:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:41:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:41:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:41:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:41:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:41:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 23:41:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 23:41:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 23:41:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = a09ef0c5b5718b7e2deeb983e8068139a6f667f6 [Pipeline] echo 23:41:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = a09ef0c [Pipeline] echo 23:41:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:41:59 provisioning config files... 23:41:59 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9211304198311221410tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:41:59 ---> docker-login.sh 23:41:59 nexus3.edgexfoundry.org:10001 23:41:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:59 Configure a credential helper to remove this warning. See 23:41:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:59 23:41:59 Login Succeeded 23:41:59 nexus3.edgexfoundry.org:10002 23:41:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:41:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:41:59 Configure a credential helper to remove this warning. See 23:41:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:41:59 23:41:59 Login Succeeded 23:41:59 nexus3.edgexfoundry.org:10003 23:42:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:00 Configure a credential helper to remove this warning. See 23:42:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:00 23:42:00 Login Succeeded 23:42:00 nexus3.edgexfoundry.org:10004 23:42:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:00 Configure a credential helper to remove this warning. See 23:42:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:00 23:42:00 Login Succeeded 23:42:00 docker.io 23:42:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:00 Configure a credential helper to remove this warning. See 23:42:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:00 23:42:00 Login Succeeded 23:42:00 ---> docker-login.sh ends [Pipeline] } 23:42:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:42:00 + git rev-list -1 --merges a09ef0c5b5718b7e2deeb983e8068139a6f667f6~1..a09ef0c5b5718b7e2deeb983e8068139a6f667f6 [Pipeline] echo 23:42:00 -----------> git rev-list -1 --merges a09ef0c5b5718b7e2deeb983e8068139a6f667f6~1..a09ef0c5b5718b7e2deeb983e8068139a6f667f6 a09ef0c5b5718b7e2deeb983e8068139a6f667f6 [false] [Pipeline] sh 23:42:01 + git log --format=format:%s -1 a09ef0c5b5718b7e2deeb983e8068139a6f667f6 [Pipeline] echo 23:42:01 ========================================================= 23:42:01 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:42:01 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:42:01 + git log --format=format:%s -1 a09ef0c5b5718b7e2deeb983e8068139a6f667f6 [Pipeline] echo 23:42:01 [semverPrep] GIT_COMMIT: a09ef0c5b5718b7e2deeb983e8068139a6f667f6, Commit Message: feat!: Remove ZeroMQ MessageBus capability (#235) [Pipeline] echo 23:42:01 [semverPrep] This is not a build commit. [Pipeline] sh 23:42:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:42:01 + grep -v github /etc/ssh/ssh_known_hosts 23:42:01 + [ -e /tmp/ssh_known_hosts ] 23:42:01 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:42:01 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:42:01 + sudo tee -a /etc/ssh/ssh_known_hosts 23:42:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:42:02 23:42:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:42:02 0.1.4: Pulling from edgex-devops/py-git-semver 23:42:02 b85a868b505f: Pulling fs layer 23:42:02 e2be974225ed: Pulling fs layer 23:42:02 339a4e72a1f5: Pulling fs layer 23:42:02 988bab9f4d93: Pulling fs layer 23:42:02 1469e6f7b9e6: Pulling fs layer 23:42:02 eaf3925da568: Pulling fs layer 23:42:02 bab4dde63d76: Pulling fs layer 23:42:02 bde34c3a00c8: Pulling fs layer 23:42:02 b352a97aabf1: Pulling fs layer 23:42:02 4872d77fe225: Pulling fs layer 23:42:02 5851b861e8e6: Pulling fs layer 23:42:02 988bab9f4d93: Waiting 23:42:02 1469e6f7b9e6: Waiting 23:42:02 bde34c3a00c8: Waiting 23:42:02 b352a97aabf1: Waiting 23:42:02 eaf3925da568: Waiting 23:42:02 bab4dde63d76: Waiting 23:42:02 5851b861e8e6: Waiting 23:42:02 4872d77fe225: Waiting 23:42:02 e2be974225ed: Verifying Checksum 23:42:02 e2be974225ed: Download complete 23:42:02 988bab9f4d93: Download complete 23:42:02 339a4e72a1f5: Verifying Checksum 23:42:02 339a4e72a1f5: Download complete 23:42:02 1469e6f7b9e6: Verifying Checksum 23:42:02 1469e6f7b9e6: Download complete 23:42:02 eaf3925da568: Verifying Checksum 23:42:02 eaf3925da568: Download complete 23:42:02 bde34c3a00c8: Verifying Checksum 23:42:02 bde34c3a00c8: Download complete 23:42:02 b352a97aabf1: Download complete 23:42:02 4872d77fe225: Verifying Checksum 23:42:02 4872d77fe225: Download complete 23:42:02 5851b861e8e6: Download complete 23:42:02 b85a868b505f: Verifying Checksum 23:42:02 b85a868b505f: Download complete 23:42:03 bab4dde63d76: Verifying Checksum 23:42:03 bab4dde63d76: Download complete 23:42:04 b85a868b505f: Pull complete 23:42:04 e2be974225ed: Pull complete 23:42:04 339a4e72a1f5: Pull complete 23:42:04 988bab9f4d93: Pull complete 23:42:05 1469e6f7b9e6: Pull complete 23:42:05 eaf3925da568: Pull complete 23:42:07 bab4dde63d76: Pull complete 23:42:07 bde34c3a00c8: Pull complete 23:42:07 b352a97aabf1: Pull complete 23:42:07 4872d77fe225: Pull complete 23:42:07 5851b861e8e6: Pull complete 23:42:07 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:42:07 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:42:07 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:42:07 prd-ubuntu20.04-docker-8c-8g-1765 does not seem to be running inside a container 23:42:07 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:42:09 $ docker top b67d0153a1c16ac9e431c476ff175da44708194349554d953d7974e40cb13939 -eo pid,comm 23:42:09 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). 23:42:09 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:42:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:42:09 [ssh-agent] Looking for ssh-agent implementation... 23:42:09 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:42:09 $ docker exec b67d0153a1c16ac9e431c476ff175da44708194349554d953d7974e40cb13939 ssh-agent 23:42:09 SSH_AUTH_SOCK=/tmp/ssh-y1d6Kt4ukUUo/agent.32 23:42:09 SSH_AGENT_PID=38 23:42:09 Running ssh-add (command line suppressed) 23:42:09 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7055201338702432553.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7055201338702432553.key) 23:42:09 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:42:09 + git tag --points-at HEAD [Pipeline] } 23:42:09 $ docker exec --env ******** --env ******** b67d0153a1c16ac9e431c476ff175da44708194349554d953d7974e40cb13939 ssh-agent -k 23:42:09 unset SSH_AUTH_SOCK; 23:42:09 unset SSH_AGENT_PID; 23:42:09 echo Agent pid 38 killed; 23:42:09 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:42:09 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:42:09 [ssh-agent] Looking for ssh-agent implementation... 23:42:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:42:10 $ docker exec b67d0153a1c16ac9e431c476ff175da44708194349554d953d7974e40cb13939 ssh-agent 23:42:10 SSH_AUTH_SOCK=/tmp/ssh-ymmQfUaBJ2Mh/agent.70 23:42:10 SSH_AGENT_PID=76 23:42:10 Running ssh-add (command line suppressed) 23:42:10 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6872822477037095050.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6872822477037095050.key) 23:42:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:42:10 + git semver init 23:42:10 2023-01-10 23:42:10,775 [run_init] DEBUG init version:0.0.0 force:False 23:42:10 2023-01-10 23:42:10,776 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 23:42:10 2023-01-10 23:42:10,776 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 23:42:10 2023-01-10 23:42:10,776 [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) 23:42:11 2023-01-10 23:42:11,760 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 23:42:11 2023-01-10 23:42:11,760 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 23:42:11 2023-01-10 23:42:11,760 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:42:11 2023-01-10 23:42:11,761 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:42:11 3.0.0-dev.4 [Pipeline] } 23:42:11 $ docker exec --env ******** --env ******** b67d0153a1c16ac9e431c476ff175da44708194349554d953d7974e40cb13939 ssh-agent -k 23:42:11 unset SSH_AUTH_SOCK; 23:42:11 unset SSH_AGENT_PID; 23:42:11 echo Agent pid 76 killed; 23:42:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:42:12 + git semver [Pipeline] } 23:42:12 $ docker stop --time=1 b67d0153a1c16ac9e431c476ff175da44708194349554d953d7974e40cb13939 23:42:13 $ docker rm -f --volumes b67d0153a1c16ac9e431c476ff175da44708194349554d953d7974e40cb13939 [Pipeline] // withDockerContainer [Pipeline] sh 23:42:14 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:42:14 Stashed 1 file(s) [Pipeline] echo 23:42:14 [edgeXSemver]: initialized semver on version 3.0.0-dev.4 [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 23:42:14 provisioning config files... 23:42:14 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13717287718793569241tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:42:14 ---> docker-login.sh 23:42:14 nexus3.edgexfoundry.org:10001 23:42:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:14 Configure a credential helper to remove this warning. See 23:42:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:14 23:42:14 Login Succeeded 23:42:14 nexus3.edgexfoundry.org:10002 23:42:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:14 Configure a credential helper to remove this warning. See 23:42:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:14 23:42:14 Login Succeeded 23:42:14 nexus3.edgexfoundry.org:10003 23:42:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:15 Configure a credential helper to remove this warning. See 23:42:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:15 23:42:15 Login Succeeded 23:42:15 nexus3.edgexfoundry.org:10004 23:42:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:15 Configure a credential helper to remove this warning. See 23:42:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:15 23:42:15 Login Succeeded 23:42:15 docker.io 23:42:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:42:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:42:15 Configure a credential helper to remove this warning. See 23:42:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:42:15 23:42:15 Login Succeeded 23:42:15 ---> docker-login.sh ends [Pipeline] } 23:42:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:42:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:42:15 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:42:15 ========================================================= 23:42:15 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 23:42:15 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:15 + 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 . 23:42:15 Sending build context to Docker daemon 10.78MB 23:42:15 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 23:42:15 Step 2/12 : FROM ${BASE} AS builder 23:42:15 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 23:42:15 213ec9aee27d: Pulling fs layer 23:42:15 4583459ba037: Pulling fs layer 23:42:15 93c1e223e6f2: Pulling fs layer 23:42:15 53926ce57604: Pulling fs layer 23:42:15 21b2b0c7a3f4: Pulling fs layer 23:42:15 22ff95d597cd: Pulling fs layer 23:42:15 12d6caf4c0d1: Pulling fs layer 23:42:15 96b7cbca73a9: Pulling fs layer 23:42:15 a7acece74701: Pulling fs layer 23:42:15 53926ce57604: Waiting 23:42:15 21b2b0c7a3f4: Waiting 23:42:15 22ff95d597cd: Waiting 23:42:15 12d6caf4c0d1: Waiting 23:42:15 96b7cbca73a9: Waiting 23:42:15 a7acece74701: Waiting 23:42:15 93c1e223e6f2: Verifying Checksum 23:42:15 93c1e223e6f2: Download complete 23:42:16 4583459ba037: Verifying Checksum 23:42:16 4583459ba037: Download complete 23:42:16 21b2b0c7a3f4: Verifying Checksum 23:42:16 21b2b0c7a3f4: Download complete 23:42:16 22ff95d597cd: Verifying Checksum 23:42:16 22ff95d597cd: Download complete 23:42:16 213ec9aee27d: Verifying Checksum 23:42:16 213ec9aee27d: Download complete 23:42:16 12d6caf4c0d1: Verifying Checksum 23:42:16 12d6caf4c0d1: Download complete 23:42:16 213ec9aee27d: Pull complete 23:42:16 4583459ba037: Pull complete 23:42:16 93c1e223e6f2: Pull complete 23:42:16 a7acece74701: Verifying Checksum 23:42:16 a7acece74701: Download complete 23:42:16 96b7cbca73a9: Download complete 23:42:16 53926ce57604: Verifying Checksum 23:42:16 53926ce57604: Download complete 23:42:20 53926ce57604: Pull complete 23:42:20 21b2b0c7a3f4: Pull complete 23:42:20 22ff95d597cd: Pull complete 23:42:20 12d6caf4c0d1: Pull complete 23:42:22 96b7cbca73a9: Pull complete 23:42:23 a7acece74701: Pull complete 23:42:23 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 23:42:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 23:42:23 ---> db6d94c90886 23:42:23 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:42:25 ---> Running in 7b4f3fb3d800 23:42:25 Removing intermediate container 7b4f3fb3d800 23:42:25 ---> af753f3b438b 23:42:25 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:42:25 ---> Running in 1bdab405d2d1 23:42:25 Removing intermediate container 1bdab405d2d1 23:42:25 ---> ac41fcb7405b 23:42:25 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:42:25 ---> Running in 46fce4c55fdc 23:42:25 Removing intermediate container 46fce4c55fdc 23:42:25 ---> 0bbebdca9f7d 23:42:25 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:42:25 ---> Running in 8d8585a01dd1 23:42:25 Removing intermediate container 8d8585a01dd1 23:42:25 ---> ea82b07f1002 23:42:25 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:42:25 ---> Running in 68559be7b240 23:42:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:42:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:42:26 (1/4) Installing openssh-keygen (9.0_p1-r2) 23:42:26 (2/4) Installing libedit (20210910.3.1-r0) 23:42:26 (3/4) Installing openssh-client-common (9.0_p1-r2) 23:42:26 (4/4) Installing openssh-client-default (9.0_p1-r2) 23:42:26 Executing busybox-1.35.0-r17.trigger 23:42:26 OK: 216 MiB in 55 packages 23:42:27 Removing intermediate container 68559be7b240 23:42:27 ---> bed5eb6503a5 23:42:27 Step 8/12 : WORKDIR /device-rest-go 23:42:27 ---> Running in 9e3dc46eb1b9 23:42:27 Removing intermediate container 9e3dc46eb1b9 23:42:27 ---> 94d33703d64f 23:42:27 Step 9/12 : COPY go.mod vendor* ./ 23:42:27 ---> dbcd9c4bd307 23:42:27 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:42:27 ---> Running in 265c8b567a06 23:42:29 Still waiting to schedule task 23:42:29 ‘prd-ubuntu20.04-docker-arm64-4c-16g-1761’ is offline 23:42:45 Removing intermediate container 265c8b567a06 23:42:45 ---> eb1c1c4690f8 23:42:45 Step 11/12 : COPY . . 23:42:45 ---> ce6baacd6cf4 23:42:45 Step 12/12 : RUN $MAKE 23:42:45 ---> Running in f9c268491d4c 23:42:45 noop 23:42:45 Removing intermediate container f9c268491d4c 23:42:45 ---> 146a1db0e4a9 23:42:45 Successfully built 146a1db0e4a9 23:42:45 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:46 + docker inspect -f . ci-base-image-x86_64 23:42:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:42:46 prd-ubuntu20.04-docker-8c-8g-1765 does not seem to be running inside a container 23:42:46 $ 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 ******** ci-base-image-x86_64 cat 23:42:46 $ docker top 8c36e7713a1e96635a6d3cae0b0c7856d61f107c1bc17ddab9257f5abc0788d7 -eo pid,comm [Pipeline] { [Pipeline] sh 23:42:46 + go version 23:42:46 go version go1.18.7 linux/amd64 [Pipeline] } 23:42:46 $ docker stop --time=1 8c36e7713a1e96635a6d3cae0b0c7856d61f107c1bc17ddab9257f5abc0788d7 23:42:48 $ docker rm -f --volumes 8c36e7713a1e96635a6d3cae0b0c7856d61f107c1bc17ddab9257f5abc0788d7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:42:48 + docker inspect -f . ci-base-image-x86_64 23:42:48 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:42:48 prd-ubuntu20.04-docker-8c-8g-1765 does not seem to be running inside a container 23:42:48 $ 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 ******** ci-base-image-x86_64 cat 23:42:49 $ docker top 8e33ceb9af590ef8d63444f15fc7c30d4b91600f9d49087d7a5007a1d60cb03a -eo pid,comm [Pipeline] { [Pipeline] sh 23:42:49 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 23:42:49 + make test 23:42:49 go test ./... -coverprofile=coverage.out ./... 23:42:50 ? github.com/edgexfoundry/device-rest-go [no test files] 23:43:00 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:43:00 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 55.2% of statements 23:43:06 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 23:43:06 go vet ./... 23:43:09 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:43:09 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:43:09 ./bin/test-attribution-txt.sh [Pipeline] echo 23:43:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:43:09 $ docker stop --time=1 8e33ceb9af590ef8d63444f15fc7c30d4b91600f9d49087d7a5007a1d60cb03a 23:43:10 $ docker rm -f --volumes 8e33ceb9af590ef8d63444f15fc7c30d4b91600f9d49087d7a5007a1d60cb03a [Pipeline] // withDockerContainer [Pipeline] sh 23:43:11 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:43:11 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:43:11 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:43:12 + ls -al . 23:43:12 total 188 23:43:12 drwxrwxr-x 9 jenkins jenkins 4096 Jan 10 23:42 . 23:43:12 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 23:41 .. 23:43:12 -rw-rw-r-- 1 jenkins jenkins 151 Jan 10 23:41 .dockerignore 23:43:12 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 23:43 .git 23:43:12 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 23:41 .github 23:43:12 -rw-rw-r-- 1 jenkins jenkins 329 Jan 10 23:41 .gitignore 23:43:12 -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 23:41 .golangci.yml 23:43:12 drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 23:42 .semver 23:43:12 -rw-rw-r-- 1 jenkins jenkins 8996 Jan 10 23:41 Attribution.txt 23:43:12 -rw-rw-r-- 1 jenkins jenkins 13085 Jan 10 23:41 CHANGELOG.md 23:43:12 -rw-rw-r-- 1 jenkins jenkins 1578 Jan 10 23:41 Dockerfile 23:43:12 -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 23:41 GOVERNANCE.md 23:43:12 -rw-rw-r-- 1 jenkins jenkins 680 Jan 10 23:41 Jenkinsfile 23:43:12 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 23:41 LICENSE 23:43:12 -rw-rw-r-- 1 jenkins jenkins 1744 Jan 10 23:41 Makefile 23:43:12 -rw-rw-r-- 1 jenkins jenkins 620 Jan 10 23:41 OWNERS.md 23:43:12 -rw-rw-r-- 1 jenkins jenkins 8667 Jan 10 23:41 README.md 23:43:12 -rw-rw-r-- 1 jenkins jenkins 11 Jan 10 23:42 VERSION 23:43:12 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 23:41 bin 23:43:12 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 23:41 cmd 23:43:12 -rw-r--r-- 1 jenkins jenkins 9355 Jan 10 23:42 coverage.out 23:43:12 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 23:41 driver 23:43:12 -rw-rw-r-- 1 jenkins jenkins 3488 Jan 10 23:41 go.mod 23:43:12 -rw-rw-r-- 1 jenkins jenkins 45013 Jan 10 23:41 go.sum 23:43:12 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 23:41 snap 23:43:12 -rw-rw-r-- 1 jenkins jenkins 713 Jan 10 23:41 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:43:12 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=a09ef0c5b5718b7e2deeb983e8068139a6f667f6 --label arch=amd64 --label version=3.0.0-dev.4 . 23:43:12 Sending build context to Docker daemon 10.8MB 23:43:12 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 23:43:12 Step 2/25 : FROM ${BASE} AS builder 23:43:12 ---> 146a1db0e4a9 23:43:12 Step 3/25 : ARG ADD_BUILD_TAGS="" 23:43:12 ---> Running in ba16bd42a2f1 23:43:12 Removing intermediate container ba16bd42a2f1 23:43:12 ---> 32b1cce31be3 23:43:12 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:43:12 ---> Running in 05b8058a87f1 23:43:12 Removing intermediate container 05b8058a87f1 23:43:12 ---> 909e954554f8 23:43:12 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:43:12 ---> Running in 1854ea435c36 23:43:13 Removing intermediate container 1854ea435c36 23:43:13 ---> 1bd2b1901d50 23:43:13 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 23:43:13 ---> Running in 4edc59c7ff9a 23:43:13 Removing intermediate container 4edc59c7ff9a 23:43:13 ---> 9064e9d020b5 23:43:13 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:43:13 ---> Running in aaa6c8be127c 23:43:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:43:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:43:13 OK: 216 MiB in 55 packages 23:43:14 Removing intermediate container aaa6c8be127c 23:43:14 ---> 10d4afd43d8d 23:43:14 Step 8/25 : WORKDIR /device-rest-go 23:43:14 ---> Running in 9acdea6934fe 23:43:14 Removing intermediate container 9acdea6934fe 23:43:14 ---> e595ee8877c2 23:43:14 Step 9/25 : COPY go.mod vendor* ./ 23:43:14 ---> b8909a9bfd88 23:43:14 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:43:14 ---> Running in 73893385a60c 23:43:15 Removing intermediate container 73893385a60c 23:43:15 ---> cf71da7c639e 23:43:15 Step 11/25 : COPY . . 23:43:15 ---> d1571ff003e6 23:43:15 Step 12/25 : RUN $MAKE 23:43:15 ---> Running in b987c38a3104 23:43:16 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.4" -trimpath -mod=readonly -o cmd/device-rest ./cmd 23:43:34 Removing intermediate container b987c38a3104 23:43:34 ---> f0369e539f1e 23:43:34 Step 13/25 : FROM alpine:3.16 23:43:34 3.16: Pulling from library/alpine 23:43:34 ca7dd9ec2225: Pulling fs layer 23:43:34 ca7dd9ec2225: Verifying Checksum 23:43:34 ca7dd9ec2225: Download complete 23:43:34 ca7dd9ec2225: Pull complete 23:43:34 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 23:43:34 Status: Downloaded newer image for alpine:3.16 23:43:34 ---> bfe296a52501 23:43:34 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:43:34 ---> Running in 0e738e16daaa 23:43:34 Removing intermediate container 0e738e16daaa 23:43:34 ---> f98516be6215 23:43:34 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 23:43:34 ---> Running in 6ff44c2c8cfe 23:43:34 Removing intermediate container 6ff44c2c8cfe 23:43:34 ---> 258066af590a 23:43:34 Step 16/25 : RUN apk add --update --no-cache dumb-init 23:43:34 ---> Running in 6075822f7b34 23:43:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 23:43:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 23:43:34 (1/1) Installing dumb-init (1.2.5-r1) 23:43:35 Executing busybox-1.35.0-r17.trigger 23:43:35 OK: 6 MiB in 15 packages 23:43:35 Removing intermediate container 6075822f7b34 23:43:35 ---> 78d61687844a 23:43:35 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 23:43:36 ---> d9e0e2525e33 23:43:36 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 23:43:36 ---> af4137d513ad 23:43:36 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 23:43:36 ---> 45c37e34679e 23:43:36 Step 20/25 : EXPOSE 59986 23:43:36 ---> Running in b96b2925906b 23:43:36 Removing intermediate container b96b2925906b 23:43:36 ---> 76726b2f1209 23:43:36 Step 21/25 : ENTRYPOINT ["/device-rest"] 23:43:36 ---> Running in a47db6b6ab3f 23:43:36 Removing intermediate container a47db6b6ab3f 23:43:36 ---> 4999235eb3f2 23:43:36 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:43:36 ---> Running in 711104921afb 23:43:36 Removing intermediate container 711104921afb 23:43:36 ---> 0eaeb1d191e5 23:43:36 Step 23/25 : LABEL arch=amd64 23:43:36 ---> Running in c7454fcdb49b 23:43:36 Removing intermediate container c7454fcdb49b 23:43:36 ---> 1c60afad0af2 23:43:36 Step 24/25 : LABEL git_sha=a09ef0c5b5718b7e2deeb983e8068139a6f667f6 23:43:36 ---> Running in 27b7f4715465 23:43:36 Removing intermediate container 27b7f4715465 23:43:36 ---> 2a783170a081 23:43:36 Step 25/25 : LABEL version=3.0.0-dev.4 23:43:36 ---> Running in 3c7ee33b123a 23:43:37 Removing intermediate container 3c7ee33b123a 23:43:37 ---> deeff2b1cadd 23:43:37 [Warning] One or more build-args [ARCH] were not consumed 23:43:37 Successfully built deeff2b1cadd 23:43:37 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:43:37 provisioning config files... 23:43:37 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10306918036756824217tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:43:37 ---> docker-login.sh 23:43:37 nexus3.edgexfoundry.org:10001 23:43:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:37 Configure a credential helper to remove this warning. See 23:43:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:37 23:43:37 Login Succeeded 23:43:37 nexus3.edgexfoundry.org:10002 23:43:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:37 Configure a credential helper to remove this warning. See 23:43:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:37 23:43:37 Login Succeeded 23:43:37 nexus3.edgexfoundry.org:10003 23:43:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:37 Configure a credential helper to remove this warning. See 23:43:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:37 23:43:37 Login Succeeded 23:43:37 nexus3.edgexfoundry.org:10004 23:43:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:37 Configure a credential helper to remove this warning. See 23:43:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:37 23:43:37 Login Succeeded 23:43:37 docker.io 23:43:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:43:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:43:38 Configure a credential helper to remove this warning. See 23:43:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:43:38 23:43:38 Login Succeeded 23:43:38 ---> docker-login.sh ends [Pipeline] } 23:43:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:43:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:43:38 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 23:43:38 a09ef0c5b5718b7e2deeb983e8068139a6f667f6 23:43:38 latest 23:43:38 3.0.0-dev.4 23:43:38 a09ef0c5b5718b7e2deeb983e8068139a6f667f6-3.0.0-dev.4 23:43:38 main 23:43:38 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:43:38 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:a09ef0c5b5718b7e2deeb983e8068139a6f667f6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:43:38 + docker push nexus3.edgexfoundry.org:10004/device-rest:a09ef0c5b5718b7e2deeb983e8068139a6f667f6 23:43:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:43:38 70be084a3913: Preparing 23:43:38 3b5761e392f7: Preparing 23:43:38 dd4982497dea: Preparing 23:43:38 39a46df13573: Preparing 23:43:38 e5e13b0c77cb: Preparing 23:43:38 e5e13b0c77cb: Layer already exists 23:43:38 70be084a3913: Pushed 23:43:38 3b5761e392f7: Pushed 23:43:38 39a46df13573: Pushed 23:43:41 dd4982497dea: Pushed 23:43:41 a09ef0c5b5718b7e2deeb983e8068139a6f667f6: digest: sha256:09a930ca9293994e588f99da670c3aa8abf802c863230b55512b93c46c6d80dc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:43:41 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:43:41 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 23:43:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:43:41 70be084a3913: Preparing 23:43:41 3b5761e392f7: Preparing 23:43:41 dd4982497dea: Preparing 23:43:41 39a46df13573: Preparing 23:43:41 e5e13b0c77cb: Preparing 23:43:41 dd4982497dea: Layer already exists 23:43:41 39a46df13573: Layer already exists 23:43:41 e5e13b0c77cb: Layer already exists 23:43:41 3b5761e392f7: Layer already exists 23:43:41 70be084a3913: Layer already exists 23:43:41 latest: digest: sha256:09a930ca9293994e588f99da670c3aa8abf802c863230b55512b93c46c6d80dc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:43:42 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:43:42 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.4 23:43:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:43:42 70be084a3913: Preparing 23:43:42 3b5761e392f7: Preparing 23:43:42 dd4982497dea: Preparing 23:43:42 39a46df13573: Preparing 23:43:42 e5e13b0c77cb: Preparing 23:43:42 dd4982497dea: Layer already exists 23:43:42 39a46df13573: Layer already exists 23:43:42 70be084a3913: Layer already exists 23:43:42 e5e13b0c77cb: Layer already exists 23:43:42 3b5761e392f7: Layer already exists 23:43:42 3.0.0-dev.4: digest: sha256:09a930ca9293994e588f99da670c3aa8abf802c863230b55512b93c46c6d80dc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:43:42 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:a09ef0c5b5718b7e2deeb983e8068139a6f667f6-3.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:43:43 + docker push nexus3.edgexfoundry.org:10004/device-rest:a09ef0c5b5718b7e2deeb983e8068139a6f667f6-3.0.0-dev.4 23:43:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:43:43 70be084a3913: Preparing 23:43:43 3b5761e392f7: Preparing 23:43:43 dd4982497dea: Preparing 23:43:43 39a46df13573: Preparing 23:43:43 e5e13b0c77cb: Preparing 23:43:43 3b5761e392f7: Layer already exists 23:43:43 e5e13b0c77cb: Layer already exists 23:43:43 39a46df13573: Layer already exists 23:43:43 dd4982497dea: Layer already exists 23:43:43 70be084a3913: Layer already exists 23:43:43 a09ef0c5b5718b7e2deeb983e8068139a6f667f6-3.0.0-dev.4: digest: sha256:09a930ca9293994e588f99da670c3aa8abf802c863230b55512b93c46c6d80dc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:43:43 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:43:43 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 23:43:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:43:43 70be084a3913: Preparing 23:43:43 3b5761e392f7: Preparing 23:43:43 dd4982497dea: Preparing 23:43:43 39a46df13573: Preparing 23:43:43 e5e13b0c77cb: Preparing 23:43:43 e5e13b0c77cb: Layer already exists 23:43:43 dd4982497dea: Layer already exists 23:43:43 70be084a3913: Layer already exists 23:43:43 3b5761e392f7: Layer already exists 23:43:43 39a46df13573: Layer already exists 23:43:43 main: digest: sha256:09a930ca9293994e588f99da670c3aa8abf802c863230b55512b93c46c6d80dc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:43:43 ===================================================== [Pipeline] echo 23:43:43 taggedImages: 23:43:43 - nexus3.edgexfoundry.org:10004/device-rest:a09ef0c5b5718b7e2deeb983e8068139a6f667f6 23:43:43 - nexus3.edgexfoundry.org:10004/device-rest:latest 23:43:43 - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.4 23:43:43 - nexus3.edgexfoundry.org:10004/device-rest:a09ef0c5b5718b7e2deeb983e8068139a6f667f6-3.0.0-dev.4 23:43:43 - 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 23:43:44 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:43:44 23:43:44 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:43:44 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:43:44 latest: Pulling from edgex-lftools-log-publisher 23:43:44 5eb5b503b376: Pulling fs layer 23:43:44 5c69ac0246d0: Pulling fs layer 23:43:44 ec43610c2a17: Pulling fs layer 23:43:44 3a2ae6a8a46f: Pulling fs layer 23:43:44 33b1e0a273af: Pulling fs layer 23:43:44 5d3b04190fa2: Pulling fs layer 23:43:44 2f39f015ded8: Pulling fs layer 23:43:44 33b1e0a273af: Waiting 23:43:44 5d3b04190fa2: Waiting 23:43:44 2f39f015ded8: Waiting 23:43:44 3a2ae6a8a46f: Waiting 23:43:44 5c69ac0246d0: Download complete 23:43:44 3a2ae6a8a46f: Verifying Checksum 23:43:44 3a2ae6a8a46f: Download complete 23:43:44 33b1e0a273af: Verifying Checksum 23:43:44 33b1e0a273af: Download complete 23:43:44 ec43610c2a17: Verifying Checksum 23:43:44 ec43610c2a17: Download complete 23:43:44 5d3b04190fa2: Verifying Checksum 23:43:44 5d3b04190fa2: Download complete 23:43:44 5eb5b503b376: Verifying Checksum 23:43:44 5eb5b503b376: Download complete 23:43:45 2f39f015ded8: Download complete 23:43:45 5eb5b503b376: Pull complete 23:43:45 5c69ac0246d0: Pull complete 23:43:46 ec43610c2a17: Pull complete 23:43:46 3a2ae6a8a46f: Pull complete 23:43:46 33b1e0a273af: Pull complete 23:43:46 5d3b04190fa2: Pull complete 23:43:50 2f39f015ded8: Pull complete 23:43:50 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:43:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:43:50 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:43:50 prd-ubuntu20.04-docker-8c-8g-1765 does not seem to be running inside a container 23:43:50 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:43:52 $ docker top 74715690e79bea03a3a1984e4cc70f1698fdc7632677ab76efeca382b4817830 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:43:53 ---> job-cost.sh 23:43:53 lf-activate-venv: SKIPPING 23:43:53 INFO: No Stack... 23:43:53 INFO: Retrieving Pricing Info for: v3-standard-8 23:43:53 INFO: Archiving Costs [Pipeline] sh 23:43:53 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 23:43:53 + cut -d, -f6 [Pipeline] lock 23:43:53 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-76-stack-cost] 23:43:53 Resource [jenkins-edgexfoundry-device-rest-go-main-76-stack-cost] did not exist. Created. 23:43:53 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-76-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:43:54 + echo total: 0.2199999988079071 [Pipeline] stash 23:43:54 Stashed 1 file(s) [Pipeline] } 23:43:54 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-76-stack-cost] [Pipeline] // lock [Pipeline] } 23:43:54 $ docker stop --time=1 74715690e79bea03a3a1984e4cc70f1698fdc7632677ab76efeca382b4817830 23:43:55 $ docker rm -f --volumes 74715690e79bea03a3a1984e4cc70f1698fdc7632677ab76efeca382b4817830 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:44:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1769 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 23:44:01 Running in /w/workspace/device-rest-go/76 [Pipeline] { [Pipeline] checkout 23:44:01 The recommended git tool is: git 23:44:06 using credential edgex-jenkins-ssh 23:44:06 Cloning the remote Git repository 23:44:06 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 23:44:06 > git init /w/workspace/device-rest-go/76 # timeout=10 23:44:06 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:44:06 > git --version # timeout=10 23:44:06 > git --version # 'git version 2.25.1' 23:44:06 using GIT_SSH to set credentials SSH Credentials for GitHub 23:44:06 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:44:09 Avoid second fetch 23:44:09 Checking out Revision a09ef0c5b5718b7e2deeb983e8068139a6f667f6 (main) 23:44:08 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:44:08 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:44:09 > git config core.sparsecheckout # timeout=10 23:44:09 > git checkout -f a09ef0c5b5718b7e2deeb983e8068139a6f667f6 # timeout=10 23:44:10 Commit message: "feat!: Remove ZeroMQ MessageBus capability (#235)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:44:11 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:44:11 % Total % Received % Xferd Average Speed Time Time Time Current 23:44:11 Dload Upload Total Spent Left Speed 23:44:11 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 83888 0 --:--:-- --:--:-- --:--:-- 83888 [Pipeline] sh 23:44:11 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:44:12 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:44:12 + sudo tee /etc/docker/daemon.new 23:44:12 { 23:44:12 "registry-mirrors": [ 23:44:12 "https://nexus3.edgexfoundry.org:10001" 23:44:12 ], 23:44:12 "bip": "10.250.0.254/24", 23:44:12 "hosts": [ 23:44:12 "tcp://0.0.0.0:5555", 23:44:12 "unix:///var/run/docker.sock" 23:44:12 ], 23:44:12 "mtu": 1458, 23:44:12 "selinux-enabled": true, 23:44:12 "seccomp-profile": "/etc/docker/seccomp.json" 23:44:12 } [Pipeline] sh 23:44:12 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:44:12 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:44:30 provisioning config files... 23:44:30 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/76@tmp/config14288603205221668467tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:44:31 ---> docker-login.sh 23:44:31 nexus3.edgexfoundry.org:10001 23:44:31 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:44:31 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:44:31 Configure a credential helper to remove this warning. See 23:44:31 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:44:31 23:44:31 Login Succeeded 23:44:31 nexus3.edgexfoundry.org:10002 23:44:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:44:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:44:32 Configure a credential helper to remove this warning. See 23:44:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:44:32 23:44:32 Login Succeeded 23:44:32 nexus3.edgexfoundry.org:10003 23:44:32 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:44:32 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:44:32 Configure a credential helper to remove this warning. See 23:44:32 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:44:32 23:44:32 Login Succeeded 23:44:32 nexus3.edgexfoundry.org:10004 23:44:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:44:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:44:33 Configure a credential helper to remove this warning. See 23:44:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:44:33 23:44:33 Login Succeeded 23:44:33 docker.io 23:44:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:44:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:44:33 Configure a credential helper to remove this warning. See 23:44:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:44:33 23:44:33 Login Succeeded 23:44:33 ---> docker-login.sh ends [Pipeline] } 23:44:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:44:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:44:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:44:33 ========================================================= 23:44:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 23:44:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:44:34 + 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 . 23:44:34 Sending build context to Docker daemon 128.5kB 23:44:34 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 23:44:34 Step 2/12 : FROM ${BASE} AS builder 23:44:34 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:44:34 9b18e9b68314: Pulling fs layer 23:44:34 35d82f9e3411: Pulling fs layer 23:44:34 e16973657156: Pulling fs layer 23:44:34 fc693d55d65f: Pulling fs layer 23:44:34 7e9fc2657dce: Pulling fs layer 23:44:34 dda99020689f: Pulling fs layer 23:44:34 db1c61fa0a46: Pulling fs layer 23:44:34 891c053d2c06: Pulling fs layer 23:44:34 dda99020689f: Waiting 23:44:34 db1c61fa0a46: Waiting 23:44:34 891c053d2c06: Waiting 23:44:34 fc693d55d65f: Waiting 23:44:34 7e9fc2657dce: Waiting 23:44:34 e16973657156: Verifying Checksum 23:44:34 e16973657156: Download complete 23:44:34 35d82f9e3411: Download complete 23:44:34 7e9fc2657dce: Download complete 23:44:34 dda99020689f: Verifying Checksum 23:44:34 dda99020689f: Download complete 23:44:34 9b18e9b68314: Verifying Checksum 23:44:34 9b18e9b68314: Download complete 23:44:35 9b18e9b68314: Pull complete 23:44:35 891c053d2c06: Verifying Checksum 23:44:35 891c053d2c06: Download complete 23:44:36 35d82f9e3411: Pull complete 23:44:36 e16973657156: Pull complete 23:44:37 db1c61fa0a46: Verifying Checksum 23:44:37 db1c61fa0a46: Download complete 23:44:37 fc693d55d65f: Verifying Checksum 23:44:37 fc693d55d65f: Download complete 23:44:50 fc693d55d65f: Pull complete 23:44:50 7e9fc2657dce: Pull complete 23:44:50 dda99020689f: Pull complete 23:44:56 db1c61fa0a46: Pull complete 23:44:57 891c053d2c06: Pull complete 23:44:57 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 23:44:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 23:44:57 ---> f96f9c87975a 23:44:57 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:44:59 ---> Running in 4d7e329173f9 23:44:59 Removing intermediate container 4d7e329173f9 23:44:59 ---> c98490198aa3 23:44:59 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:44:59 ---> Running in 206e5044f9ab 23:45:00 Removing intermediate container 206e5044f9ab 23:45:00 ---> 51578588ba76 23:45:00 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:45:00 ---> Running in 6b34aea36e2c 23:45:00 Removing intermediate container 6b34aea36e2c 23:45:00 ---> 681d07eca952 23:45:00 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:45:00 ---> Running in a91d3e2fc2d9 23:45:00 Removing intermediate container a91d3e2fc2d9 23:45:00 ---> f308e042c458 23:45:00 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:45:01 ---> Running in 9788439b34bc 23:45:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:45:02 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:45:03 (1/4) Installing openssh-keygen (9.0_p1-r2) 23:45:03 (2/4) Installing libedit (20210910.3.1-r0) 23:45:03 (3/4) Installing openssh-client-common (9.0_p1-r2) 23:45:03 (4/4) Installing openssh-client-default (9.0_p1-r2) 23:45:03 Executing busybox-1.35.0-r17.trigger 23:45:03 OK: 226 MiB in 55 packages 23:45:04 Removing intermediate container 9788439b34bc 23:45:04 ---> e9a5f2a0102b 23:45:04 Step 8/12 : WORKDIR /device-rest-go 23:45:04 ---> Running in be6a5d208748 23:45:04 Removing intermediate container be6a5d208748 23:45:04 ---> b614680db3db 23:45:04 Step 9/12 : COPY go.mod vendor* ./ 23:45:05 ---> 29bed35e8427 23:45:05 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:45:05 ---> Running in 30ba68d37bfa 23:46:01 Removing intermediate container 30ba68d37bfa 23:46:01 ---> ce3cd0982af1 23:46:01 Step 11/12 : COPY . . 23:46:01 ---> 84bbf15f1f2c 23:46:01 Step 12/12 : RUN $MAKE 23:46:01 ---> Running in 243ec20b76ad 23:46:01 noop 23:46:01 Removing intermediate container 243ec20b76ad 23:46:01 ---> 0eaa3f3adfb6 23:46:01 Successfully built 0eaa3f3adfb6 23:46:01 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:46:02 + docker inspect -f . ci-base-image-arm64 23:46:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:46:02 prd-ubuntu20.04-docker-arm64-4c-16g-1769 does not seem to be running inside a container 23:46:02 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/76 -v /w/workspace/device-rest-go/76:/w/workspace/device-rest-go/76:rw,z -v /w/workspace/device-rest-go/76@tmp:/w/workspace/device-rest-go/76@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 23:46:03 $ docker top 33abd1f4f16927f1f42a6303e7d2b129e3b14f857f0cf7b690b6806fce1a2ac5 -eo pid,comm [Pipeline] { [Pipeline] sh 23:46:04 + go version 23:46:04 go version go1.18.7 linux/arm64 [Pipeline] } 23:46:04 $ docker stop --time=1 33abd1f4f16927f1f42a6303e7d2b129e3b14f857f0cf7b690b6806fce1a2ac5 23:46:06 $ docker rm -f --volumes 33abd1f4f16927f1f42a6303e7d2b129e3b14f857f0cf7b690b6806fce1a2ac5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:46:06 + docker inspect -f . ci-base-image-arm64 23:46:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:46:06 prd-ubuntu20.04-docker-arm64-4c-16g-1769 does not seem to be running inside a container 23:46:07 $ 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/76 -v /w/workspace/device-rest-go/76:/w/workspace/device-rest-go/76:rw,z -v /w/workspace/device-rest-go/76@tmp:/w/workspace/device-rest-go/76@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 23:46:08 $ docker top 6b0fadd62ad53294899d0d4641356bfbb2e5b00d59652b3c4628f22543d7124a -eo pid,comm [Pipeline] { [Pipeline] sh 23:46:09 + git config --global --add safe.directory /w/workspace/device-rest-go/76 [Pipeline] fileExists [Pipeline] sh 23:46:09 + make test 23:46:09 go test ./... -coverprofile=coverage.out ./... 23:46:11 ? github.com/edgexfoundry/device-rest-go [no test files] 23:47:33 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:47:33 ok github.com/edgexfoundry/device-rest-go/driver 0.058s coverage: 55.2% of statements 23:47:33 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:47:33 go vet ./... 23:47:51 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:47:51 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:47:51 ./bin/test-attribution-txt.sh [Pipeline] echo 23:47:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:47:51 $ docker stop --time=1 6b0fadd62ad53294899d0d4641356bfbb2e5b00d59652b3c4628f22543d7124a 23:47:53 $ docker rm -f --volumes 6b0fadd62ad53294899d0d4641356bfbb2e5b00d59652b3c4628f22543d7124a [Pipeline] // withDockerContainer [Pipeline] sh 23:47:54 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:47:54 Warning: overwriting stash ‘coverage-report’ 23:47:54 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:47:55 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:47:55 + ls -al . 23:47:55 total 184 23:47:55 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 23:46 . 23:47:55 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 23:44 .. 23:47:55 -rw-rw-r-- 1 jenkins jenkins 151 Jan 10 23:44 .dockerignore 23:47:55 drwxrwxr-x 8 jenkins jenkins 4096 Jan 10 23:44 .git 23:47:55 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 23:44 .github 23:47:55 -rw-rw-r-- 1 jenkins jenkins 329 Jan 10 23:44 .gitignore 23:47:55 -rw-rw-r-- 1 jenkins jenkins 41 Jan 10 23:44 .golangci.yml 23:47:55 -rw-rw-r-- 1 jenkins jenkins 8996 Jan 10 23:44 Attribution.txt 23:47:55 -rw-rw-r-- 1 jenkins jenkins 13085 Jan 10 23:44 CHANGELOG.md 23:47:55 -rw-rw-r-- 1 jenkins jenkins 1578 Jan 10 23:44 Dockerfile 23:47:55 -rw-rw-r-- 1 jenkins jenkins 677 Jan 10 23:44 GOVERNANCE.md 23:47:55 -rw-rw-r-- 1 jenkins jenkins 680 Jan 10 23:44 Jenkinsfile 23:47:55 -rw-rw-r-- 1 jenkins jenkins 11340 Jan 10 23:44 LICENSE 23:47:55 -rw-rw-r-- 1 jenkins jenkins 1744 Jan 10 23:44 Makefile 23:47:55 -rw-rw-r-- 1 jenkins jenkins 620 Jan 10 23:44 OWNERS.md 23:47:55 -rw-rw-r-- 1 jenkins jenkins 8667 Jan 10 23:44 README.md 23:47:55 -rw-rw-r-- 1 jenkins jenkins 11 Jan 10 23:42 VERSION 23:47:55 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 23:44 bin 23:47:55 drwxrwxr-x 3 jenkins jenkins 4096 Jan 10 23:44 cmd 23:47:55 -rw-r--r-- 1 jenkins jenkins 9355 Jan 10 23:47 coverage.out 23:47:55 drwxrwxr-x 2 jenkins jenkins 4096 Jan 10 23:44 driver 23:47:55 -rw-rw-r-- 1 jenkins jenkins 3488 Jan 10 23:44 go.mod 23:47:55 -rw-rw-r-- 1 jenkins jenkins 45013 Jan 10 23:44 go.sum 23:47:55 drwxrwxr-x 4 jenkins jenkins 4096 Jan 10 23:44 snap 23:47:55 -rw-rw-r-- 1 jenkins jenkins 713 Jan 10 23:44 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:47:55 + 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=a09ef0c5b5718b7e2deeb983e8068139a6f667f6 --label arch=arm64 --label version=3.0.0-dev.4 . 23:47:55 Sending build context to Docker daemon 138.8kB 23:47:56 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 23:47:56 Step 2/25 : FROM ${BASE} AS builder 23:47:56 ---> 0eaa3f3adfb6 23:47:56 Step 3/25 : ARG ADD_BUILD_TAGS="" 23:47:56 ---> Running in d262980448e0 23:47:56 Removing intermediate container d262980448e0 23:47:56 ---> a93a5f265c1e 23:47:56 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:47:56 ---> Running in 6eb97222b77c 23:47:56 Removing intermediate container 6eb97222b77c 23:47:56 ---> 4015e1acee72 23:47:56 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:47:56 ---> Running in bb12b98d7363 23:47:57 Removing intermediate container bb12b98d7363 23:47:57 ---> 11ab377fb0d7 23:47:57 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 23:47:57 ---> Running in 650dcf9006f2 23:47:57 Removing intermediate container 650dcf9006f2 23:47:57 ---> 7323e98a4106 23:47:57 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:47:57 ---> Running in 68b0670a6521 23:47:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:47:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:47:59 OK: 226 MiB in 55 packages 23:48:00 Removing intermediate container 68b0670a6521 23:48:00 ---> 5528700f02ff 23:48:00 Step 8/25 : WORKDIR /device-rest-go 23:48:00 ---> Running in a4f91b3c9f7b 23:48:01 Removing intermediate container a4f91b3c9f7b 23:48:01 ---> 57a09a0e970c 23:48:01 Step 9/25 : COPY go.mod vendor* ./ 23:48:01 ---> 25eda6d1beb7 23:48:01 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:48:01 ---> Running in c5486e4a4325 23:48:03 Removing intermediate container c5486e4a4325 23:48:03 ---> c544c1c57535 23:48:03 Step 11/25 : COPY . . 23:48:04 ---> 2abcceabbbed 23:48:04 Step 12/25 : RUN $MAKE 23:48:04 ---> Running in c3f2257fcc2b 23:48:05 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.4" -trimpath -mod=readonly -o cmd/device-rest ./cmd 23:50:26 Removing intermediate container c3f2257fcc2b 23:50:26 ---> df44e19482ce 23:50:26 Step 13/25 : FROM alpine:3.16 23:50:26 3.16: Pulling from library/alpine 23:50:26 6875df1f5354: Pulling fs layer 23:50:26 6875df1f5354: Verifying Checksum 23:50:26 6875df1f5354: Download complete 23:50:26 6875df1f5354: Pull complete 23:50:26 Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b 23:50:26 Status: Downloaded newer image for alpine:3.16 23:50:26 ---> 2b4661558fb8 23:50:26 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:50:27 ---> Running in b842b8bae05e 23:50:27 Removing intermediate container b842b8bae05e 23:50:27 ---> 3f2bc0577a4a 23:50:27 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 23:50:27 ---> Running in 83432767844f 23:50:27 Removing intermediate container 83432767844f 23:50:27 ---> d1f0ec5abe89 23:50:27 Step 16/25 : RUN apk add --update --no-cache dumb-init 23:50:27 ---> Running in 58b6ed3167f6 23:50:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 23:50:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 23:50:30 (1/1) Installing dumb-init (1.2.5-r1) 23:50:30 Executing busybox-1.35.0-r17.trigger 23:50:30 OK: 5 MiB in 15 packages 23:50:30 Removing intermediate container 58b6ed3167f6 23:50:30 ---> ee10be9dcd97 23:50:30 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 23:50:34 ---> 26bd9c41b89d 23:50:34 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 23:50:34 ---> 0f31a6c4f764 23:50:34 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 23:50:34 ---> 3660ea0e1098 23:50:34 Step 20/25 : EXPOSE 59986 23:50:35 ---> Running in 0d93bca648e9 23:50:35 Removing intermediate container 0d93bca648e9 23:50:35 ---> 4ecb2be7922c 23:50:35 Step 21/25 : ENTRYPOINT ["/device-rest"] 23:50:35 ---> Running in b776b0928161 23:50:35 Removing intermediate container b776b0928161 23:50:35 ---> d9b0a819dce8 23:50:35 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:50:35 ---> Running in 62758f71f38b 23:50:36 Removing intermediate container 62758f71f38b 23:50:36 ---> 8cbb933d4ee6 23:50:36 Step 23/25 : LABEL arch=arm64 23:50:36 ---> Running in b17aca197f09 23:50:36 Removing intermediate container b17aca197f09 23:50:36 ---> 17d588c51020 23:50:36 Step 24/25 : LABEL git_sha=a09ef0c5b5718b7e2deeb983e8068139a6f667f6 23:50:36 ---> Running in ccc9b3540777 23:50:38 Removing intermediate container ccc9b3540777 23:50:38 ---> 8453b6c4d3c2 23:50:38 Step 25/25 : LABEL version=3.0.0-dev.4 23:50:38 ---> Running in bcd86f109b75 23:50:38 Removing intermediate container bcd86f109b75 23:50:38 ---> d68600b120c2 23:50:38 [Warning] One or more build-args [ARCH] were not consumed 23:50:38 Successfully built d68600b120c2 23:50:38 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 23:50:38 provisioning config files... 23:50:38 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/76@tmp/config234960666569698086tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:50:39 ---> docker-login.sh 23:50:39 nexus3.edgexfoundry.org:10001 23:50:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:50:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:50:39 Configure a credential helper to remove this warning. See 23:50:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:50:39 23:50:39 Login Succeeded 23:50:39 nexus3.edgexfoundry.org:10002 23:50:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:50:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:50:39 Configure a credential helper to remove this warning. See 23:50:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:50:39 23:50:39 Login Succeeded 23:50:39 nexus3.edgexfoundry.org:10003 23:50:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:50:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:50:40 Configure a credential helper to remove this warning. See 23:50:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:50:40 23:50:40 Login Succeeded 23:50:40 nexus3.edgexfoundry.org:10004 23:50:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:50:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:50:40 Configure a credential helper to remove this warning. See 23:50:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:50:40 23:50:40 Login Succeeded 23:50:40 docker.io 23:50:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:50:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:50:40 Configure a credential helper to remove this warning. See 23:50:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:50:40 23:50:40 Login Succeeded 23:50:40 ---> docker-login.sh ends [Pipeline] } 23:50:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:50:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:50:41 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 23:50:41 a09ef0c5b5718b7e2deeb983e8068139a6f667f6 23:50:41 latest 23:50:41 3.0.0-dev.4 23:50:41 a09ef0c5b5718b7e2deeb983e8068139a6f667f6-3.0.0-dev.4 23:50:41 main 23:50:41 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:50:41 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:a09ef0c5b5718b7e2deeb983e8068139a6f667f6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:50:41 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:a09ef0c5b5718b7e2deeb983e8068139a6f667f6 23:50:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:50:41 ea650cdac442: Preparing 23:50:41 d17ad580fc6e: Preparing 23:50:41 b2bb525d483e: Preparing 23:50:41 7be63e3bae4a: Preparing 23:50:41 17bec77d7fdc: Preparing 23:50:41 17bec77d7fdc: Layer already exists 23:50:41 ea650cdac442: Pushed 23:50:41 7be63e3bae4a: Pushed 23:50:41 d17ad580fc6e: Pushed 23:50:47 b2bb525d483e: Pushed 23:50:47 a09ef0c5b5718b7e2deeb983e8068139a6f667f6: digest: sha256:0774d33a3df00418624e9d669b2395a5fa7891743023ecf1b24f794d400f0357 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:50:47 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:50:48 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 23:50:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:50:48 ea650cdac442: Preparing 23:50:48 d17ad580fc6e: Preparing 23:50:48 b2bb525d483e: Preparing 23:50:48 7be63e3bae4a: Preparing 23:50:48 17bec77d7fdc: Preparing 23:50:48 17bec77d7fdc: Layer already exists 23:50:48 7be63e3bae4a: Layer already exists 23:50:48 d17ad580fc6e: Layer already exists 23:50:48 ea650cdac442: Layer already exists 23:50:48 b2bb525d483e: Layer already exists 23:50:48 latest: digest: sha256:0774d33a3df00418624e9d669b2395a5fa7891743023ecf1b24f794d400f0357 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:50:48 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:50:48 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.4 23:50:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:50:48 ea650cdac442: Preparing 23:50:48 d17ad580fc6e: Preparing 23:50:48 b2bb525d483e: Preparing 23:50:48 7be63e3bae4a: Preparing 23:50:48 17bec77d7fdc: Preparing 23:50:48 17bec77d7fdc: Layer already exists 23:50:48 ea650cdac442: Layer already exists 23:50:48 b2bb525d483e: Layer already exists 23:50:48 7be63e3bae4a: Layer already exists 23:50:48 d17ad580fc6e: Layer already exists 23:50:48 3.0.0-dev.4: digest: sha256:0774d33a3df00418624e9d669b2395a5fa7891743023ecf1b24f794d400f0357 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:50:49 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:a09ef0c5b5718b7e2deeb983e8068139a6f667f6-3.0.0-dev.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:50:49 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:a09ef0c5b5718b7e2deeb983e8068139a6f667f6-3.0.0-dev.4 23:50:49 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:50:49 ea650cdac442: Preparing 23:50:49 d17ad580fc6e: Preparing 23:50:49 b2bb525d483e: Preparing 23:50:49 7be63e3bae4a: Preparing 23:50:49 17bec77d7fdc: Preparing 23:50:49 ea650cdac442: Layer already exists 23:50:49 b2bb525d483e: Layer already exists 23:50:49 d17ad580fc6e: Layer already exists 23:50:49 7be63e3bae4a: Layer already exists 23:50:49 17bec77d7fdc: Layer already exists 23:50:49 a09ef0c5b5718b7e2deeb983e8068139a6f667f6-3.0.0-dev.4: digest: sha256:0774d33a3df00418624e9d669b2395a5fa7891743023ecf1b24f794d400f0357 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:50:50 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:50:50 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 23:50:50 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 23:50:50 ea650cdac442: Preparing 23:50:50 d17ad580fc6e: Preparing 23:50:50 b2bb525d483e: Preparing 23:50:50 7be63e3bae4a: Preparing 23:50:50 17bec77d7fdc: Preparing 23:50:50 7be63e3bae4a: Layer already exists 23:50:50 b2bb525d483e: Layer already exists 23:50:50 ea650cdac442: Layer already exists 23:50:50 d17ad580fc6e: Layer already exists 23:50:50 17bec77d7fdc: Layer already exists 23:50:50 main: digest: sha256:0774d33a3df00418624e9d669b2395a5fa7891743023ecf1b24f794d400f0357 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:50:50 ===================================================== [Pipeline] echo 23:50:50 taggedImages: 23:50:50 - nexus3.edgexfoundry.org:10004/device-rest-arm64:a09ef0c5b5718b7e2deeb983e8068139a6f667f6 23:50:50 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 23:50:50 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.4 23:50:50 - nexus3.edgexfoundry.org:10004/device-rest-arm64:a09ef0c5b5718b7e2deeb983e8068139a6f667f6-3.0.0-dev.4 23:50:50 - 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 23:50:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:50:51 23:50:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:50:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:50:51 arm64: Pulling from edgex-lftools-log-publisher 23:50:51 8998bd30e6a1: Pulling fs layer 23:50:51 04944245beec: Pulling fs layer 23:50:51 699f458cf7ca: Pulling fs layer 23:50:51 765212b225bb: Pulling fs layer 23:50:51 f23df028b6ca: Pulling fs layer 23:50:51 d65c8cfc05b1: Pulling fs layer 23:50:51 2437ff75d9bd: Pulling fs layer 23:50:51 765212b225bb: Waiting 23:50:51 f23df028b6ca: Waiting 23:50:51 d65c8cfc05b1: Waiting 23:50:51 2437ff75d9bd: Waiting 23:50:51 04944245beec: Verifying Checksum 23:50:51 04944245beec: Download complete 23:50:51 765212b225bb: Verifying Checksum 23:50:51 765212b225bb: Download complete 23:50:51 f23df028b6ca: Verifying Checksum 23:50:51 f23df028b6ca: Download complete 23:50:51 d65c8cfc05b1: Verifying Checksum 23:50:51 d65c8cfc05b1: Download complete 23:50:52 699f458cf7ca: Verifying Checksum 23:50:52 699f458cf7ca: Download complete 23:50:52 8998bd30e6a1: Verifying Checksum 23:50:52 8998bd30e6a1: Download complete 23:50:55 2437ff75d9bd: Verifying Checksum 23:50:55 2437ff75d9bd: Download complete 23:50:56 8998bd30e6a1: Pull complete 23:50:57 04944245beec: Pull complete 23:50:58 699f458cf7ca: Pull complete 23:50:59 765212b225bb: Pull complete 23:51:00 f23df028b6ca: Pull complete 23:51:00 d65c8cfc05b1: Pull complete 23:51:15 2437ff75d9bd: Pull complete 23:51:15 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 23:51:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 23:51:15 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:51:16 prd-ubuntu20.04-docker-arm64-4c-16g-1769 does not seem to be running inside a container 23:51:16 $ 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/76 -v /w/workspace/device-rest-go/76:/w/workspace/device-rest-go/76:rw,z -v /w/workspace/device-rest-go/76@tmp:/w/workspace/device-rest-go/76@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 23:51:18 $ docker top 284cc963521136335895b9d354c492ea58aaaf8bbd960248df3592960cf7a338 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:51:19 ---> job-cost.sh 23:51:19 lf-activate-venv: SKIPPING 23:51:19 INFO: No Stack... 23:51:19 INFO: Retrieving Pricing Info for: v3-standard-4 23:51:20 INFO: Archiving Costs [Pipeline] sh 23:51:21 + cat /w/workspace/device-rest-go/76/archives/cost.csv 23:51:21 + cut -d, -f6 [Pipeline] lock 23:51:21 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-76-stack-cost] 23:51:21 Resource [jenkins-edgexfoundry-device-rest-go-main-76-stack-cost] did not exist. Created. 23:51:21 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-76-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:51:21 /w/workspace/device-rest-go/76@tmp/durable-d0aab9c2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 23:51:22 + echo total: 0.10999999940395355 [Pipeline] stash 23:51:22 Warning: overwriting stash ‘stack-cost’ 23:51:22 Stashed 1 file(s) [Pipeline] } 23:51:22 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-76-stack-cost] [Pipeline] // lock [Pipeline] } 23:51:22 $ docker stop --time=1 284cc963521136335895b9d354c492ea58aaaf8bbd960248df3592960cf7a338 23:51:24 $ docker rm -f --volumes 284cc963521136335895b9d354c492ea58aaaf8bbd960248df3592960cf7a338 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 23:51:24 provisioning config files... 23:51:24 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5700762417585494202tmp [Pipeline] { [Pipeline] sh 23:51:24 + set +x 23:51:24 + + curlbash -s -s https://codecov.io/bash -- 23:51:24 23:51:24 23:51:24 _____ _ 23:51:24 / ____| | | 23:51:24 | | ___ __| | ___ ___ _____ __ 23:51:24 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 23:51:24 | |___| (_) | (_| | __/ (_| (_) \ V / 23:51:24 \_____\___/ \__,_|\___|\___\___/ \_/ 23:51:24 Bash-1.0.6 23:51:24 23:51:24 23:51:24 ==> git version 2.25.1 found 23:51:24 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 23:51:24 Release-Date: 2020-01-08 23:51:24 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 23:51:24 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 23:51:24 ==> Jenkins CI detected. 23:51:24 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 23:51:24 project root: . 23:51:24 --> token set from env 23:51:24 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 23:51:24 ==> Running gcov in . (disable via -X gcov) 23:51:24 ==> Python coveragepy not found 23:51:24 ==> Searching for coverage reports in: 23:51:24 + . 23:51:24 -> Found 1 reports 23:51:24 ==> Detecting git/mercurial file structure 23:51:24 ==> Reading reports 23:51:24 + ./coverage.out bytes=9355 23:51:25 ==> Appending adjustments 23:51:25 https://docs.codecov.io/docs/fixing-reports 23:51:25 + Found adjustments 23:51:25 ==> Gzipping contents 23:51:25 4.0K /tmp/codecov.J6Nb1F.gz 23:51:25 ==> Uploading reports 23:51:25 url: https://codecov.io 23:51:25 query: branch=main&commit=a09ef0c5b5718b7e2deeb983e8068139a6f667f6&build=76&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F76%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:51:25 -> Pinging Codecov 23:51:25 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=a09ef0c5b5718b7e2deeb983e8068139a6f667f6&build=76&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F76%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 23:51:25 -> Uploading to 23:51:25 https://storage.googleapis.com/codecov/v4/raw/2023-01-10/4E5D53B4F1F92C436F7061BF334D961C/a09ef0c5b5718b7e2deeb983e8068139a6f667f6/1e1dcc20-9f2e-4e8c-b857-fc1bd74a2a85.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230110%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230110T235125Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=4a6a30f61856efbc75f8b08d1e3e810a4265a07ee0ce0071a172eb2da35521b1 23:51:25 % Total % Received % Xferd Average Speed Time Time Time Current 23:51:25 Dload Upload Total Spent Left Speed 23:51:25 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1734 0 0 100 1734 0 6170 --:--:-- --:--:-- --:--:-- 6148 100 1734 0 0 100 1734 0 6170 --:--:-- --:--:-- --:--:-- 6148 23:51:25 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/a09ef0c5b5718b7e2deeb983e8068139a6f667f6 [Pipeline] } 23:51:25 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 23:51:25 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 23:51:25 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:51:26 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:51:26 23:51:26 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:51:26 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:51:26 1.410.4: Pulling from edgex-devops/edgex-snyk-go 23:51:26 df9b9388f04a: Pulling fs layer 23:51:26 52dc419b0ee2: Pulling fs layer 23:51:26 25bc292e5bac: Pulling fs layer 23:51:26 114826534d7a: Pulling fs layer 23:51:26 4657fd5d0bcf: Pulling fs layer 23:51:26 6ad1cebc031e: Pulling fs layer 23:51:26 8a3aa393b2d8: Pulling fs layer 23:51:26 114826534d7a: Waiting 23:51:26 4657fd5d0bcf: Waiting 23:51:26 6ad1cebc031e: Waiting 23:51:26 8a3aa393b2d8: Waiting 23:51:26 25bc292e5bac: Verifying Checksum 23:51:26 25bc292e5bac: Download complete 23:51:26 52dc419b0ee2: Download complete 23:51:26 4657fd5d0bcf: Download complete 23:51:26 df9b9388f04a: Verifying Checksum 23:51:26 df9b9388f04a: Download complete 23:51:26 df9b9388f04a: Pull complete 23:51:26 6ad1cebc031e: Verifying Checksum 23:51:26 6ad1cebc031e: Download complete 23:51:26 52dc419b0ee2: Pull complete 23:51:26 25bc292e5bac: Pull complete 23:51:27 114826534d7a: Verifying Checksum 23:51:27 114826534d7a: Download complete 23:51:27 8a3aa393b2d8: Verifying Checksum 23:51:27 8a3aa393b2d8: Download complete 23:51:30 114826534d7a: Pull complete 23:51:30 4657fd5d0bcf: Pull complete 23:51:30 6ad1cebc031e: Pull complete 23:51:33 8a3aa393b2d8: Pull complete 23:51:33 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 23:51:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 23:51:33 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:51:34 prd-ubuntu20.04-docker-8c-8g-1765 does not seem to be running inside a container 23:51:34 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 23:51:36 $ docker top 7eb6190f699bb492e0410db564e806c6931e6219a94380fd2c5044874228541e -eo pid,comm [Pipeline] { [Pipeline] echo 23:51:36 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 23:51:36 + set -o pipefail 23:51:36 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 23:51:43 23:51:43 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 23:51:43 23:51:43 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/f7ab66b6-6323-43a0-80f3-ede3b552508b 23:51:43 23:51:43 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 23:51:43 23:51:43 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 23:51:43 23:51:43 23:51:43 A medium severity vulnerability was found in the Snyk CLI versions you are using. 23:51:43 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 23:51:43 More details here: https://snyk.co/ue1NS [Pipeline] } 23:51:43 $ docker stop --time=1 7eb6190f699bb492e0410db564e806c6931e6219a94380fd2c5044874228541e 23:51:45 $ docker rm -f --volumes 7eb6190f699bb492e0410db564e806c6931e6219a94380fd2c5044874228541e [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 23:51:45 + git log --format=format:%s -1 a09ef0c5b5718b7e2deeb983e8068139a6f667f6 [Pipeline] sh 23:51:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:51:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:51:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:51:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:51:46 prd-ubuntu20.04-docker-8c-8g-1765 does not seem to be running inside a container 23:51:46 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:51:47 $ docker top 19cfbab7bf375977c827801abf946c059c0bcb9b15cc62bd392df70c8f595dd2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:51:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:51:47 [ssh-agent] Looking for ssh-agent implementation... 23:51:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:51:47 $ docker exec 19cfbab7bf375977c827801abf946c059c0bcb9b15cc62bd392df70c8f595dd2 ssh-agent 23:51:47 SSH_AUTH_SOCK=/tmp/ssh-AMN4fIycRKFx/agent.31 23:51:47 SSH_AGENT_PID=37 23:51:47 Running ssh-add (command line suppressed) 23:51:47 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11143476231133460245.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11143476231133460245.key) 23:51:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:51:47 + git semver tag 23:51:48 2023-01-10 23:51:47,984 [run_tag] DEBUG tag force:False 23:51:48 2023-01-10 23:51:47,984 [check_head_tag] DEBUG check head tag 23:51:48 2023-01-10 23:51:47,985 [execute] INFO git cat-file --batch-check 23:51:48 2023-01-10 23:51:47,985 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 23:51:48 2023-01-10 23:51:47,990 [execute] INFO git cat-file --batch 23:51:48 2023-01-10 23:51:47,990 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 23:51:48 2023-01-10 23:51:48,008 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:51:48 2023-01-10 23:51:48,008 [execute] INFO git tag -a v3.0.0-dev.4 -m v3.0.0-dev.4 23:51:48 2023-01-10 23:51:48,008 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.4', '-m', 'v3.0.0-dev.4'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 23:51:48 2023-01-10 23:51:48,014 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:51:48 3.0.0-dev.4 [Pipeline] } 23:51:48 $ docker exec --env ******** --env ******** 19cfbab7bf375977c827801abf946c059c0bcb9b15cc62bd392df70c8f595dd2 ssh-agent -k 23:51:48 unset SSH_AUTH_SOCK; 23:51:48 unset SSH_AGENT_PID; 23:51:48 echo Agent pid 37 killed; 23:51:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:51:48 + git semver [Pipeline] } 23:51:48 $ docker stop --time=1 19cfbab7bf375977c827801abf946c059c0bcb9b15cc62bd392df70c8f595dd2 23:51:50 $ docker rm -f --volumes 19cfbab7bf375977c827801abf946c059c0bcb9b15cc62bd392df70c8f595dd2 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:51:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:51:50 23:51:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:51:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:51:50 0.23.1-centos7: Pulling from edgex-lftools 23:51:50 ab5ef0e58194: Pulling fs layer 23:51:50 9712f1f96733: Pulling fs layer 23:51:50 63f879dbbcfc: Pulling fs layer 23:51:50 0d9ebad4ef96: Pulling fs layer 23:51:50 e9a5061849ea: Pulling fs layer 23:51:50 d747dcd14b5f: Pulling fs layer 23:51:50 2de7ff778b66: Pulling fs layer 23:51:50 0d9ebad4ef96: Waiting 23:51:50 e9a5061849ea: Waiting 23:51:50 d747dcd14b5f: Waiting 23:51:50 2de7ff778b66: Waiting 23:51:50 9712f1f96733: Verifying Checksum 23:51:50 9712f1f96733: Download complete 23:51:51 63f879dbbcfc: Verifying Checksum 23:51:51 63f879dbbcfc: Download complete 23:51:51 e9a5061849ea: Verifying Checksum 23:51:51 e9a5061849ea: Download complete 23:51:51 d747dcd14b5f: Verifying Checksum 23:51:51 d747dcd14b5f: Download complete 23:51:51 0d9ebad4ef96: Verifying Checksum 23:51:51 0d9ebad4ef96: Download complete 23:51:51 ab5ef0e58194: Verifying Checksum 23:51:51 ab5ef0e58194: Download complete 23:51:51 2de7ff778b66: Verifying Checksum 23:51:51 2de7ff778b66: Download complete 23:51:54 ab5ef0e58194: Pull complete 23:51:54 9712f1f96733: Pull complete 23:51:55 63f879dbbcfc: Pull complete 23:51:58 0d9ebad4ef96: Pull complete 23:51:58 e9a5061849ea: Pull complete 23:51:58 d747dcd14b5f: Pull complete 23:51:59 2de7ff778b66: Pull complete 23:51:59 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 23:51:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 23:51:59 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:51:59 prd-ubuntu20.04-docker-8c-8g-1765 does not seem to be running inside a container 23:51:59 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 23:52:01 $ docker top dd046bb4623c8ec44d7e7d75482861358c6e5743d0617cd7aa4b2680557bba76 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 23:52:01 provisioning config files... 23:52:01 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7240756185525422254tmp 23:52:01 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7700466559628488627tmp 23:52:01 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16456158343605345578tmp [Pipeline] { [Pipeline] echo 23:52:01 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 23:52:02 ---> sigul-configuration.sh 23:52:02 gpg: directory `/root/.gnupg' created 23:52:02 gpg: new configuration file `/root/.gnupg/gpg.conf' created 23:52:02 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 23:52:02 gpg: keyring `/root/.gnupg/secring.gpg' created 23:52:02 gpg: keyring `/root/.gnupg/pubring.gpg' created 23:52:02 gpg: CAST5 encrypted data 23:52:02 gpg: encrypted with 1 passphrase 23:52:02 gpg: WARNING: message was not integrity protected [Pipeline] sh 23:52:02 + mkdir /home/jenkins 23:52:02 + mkdir /home/jenkins/sigul [Pipeline] sh 23:52:02 + 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 23:52:02 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 23:52:03 ---> sigul-install.sh 23:52:03 Sigul already installed; skipping installation. [Pipeline] sh 23:52:03 + git tag --list 23:52:03 v1.0.0 23:52:03 v1.1.0 23:52:03 v1.1.1 23:52:03 v1.1.2 23:52:03 v1.2.0 23:52:03 v1.2.1 23:52:03 v2.0.0 23:52:03 v2.1.0 23:52:03 v2.1.1 23:52:03 v2.1.1-dev.1 23:52:03 v2.1.1-dev.2 23:52:03 v2.1.1-dev.3 23:52:03 v2.2.0 23:52:03 v2.2.1-dev.1 23:52:03 v2.2.1-dev.2 23:52:03 v2.2.1-dev.3 23:52:03 v2.2.1-dev.4 23:52:03 v2.2.1-dev.5 23:52:03 v2.2.1-dev.6 23:52:03 v2.2.1-dev.7 23:52:03 v2.2.1-dev.8 23:52:03 v2.2.1-dev.9 23:52:03 v2.3.0 23:52:03 v2.3.0-dev.10 23:52:03 v2.3.0-dev.11 23:52:03 v2.3.0-dev.12 23:52:03 v2.3.0-dev.13 23:52:03 v2.3.0-dev.14 23:52:03 v2.3.0-dev.15 23:52:03 v2.3.0-dev.16 23:52:03 v2.3.0-dev.17 23:52:03 v2.3.0-dev.18 23:52:03 v2.3.0-dev.19 23:52:03 v2.3.0-dev.20 23:52:03 v2.3.0-dev.21 23:52:03 v2.3.0-dev.22 23:52:03 v2.3.0-dev.23 23:52:03 v2.3.0-dev.24 23:52:03 v2.3.0-dev.25 23:52:03 v2.3.0-dev.9 23:52:03 v3.0.0-dev.1 23:52:03 v3.0.0-dev.2 23:52:03 v3.0.0-dev.3 23:52:03 v3.0.0-dev.4 [Pipeline] sh 23:52:03 + lftools sign git-tag v3.0.0-dev.4 23:52:04 Signing Git tag with Sigul... 23:52:04 Signing v3.0.0-dev.4 [Pipeline] echo 23:52:04 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 23:52:04 ---> sigul-configuration-cleanup.sh [Pipeline] } 23:52:04 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 23:52:04 $ docker stop --time=1 dd046bb4623c8ec44d7e7d75482861358c6e5743d0617cd7aa4b2680557bba76 23:52:06 $ docker rm -f --volumes dd046bb4623c8ec44d7e7d75482861358c6e5743d0617cd7aa4b2680557bba76 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 23:52:06 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:52:06 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:06 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:52:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:52:06 prd-ubuntu20.04-docker-8c-8g-1765 does not seem to be running inside a container 23:52:06 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:52:07 $ docker top 5c6650e29393a319cf9811bf7738ea60da930fb26b90c27ac26cfc6d8d516e0d -eo pid,comm 23:52:07 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). 23:52:07 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:52:07 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:52:07 [ssh-agent] Looking for ssh-agent implementation... 23:52:07 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:52:07 $ docker exec 5c6650e29393a319cf9811bf7738ea60da930fb26b90c27ac26cfc6d8d516e0d ssh-agent 23:52:07 SSH_AUTH_SOCK=/tmp/ssh-HXTz8DN0zizz/agent.32 23:52:07 SSH_AGENT_PID=38 23:52:07 Running ssh-add (command line suppressed) 23:52:07 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7459569061291207063.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7459569061291207063.key) 23:52:07 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:52:07 + git semver bump pre 23:52:08 2023-01-10 23:52:08,100 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:52:08 2023-01-10 23:52:08,100 [bump_version] DEBUG bumping version:3.0.0-dev.4 on axis:pre with prefix:dev 23:52:08 2023-01-10 23:52:08,100 [bump_version] DEBUG bumped version:3.0.0-dev.5 23:52:08 2023-01-10 23:52:08,100 [write_version] DEBUG write version:3.0.0-dev.5 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 23:52:08 2023-01-10 23:52:08,100 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:52:08 2023-01-10 23:52:08,100 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:52:08 2023-01-10 23:52:08,102 [execute] INFO git cat-file --batch-check 23:52:08 2023-01-10 23:52:08,102 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 23:52:08 2023-01-10 23:52:08,107 [execute] INFO git cat-file --batch 23:52:08 2023-01-10 23:52:08,107 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 23:52:08 2023-01-10 23:52:08,114 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:52:08 3.0.0-dev.5 [Pipeline] } 23:52:08 $ docker exec --env ******** --env ******** 5c6650e29393a319cf9811bf7738ea60da930fb26b90c27ac26cfc6d8d516e0d ssh-agent -k 23:52:08 unset SSH_AUTH_SOCK; 23:52:08 unset SSH_AGENT_PID; 23:52:08 echo Agent pid 38 killed; 23:52:08 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:52:08 + git semver [Pipeline] } 23:52:08 $ docker stop --time=1 5c6650e29393a319cf9811bf7738ea60da930fb26b90c27ac26cfc6d8d516e0d 23:52:10 $ docker rm -f --volumes 5c6650e29393a319cf9811bf7738ea60da930fb26b90c27ac26cfc6d8d516e0d [Pipeline] // withDockerContainer [Pipeline] sh 23:52:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:52:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:52:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:52:10 prd-ubuntu20.04-docker-8c-8g-1765 does not seem to be running inside a container 23:52:10 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 23:52:11 $ docker top 289f735cdb02aa005dcae32e223ecb6978da8cbdce0239beb03832d58a66e9b6 -eo pid,comm 23:52:11 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:52:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:52:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:52:11 [ssh-agent] Looking for ssh-agent implementation... 23:52:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:52:11 $ docker exec 289f735cdb02aa005dcae32e223ecb6978da8cbdce0239beb03832d58a66e9b6 ssh-agent 23:52:11 SSH_AUTH_SOCK=/tmp/ssh-tquk1l2hqQiL/agent.32 23:52:11 SSH_AGENT_PID=38 23:52:11 Running ssh-add (command line suppressed) 23:52:11 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_494118501510826912.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_494118501510826912.key) 23:52:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:52:12 + git semver push 23:52:12 2023-01-10 23:52:12,213 [run_push] DEBUG push 23:52:12 2023-01-10 23:52:12,214 [execute] INFO git cat-file --batch-check 23:52:12 2023-01-10 23:52:12,214 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 23:52:12 2023-01-10 23:52:12,219 [execute] INFO git rev-list bb4489aeb68bd1f633e2141a4b1d5af255f3e47d -- 23:52:12 2023-01-10 23:52:12,219 [execute] DEBUG Popen(['git', 'rev-list', 'bb4489aeb68bd1f633e2141a4b1d5af255f3e47d', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 23:52:12 2023-01-10 23:52:12,225 [execute] INFO git fetch -v origin 23:52:12 2023-01-10 23:52:12,226 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 23:52:12 2023-01-10 23:52:12,758 [run_push] DEBUG no remote changes detected 23:52:12 2023-01-10 23:52:12,758 [execute] INFO git push origin semver 23:52:12 2023-01-10 23:52:12,759 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 23:52:13 2023-01-10 23:52:13,564 [run_push] DEBUG push all version tags 23:52:13 2023-01-10 23:52:13,564 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 23:52:13 2023-01-10 23:52:13,565 [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) 23:52:14 2023-01-10 23:52:14,369 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:52:14 3.0.0-dev.5 [Pipeline] } 23:52:14 $ docker exec --env ******** --env ******** 289f735cdb02aa005dcae32e223ecb6978da8cbdce0239beb03832d58a66e9b6 ssh-agent -k 23:52:14 unset SSH_AUTH_SOCK; 23:52:14 unset SSH_AGENT_PID; 23:52:14 echo Agent pid 38 killed; 23:52:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:52:15 + git semver [Pipeline] } 23:52:15 $ docker stop --time=1 289f735cdb02aa005dcae32e223ecb6978da8cbdce0239beb03832d58a66e9b6 23:52:16 $ docker rm -f --volumes 289f735cdb02aa005dcae32e223ecb6978da8cbdce0239beb03832d58a66e9b6 [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 23:52:17 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 23:52:17 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 23:52:17 total 16 23:52:17 drwxr-xr-x 3 root root 4096 Jan 10 23:43 . 23:52:17 drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 23:52 .. 23:52:17 drwxr-xr-x 2 root root 4096 Jan 10 23:43 cost 23:52:17 -rw-r--r-- 1 root root 85 Jan 10 23:43 cost.csv 23:52:17 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 23:52:17 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 23:52:17 total 16 23:52:17 drwxr-xr-x 3 jenkins jenkins 4096 Jan 10 23:43 . 23:52:17 drwxrwxr-x 10 jenkins jenkins 4096 Jan 10 23:52 .. 23:52:17 drwxr-xr-x 2 jenkins jenkins 4096 Jan 10 23:43 cost 23:52:17 -rw-r--r-- 1 jenkins jenkins 85 Jan 10 23:43 cost.csv [Pipeline] libraryResource [Pipeline] sh 23:52:17 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 23:52:18 ---> package-listing.sh 23:52:18 ++ facter osfamily 23:52:18 ++ tr '[:upper:]' '[:lower:]' 23:52:18 + OS_FAMILY=debian 23:52:18 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 23:52:18 + START_PACKAGES=/tmp/packages_start.txt 23:52:18 + END_PACKAGES=/tmp/packages_end.txt 23:52:18 + DIFF_PACKAGES=/tmp/packages_diff.txt 23:52:18 + PACKAGES=/tmp/packages_start.txt 23:52:18 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 23:52:18 + PACKAGES=/tmp/packages_end.txt 23:52:18 + case "${OS_FAMILY}" in 23:52:18 + grep '^ii' 23:52:18 + dpkg -l 23:52:18 + '[' -f /tmp/packages_start.txt ']' 23:52:18 + '[' -f /tmp/packages_end.txt ']' 23:52:18 + diff /tmp/packages_start.txt /tmp/packages_end.txt 23:52:18 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 23:52:18 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 23:52:18 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 23:52:18 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 23:52:19 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:52:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:52:19 prd-ubuntu20.04-docker-8c-8g-1765 does not seem to be running inside a container 23:52:19 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 23:52:19 $ docker top 9b6db7af08f13bad16f29f3fc4cfedae55bbcdfd7b201d023cf7e2876b110ba5 -eo pid,comm [Pipeline] { [Pipeline] sh 23:52:20 + touch /tmp/pre-build-complete [Pipeline] sh 23:52:20 + mkdir -p /var/log/sysstat [Pipeline] sh 23:52:20 + ls /var/log/sa-host 23:52:20 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:52:20 provisioning config files... 23:52:20 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15160557465826147935tmp [Pipeline] { [Pipeline] echo 23:52:20 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 23:52:21 ---> create-netrc.sh [Pipeline] } 23:52:21 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 23:52:21 ---> python-tools-install.sh [Pipeline] echo 23:52:21 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 23:52:21 ---> sudo-logs.sh 23:52:21 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 23:52:21 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 23:52:22 ---> job-cost.sh 23:52:22 lf-activate-venv: SKIPPING 23:52:22 DEBUG: total: 0.2199999988079071 23:52:22 INFO: Retrieving Stack Cost... 23:52:22 INFO: Retrieving Pricing Info for: v3-standard-8 23:52:23 INFO: Archiving Costs [Pipeline] echo 23:52:23 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 23:52:23 ---> logs-deploy.sh 23:52:23 lf-activate-venv: SKIPPING 23:52:23 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/76 23:52:23 INFO: archiving workspace using pattern(s): 23:52:24 Archives upload complete. 23:52:24 INFO: archiving logs to Nexus