Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 70384783b5a72194fc813c647394660ae113f8ec 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-ssh86820145265147548.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-ssh18360618480901594522.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-ssh12925848139019324154.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-ssh340028473445575304.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-ssh15947477662795858069.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6499 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 70384783b5a72194fc813c647394660ae113f8ec (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#255)" > 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 70384783b5a72194fc813c647394660ae113f8ec # timeout=10 > git rev-list --no-walk 7f746f51e1ef244c01c4206344cb741c614a79d6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:31:45 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:31:45 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:31:45 ========================================================= 21:31:45 EdgeX Global Pipelines Version Info 21:31:45 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:31:46 ------------------- 21:31:46 stable info: 21:31:46 ------------------- 21:31:46 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:31:46 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:31:46 Message: update stable to v1.0.244 21:31:46 ------------------- 21:31:46 experimental info: 21:31:46 ------------------- 21:31:46 Commited By: **** collab-it+edgex@linuxfoundation.org 21:31:46 Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 21:31:46 Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:31:47 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 21:31:47 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 21:31:47 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:31:47 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:31:47 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:31:47 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo 21:31:47 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:31:47 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:31:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:31:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:31:47 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:31:47 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 21:31:47 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:31:47 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:31:47 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:31:47 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:31:47 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:31:47 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:31:47 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:31:47 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:31:47 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:31:47 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:31:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:31:47 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:31:47 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:31:47 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:31:47 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:31:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:31:47 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:31:47 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:31:47 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 70384783b5a72194fc813c647394660ae113f8ec [Pipeline] echo 21:31:47 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7038478 [Pipeline] echo 21:31:47 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:31:47 provisioning config files... 21:31:47 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9963317478690991348tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:31:47 ---> docker-login.sh 21:31:47 nexus3.edgexfoundry.org:10001 21:31:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:48 Configure a credential helper to remove this warning. See 21:31:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:48 21:31:48 Login Succeeded 21:31:48 nexus3.edgexfoundry.org:10002 21:31:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:48 Configure a credential helper to remove this warning. See 21:31:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:48 21:31:48 Login Succeeded 21:31:48 nexus3.edgexfoundry.org:10003 21:31:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:48 Configure a credential helper to remove this warning. See 21:31:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:48 21:31:48 Login Succeeded 21:31:48 nexus3.edgexfoundry.org:10004 21:31:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:48 Configure a credential helper to remove this warning. See 21:31:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:48 21:31:48 Login Succeeded 21:31:48 docker.io 21:31:48 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:48 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:48 Configure a credential helper to remove this warning. See 21:31:48 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:48 21:31:48 Login Succeeded 21:31:48 ---> docker-login.sh ends [Pipeline] } 21:31:48 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:31:49 + git rev-list -1 --merges 70384783b5a72194fc813c647394660ae113f8ec~1..70384783b5a72194fc813c647394660ae113f8ec [Pipeline] echo 21:31:49 -----------> git rev-list -1 --merges 70384783b5a72194fc813c647394660ae113f8ec~1..70384783b5a72194fc813c647394660ae113f8ec 70384783b5a72194fc813c647394660ae113f8ec [false] [Pipeline] sh 21:31:49 + git log --format=format:%s -1 70384783b5a72194fc813c647394660ae113f8ec [Pipeline] echo 21:31:49 ========================================================= 21:31:49 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:31:49 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:31:49 + git log --format=format:%s -1 70384783b5a72194fc813c647394660ae113f8ec [Pipeline] echo 21:31:49 [semverPrep] GIT_COMMIT: 70384783b5a72194fc813c647394660ae113f8ec, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#255) [Pipeline] echo 21:31:49 [semverPrep] This is not a build commit. [Pipeline] sh 21:31:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:31:50 + grep -v github /etc/ssh/ssh_known_hosts 21:31:50 + [ -e /tmp/ssh_known_hosts ] 21:31:50 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:31:50 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:31:50 + sudo tee -a /etc/ssh/ssh_known_hosts 21:31:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:31:50 21:31:50 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:31:51 0.1.4: Pulling from edgex-devops/py-git-semver 21:31:51 b85a868b505f: Pulling fs layer 21:31:51 e2be974225ed: Pulling fs layer 21:31:51 339a4e72a1f5: Pulling fs layer 21:31:51 988bab9f4d93: Pulling fs layer 21:31:51 1469e6f7b9e6: Pulling fs layer 21:31:51 eaf3925da568: Pulling fs layer 21:31:51 bab4dde63d76: Pulling fs layer 21:31:51 bde34c3a00c8: Pulling fs layer 21:31:51 b352a97aabf1: Pulling fs layer 21:31:51 4872d77fe225: Pulling fs layer 21:31:51 5851b861e8e6: Pulling fs layer 21:31:51 988bab9f4d93: Waiting 21:31:51 bab4dde63d76: Waiting 21:31:51 bde34c3a00c8: Waiting 21:31:51 b352a97aabf1: Waiting 21:31:51 4872d77fe225: Waiting 21:31:51 1469e6f7b9e6: Waiting 21:31:51 5851b861e8e6: Waiting 21:31:51 eaf3925da568: Waiting 21:31:51 e2be974225ed: Verifying Checksum 21:31:51 e2be974225ed: Download complete 21:31:51 988bab9f4d93: Download complete 21:31:51 1469e6f7b9e6: Verifying Checksum 21:31:51 1469e6f7b9e6: Download complete 21:31:51 eaf3925da568: Verifying Checksum 21:31:51 eaf3925da568: Download complete 21:31:51 339a4e72a1f5: Verifying Checksum 21:31:51 339a4e72a1f5: Download complete 21:31:51 bde34c3a00c8: Download complete 21:31:51 b85a868b505f: Verifying Checksum 21:31:51 b85a868b505f: Download complete 21:31:51 4872d77fe225: Verifying Checksum 21:31:51 4872d77fe225: Download complete 21:31:51 5851b861e8e6: Verifying Checksum 21:31:51 5851b861e8e6: Download complete 21:31:51 b352a97aabf1: Download complete 21:31:52 bab4dde63d76: Verifying Checksum 21:31:52 bab4dde63d76: Download complete 21:31:53 b85a868b505f: Pull complete 21:31:53 e2be974225ed: Pull complete 21:31:53 339a4e72a1f5: Pull complete 21:31:53 988bab9f4d93: Pull complete 21:31:53 1469e6f7b9e6: Pull complete 21:31:53 eaf3925da568: Pull complete 21:31:55 bab4dde63d76: Pull complete 21:31:55 bde34c3a00c8: Pull complete 21:31:56 b352a97aabf1: Pull complete 21:31:56 4872d77fe225: Pull complete 21:31:56 5851b861e8e6: Pull complete 21:31:56 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:31:56 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:31:56 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:31:56 prd-ubuntu20.04-docker-8c-8g-6499 does not seem to be running inside a container 21:31:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:31:57 $ docker top 3f9a0efebdf69ec004b2bfb5039b4599e74a53012cd199dabfe64bda64d5ceec -eo pid,comm 21:31:57 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:31:57 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:31:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:31:57 [ssh-agent] Looking for ssh-agent implementation... 21:31:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:31:58 $ docker exec 3f9a0efebdf69ec004b2bfb5039b4599e74a53012cd199dabfe64bda64d5ceec ssh-agent 21:31:58 SSH_AUTH_SOCK=/tmp/ssh-n5NLWRoNZZjQ/agent.34 21:31:58 SSH_AGENT_PID=40 21:31:58 Running ssh-add (command line suppressed) 21:31:58 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3533996503329221100.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3533996503329221100.key) 21:31:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:31:58 + git tag --points-at HEAD [Pipeline] } 21:31:58 $ docker exec --env ******** --env ******** 3f9a0efebdf69ec004b2bfb5039b4599e74a53012cd199dabfe64bda64d5ceec ssh-agent -k 21:31:58 unset SSH_AUTH_SOCK; 21:31:58 unset SSH_AGENT_PID; 21:31:58 echo Agent pid 40 killed; 21:31:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:31:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:31:58 [ssh-agent] Looking for ssh-agent implementation... 21:31:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:31:58 $ docker exec 3f9a0efebdf69ec004b2bfb5039b4599e74a53012cd199dabfe64bda64d5ceec ssh-agent 21:31:58 SSH_AUTH_SOCK=/tmp/ssh-JNEdVstl0QFv/agent.72 21:31:58 SSH_AGENT_PID=78 21:31:58 Running ssh-add (command line suppressed) 21:31:59 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17453488877344046547.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17453488877344046547.key) 21:31:59 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:31:59 + git semver init 21:31:59 2023-02-17 21:31:59,568 [run_init] DEBUG init version:0.0.0 force:False 21:31:59 2023-02-17 21:31:59,569 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 21:31:59 2023-02-17 21:31:59,570 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 21:31:59 2023-02-17 21:31:59,570 [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) 21:32:01 2023-02-17 21:32:00,657 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 21:32:01 2023-02-17 21:32:00,657 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 21:32:01 2023-02-17 21:32:00,658 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:32:01 2023-02-17 21:32:00,658 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:32:01 3.0.0-dev.11 [Pipeline] } 21:32:01 $ docker exec --env ******** --env ******** 3f9a0efebdf69ec004b2bfb5039b4599e74a53012cd199dabfe64bda64d5ceec ssh-agent -k 21:32:01 unset SSH_AUTH_SOCK; 21:32:01 unset SSH_AGENT_PID; 21:32:01 echo Agent pid 78 killed; 21:32:01 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:32:01 + git semver [Pipeline] } 21:32:01 $ docker stop --time=1 3f9a0efebdf69ec004b2bfb5039b4599e74a53012cd199dabfe64bda64d5ceec 21:32:03 $ docker rm -f --volumes 3f9a0efebdf69ec004b2bfb5039b4599e74a53012cd199dabfe64bda64d5ceec [Pipeline] // withDockerContainer [Pipeline] sh 21:32:03 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:32:03 Stashed 1 file(s) [Pipeline] echo 21:32:03 [edgeXSemver]: initialized semver on version 3.0.0-dev.11 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:32:03 provisioning config files... 21:32:03 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6993369606018563509tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:32:04 ---> docker-login.sh 21:32:04 nexus3.edgexfoundry.org:10001 21:32:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:04 Configure a credential helper to remove this warning. See 21:32:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:04 21:32:04 Login Succeeded 21:32:04 nexus3.edgexfoundry.org:10002 21:32:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:04 Configure a credential helper to remove this warning. See 21:32:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:04 21:32:04 Login Succeeded 21:32:04 nexus3.edgexfoundry.org:10003 21:32:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:04 Configure a credential helper to remove this warning. See 21:32:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:04 21:32:04 Login Succeeded 21:32:04 nexus3.edgexfoundry.org:10004 21:32:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:04 Configure a credential helper to remove this warning. See 21:32:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:04 21:32:04 Login Succeeded 21:32:04 docker.io 21:32:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:32:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:32:04 Configure a credential helper to remove this warning. See 21:32:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:32:04 21:32:04 Login Succeeded 21:32:04 ---> docker-login.sh ends [Pipeline] } 21:32:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:32:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:32:04 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:32:04 ========================================================= 21:32:04 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] 21:32:04 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:04 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:32:04 Sending build context to Docker daemon 10.82MB 21:32:04 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 21:32:04 Step 2/12 : FROM ${BASE} AS builder 21:32:04 1.18-alpine: Pulling from edgex-devops/edgex-golang-base 21:32:04 213ec9aee27d: Pulling fs layer 21:32:04 4583459ba037: Pulling fs layer 21:32:04 93c1e223e6f2: Pulling fs layer 21:32:04 53926ce57604: Pulling fs layer 21:32:04 21b2b0c7a3f4: Pulling fs layer 21:32:04 22ff95d597cd: Pulling fs layer 21:32:04 12d6caf4c0d1: Pulling fs layer 21:32:04 96b7cbca73a9: Pulling fs layer 21:32:04 a7acece74701: Pulling fs layer 21:32:04 53926ce57604: Waiting 21:32:04 21b2b0c7a3f4: Waiting 21:32:04 96b7cbca73a9: Waiting 21:32:04 a7acece74701: Waiting 21:32:04 12d6caf4c0d1: Waiting 21:32:04 22ff95d597cd: Waiting 21:32:04 93c1e223e6f2: Download complete 21:32:04 4583459ba037: Verifying Checksum 21:32:04 4583459ba037: Download complete 21:32:04 21b2b0c7a3f4: Verifying Checksum 21:32:04 21b2b0c7a3f4: Download complete 21:32:05 22ff95d597cd: Download complete 21:32:05 213ec9aee27d: Download complete 21:32:05 12d6caf4c0d1: Download complete 21:32:05 213ec9aee27d: Pull complete 21:32:05 4583459ba037: Pull complete 21:32:05 93c1e223e6f2: Pull complete 21:32:06 a7acece74701: Verifying Checksum 21:32:06 a7acece74701: Download complete 21:32:06 53926ce57604: Verifying Checksum 21:32:06 53926ce57604: Download complete 21:32:06 96b7cbca73a9: Verifying Checksum 21:32:06 96b7cbca73a9: Download complete 21:32:10 53926ce57604: Pull complete 21:32:10 21b2b0c7a3f4: Pull complete 21:32:10 22ff95d597cd: Pull complete 21:32:10 12d6caf4c0d1: Pull complete 21:32:12 96b7cbca73a9: Pull complete 21:32:13 a7acece74701: Pull complete 21:32:13 Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d 21:32:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine 21:32:13 ---> db6d94c90886 21:32:13 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:32:15 ---> Running in 92c6ad31fee0 21:32:15 Removing intermediate container 92c6ad31fee0 21:32:15 ---> 96d299dd87e3 21:32:15 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:32:15 ---> Running in 4a91c4a2d1e9 21:32:15 Removing intermediate container 4a91c4a2d1e9 21:32:15 ---> 3aa74f341a93 21:32:15 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:32:15 ---> Running in 71434e458053 21:32:15 Removing intermediate container 71434e458053 21:32:15 ---> a2d2ece85a03 21:32:15 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:32:15 ---> Running in c035a29eb982 21:32:15 Removing intermediate container c035a29eb982 21:32:15 ---> e1b333e09d3c 21:32:15 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:32:15 ---> Running in 7869b23b2e28 21:32:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:32:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:32:16 (1/4) Installing openssh-keygen (9.0_p1-r2) 21:32:16 (2/4) Installing libedit (20210910.3.1-r0) 21:32:16 (3/4) Installing openssh-client-common (9.0_p1-r2) 21:32:16 (4/4) Installing openssh-client-default (9.0_p1-r2) 21:32:16 Executing busybox-1.35.0-r17.trigger 21:32:16 OK: 216 MiB in 55 packages 21:32:16 Removing intermediate container 7869b23b2e28 21:32:16 ---> bfd54971ad69 21:32:16 Step 8/12 : WORKDIR /device-rest-go 21:32:17 ---> Running in 1aea41cd003a 21:32:17 Removing intermediate container 1aea41cd003a 21:32:17 ---> c54c1e12818e 21:32:17 Step 9/12 : COPY go.mod vendor* ./ 21:32:17 ---> 5b3d5837f0c7 21:32:17 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:32:17 ---> Running in 4074348d1314 21:32:18 Still waiting to schedule task 21:32:18 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:32:49 Removing intermediate container 4074348d1314 21:32:49 ---> 3d590fe6fb06 21:32:49 Step 11/12 : COPY . . 21:32:49 ---> b061f9cdf27d 21:32:49 Step 12/12 : RUN $MAKE 21:32:49 ---> Running in 2ace511daed6 21:32:49 noop 21:32:49 Removing intermediate container 2ace511daed6 21:32:49 ---> 8d2201cd5bce 21:32:49 Successfully built 8d2201cd5bce 21:32:49 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:49 + docker inspect -f . ci-base-image-x86_64 21:32:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:32:49 prd-ubuntu20.04-docker-8c-8g-6499 does not seem to be running inside a container 21:32:49 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:32:50 $ docker top 698b1fd9ae5b2860b3d17e1e5365c6b0d20de83369bad96ed470276d9424ba2a -eo pid,comm [Pipeline] { [Pipeline] sh 21:32:50 + go version 21:32:50 go version go1.18.7 linux/amd64 [Pipeline] } 21:32:50 $ docker stop --time=1 698b1fd9ae5b2860b3d17e1e5365c6b0d20de83369bad96ed470276d9424ba2a 21:32:51 $ docker rm -f --volumes 698b1fd9ae5b2860b3d17e1e5365c6b0d20de83369bad96ed470276d9424ba2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:52 + docker inspect -f . ci-base-image-x86_64 21:32:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:32:52 prd-ubuntu20.04-docker-8c-8g-6499 does not seem to be running inside a container 21:32:52 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:32:52 $ docker top ca68ad996836fa369d5e20abf72b9cdc71976a8f21626a608ae037484f61f7b5 -eo pid,comm [Pipeline] { [Pipeline] sh 21:32:53 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 21:32:53 + make test 21:32:53 go test ./... -coverprofile=coverage.out ./... 21:32:53 ? github.com/edgexfoundry/device-rest-go [no test files] 21:33:03 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:33:03 ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 33.9% of statements 21:33:10 level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." 21:33:10 go vet ./... 21:33:12 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:33:12 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:33:12 ./bin/test-attribution-txt.sh [Pipeline] echo 21:33:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:33:12 $ docker stop --time=1 ca68ad996836fa369d5e20abf72b9cdc71976a8f21626a608ae037484f61f7b5 21:33:14 $ docker rm -f --volumes ca68ad996836fa369d5e20abf72b9cdc71976a8f21626a608ae037484f61f7b5 [Pipeline] // withDockerContainer [Pipeline] sh 21:33:15 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:33:15 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:33:15 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:33:15 + ls -al . 21:33:15 total 188 21:33:15 drwxrwxr-x 9 jenkins jenkins 4096 Feb 17 21:32 . 21:33:15 drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 21:31 .. 21:33:15 -rw-rw-r-- 1 jenkins jenkins 151 Feb 17 21:31 .dockerignore 21:33:15 drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 21:33 .git 21:33:15 drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 21:31 .github 21:33:15 -rw-rw-r-- 1 jenkins jenkins 329 Feb 17 21:31 .gitignore 21:33:15 -rw-rw-r-- 1 jenkins jenkins 41 Feb 17 21:31 .golangci.yml 21:33:15 drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 21:32 .semver 21:33:15 -rw-rw-r-- 1 jenkins jenkins 9213 Feb 17 21:31 Attribution.txt 21:33:15 -rw-rw-r-- 1 jenkins jenkins 13085 Feb 17 21:31 CHANGELOG.md 21:33:15 -rw-rw-r-- 1 jenkins jenkins 1578 Feb 17 21:31 Dockerfile 21:33:15 -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 21:31 GOVERNANCE.md 21:33:15 -rw-rw-r-- 1 jenkins jenkins 680 Feb 17 21:31 Jenkinsfile 21:33:15 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 17 21:31 LICENSE 21:33:15 -rw-rw-r-- 1 jenkins jenkins 1744 Feb 17 21:31 Makefile 21:33:15 -rw-rw-r-- 1 jenkins jenkins 620 Feb 17 21:31 OWNERS.md 21:33:15 -rw-rw-r-- 1 jenkins jenkins 15447 Feb 17 21:31 README.md 21:33:15 -rw-rw-r-- 1 jenkins jenkins 12 Feb 17 21:32 VERSION 21:33:15 drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 21:31 bin 21:33:15 drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 21:31 cmd 21:33:15 -rw-r--r-- 1 jenkins jenkins 13744 Feb 17 21:33 coverage.out 21:33:15 drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 21:31 driver 21:33:15 -rw-rw-r-- 1 jenkins jenkins 3400 Feb 17 21:31 go.mod 21:33:15 -rw-rw-r-- 1 jenkins jenkins 33279 Feb 17 21:31 go.sum 21:33:15 drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 21:31 snap 21:33:15 -rw-rw-r-- 1 jenkins jenkins 713 Feb 17 21:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:16 + 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=70384783b5a72194fc813c647394660ae113f8ec --label arch=amd64 --label version=3.0.0-dev.11 . 21:33:16 Sending build context to Docker daemon 10.83MB 21:33:16 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 21:33:16 Step 2/25 : FROM ${BASE} AS builder 21:33:16 ---> 8d2201cd5bce 21:33:16 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:33:16 ---> Running in 052f1c802d5c 21:33:16 Removing intermediate container 052f1c802d5c 21:33:16 ---> cadda4c2d444 21:33:16 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:33:16 ---> Running in 60a982ed96d7 21:33:16 Removing intermediate container 60a982ed96d7 21:33:16 ---> 797b25ea92ec 21:33:16 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:33:16 ---> Running in 04fb4cc9644c 21:33:16 Removing intermediate container 04fb4cc9644c 21:33:16 ---> 7caf398672ef 21:33:16 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:33:16 ---> Running in 33974df6d3ec 21:33:16 Removing intermediate container 33974df6d3ec 21:33:16 ---> 5a535e15b2c6 21:33:16 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:33:16 ---> Running in da8a7eeb00d0 21:33:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:33:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:33:17 OK: 216 MiB in 55 packages 21:33:17 Removing intermediate container da8a7eeb00d0 21:33:17 ---> fd66169166b1 21:33:17 Step 8/25 : WORKDIR /device-rest-go 21:33:17 ---> Running in fe0ec420ae2e 21:33:17 Removing intermediate container fe0ec420ae2e 21:33:17 ---> cb371db68730 21:33:17 Step 9/25 : COPY go.mod vendor* ./ 21:33:17 ---> 60c1d5cd895d 21:33:17 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:33:17 ---> Running in 0ddc96f3bbb1 21:33:18 Removing intermediate container 0ddc96f3bbb1 21:33:18 ---> 02ee2c609ae9 21:33:18 Step 11/25 : COPY . . 21:33:19 ---> 64df64f5470e 21:33:19 Step 12/25 : RUN $MAKE 21:33:19 ---> Running in 45e947e36eb5 21:33:19 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.11" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:33:37 Removing intermediate container 45e947e36eb5 21:33:37 ---> a0e942e502d8 21:33:37 Step 13/25 : FROM alpine:3.16 21:33:37 3.16: Pulling from library/alpine 21:33:37 ef5531b6e74e: Pulling fs layer 21:33:37 ef5531b6e74e: Verifying Checksum 21:33:37 ef5531b6e74e: Download complete 21:33:37 ef5531b6e74e: Pull complete 21:33:37 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 21:33:37 Status: Downloaded newer image for alpine:3.16 21:33:37 ---> dfd21b5a31f5 21:33:37 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:33:37 ---> Running in 6db577d700f6 21:33:37 Removing intermediate container 6db577d700f6 21:33:37 ---> 24f04df242c8 21:33:37 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:33:37 ---> Running in df0dd241fea8 21:33:38 Removing intermediate container df0dd241fea8 21:33:38 ---> 6edb5a9ef116 21:33:38 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:33:38 ---> Running in 1ed358f853ee 21:33:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz 21:33:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz 21:33:38 (1/1) Installing dumb-init (1.2.5-r1) 21:33:38 Executing busybox-1.35.0-r17.trigger 21:33:38 OK: 6 MiB in 15 packages 21:33:38 Removing intermediate container 1ed358f853ee 21:33:38 ---> 598efcf06ec2 21:33:38 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:33:39 ---> 0695ff5c9486 21:33:39 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:33:39 ---> b9e5fa93dcdf 21:33:39 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:33:39 ---> 5ebe2e057cb1 21:33:39 Step 20/25 : EXPOSE 59986 21:33:39 ---> Running in 7a12b8ab5ec5 21:33:39 Removing intermediate container 7a12b8ab5ec5 21:33:39 ---> f2876ac4e54f 21:33:39 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:33:39 ---> Running in 70e3a1ed0d8a 21:33:39 Removing intermediate container 70e3a1ed0d8a 21:33:39 ---> 8a8da35724e6 21:33:39 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:33:39 ---> Running in 7204e3a1ad0f 21:33:39 Removing intermediate container 7204e3a1ad0f 21:33:39 ---> 8136b02342f0 21:33:39 Step 23/25 : LABEL arch=amd64 21:33:39 ---> Running in 409a0468b178 21:33:40 Removing intermediate container 409a0468b178 21:33:40 ---> 74cbfb819e12 21:33:40 Step 24/25 : LABEL git_sha=70384783b5a72194fc813c647394660ae113f8ec 21:33:40 ---> Running in ca058d319df5 21:33:40 Removing intermediate container ca058d319df5 21:33:40 ---> 4a8626f03ae0 21:33:40 Step 25/25 : LABEL version=3.0.0-dev.11 21:33:40 ---> Running in b92973c2cead 21:33:40 Removing intermediate container b92973c2cead 21:33:40 ---> a95b2cd1e6aa 21:33:40 [Warning] One or more build-args [ARCH] were not consumed 21:33:40 Successfully built a95b2cd1e6aa 21:33:40 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:33:40 provisioning config files... 21:33:40 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4514385409760549693tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:33:40 ---> docker-login.sh 21:33:40 nexus3.edgexfoundry.org:10001 21:33:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:40 Configure a credential helper to remove this warning. See 21:33:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:40 21:33:40 Login Succeeded 21:33:40 nexus3.edgexfoundry.org:10002 21:33:40 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:40 Configure a credential helper to remove this warning. See 21:33:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:40 21:33:40 Login Succeeded 21:33:40 nexus3.edgexfoundry.org:10003 21:33:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:41 Configure a credential helper to remove this warning. See 21:33:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:41 21:33:41 Login Succeeded 21:33:41 nexus3.edgexfoundry.org:10004 21:33:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:41 Configure a credential helper to remove this warning. See 21:33:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:41 21:33:41 Login Succeeded 21:33:41 docker.io 21:33:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:33:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:33:41 Configure a credential helper to remove this warning. See 21:33:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:33:41 21:33:41 Login Succeeded 21:33:41 ---> docker-login.sh ends [Pipeline] } 21:33:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:33:41 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:33:41 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 21:33:41 70384783b5a72194fc813c647394660ae113f8ec 21:33:41 latest 21:33:41 3.0.0-dev.11 21:33:41 70384783b5a72194fc813c647394660ae113f8ec-3.0.0-dev.11 21:33:41 main 21:33:41 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:41 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:70384783b5a72194fc813c647394660ae113f8ec [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:42 + docker push nexus3.edgexfoundry.org:10004/device-rest:70384783b5a72194fc813c647394660ae113f8ec 21:33:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:33:42 1ec8352a4707: Preparing 21:33:42 80300d6e8baa: Preparing 21:33:42 0e1d21d01058: Preparing 21:33:42 5ee3f0709e81: Preparing 21:33:42 aa5968d388b8: Preparing 21:33:42 aa5968d388b8: Layer already exists 21:33:42 5ee3f0709e81: Pushed 21:33:42 80300d6e8baa: Pushed 21:33:42 1ec8352a4707: Pushed 21:33:44 0e1d21d01058: Pushed 21:33:44 70384783b5a72194fc813c647394660ae113f8ec: digest: sha256:44705cb3872dbbe6cadb17b38df70575622e8bc59ea7e9ced0ef1d2f2406af90 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:45 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:45 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 21:33:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:33:45 1ec8352a4707: Preparing 21:33:45 80300d6e8baa: Preparing 21:33:45 0e1d21d01058: Preparing 21:33:45 5ee3f0709e81: Preparing 21:33:45 aa5968d388b8: Preparing 21:33:45 0e1d21d01058: Layer already exists 21:33:45 1ec8352a4707: Layer already exists 21:33:45 5ee3f0709e81: Layer already exists 21:33:45 80300d6e8baa: Layer already exists 21:33:45 aa5968d388b8: Layer already exists 21:33:45 latest: digest: sha256:44705cb3872dbbe6cadb17b38df70575622e8bc59ea7e9ced0ef1d2f2406af90 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:45 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:45 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.11 21:33:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:33:45 1ec8352a4707: Preparing 21:33:45 80300d6e8baa: Preparing 21:33:45 0e1d21d01058: Preparing 21:33:45 5ee3f0709e81: Preparing 21:33:45 aa5968d388b8: Preparing 21:33:45 80300d6e8baa: Layer already exists 21:33:45 0e1d21d01058: Layer already exists 21:33:45 5ee3f0709e81: Layer already exists 21:33:45 aa5968d388b8: Layer already exists 21:33:45 1ec8352a4707: Layer already exists 21:33:45 3.0.0-dev.11: digest: sha256:44705cb3872dbbe6cadb17b38df70575622e8bc59ea7e9ced0ef1d2f2406af90 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:46 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:70384783b5a72194fc813c647394660ae113f8ec-3.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:46 + docker push nexus3.edgexfoundry.org:10004/device-rest:70384783b5a72194fc813c647394660ae113f8ec-3.0.0-dev.11 21:33:46 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:33:46 1ec8352a4707: Preparing 21:33:46 80300d6e8baa: Preparing 21:33:46 0e1d21d01058: Preparing 21:33:46 5ee3f0709e81: Preparing 21:33:46 aa5968d388b8: Preparing 21:33:46 aa5968d388b8: Layer already exists 21:33:46 5ee3f0709e81: Layer already exists 21:33:46 0e1d21d01058: Layer already exists 21:33:46 1ec8352a4707: Layer already exists 21:33:46 80300d6e8baa: Layer already exists 21:33:46 70384783b5a72194fc813c647394660ae113f8ec-3.0.0-dev.11: digest: sha256:44705cb3872dbbe6cadb17b38df70575622e8bc59ea7e9ced0ef1d2f2406af90 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:46 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:47 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 21:33:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:33:47 1ec8352a4707: Preparing 21:33:47 80300d6e8baa: Preparing 21:33:47 0e1d21d01058: Preparing 21:33:47 5ee3f0709e81: Preparing 21:33:47 aa5968d388b8: Preparing 21:33:47 80300d6e8baa: Layer already exists 21:33:47 0e1d21d01058: Layer already exists 21:33:47 1ec8352a4707: Layer already exists 21:33:47 aa5968d388b8: Layer already exists 21:33:47 5ee3f0709e81: Layer already exists 21:33:47 main: digest: sha256:44705cb3872dbbe6cadb17b38df70575622e8bc59ea7e9ced0ef1d2f2406af90 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:33:47 ===================================================== [Pipeline] echo 21:33:47 taggedImages: 21:33:47 - nexus3.edgexfoundry.org:10004/device-rest:70384783b5a72194fc813c647394660ae113f8ec 21:33:47 - nexus3.edgexfoundry.org:10004/device-rest:latest 21:33:47 - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.11 21:33:47 - nexus3.edgexfoundry.org:10004/device-rest:70384783b5a72194fc813c647394660ae113f8ec-3.0.0-dev.11 21:33:47 - 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 21:33:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:33:47 21:33:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:33:47 latest: Pulling from edgex-lftools-log-publisher 21:33:47 5eb5b503b376: Pulling fs layer 21:33:47 5c69ac0246d0: Pulling fs layer 21:33:47 ec43610c2a17: Pulling fs layer 21:33:47 3a2ae6a8a46f: Pulling fs layer 21:33:47 33b1e0a273af: Pulling fs layer 21:33:47 5d3b04190fa2: Pulling fs layer 21:33:47 2f39f015ded8: Pulling fs layer 21:33:47 5d3b04190fa2: Waiting 21:33:47 3a2ae6a8a46f: Waiting 21:33:47 2f39f015ded8: Waiting 21:33:47 5c69ac0246d0: Verifying Checksum 21:33:47 5c69ac0246d0: Download complete 21:33:47 3a2ae6a8a46f: Verifying Checksum 21:33:47 3a2ae6a8a46f: Download complete 21:33:48 33b1e0a273af: Verifying Checksum 21:33:48 33b1e0a273af: Download complete 21:33:48 5d3b04190fa2: Download complete 21:33:48 ec43610c2a17: Verifying Checksum 21:33:48 ec43610c2a17: Download complete 21:33:48 5eb5b503b376: Verifying Checksum 21:33:48 5eb5b503b376: Download complete 21:33:48 Running on prd-ubuntu20.04-docker-arm64-4c-16g-6500 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 21:33:48 Running in /w/workspace/device-rest-go/83 [Pipeline] { [Pipeline] checkout 21:33:48 The recommended git tool is: git 21:33:49 2f39f015ded8: Download complete 21:33:49 5eb5b503b376: Pull complete 21:33:49 5c69ac0246d0: Pull complete 21:33:49 ec43610c2a17: Pull complete 21:33:50 3a2ae6a8a46f: Pull complete 21:33:50 33b1e0a273af: Pull complete 21:33:50 5d3b04190fa2: Pull complete 21:33:53 using credential edgex-jenkins-ssh 21:33:53 Cloning the remote Git repository 21:33:54 2f39f015ded8: Pull complete 21:33:54 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:33:54 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:33:54 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:33:54 prd-ubuntu20.04-docker-8c-8g-6499 does not seem to be running inside a container 21:33:54 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:33:53 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:33:53 > git init /w/workspace/device-rest-go/83 # timeout=10 21:33:54 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:33:54 > git --version # timeout=10 21:33:54 > git --version # 'git version 2.25.1' 21:33:54 using GIT_SSH to set credentials SSH Credentials for GitHub 21:33:54 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:33:56 $ docker top 07f77f2c8f12dfd51f24269f1f5797c6bae8fe2dd5d4e34f9c8e60a34b7a9c7a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:33:56 ---> job-cost.sh 21:33:56 lf-activate-venv: SKIPPING 21:33:56 INFO: No Stack... 21:33:56 INFO: Retrieving Pricing Info for: v3-standard-8 21:33:57 INFO: Archiving Costs [Pipeline] sh 21:33:57 + + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 21:33:57 cut -d, -f6 [Pipeline] lock 21:33:57 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-83-stack-cost] 21:33:57 Resource [jenkins-edgexfoundry-device-rest-go-main-83-stack-cost] did not exist. Created. 21:33:57 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-83-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:33:57 + echo total: 0.2199999988079071 [Pipeline] stash 21:33:57 Stashed 1 file(s) [Pipeline] } 21:33:57 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-83-stack-cost] [Pipeline] // lock [Pipeline] } 21:33:57 $ docker stop --time=1 07f77f2c8f12dfd51f24269f1f5797c6bae8fe2dd5d4e34f9c8e60a34b7a9c7a 21:33:58 Avoid second fetch 21:33:58 Checking out Revision 70384783b5a72194fc813c647394660ae113f8ec (main) 21:33:58 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#255)" 21:33:57 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:33:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:33:58 > git config core.sparsecheckout # timeout=10 21:33:58 > git checkout -f 70384783b5a72194fc813c647394660ae113f8ec # timeout=10 21:33:59 $ docker rm -f --volumes 07f77f2c8f12dfd51f24269f1f5797c6bae8fe2dd5d4e34f9c8e60a34b7a9c7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:33:59 21:33:59 GitHub has been notified of this commit’s build result 21:33:59 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:33:59 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:33:59 % Total % Received % Xferd Average Speed Time Time Time Current 21:33:59 Dload Upload Total Spent Left Speed 21:33:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 54725 0 --:--:-- --:--:-- --:--:-- 54725 [Pipeline] sh 21:34:00 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:34:00 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:34:00 + sudo tee /etc/docker/daemon.new 21:34:00 { 21:34:00 "registry-mirrors": [ 21:34:00 "https://nexus3.edgexfoundry.org:10001" 21:34:00 ], 21:34:00 "bip": "10.250.0.254/24", 21:34:00 "hosts": [ 21:34:00 "tcp://0.0.0.0:5555", 21:34:00 "unix:///var/run/docker.sock" 21:34:00 ], 21:34:00 "mtu": 1458, 21:34:00 "selinux-enabled": true, 21:34:00 "seccomp-profile": "/etc/docker/seccomp.json" 21:34:00 } [Pipeline] sh 21:34:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:34:01 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:34:19 provisioning config files... 21:34:19 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/83@tmp/config10916925933518252226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:34:20 ---> docker-login.sh 21:34:20 nexus3.edgexfoundry.org:10001 21:34:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:34:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:34:20 Configure a credential helper to remove this warning. See 21:34:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:34:20 21:34:20 Login Succeeded 21:34:20 nexus3.edgexfoundry.org:10002 21:34:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:34:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:34:21 Configure a credential helper to remove this warning. See 21:34:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:34:21 21:34:21 Login Succeeded 21:34:21 nexus3.edgexfoundry.org:10003 21:34:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:34:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:34:21 Configure a credential helper to remove this warning. See 21:34:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:34:21 21:34:21 Login Succeeded 21:34:21 nexus3.edgexfoundry.org:10004 21:34:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:34:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:34:21 Configure a credential helper to remove this warning. See 21:34:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:34:21 21:34:21 Login Succeeded 21:34:21 docker.io 21:34:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:34:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:34:22 Configure a credential helper to remove this warning. See 21:34:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:34:22 21:34:22 Login Succeeded 21:34:22 ---> docker-login.sh ends [Pipeline] } 21:34:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:34:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:34:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:34:22 ========================================================= 21:34:22 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] 21:34:22 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:34:22 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . 21:34:22 Sending build context to Docker daemon 139.8kB 21:34:23 Step 1/12 : ARG BASE=golang:1.18-alpine3.16 21:34:23 Step 2/12 : FROM ${BASE} AS builder 21:34:23 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:34:23 9b18e9b68314: Pulling fs layer 21:34:23 35d82f9e3411: Pulling fs layer 21:34:23 e16973657156: Pulling fs layer 21:34:23 fc693d55d65f: Pulling fs layer 21:34:23 7e9fc2657dce: Pulling fs layer 21:34:23 dda99020689f: Pulling fs layer 21:34:23 db1c61fa0a46: Pulling fs layer 21:34:23 891c053d2c06: Pulling fs layer 21:34:23 dda99020689f: Waiting 21:34:23 fc693d55d65f: Waiting 21:34:23 db1c61fa0a46: Waiting 21:34:23 7e9fc2657dce: Waiting 21:34:23 891c053d2c06: Waiting 21:34:23 e16973657156: Download complete 21:34:23 35d82f9e3411: Verifying Checksum 21:34:23 35d82f9e3411: Download complete 21:34:23 7e9fc2657dce: Download complete 21:34:23 dda99020689f: Download complete 21:34:23 9b18e9b68314: Verifying Checksum 21:34:24 9b18e9b68314: Pull complete 21:34:25 891c053d2c06: Verifying Checksum 21:34:25 891c053d2c06: Download complete 21:34:25 35d82f9e3411: Pull complete 21:34:25 e16973657156: Pull complete 21:34:26 db1c61fa0a46: Verifying Checksum 21:34:26 db1c61fa0a46: Download complete 21:34:26 fc693d55d65f: Verifying Checksum 21:34:26 fc693d55d65f: Download complete 21:34:39 fc693d55d65f: Pull complete 21:34:39 7e9fc2657dce: Pull complete 21:34:39 dda99020689f: Pull complete 21:34:44 db1c61fa0a46: Pull complete 21:34:46 891c053d2c06: Pull complete 21:34:46 Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 21:34:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine 21:34:46 ---> f96f9c87975a 21:34:46 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:34:48 ---> Running in 36c71d273f55 21:34:48 Removing intermediate container 36c71d273f55 21:34:48 ---> 65323ceb1a7e 21:34:48 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:34:48 ---> Running in 671146612cc8 21:34:48 Removing intermediate container 671146612cc8 21:34:48 ---> 521f2f0ad047 21:34:48 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:34:48 ---> Running in 2d69aa035de6 21:34:49 Removing intermediate container 2d69aa035de6 21:34:49 ---> c11717f6501b 21:34:49 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:34:49 ---> Running in 842e8d455c1d 21:34:49 Removing intermediate container 842e8d455c1d 21:34:49 ---> 1968bf196239 21:34:49 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:34:49 ---> Running in 244d445d00eb 21:34:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:34:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:34:51 (1/4) Installing openssh-keygen (9.0_p1-r2) 21:34:51 (2/4) Installing libedit (20210910.3.1-r0) 21:34:51 (3/4) Installing openssh-client-common (9.0_p1-r2) 21:34:52 (4/4) Installing openssh-client-default (9.0_p1-r2) 21:34:52 Executing busybox-1.35.0-r17.trigger 21:34:52 OK: 226 MiB in 55 packages 21:34:53 Removing intermediate container 244d445d00eb 21:34:53 ---> e83cd326d115 21:34:53 Step 8/12 : WORKDIR /device-rest-go 21:34:53 ---> Running in 6b9fb26ff5c1 21:34:53 Removing intermediate container 6b9fb26ff5c1 21:34:53 ---> d3ad69a2fb2e 21:34:53 Step 9/12 : COPY go.mod vendor* ./ 21:34:54 ---> 9cf888646bf8 21:34:54 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:34:54 ---> Running in bdca7257dca5 21:36:15 Removing intermediate container bdca7257dca5 21:36:15 ---> 072d64069293 21:36:15 Step 11/12 : COPY . . 21:36:15 ---> 015701b10652 21:36:15 Step 12/12 : RUN $MAKE 21:36:15 ---> Running in 3d5a84a443dd 21:36:15 noop 21:36:15 Removing intermediate container 3d5a84a443dd 21:36:15 ---> 6c089ea19900 21:36:15 Successfully built 6c089ea19900 21:36:15 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:16 + docker inspect -f . ci-base-image-arm64 21:36:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:36:16 prd-ubuntu20.04-docker-arm64-4c-16g-6500 does not seem to be running inside a container 21:36:16 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/83 -v /w/workspace/device-rest-go/83:/w/workspace/device-rest-go/83:rw,z -v /w/workspace/device-rest-go/83@tmp:/w/workspace/device-rest-go/83@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 21:36:17 $ docker top 0335e071ead3059830adf1cd3010b31d4bbda17acfd378e43e5354124140e465 -eo pid,comm [Pipeline] { [Pipeline] sh 21:36:18 + go version 21:36:18 go version go1.18.7 linux/arm64 [Pipeline] } 21:36:18 $ docker stop --time=1 0335e071ead3059830adf1cd3010b31d4bbda17acfd378e43e5354124140e465 21:36:20 $ docker rm -f --volumes 0335e071ead3059830adf1cd3010b31d4bbda17acfd378e43e5354124140e465 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:36:20 + docker inspect -f . ci-base-image-arm64 21:36:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:36:20 prd-ubuntu20.04-docker-arm64-4c-16g-6500 does not seem to be running inside a container 21:36:21 $ 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/83 -v /w/workspace/device-rest-go/83:/w/workspace/device-rest-go/83:rw,z -v /w/workspace/device-rest-go/83@tmp:/w/workspace/device-rest-go/83@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 21:36:22 $ docker top 0395a688a505ca898131e12ea0d696aa56ffbe2768cb6479359d1181ce632001 -eo pid,comm [Pipeline] { [Pipeline] sh 21:36:22 + git config --global --add safe.directory /w/workspace/device-rest-go/83 [Pipeline] fileExists [Pipeline] sh 21:36:23 + make test 21:36:23 go test ./... -coverprofile=coverage.out ./... 21:36:24 ? github.com/edgexfoundry/device-rest-go [no test files] 21:38:01 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:38:01 ok github.com/edgexfoundry/device-rest-go/driver 0.067s coverage: 33.9% of statements 21:38:01 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:38:01 go vet ./... 21:38:19 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:38:19 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:38:19 ./bin/test-attribution-txt.sh [Pipeline] echo 21:38:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:38:20 $ docker stop --time=1 0395a688a505ca898131e12ea0d696aa56ffbe2768cb6479359d1181ce632001 21:38:22 $ docker rm -f --volumes 0395a688a505ca898131e12ea0d696aa56ffbe2768cb6479359d1181ce632001 [Pipeline] // withDockerContainer [Pipeline] sh 21:38:23 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:38:23 Warning: overwriting stash ‘coverage-report’ 21:38:23 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:38:24 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:38:24 + ls -al . 21:38:24 total 184 21:38:24 drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 21:36 . 21:38:24 drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 21:33 .. 21:38:24 -rw-rw-r-- 1 jenkins jenkins 151 Feb 17 21:33 .dockerignore 21:38:24 drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 21:33 .git 21:38:24 drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 21:33 .github 21:38:24 -rw-rw-r-- 1 jenkins jenkins 329 Feb 17 21:33 .gitignore 21:38:24 -rw-rw-r-- 1 jenkins jenkins 41 Feb 17 21:33 .golangci.yml 21:38:24 -rw-rw-r-- 1 jenkins jenkins 9213 Feb 17 21:33 Attribution.txt 21:38:24 -rw-rw-r-- 1 jenkins jenkins 13085 Feb 17 21:33 CHANGELOG.md 21:38:24 -rw-rw-r-- 1 jenkins jenkins 1578 Feb 17 21:33 Dockerfile 21:38:24 -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 21:33 GOVERNANCE.md 21:38:24 -rw-rw-r-- 1 jenkins jenkins 680 Feb 17 21:33 Jenkinsfile 21:38:24 -rw-rw-r-- 1 jenkins jenkins 11340 Feb 17 21:33 LICENSE 21:38:24 -rw-rw-r-- 1 jenkins jenkins 1744 Feb 17 21:33 Makefile 21:38:24 -rw-rw-r-- 1 jenkins jenkins 620 Feb 17 21:33 OWNERS.md 21:38:24 -rw-rw-r-- 1 jenkins jenkins 15447 Feb 17 21:33 README.md 21:38:24 -rw-rw-r-- 1 jenkins jenkins 12 Feb 17 21:32 VERSION 21:38:24 drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 21:33 bin 21:38:24 drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 21:33 cmd 21:38:24 -rw-r--r-- 1 jenkins jenkins 13744 Feb 17 21:37 coverage.out 21:38:24 drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 21:33 driver 21:38:24 -rw-rw-r-- 1 jenkins jenkins 3400 Feb 17 21:33 go.mod 21:38:24 -rw-rw-r-- 1 jenkins jenkins 33279 Feb 17 21:33 go.sum 21:38:24 drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 21:33 snap 21:38:24 -rw-rw-r-- 1 jenkins jenkins 713 Feb 17 21:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:38:24 + 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=70384783b5a72194fc813c647394660ae113f8ec --label arch=arm64 --label version=3.0.0-dev.11 . 21:38:24 Sending build context to Docker daemon 154.1kB 21:38:25 Step 1/25 : ARG BASE=golang:1.18-alpine3.16 21:38:25 Step 2/25 : FROM ${BASE} AS builder 21:38:25 ---> 6c089ea19900 21:38:25 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:38:25 ---> Running in a9ffafe35173 21:38:25 Removing intermediate container a9ffafe35173 21:38:25 ---> e95e1b7bbfca 21:38:25 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:38:25 ---> Running in cf67f362259b 21:38:26 Removing intermediate container cf67f362259b 21:38:26 ---> 6e57dd5adef6 21:38:26 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:38:26 ---> Running in e8d38da208bd 21:38:26 Removing intermediate container e8d38da208bd 21:38:26 ---> 7b536e241494 21:38:26 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:38:26 ---> Running in 2dc2fb7815af 21:38:27 Removing intermediate container 2dc2fb7815af 21:38:27 ---> 914d22adfdcd 21:38:27 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:38:27 ---> Running in 3d30acac9d96 21:38:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:38:28 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:38:29 OK: 226 MiB in 55 packages 21:38:30 Removing intermediate container 3d30acac9d96 21:38:30 ---> f22e51cbb4d9 21:38:30 Step 8/25 : WORKDIR /device-rest-go 21:38:30 ---> Running in c10acafc3c3f 21:38:31 Removing intermediate container c10acafc3c3f 21:38:31 ---> e44c6efbb73d 21:38:31 Step 9/25 : COPY go.mod vendor* ./ 21:38:31 ---> c6bff36b7ceb 21:38:31 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:38:31 ---> Running in 4b3f2ddfb969 21:38:35 Removing intermediate container 4b3f2ddfb969 21:38:35 ---> 3e66a0fdb32a 21:38:35 Step 11/25 : COPY . . 21:38:35 ---> 0b62a574aea4 21:38:35 Step 12/25 : RUN $MAKE 21:38:35 ---> Running in 5763b32216b2 21:38:37 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.11" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:40:59 Removing intermediate container 5763b32216b2 21:40:59 ---> 677744b98cad 21:40:59 Step 13/25 : FROM alpine:3.16 21:40:59 3.16: Pulling from library/alpine 21:40:59 3760b48202b3: Pulling fs layer 21:40:59 3760b48202b3: Verifying Checksum 21:40:59 3760b48202b3: Download complete 21:40:59 3760b48202b3: Pull complete 21:40:59 Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 21:40:59 Status: Downloaded newer image for alpine:3.16 21:40:59 ---> 4c81e5bf8899 21:40:59 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:40:59 ---> Running in 3a66c35df733 21:40:59 Removing intermediate container 3a66c35df733 21:40:59 ---> bee071469e5b 21:40:59 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:40:59 ---> Running in 03f18859ad86 21:40:59 Removing intermediate container 03f18859ad86 21:40:59 ---> 26f5421948a9 21:40:59 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:40:59 ---> Running in 14f8b1c473ed 21:40:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz 21:40:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz 21:40:59 (1/1) Installing dumb-init (1.2.5-r1) 21:40:59 Executing busybox-1.35.0-r17.trigger 21:40:59 OK: 5 MiB in 15 packages 21:40:59 Removing intermediate container 14f8b1c473ed 21:40:59 ---> d474854b52e4 21:40:59 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:41:00 ---> c250b05d03dc 21:41:00 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:41:00 ---> c41562095f7a 21:41:00 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:41:01 ---> 869d424afc8e 21:41:01 Step 20/25 : EXPOSE 59986 21:41:01 ---> Running in 60083bdd7cad 21:41:01 Removing intermediate container 60083bdd7cad 21:41:01 ---> 8adb78ff37ac 21:41:01 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:41:01 ---> Running in dab96e433a55 21:41:01 Removing intermediate container dab96e433a55 21:41:01 ---> 3b1562159534 21:41:01 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:41:01 ---> Running in d1530db553af 21:41:02 Removing intermediate container d1530db553af 21:41:02 ---> dede0237ffe9 21:41:02 Step 23/25 : LABEL arch=arm64 21:41:02 ---> Running in 28940b69880f 21:41:02 Removing intermediate container 28940b69880f 21:41:02 ---> 984f949c35c0 21:41:02 Step 24/25 : LABEL git_sha=70384783b5a72194fc813c647394660ae113f8ec 21:41:02 ---> Running in 7ffb90a67cea 21:41:03 Removing intermediate container 7ffb90a67cea 21:41:03 ---> d0bf947779ce 21:41:03 Step 25/25 : LABEL version=3.0.0-dev.11 21:41:03 ---> Running in cf9bc2ac2657 21:41:03 Removing intermediate container cf9bc2ac2657 21:41:03 ---> c2a9bbf2b9a5 21:41:03 [Warning] One or more build-args [ARCH] were not consumed 21:41:03 Successfully built c2a9bbf2b9a5 21:41:03 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 21:41:03 provisioning config files... 21:41:03 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/83@tmp/config5948948158021829987tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:41:03 ---> docker-login.sh 21:41:03 nexus3.edgexfoundry.org:10001 21:41:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:04 Configure a credential helper to remove this warning. See 21:41:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:04 21:41:04 Login Succeeded 21:41:04 nexus3.edgexfoundry.org:10002 21:41:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:04 Configure a credential helper to remove this warning. See 21:41:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:04 21:41:04 Login Succeeded 21:41:04 nexus3.edgexfoundry.org:10003 21:41:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:04 Configure a credential helper to remove this warning. See 21:41:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:04 21:41:04 Login Succeeded 21:41:04 nexus3.edgexfoundry.org:10004 21:41:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:05 Configure a credential helper to remove this warning. See 21:41:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:05 21:41:05 Login Succeeded 21:41:05 docker.io 21:41:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:41:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:41:05 Configure a credential helper to remove this warning. See 21:41:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:41:05 21:41:05 Login Succeeded 21:41:05 ---> docker-login.sh ends [Pipeline] } 21:41:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:41:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:41:05 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 21:41:05 70384783b5a72194fc813c647394660ae113f8ec 21:41:05 latest 21:41:05 3.0.0-dev.11 21:41:05 70384783b5a72194fc813c647394660ae113f8ec-3.0.0-dev.11 21:41:05 main 21:41:05 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:06 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:70384783b5a72194fc813c647394660ae113f8ec [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:06 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:70384783b5a72194fc813c647394660ae113f8ec 21:41:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:41:06 cdb24202436d: Preparing 21:41:06 4d6243aa3da0: Preparing 21:41:06 98250761506f: Preparing 21:41:06 b5427772de36: Preparing 21:41:06 f70ee36035b9: Preparing 21:41:06 f70ee36035b9: Layer already exists 21:41:06 4d6243aa3da0: Pushed 21:41:06 cdb24202436d: Pushed 21:41:06 b5427772de36: Pushed 21:41:12 98250761506f: Pushed 21:41:12 70384783b5a72194fc813c647394660ae113f8ec: digest: sha256:cdc3ba1afe9b4928b523348a823c40735c69445c6a9f07b03a3e532cf5a03b3c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:12 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:13 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 21:41:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:41:13 cdb24202436d: Preparing 21:41:13 4d6243aa3da0: Preparing 21:41:13 98250761506f: Preparing 21:41:13 b5427772de36: Preparing 21:41:13 f70ee36035b9: Preparing 21:41:13 4d6243aa3da0: Layer already exists 21:41:13 f70ee36035b9: Layer already exists 21:41:13 98250761506f: Layer already exists 21:41:13 cdb24202436d: Layer already exists 21:41:13 b5427772de36: Layer already exists 21:41:13 latest: digest: sha256:cdc3ba1afe9b4928b523348a823c40735c69445c6a9f07b03a3e532cf5a03b3c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:13 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:14 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.11 21:41:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:41:14 cdb24202436d: Preparing 21:41:14 4d6243aa3da0: Preparing 21:41:14 98250761506f: Preparing 21:41:14 b5427772de36: Preparing 21:41:14 f70ee36035b9: Preparing 21:41:14 cdb24202436d: Layer already exists 21:41:14 4d6243aa3da0: Layer already exists 21:41:14 b5427772de36: Layer already exists 21:41:14 f70ee36035b9: Layer already exists 21:41:14 98250761506f: Layer already exists 21:41:14 3.0.0-dev.11: digest: sha256:cdc3ba1afe9b4928b523348a823c40735c69445c6a9f07b03a3e532cf5a03b3c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:14 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:70384783b5a72194fc813c647394660ae113f8ec-3.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:15 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:70384783b5a72194fc813c647394660ae113f8ec-3.0.0-dev.11 21:41:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:41:15 cdb24202436d: Preparing 21:41:15 4d6243aa3da0: Preparing 21:41:15 98250761506f: Preparing 21:41:15 b5427772de36: Preparing 21:41:15 f70ee36035b9: Preparing 21:41:15 cdb24202436d: Layer already exists 21:41:15 f70ee36035b9: Layer already exists 21:41:15 4d6243aa3da0: Layer already exists 21:41:15 98250761506f: Layer already exists 21:41:15 b5427772de36: Layer already exists 21:41:15 70384783b5a72194fc813c647394660ae113f8ec-3.0.0-dev.11: digest: sha256:cdc3ba1afe9b4928b523348a823c40735c69445c6a9f07b03a3e532cf5a03b3c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:15 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:16 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 21:41:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:41:16 cdb24202436d: Preparing 21:41:16 4d6243aa3da0: Preparing 21:41:16 98250761506f: Preparing 21:41:16 b5427772de36: Preparing 21:41:16 f70ee36035b9: Preparing 21:41:16 cdb24202436d: Layer already exists 21:41:16 b5427772de36: Layer already exists 21:41:16 98250761506f: Layer already exists 21:41:16 4d6243aa3da0: Layer already exists 21:41:16 f70ee36035b9: Layer already exists 21:41:16 main: digest: sha256:cdc3ba1afe9b4928b523348a823c40735c69445c6a9f07b03a3e532cf5a03b3c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:41:16 ===================================================== [Pipeline] echo 21:41:16 taggedImages: 21:41:16 - nexus3.edgexfoundry.org:10004/device-rest-arm64:70384783b5a72194fc813c647394660ae113f8ec 21:41:16 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 21:41:16 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.11 21:41:16 - nexus3.edgexfoundry.org:10004/device-rest-arm64:70384783b5a72194fc813c647394660ae113f8ec-3.0.0-dev.11 21:41:16 - 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 21:41:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:41:17 21:41:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:41:17 arm64: Pulling from edgex-lftools-log-publisher 21:41:17 8998bd30e6a1: Pulling fs layer 21:41:17 04944245beec: Pulling fs layer 21:41:17 699f458cf7ca: Pulling fs layer 21:41:17 765212b225bb: Pulling fs layer 21:41:17 f23df028b6ca: Pulling fs layer 21:41:17 d65c8cfc05b1: Pulling fs layer 21:41:17 2437ff75d9bd: Pulling fs layer 21:41:17 765212b225bb: Waiting 21:41:17 f23df028b6ca: Waiting 21:41:17 d65c8cfc05b1: Waiting 21:41:17 2437ff75d9bd: Waiting 21:41:17 04944245beec: Verifying Checksum 21:41:17 04944245beec: Download complete 21:41:17 765212b225bb: Verifying Checksum 21:41:17 765212b225bb: Download complete 21:41:17 f23df028b6ca: Download complete 21:41:17 d65c8cfc05b1: Verifying Checksum 21:41:17 d65c8cfc05b1: Download complete 21:41:18 699f458cf7ca: Verifying Checksum 21:41:18 699f458cf7ca: Download complete 21:41:18 8998bd30e6a1: Download complete 21:41:20 2437ff75d9bd: Verifying Checksum 21:41:20 2437ff75d9bd: Download complete 21:41:22 8998bd30e6a1: Pull complete 21:41:22 04944245beec: Pull complete 21:41:24 699f458cf7ca: Pull complete 21:41:24 765212b225bb: Pull complete 21:41:25 f23df028b6ca: Pull complete 21:41:25 d65c8cfc05b1: Pull complete 21:41:40 2437ff75d9bd: Pull complete 21:41:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:41:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:41:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:41:40 prd-ubuntu20.04-docker-arm64-4c-16g-6500 does not seem to be running inside a container 21:41:40 $ 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/83 -v /w/workspace/device-rest-go/83:/w/workspace/device-rest-go/83:rw,z -v /w/workspace/device-rest-go/83@tmp:/w/workspace/device-rest-go/83@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 21:41:44 $ docker top 2a167ec3444c13c636692cd94f223b8433aafb7ec0cd8f9fb79234aae0b037c6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:41:45 ---> job-cost.sh 21:41:45 lf-activate-venv: SKIPPING 21:41:45 INFO: No Stack... 21:41:46 INFO: Retrieving Pricing Info for: v3-standard-4 21:41:46 INFO: Archiving Costs [Pipeline] sh 21:41:47 + cat /w/workspace/device-rest-go/83/archives/cost.csv 21:41:47 + cut -d, -f6 [Pipeline] lock 21:41:47 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-83-stack-cost] 21:41:47 Resource [jenkins-edgexfoundry-device-rest-go-main-83-stack-cost] did not exist. Created. 21:41:47 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-83-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:41:48 /w/workspace/device-rest-go/83@tmp/durable-a11983f0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:41:48 + echo total: 0.10999999940395355 [Pipeline] stash 21:41:48 Warning: overwriting stash ‘stack-cost’ 21:41:49 Stashed 1 file(s) [Pipeline] } 21:41:49 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-83-stack-cost] [Pipeline] // lock [Pipeline] } 21:41:49 $ docker stop --time=1 2a167ec3444c13c636692cd94f223b8433aafb7ec0cd8f9fb79234aae0b037c6 21:41:50 $ docker rm -f --volumes 2a167ec3444c13c636692cd94f223b8433aafb7ec0cd8f9fb79234aae0b037c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:41:51 provisioning config files... 21:41:51 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4612065475132629650tmp [Pipeline] { [Pipeline] sh 21:41:51 + set +x 21:41:51 + + curlbash -s -s https://codecov.io/bash -- 21:41:51 21:41:51 21:41:51 _____ _ 21:41:51 / ____| | | 21:41:51 | | ___ __| | ___ ___ _____ __ 21:41:51 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:41:51 | |___| (_) | (_| | __/ (_| (_) \ V / 21:41:51 \_____\___/ \__,_|\___|\___\___/ \_/ 21:41:51 Bash-1.0.6 21:41:51 21:41:51 21:41:51 ==> git version 2.25.1 found 21:41:51 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:41:51 Release-Date: 2020-01-08 21:41:51 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:41:51 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:41:51 ==> Jenkins CI detected. 21:41:51 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 21:41:51 project root: . 21:41:51 --> token set from env 21:41:51 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:41:51 ==> Running gcov in . (disable via -X gcov) 21:41:51 ==> Python coveragepy not found 21:41:51 ==> Searching for coverage reports in: 21:41:51 + . 21:41:51 -> Found 1 reports 21:41:51 ==> Detecting git/mercurial file structure 21:41:51 ==> Reading reports 21:41:51 + ./coverage.out bytes=13744 21:41:51 ==> Appending adjustments 21:41:51 https://docs.codecov.io/docs/fixing-reports 21:41:51 + Found adjustments 21:41:51 ==> Gzipping contents 21:41:51 4.0K /tmp/codecov.FwLgba.gz 21:41:51 ==> Uploading reports 21:41:51 url: https://codecov.io 21:41:51 query: branch=main&commit=70384783b5a72194fc813c647394660ae113f8ec&build=83&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F83%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:41:51 -> Pinging Codecov 21:41:51 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=70384783b5a72194fc813c647394660ae113f8ec&build=83&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F83%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:41:51 -> Uploading to 21:41:51 https://storage.googleapis.com/codecov/v4/raw/2023-02-17/4E5D53B4F1F92C436F7061BF334D961C/70384783b5a72194fc813c647394660ae113f8ec/bd85df6f-a00c-466f-be9b-4c136343bc7a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230217%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230217T214151Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=362b2623eb68d41fd626455bf361940b850f01b21b49a7883c3be653c6c24496 21:41:51 % Total % Received % Xferd Average Speed Time Time Time Current 21:41:51 Dload Upload Total Spent Left Speed 21:41:51 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2443 0 0 100 2443 0 10136 --:--:-- --:--:-- --:--:-- 10136 21:41:51 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/70384783b5a72194fc813c647394660ae113f8ec [Pipeline] } 21:41:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:41:52 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:41:52 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:41:52 21:41:52 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:41:52 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:41:52 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:41:52 df9b9388f04a: Pulling fs layer 21:41:52 52dc419b0ee2: Pulling fs layer 21:41:52 25bc292e5bac: Pulling fs layer 21:41:52 114826534d7a: Pulling fs layer 21:41:52 4657fd5d0bcf: Pulling fs layer 21:41:52 6ad1cebc031e: Pulling fs layer 21:41:52 8a3aa393b2d8: Pulling fs layer 21:41:52 4657fd5d0bcf: Waiting 21:41:52 114826534d7a: Waiting 21:41:52 6ad1cebc031e: Waiting 21:41:52 8a3aa393b2d8: Waiting 21:41:52 25bc292e5bac: Verifying Checksum 21:41:52 25bc292e5bac: Download complete 21:41:52 52dc419b0ee2: Verifying Checksum 21:41:52 52dc419b0ee2: Download complete 21:41:52 4657fd5d0bcf: Verifying Checksum 21:41:52 4657fd5d0bcf: Download complete 21:41:52 df9b9388f04a: Download complete 21:41:53 df9b9388f04a: Pull complete 21:41:53 52dc419b0ee2: Pull complete 21:41:53 6ad1cebc031e: Download complete 21:41:53 25bc292e5bac: Pull complete 21:41:53 114826534d7a: Download complete 21:41:54 8a3aa393b2d8: Verifying Checksum 21:41:54 8a3aa393b2d8: Download complete 21:41:56 114826534d7a: Pull complete 21:41:56 4657fd5d0bcf: Pull complete 21:41:57 6ad1cebc031e: Pull complete 21:41:59 8a3aa393b2d8: Pull complete 21:41:59 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:41:59 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:41:59 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:42:00 prd-ubuntu20.04-docker-8c-8g-6499 does not seem to be running inside a container 21:42:00 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:42:01 $ docker top 48a82f21fd18c43a09b15c7cd34839d2bb0819cb9f087463cbcb08a84e4c3122 -eo pid,comm [Pipeline] { [Pipeline] echo 21:42:02 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 21:42:02 + set -o pipefail 21:42:02 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 21:42:08 21:42:08 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 21:42:08 21:42:08 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/023187d3-5f96-4000-86bd-cce7fcb3c361 21:42:08 21:42:08 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:42:08 21:42:08 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:42:08 21:42:08 21:42:08 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:42:08 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:42:08 More details here: https://snyk.co/ue1NS [Pipeline] } 21:42:08 $ docker stop --time=1 48a82f21fd18c43a09b15c7cd34839d2bb0819cb9f087463cbcb08a84e4c3122 21:42:10 $ docker rm -f --volumes 48a82f21fd18c43a09b15c7cd34839d2bb0819cb9f087463cbcb08a84e4c3122 [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 21:42:11 + git log --format=format:%s -1 70384783b5a72194fc813c647394660ae113f8ec [Pipeline] sh 21:42:11 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:42:11 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:42:12 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:42:12 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:42:12 prd-ubuntu20.04-docker-8c-8g-6499 does not seem to be running inside a container 21:42:12 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:42:12 $ docker top ebbb571ae408bc9925c7e17bbd583ab1cf39a37abcef424719274a2491d8d65c -eo pid,comm 21:42:12 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:42:12 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:42:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:42:12 [ssh-agent] Looking for ssh-agent implementation... 21:42:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:42:12 $ docker exec ebbb571ae408bc9925c7e17bbd583ab1cf39a37abcef424719274a2491d8d65c ssh-agent 21:42:12 SSH_AUTH_SOCK=/tmp/ssh-SIp8FW8TFDHo/agent.33 21:42:12 SSH_AGENT_PID=39 21:42:12 Running ssh-add (command line suppressed) 21:42:13 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_333179659392453110.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_333179659392453110.key) 21:42:13 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:42:13 + git semver tag 21:42:13 2023-02-17 21:42:13,584 [run_tag] DEBUG tag force:False 21:42:13 2023-02-17 21:42:13,584 [check_head_tag] DEBUG check head tag 21:42:13 2023-02-17 21:42:13,585 [execute] INFO git cat-file --batch-check 21:42:13 2023-02-17 21:42:13,585 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 21:42:13 2023-02-17 21:42:13,589 [execute] INFO git cat-file --batch 21:42:13 2023-02-17 21:42:13,589 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 21:42:13 2023-02-17 21:42:13,606 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:42:13 2023-02-17 21:42:13,606 [execute] INFO git tag -a v3.0.0-dev.11 -m v3.0.0-dev.11 21:42:13 2023-02-17 21:42:13,607 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.11', '-m', 'v3.0.0-dev.11'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 21:42:13 2023-02-17 21:42:13,611 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:42:13 3.0.0-dev.11 [Pipeline] } 21:42:13 $ docker exec --env ******** --env ******** ebbb571ae408bc9925c7e17bbd583ab1cf39a37abcef424719274a2491d8d65c ssh-agent -k 21:42:13 unset SSH_AUTH_SOCK; 21:42:13 unset SSH_AGENT_PID; 21:42:13 echo Agent pid 39 killed; 21:42:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:42:14 + git semver [Pipeline] } 21:42:14 $ docker stop --time=1 ebbb571ae408bc9925c7e17bbd583ab1cf39a37abcef424719274a2491d8d65c 21:42:15 $ docker rm -f --volumes ebbb571ae408bc9925c7e17bbd583ab1cf39a37abcef424719274a2491d8d65c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:42:16 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:42:16 21:42:16 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:42:16 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:42:16 0.23.1-centos7: Pulling from edgex-lftools 21:42:16 ab5ef0e58194: Pulling fs layer 21:42:16 9712f1f96733: Pulling fs layer 21:42:16 63f879dbbcfc: Pulling fs layer 21:42:16 0d9ebad4ef96: Pulling fs layer 21:42:16 e9a5061849ea: Pulling fs layer 21:42:16 d747dcd14b5f: Pulling fs layer 21:42:16 2de7ff778b66: Pulling fs layer 21:42:16 0d9ebad4ef96: Waiting 21:42:16 e9a5061849ea: Waiting 21:42:16 d747dcd14b5f: Waiting 21:42:16 2de7ff778b66: Waiting 21:42:16 9712f1f96733: Verifying Checksum 21:42:16 9712f1f96733: Download complete 21:42:16 0d9ebad4ef96: Verifying Checksum 21:42:16 0d9ebad4ef96: Download complete 21:42:17 e9a5061849ea: Verifying Checksum 21:42:17 e9a5061849ea: Download complete 21:42:17 d747dcd14b5f: Verifying Checksum 21:42:17 d747dcd14b5f: Download complete 21:42:17 63f879dbbcfc: Verifying Checksum 21:42:17 63f879dbbcfc: Download complete 21:42:17 2de7ff778b66: Verifying Checksum 21:42:17 2de7ff778b66: Download complete 21:42:17 ab5ef0e58194: Download complete 21:42:20 ab5ef0e58194: Pull complete 21:42:20 9712f1f96733: Pull complete 21:42:21 63f879dbbcfc: Pull complete 21:42:24 0d9ebad4ef96: Pull complete 21:42:24 e9a5061849ea: Pull complete 21:42:24 d747dcd14b5f: Pull complete 21:42:25 2de7ff778b66: Pull complete 21:42:25 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:42:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:42:25 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:42:25 prd-ubuntu20.04-docker-8c-8g-6499 does not seem to be running inside a container 21:42:25 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:42:27 $ docker top 0d7347be8ecd9d49c3a9dd1f053294bccff504a48e27003d0b61b21bb983d5e5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:42:27 provisioning config files... 21:42:27 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17480990413790667175tmp 21:42:27 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5617269124143047101tmp 21:42:27 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4090560527538486208tmp [Pipeline] { [Pipeline] echo 21:42:27 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:42:27 ---> sigul-configuration.sh 21:42:27 gpg: directory `/root/.gnupg' created 21:42:27 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:42:27 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:42:27 gpg: keyring `/root/.gnupg/secring.gpg' created 21:42:27 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:42:27 gpg: CAST5 encrypted data 21:42:27 gpg: encrypted with 1 passphrase 21:42:27 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:42:28 + mkdir /home/jenkins 21:42:28 + mkdir /home/jenkins/sigul [Pipeline] sh 21:42:28 + 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 21:42:28 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:42:28 ---> sigul-install.sh 21:42:28 Sigul already installed; skipping installation. [Pipeline] sh 21:42:29 + git tag --list 21:42:29 v1.0.0 21:42:29 v1.1.0 21:42:29 v1.1.1 21:42:29 v1.1.2 21:42:29 v1.2.0 21:42:29 v1.2.1 21:42:29 v2.0.0 21:42:29 v2.1.0 21:42:29 v2.1.1 21:42:29 v2.1.1-dev.1 21:42:29 v2.1.1-dev.2 21:42:29 v2.1.1-dev.3 21:42:29 v2.2.0 21:42:29 v2.2.1-dev.1 21:42:29 v2.2.1-dev.2 21:42:29 v2.2.1-dev.3 21:42:29 v2.2.1-dev.4 21:42:29 v2.2.1-dev.5 21:42:29 v2.2.1-dev.6 21:42:29 v2.2.1-dev.7 21:42:29 v2.2.1-dev.8 21:42:29 v2.2.1-dev.9 21:42:29 v2.3.0 21:42:29 v2.3.0-dev.10 21:42:29 v2.3.0-dev.11 21:42:29 v2.3.0-dev.12 21:42:29 v2.3.0-dev.13 21:42:29 v2.3.0-dev.14 21:42:29 v2.3.0-dev.15 21:42:29 v2.3.0-dev.16 21:42:29 v2.3.0-dev.17 21:42:29 v2.3.0-dev.18 21:42:29 v2.3.0-dev.19 21:42:29 v2.3.0-dev.20 21:42:29 v2.3.0-dev.21 21:42:29 v2.3.0-dev.22 21:42:29 v2.3.0-dev.23 21:42:29 v2.3.0-dev.24 21:42:29 v2.3.0-dev.25 21:42:29 v2.3.0-dev.9 21:42:29 v3.0.0-dev.1 21:42:29 v3.0.0-dev.10 21:42:29 v3.0.0-dev.11 21:42:29 v3.0.0-dev.2 21:42:29 v3.0.0-dev.3 21:42:29 v3.0.0-dev.4 21:42:29 v3.0.0-dev.5 21:42:29 v3.0.0-dev.6 21:42:29 v3.0.0-dev.7 21:42:29 v3.0.0-dev.8 21:42:29 v3.0.0-dev.9 [Pipeline] sh 21:42:29 + lftools sign git-tag v3.0.0-dev.11 21:42:29 Signing Git tag with Sigul... 21:42:29 Signing v3.0.0-dev.11 [Pipeline] echo 21:42:30 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:42:30 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:42:30 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:42:30 $ docker stop --time=1 0d7347be8ecd9d49c3a9dd1f053294bccff504a48e27003d0b61b21bb983d5e5 21:42:31 $ docker rm -f --volumes 0d7347be8ecd9d49c3a9dd1f053294bccff504a48e27003d0b61b21bb983d5e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:42:32 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:42:32 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:42:32 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:42:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:42:32 prd-ubuntu20.04-docker-8c-8g-6499 does not seem to be running inside a container 21:42:32 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:42:32 $ docker top 9d61747484cc2684dae2d13acf194242a6281ecaf8639e711dca11e2ef7947c4 -eo pid,comm 21:42:33 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:42:33 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:42:33 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:42:33 [ssh-agent] Looking for ssh-agent implementation... 21:42:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:42:33 $ docker exec 9d61747484cc2684dae2d13acf194242a6281ecaf8639e711dca11e2ef7947c4 ssh-agent 21:42:33 SSH_AUTH_SOCK=/tmp/ssh-5vnGNUBnAJw7/agent.32 21:42:33 SSH_AGENT_PID=38 21:42:33 Running ssh-add (command line suppressed) 21:42:33 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14165689719132670517.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14165689719132670517.key) 21:42:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:42:33 + git semver bump pre 21:42:33 2023-02-17 21:42:33,847 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:42:33 2023-02-17 21:42:33,847 [bump_version] DEBUG bumping version:3.0.0-dev.11 on axis:pre with prefix:dev 21:42:33 2023-02-17 21:42:33,847 [bump_version] DEBUG bumped version:3.0.0-dev.12 21:42:33 2023-02-17 21:42:33,847 [write_version] DEBUG write version:3.0.0-dev.12 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 21:42:33 2023-02-17 21:42:33,847 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:42:33 2023-02-17 21:42:33,847 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:42:33 2023-02-17 21:42:33,849 [execute] INFO git cat-file --batch-check 21:42:33 2023-02-17 21:42:33,850 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:42:33 2023-02-17 21:42:33,855 [execute] INFO git cat-file --batch 21:42:33 2023-02-17 21:42:33,856 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:42:33 2023-02-17 21:42:33,861 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:42:33 3.0.0-dev.12 [Pipeline] } 21:42:33 $ docker exec --env ******** --env ******** 9d61747484cc2684dae2d13acf194242a6281ecaf8639e711dca11e2ef7947c4 ssh-agent -k 21:42:34 unset SSH_AUTH_SOCK; 21:42:34 unset SSH_AGENT_PID; 21:42:34 echo Agent pid 38 killed; 21:42:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:42:34 + git semver [Pipeline] } 21:42:34 $ docker stop --time=1 9d61747484cc2684dae2d13acf194242a6281ecaf8639e711dca11e2ef7947c4 21:42:35 $ docker rm -f --volumes 9d61747484cc2684dae2d13acf194242a6281ecaf8639e711dca11e2ef7947c4 [Pipeline] // withDockerContainer [Pipeline] sh 21:42:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:42:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:42:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:42:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:42:36 prd-ubuntu20.04-docker-8c-8g-6499 does not seem to be running inside a container 21:42:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:42:36 $ docker top 193da060f20f0b36e1d3d912978746f5f1200156e64a8681aac9b3dbf59ec559 -eo pid,comm 21:42:37 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:42:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:42:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:42:37 [ssh-agent] Looking for ssh-agent implementation... 21:42:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:42:37 $ docker exec 193da060f20f0b36e1d3d912978746f5f1200156e64a8681aac9b3dbf59ec559 ssh-agent 21:42:37 SSH_AUTH_SOCK=/tmp/ssh-8hleTyPnPfds/agent.32 21:42:37 SSH_AGENT_PID=38 21:42:37 Running ssh-add (command line suppressed) 21:42:37 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1637570011784604995.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1637570011784604995.key) 21:42:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:42:37 + git semver push 21:42:37 2023-02-17 21:42:37,839 [run_push] DEBUG push 21:42:37 2023-02-17 21:42:37,840 [execute] INFO git cat-file --batch-check 21:42:37 2023-02-17 21:42:37,840 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:42:37 2023-02-17 21:42:37,844 [execute] INFO git rev-list 261461c9612df4623051e82b87d28540fc57c5df -- 21:42:37 2023-02-17 21:42:37,844 [execute] DEBUG Popen(['git', 'rev-list', '261461c9612df4623051e82b87d28540fc57c5df', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:42:37 2023-02-17 21:42:37,852 [execute] INFO git fetch -v origin 21:42:37 2023-02-17 21:42:37,852 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:42:38 2023-02-17 21:42:38,453 [run_push] DEBUG no remote changes detected 21:42:38 2023-02-17 21:42:38,454 [execute] INFO git push origin semver 21:42:38 2023-02-17 21:42:38,454 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:42:39 2023-02-17 21:42:39,238 [run_push] DEBUG push all version tags 21:42:39 2023-02-17 21:42:39,239 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:42:39 2023-02-17 21:42:39,239 [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) 21:42:40 2023-02-17 21:42:39,990 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:42:40 3.0.0-dev.12 [Pipeline] } 21:42:40 $ docker exec --env ******** --env ******** 193da060f20f0b36e1d3d912978746f5f1200156e64a8681aac9b3dbf59ec559 ssh-agent -k 21:42:40 unset SSH_AUTH_SOCK; 21:42:40 unset SSH_AGENT_PID; 21:42:40 echo Agent pid 38 killed; 21:42:40 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:42:40 + git semver [Pipeline] } 21:42:40 $ docker stop --time=1 193da060f20f0b36e1d3d912978746f5f1200156e64a8681aac9b3dbf59ec559 21:42:42 $ docker rm -f --volumes 193da060f20f0b36e1d3d912978746f5f1200156e64a8681aac9b3dbf59ec559 [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 21:42:42 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 21:42:42 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 21:42:42 total 16 21:42:42 drwxr-xr-x 3 root root 4096 Feb 17 21:33 . 21:42:42 drwxrwxr-x 10 jenkins jenkins 4096 Feb 17 21:42 .. 21:42:42 drwxr-xr-x 2 root root 4096 Feb 17 21:33 cost 21:42:42 -rw-r--r-- 1 root root 85 Feb 17 21:33 cost.csv 21:42:42 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 21:42:42 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 21:42:42 total 16 21:42:42 drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 21:33 . 21:42:42 drwxrwxr-x 10 jenkins jenkins 4096 Feb 17 21:42 .. 21:42:42 drwxr-xr-x 2 jenkins jenkins 4096 Feb 17 21:33 cost 21:42:42 -rw-r--r-- 1 jenkins jenkins 85 Feb 17 21:33 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:42:43 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:42:43 ---> package-listing.sh 21:42:43 ++ facter osfamily 21:42:43 ++ tr '[:upper:]' '[:lower:]' 21:42:44 + OS_FAMILY=debian 21:42:44 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 21:42:44 + START_PACKAGES=/tmp/packages_start.txt 21:42:44 + END_PACKAGES=/tmp/packages_end.txt 21:42:44 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:42:44 + PACKAGES=/tmp/packages_start.txt 21:42:44 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 21:42:44 + PACKAGES=/tmp/packages_end.txt 21:42:44 + case "${OS_FAMILY}" in 21:42:44 + dpkg -l 21:42:44 + grep '^ii' 21:42:44 + '[' -f /tmp/packages_start.txt ']' 21:42:44 + '[' -f /tmp/packages_end.txt ']' 21:42:44 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:42:44 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 21:42:44 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 21:42:44 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 21:42:44 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 21:42:44 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:42:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:42:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:42:45 prd-ubuntu20.04-docker-8c-8g-6499 does not seem to be running inside a container 21:42:45 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:42:45 $ docker top f4a1cd392d88f695827ff2a10c3f4f0432f9f3d5844f272c2fcebfd697824b6e -eo pid,comm [Pipeline] { [Pipeline] sh 21:42:45 + touch /tmp/pre-build-complete [Pipeline] sh 21:42:46 + mkdir -p /var/log/sysstat [Pipeline] sh 21:42:46 + ls /var/log/sa-host 21:42:46 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:42:46 provisioning config files... 21:42:46 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16276483492894177217tmp [Pipeline] { [Pipeline] echo 21:42:46 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:42:46 ---> create-netrc.sh [Pipeline] } 21:42:46 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:42:47 ---> python-tools-install.sh [Pipeline] echo 21:42:47 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:42:47 ---> sudo-logs.sh 21:42:47 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:42:47 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:42:47 ---> job-cost.sh 21:42:47 lf-activate-venv: SKIPPING 21:42:47 DEBUG: total: 0.2199999988079071 21:42:47 INFO: Retrieving Stack Cost... 21:42:48 INFO: Retrieving Pricing Info for: v3-standard-8 21:42:48 INFO: Archiving Costs [Pipeline] echo 21:42:48 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:42:48 ---> logs-deploy.sh 21:42:48 lf-activate-venv: SKIPPING 21:42:48 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/83 21:42:48 INFO: archiving workspace using pattern(s): 21:42:49 Archives upload complete. 21:42:49 INFO: archiving logs to Nexus