Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d 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-ssh17669710296978360163.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh7213685342926200035.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 e143027787c0ac28563f7e92b6cefc600d3b7107 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-ssh17614803426547464985.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > 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-ssh1087867354733887826.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-ssh13743197326026544628.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.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-10103 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 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d (main) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#354)" > git rev-list --no-walk 758b2bed15a3d13a7bac802538a1e1661ebd32c9 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:24:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:24:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:24:57 ========================================================= 18:24:57 EdgeX Global Pipelines Version Info 18:24:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:24:58 ------------------- 18:24:58 stable info: 18:24:58 ------------------- 18:24:58 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:24:58 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 18:24:58 Message: update stable to v1.0.254 18:24:59 ------------------- 18:24:59 experimental info: 18:24:59 ------------------- 18:24:59 Commited By: **** collab-it+edgex@linuxfoundation.org 18:24:59 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 18:24:59 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:24:59 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 18:24:59 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 18:24:59 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:24:59 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:24:59 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:24:59 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 18:24:59 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:24:59 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:24:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:24:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:24:59 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:24:59 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 18:24:59 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:24:59 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:24:59 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:24:59 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:24:59 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:24:59 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:24:59 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:24:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:24:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:24:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:24:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:24:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:24:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:24:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:24:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:24:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:24:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:24:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:24:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d [Pipeline] echo 18:24:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 1c77e3e [Pipeline] echo 18:24:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:24:59 provisioning config files... 18:24:59 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5599139669437283856tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:25:00 ---> docker-login.sh 18:25:00 nexus3.edgexfoundry.org:10001 18:25:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:00 Configure a credential helper to remove this warning. See 18:25:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:00 18:25:00 Login Succeeded 18:25:00 nexus3.edgexfoundry.org:10002 18:25:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:00 Configure a credential helper to remove this warning. See 18:25:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:00 18:25:00 Login Succeeded 18:25:00 nexus3.edgexfoundry.org:10003 18:25:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:00 Configure a credential helper to remove this warning. See 18:25:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:00 18:25:00 Login Succeeded 18:25:00 nexus3.edgexfoundry.org:10004 18:25:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:00 Configure a credential helper to remove this warning. See 18:25:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:00 18:25:00 Login Succeeded 18:25:00 docker.io 18:25:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:01 Configure a credential helper to remove this warning. See 18:25:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:01 18:25:01 Login Succeeded 18:25:01 ---> docker-login.sh ends [Pipeline] } 18:25:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:25:01 + git rev-list -1 --merges 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d~1..1c77e3e660e1ab1a6bc71b3e7411204dc92d963d [Pipeline] echo 18:25:01 -----------> git rev-list -1 --merges 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d~1..1c77e3e660e1ab1a6bc71b3e7411204dc92d963d 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d [false] [Pipeline] sh 18:25:02 + git log --format=format:%s -1 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d [Pipeline] echo 18:25:02 ========================================================= 18:25:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:25:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:25:02 + git log --format=format:%s -1 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d [Pipeline] echo 18:25:02 [semverPrep] GIT_COMMIT: 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#354) [Pipeline] echo 18:25:02 [semverPrep] This is not a build commit. [Pipeline] sh 18:25:02 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:25:02 + grep -v github /etc/ssh/ssh_known_hosts 18:25:02 + [ -e /tmp/ssh_known_hosts ] 18:25:02 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:25:02 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:25:02 + sudo tee -a /etc/ssh/ssh_known_hosts 18:25:02 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:25:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:25:03 18:25:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:25:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:25:03 0.1.4: Pulling from edgex-devops/py-git-semver 18:25:03 b85a868b505f: Pulling fs layer 18:25:03 e2be974225ed: Pulling fs layer 18:25:03 339a4e72a1f5: Pulling fs layer 18:25:03 988bab9f4d93: Pulling fs layer 18:25:03 1469e6f7b9e6: Pulling fs layer 18:25:03 988bab9f4d93: Waiting 18:25:03 eaf3925da568: Pulling fs layer 18:25:03 1469e6f7b9e6: Waiting 18:25:03 bab4dde63d76: Pulling fs layer 18:25:03 bde34c3a00c8: Pulling fs layer 18:25:03 eaf3925da568: Waiting 18:25:03 bab4dde63d76: Waiting 18:25:03 b352a97aabf1: Pulling fs layer 18:25:03 bde34c3a00c8: Waiting 18:25:03 b352a97aabf1: Waiting 18:25:03 4872d77fe225: Pulling fs layer 18:25:03 5851b861e8e6: Pulling fs layer 18:25:03 4872d77fe225: Waiting 18:25:03 e2be974225ed: Verifying Checksum 18:25:03 e2be974225ed: Download complete 18:25:03 988bab9f4d93: Verifying Checksum 18:25:03 988bab9f4d93: Download complete 18:25:03 1469e6f7b9e6: Verifying Checksum 18:25:03 1469e6f7b9e6: Download complete 18:25:03 339a4e72a1f5: Verifying Checksum 18:25:03 339a4e72a1f5: Download complete 18:25:03 eaf3925da568: Verifying Checksum 18:25:03 eaf3925da568: Download complete 18:25:03 bde34c3a00c8: Verifying Checksum 18:25:03 bde34c3a00c8: Download complete 18:25:03 b352a97aabf1: Download complete 18:25:03 4872d77fe225: Verifying Checksum 18:25:03 4872d77fe225: Download complete 18:25:03 5851b861e8e6: Verifying Checksum 18:25:03 5851b861e8e6: Download complete 18:25:03 b85a868b505f: Verifying Checksum 18:25:03 b85a868b505f: Download complete 18:25:03 bab4dde63d76: Verifying Checksum 18:25:03 bab4dde63d76: Download complete 18:25:04 b85a868b505f: Pull complete 18:25:05 e2be974225ed: Pull complete 18:25:05 339a4e72a1f5: Pull complete 18:25:05 988bab9f4d93: Pull complete 18:25:05 1469e6f7b9e6: Pull complete 18:25:05 eaf3925da568: Pull complete 18:25:07 bab4dde63d76: Pull complete 18:25:07 bde34c3a00c8: Pull complete 18:25:08 b352a97aabf1: Pull complete 18:25:08 4872d77fe225: Pull complete 18:25:08 5851b861e8e6: Pull complete 18:25:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:25:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:25:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:25:08 prd-ubuntu20.04-docker-8c-8g-10103 does not seem to be running inside a container 18:25:08 $ 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 18:25:11 $ docker top abd6c6a657e9853746dc00fa74e6c704d7f763e9d67880cfa2063aa1d1fe2b4a -eo pid,comm 18:25:11 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:25:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:25:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:25:11 [ssh-agent] Looking for ssh-agent implementation... 18:25:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:25:12 $ docker exec abd6c6a657e9853746dc00fa74e6c704d7f763e9d67880cfa2063aa1d1fe2b4a ssh-agent 18:25:12 SSH_AUTH_SOCK=/tmp/ssh-JW4VOvYxzcqt/agent.33 18:25:12 SSH_AGENT_PID=39 18:25:12 Running ssh-add (command line suppressed) 18:25:12 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10399337187312500315.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10399337187312500315.key) 18:25:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:25:12 + git tag --points-at HEAD [Pipeline] } 18:25:12 $ docker exec --env ******** --env ******** abd6c6a657e9853746dc00fa74e6c704d7f763e9d67880cfa2063aa1d1fe2b4a ssh-agent -k 18:25:12 unset SSH_AUTH_SOCK; 18:25:12 unset SSH_AGENT_PID; 18:25:12 echo Agent pid 39 killed; 18:25:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:25:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:25:12 [ssh-agent] Looking for ssh-agent implementation... 18:25:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:25:12 $ docker exec abd6c6a657e9853746dc00fa74e6c704d7f763e9d67880cfa2063aa1d1fe2b4a ssh-agent 18:25:12 SSH_AUTH_SOCK=/tmp/ssh-RAR1xMNxzd4H/agent.71 18:25:12 SSH_AGENT_PID=77 18:25:12 Running ssh-add (command line suppressed) 18:25:12 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8995941331204114124.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8995941331204114124.key) 18:25:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:25:13 + git semver init 18:25:13 2023-10-24 18:25:13,422 [run_init] DEBUG init version:0.0.0 force:False 18:25:13 2023-10-24 18:25:13,423 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 18:25:13 2023-10-24 18:25:13,423 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 18:25:13 2023-10-24 18:25:13,423 [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) 18:25:14 2023-10-24 18:25:14,561 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 18:25:14 2023-10-24 18:25:14,562 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 18:25:14 2023-10-24 18:25:14,562 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:25:14 2023-10-24 18:25:14,562 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:25:14 3.1.0-dev.24 [Pipeline] } 18:25:14 $ docker exec --env ******** --env ******** abd6c6a657e9853746dc00fa74e6c704d7f763e9d67880cfa2063aa1d1fe2b4a ssh-agent -k 18:25:15 unset SSH_AUTH_SOCK; 18:25:15 unset SSH_AGENT_PID; 18:25:15 echo Agent pid 77 killed; 18:25:15 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:25:15 + git semver [Pipeline] } 18:25:15 $ docker stop --time=1 abd6c6a657e9853746dc00fa74e6c704d7f763e9d67880cfa2063aa1d1fe2b4a 18:25:16 $ docker rm -f --volumes abd6c6a657e9853746dc00fa74e6c704d7f763e9d67880cfa2063aa1d1fe2b4a [Pipeline] // withDockerContainer [Pipeline] sh 18:25:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:25:17 Stashed 1 file(s) [Pipeline] echo 18:25:17 [edgeXSemver]: initialized semver on version 3.1.0-dev.24 [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 18:25:17 provisioning config files... 18:25:17 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2997694384853763889tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:25:17 ---> docker-login.sh 18:25:17 nexus3.edgexfoundry.org:10001 18:25:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:17 Configure a credential helper to remove this warning. See 18:25:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:17 18:25:17 Login Succeeded 18:25:17 nexus3.edgexfoundry.org:10002 18:25:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:17 Configure a credential helper to remove this warning. See 18:25:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:17 18:25:17 Login Succeeded 18:25:17 nexus3.edgexfoundry.org:10003 18:25:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:18 Configure a credential helper to remove this warning. See 18:25:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:18 18:25:18 Login Succeeded 18:25:18 nexus3.edgexfoundry.org:10004 18:25:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:18 Configure a credential helper to remove this warning. See 18:25:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:18 18:25:18 Login Succeeded 18:25:18 docker.io 18:25:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:25:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:25:18 Configure a credential helper to remove this warning. See 18:25:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:25:18 18:25:18 Login Succeeded 18:25:18 ---> docker-login.sh ends [Pipeline] } 18:25:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:25:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:25:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:25:18 ========================================================= 18:25:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 18:25:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:25:18 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 18:25:18 Sending build context to Docker daemon 10.93MB 18:25:18 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 18:25:18 Step 2/12 : FROM ${BASE} AS builder 18:25:18 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 18:25:18 7264a8db6415: Pulling fs layer 18:25:18 c4d48a809fc2: Pulling fs layer 18:25:18 4f1c88b9dad5: Pulling fs layer 18:25:18 ad3a456e5733: Pulling fs layer 18:25:18 33e27b845d1e: Pulling fs layer 18:25:18 c68163c4e522: Pulling fs layer 18:25:18 50da416c3ac9: Pulling fs layer 18:25:18 23d2d4c4bb30: Pulling fs layer 18:25:18 33e27b845d1e: Waiting 18:25:18 c68163c4e522: Waiting 18:25:18 50da416c3ac9: Waiting 18:25:18 ad3a456e5733: Waiting 18:25:19 c4d48a809fc2: Verifying Checksum 18:25:19 c4d48a809fc2: Download complete 18:25:19 ad3a456e5733: Verifying Checksum 18:25:19 ad3a456e5733: Download complete 18:25:19 33e27b845d1e: Verifying Checksum 18:25:19 33e27b845d1e: Download complete 18:25:19 7264a8db6415: Verifying Checksum 18:25:19 7264a8db6415: Download complete 18:25:19 c68163c4e522: Verifying Checksum 18:25:19 c68163c4e522: Download complete 18:25:19 7264a8db6415: Pull complete 18:25:19 c4d48a809fc2: Pull complete 18:25:19 23d2d4c4bb30: Verifying Checksum 18:25:19 23d2d4c4bb30: Download complete 18:25:19 4f1c88b9dad5: Verifying Checksum 18:25:19 4f1c88b9dad5: Download complete 18:25:19 50da416c3ac9: Verifying Checksum 18:25:19 50da416c3ac9: Download complete 18:25:23 4f1c88b9dad5: Pull complete 18:25:23 ad3a456e5733: Pull complete 18:25:23 33e27b845d1e: Pull complete 18:25:23 c68163c4e522: Pull complete 18:25:25 50da416c3ac9: Pull complete 18:25:25 23d2d4c4bb30: Pull complete 18:25:25 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 18:25:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 18:25:25 ---> 0786185ac409 18:25:25 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:25:30 ---> Running in 9703d73b0a68 18:25:30 Removing intermediate container 9703d73b0a68 18:25:30 ---> d1979b344a62 18:25:30 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:25:30 ---> Running in 8c28441e7fe8 18:25:30 Removing intermediate container 8c28441e7fe8 18:25:30 ---> 54efad627b55 18:25:30 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:25:30 ---> Running in e19389713b88 18:25:30 Removing intermediate container e19389713b88 18:25:30 ---> 565aecd57694 18:25:30 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:25:30 ---> Running in 318763f24897 18:25:30 Removing intermediate container 318763f24897 18:25:30 ---> 427c11613991 18:25:30 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:25:30 ---> Running in 5e2abbcf4236 18:25:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:25:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:25:30 (1/4) Installing openssh-keygen (9.3_p2-r0) 18:25:30 (2/4) Installing libedit (20221030.3.1-r1) 18:25:30 (3/4) Installing openssh-client-common (9.3_p2-r0) 18:25:30 (4/4) Installing openssh-client-default (9.3_p2-r0) 18:25:30 Executing busybox-1.36.1-r2.trigger 18:25:30 OK: 268 MiB in 56 packages 18:25:31 Removing intermediate container 5e2abbcf4236 18:25:31 ---> 67372bf8f32c 18:25:31 Step 8/12 : WORKDIR /device-rest-go 18:25:31 ---> Running in 214a86171e22 18:25:31 Removing intermediate container 214a86171e22 18:25:31 ---> 7bdf06e234bd 18:25:31 Step 9/12 : COPY go.mod vendor* ./ 18:25:31 ---> 40661421f7b8 18:25:31 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:25:31 ---> Running in 1634bd648dee 18:25:32 Still waiting to schedule task 18:25:32 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 18:26:18 Removing intermediate container 1634bd648dee 18:26:18 ---> fc3ee2faf3ce 18:26:18 Step 11/12 : COPY . . 18:26:19 ---> aa4c4478a13a 18:26:19 Step 12/12 : RUN $MAKE 18:26:19 ---> Running in e7be87ae9b9b 18:26:19 noop 18:26:19 Removing intermediate container e7be87ae9b9b 18:26:19 ---> b010c93243bd 18:26:19 Successfully built b010c93243bd 18:26:19 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:26:19 + docker inspect -f . ci-base-image-x86_64 18:26:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:26:20 prd-ubuntu20.04-docker-8c-8g-10103 does not seem to be running inside a container 18:26:20 $ 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 18:26:20 $ docker top 9cb6899c9f95f7ee4e1887df827fd3a70c711b12409d6ae1ec22df2ae90e4f92 -eo pid,comm [Pipeline] { [Pipeline] sh 18:26:20 + go version 18:26:20 go version go1.21.0 linux/amd64 [Pipeline] } 18:26:20 $ docker stop --time=1 9cb6899c9f95f7ee4e1887df827fd3a70c711b12409d6ae1ec22df2ae90e4f92 18:26:21 $ docker rm -f --volumes 9cb6899c9f95f7ee4e1887df827fd3a70c711b12409d6ae1ec22df2ae90e4f92 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:26:22 + docker inspect -f . ci-base-image-x86_64 18:26:22 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:26:22 prd-ubuntu20.04-docker-8c-8g-10103 does not seem to be running inside a container 18:26:22 $ 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 18:26:22 $ docker top 40d6596c72f254e078a0632cea9d54a2112a02520c79f4a7cee47e1bf1e05a21 -eo pid,comm [Pipeline] { [Pipeline] sh 18:26:23 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 18:26:23 + make test 18:26:23 go test ./... -coverprofile=coverage.out ./... 18:26:24 ? github.com/edgexfoundry/device-rest-go [no test files] 18:26:34 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:26:34 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.2% of statements 18:26:42 go vet ./... 18:26:45 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:26:45 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:26:45 ./bin/test-attribution-txt.sh [Pipeline] echo 18:26:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:26:45 $ docker stop --time=1 40d6596c72f254e078a0632cea9d54a2112a02520c79f4a7cee47e1bf1e05a21 18:26:47 $ docker rm -f --volumes 40d6596c72f254e078a0632cea9d54a2112a02520c79f4a7cee47e1bf1e05a21 [Pipeline] // withDockerContainer [Pipeline] sh 18:26:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:26:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:26:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:26:48 + ls -al . 18:26:48 total 184 18:26:48 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:26 . 18:26:48 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:24 .. 18:26:48 -rw-rw-r-- 1 jenkins jenkins 151 Oct 24 18:24 .dockerignore 18:26:48 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:26 .git 18:26:48 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:24 .github 18:26:48 -rw-rw-r-- 1 jenkins jenkins 264 Oct 24 18:24 .gitignore 18:26:48 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 18:24 .golangci.yml 18:26:48 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 18:25 .semver 18:26:48 -rw-rw-r-- 1 jenkins jenkins 10300 Oct 24 18:24 Attribution.txt 18:26:48 -rw-rw-r-- 1 jenkins jenkins 15709 Oct 24 18:24 CHANGELOG.md 18:26:48 -rw-rw-r-- 1 jenkins jenkins 1578 Oct 24 18:24 Dockerfile 18:26:48 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 18:24 GOVERNANCE.md 18:26:48 -rw-rw-r-- 1 jenkins jenkins 680 Oct 24 18:24 Jenkinsfile 18:26:48 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 18:24 LICENSE 18:26:48 -rw-rw-r-- 1 jenkins jenkins 2010 Oct 24 18:24 Makefile 18:26:48 -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 18:24 OWNERS.md 18:26:48 -rw-rw-r-- 1 jenkins jenkins 15738 Oct 24 18:24 README.md 18:26:48 -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 18:25 VERSION 18:26:48 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 18:24 bin 18:26:48 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:24 cmd 18:26:48 -rw-r--r-- 1 jenkins jenkins 14499 Oct 24 18:26 coverage.out 18:26:48 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 18:24 driver 18:26:48 -rw-rw-r-- 1 jenkins jenkins 3891 Oct 24 18:24 go.mod 18:26:48 -rw-rw-r-- 1 jenkins jenkins 35094 Oct 24 18:24 go.sum 18:26:48 -rw-rw-r-- 1 jenkins jenkins 713 Oct 24 18:24 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:26:49 + 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=1c77e3e660e1ab1a6bc71b3e7411204dc92d963d --label arch=amd64 --label version=3.1.0-dev.24 . 18:26:49 Sending build context to Docker daemon 10.95MB 18:26:49 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 18:26:49 Step 2/25 : FROM ${BASE} AS builder 18:26:49 ---> b010c93243bd 18:26:49 Step 3/25 : ARG ADD_BUILD_TAGS="" 18:26:49 ---> Running in 611201bbf804 18:26:49 Removing intermediate container 611201bbf804 18:26:49 ---> 5093c09182a4 18:26:49 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:26:49 ---> Running in 8891f8edfa81 18:26:49 Removing intermediate container 8891f8edfa81 18:26:49 ---> c953bd677979 18:26:49 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:26:49 ---> Running in 81bd599f7e9b 18:26:49 Removing intermediate container 81bd599f7e9b 18:26:49 ---> 275503478fb2 18:26:49 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 18:26:49 ---> Running in 444e2bf0401a 18:26:49 Removing intermediate container 444e2bf0401a 18:26:49 ---> b895672a5937 18:26:49 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:26:49 ---> Running in 11fc671ca0d6 18:26:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:26:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:26:50 OK: 268 MiB in 56 packages 18:26:50 Removing intermediate container 11fc671ca0d6 18:26:50 ---> 75db235e8f7e 18:26:50 Step 8/25 : WORKDIR /device-rest-go 18:26:50 ---> Running in 93219ed20c06 18:26:50 Removing intermediate container 93219ed20c06 18:26:50 ---> a59eaaa53c7b 18:26:50 Step 9/25 : COPY go.mod vendor* ./ 18:26:50 ---> 942322bd219a 18:26:50 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:26:50 ---> Running in 67e8924a5de9 18:26:51 Removing intermediate container 67e8924a5de9 18:26:51 ---> c5af041aa274 18:26:51 Step 11/25 : COPY . . 18:26:51 ---> ade904f355e6 18:26:51 Step 12/25 : RUN $MAKE 18:26:51 ---> Running in 6e00ce389716 18:26:52 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.24 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-rest ./cmd 18:27:14 Removing intermediate container 6e00ce389716 18:27:14 ---> f507b14725ae 18:27:14 Step 13/25 : FROM alpine:3.18 18:27:14 3.18: Pulling from library/alpine 18:27:14 96526aa774ef: Pulling fs layer 18:27:14 96526aa774ef: Verifying Checksum 18:27:14 96526aa774ef: Download complete 18:27:14 96526aa774ef: Pull complete 18:27:14 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 18:27:14 Status: Downloaded newer image for alpine:3.18 18:27:14 ---> 8ca4688f4f35 18:27:14 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:27:14 ---> Running in 23980dd93b5f 18:27:14 Removing intermediate container 23980dd93b5f 18:27:14 ---> a89c53ed347e 18:27:14 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 18:27:14 ---> Running in 123dfdcab5b2 18:27:14 Removing intermediate container 123dfdcab5b2 18:27:14 ---> 5c18bbd6cf56 18:27:14 Step 16/25 : RUN apk add --update --no-cache dumb-init 18:27:14 ---> Running in 89cc993e290e 18:27:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 18:27:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 18:27:14 (1/1) Installing dumb-init (1.2.5-r2) 18:27:14 Executing busybox-1.36.1-r2.trigger 18:27:14 OK: 7 MiB in 16 packages 18:27:14 Removing intermediate container 89cc993e290e 18:27:14 ---> dae52036f4a8 18:27:14 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 18:27:15 ---> eaca484822e3 18:27:15 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 18:27:15 ---> a0e87a1340fe 18:27:15 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 18:27:15 ---> 15f12ad0a889 18:27:15 Step 20/25 : EXPOSE 59986 18:27:15 ---> Running in 6ebe75d28b96 18:27:16 Removing intermediate container 6ebe75d28b96 18:27:16 ---> 1e3f100bffc9 18:27:16 Step 21/25 : ENTRYPOINT ["/device-rest"] 18:27:16 ---> Running in 700f0261a4dc 18:27:16 Removing intermediate container 700f0261a4dc 18:27:16 ---> 7256ccdf7ec0 18:27:16 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:27:16 ---> Running in 3e3246d0a2c6 18:27:16 Removing intermediate container 3e3246d0a2c6 18:27:16 ---> e05efebdbe11 18:27:16 Step 23/25 : LABEL arch=amd64 18:27:16 ---> Running in 2776e74d1807 18:27:16 Removing intermediate container 2776e74d1807 18:27:16 ---> 9b8202913af1 18:27:16 Step 24/25 : LABEL git_sha=1c77e3e660e1ab1a6bc71b3e7411204dc92d963d 18:27:16 ---> Running in a7e1a0b64516 18:27:16 Removing intermediate container a7e1a0b64516 18:27:16 ---> 808e6729cc2c 18:27:16 Step 25/25 : LABEL version=3.1.0-dev.24 18:27:16 ---> Running in 3d44165bba39 18:27:16 Removing intermediate container 3d44165bba39 18:27:16 ---> de4431cd3c2c 18:27:16 [Warning] One or more build-args [ARCH] were not consumed 18:27:16 Successfully built de4431cd3c2c 18:27:16 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:27:16 provisioning config files... 18:27:16 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17924286285499732571tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:27:16 ---> docker-login.sh 18:27:16 nexus3.edgexfoundry.org:10001 18:27:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:16 Configure a credential helper to remove this warning. See 18:27:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:16 18:27:16 Login Succeeded 18:27:16 nexus3.edgexfoundry.org:10002 18:27:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:16 Configure a credential helper to remove this warning. See 18:27:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:16 18:27:16 Login Succeeded 18:27:16 nexus3.edgexfoundry.org:10003 18:27:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:17 Configure a credential helper to remove this warning. See 18:27:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:17 18:27:17 Login Succeeded 18:27:17 nexus3.edgexfoundry.org:10004 18:27:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:17 Configure a credential helper to remove this warning. See 18:27:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:17 18:27:17 Login Succeeded 18:27:17 docker.io 18:27:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:27:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:27:17 Configure a credential helper to remove this warning. See 18:27:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:27:17 18:27:17 Login Succeeded 18:27:17 ---> docker-login.sh ends [Pipeline] } 18:27:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:27:17 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:27:17 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 18:27:17 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d 18:27:17 latest 18:27:17 3.1.0-dev.24 18:27:17 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d-3.1.0-dev.24 18:27:17 main 18:27:17 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:21 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:1c77e3e660e1ab1a6bc71b3e7411204dc92d963d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:21 + docker push nexus3.edgexfoundry.org:10004/device-rest:1c77e3e660e1ab1a6bc71b3e7411204dc92d963d 18:27:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 18:27:21 946b248aa830: Preparing 18:27:21 9183918c27cb: Preparing 18:27:21 a2bc4028fff7: Preparing 18:27:21 560a7e5d625c: Preparing 18:27:21 cc2447e1835a: Preparing 18:27:21 cc2447e1835a: Layer already exists 18:27:21 560a7e5d625c: Pushed 18:27:21 9183918c27cb: Pushed 18:27:21 946b248aa830: Pushed 18:27:24 a2bc4028fff7: Pushed 18:27:24 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d: digest: sha256:bf97023f66d4a4c3a74a52ac7205681e49669d5d7b1aa7cacaf7e6cc04cc9501 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:25 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:25 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 18:27:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 18:27:25 946b248aa830: Preparing 18:27:25 9183918c27cb: Preparing 18:27:25 a2bc4028fff7: Preparing 18:27:25 560a7e5d625c: Preparing 18:27:25 cc2447e1835a: Preparing 18:27:25 cc2447e1835a: Layer already exists 18:27:25 9183918c27cb: Layer already exists 18:27:25 946b248aa830: Layer already exists 18:27:25 a2bc4028fff7: Layer already exists 18:27:25 560a7e5d625c: Layer already exists 18:27:25 latest: digest: sha256:bf97023f66d4a4c3a74a52ac7205681e49669d5d7b1aa7cacaf7e6cc04cc9501 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:25 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:26 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.24 18:27:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 18:27:26 946b248aa830: Preparing 18:27:26 9183918c27cb: Preparing 18:27:26 a2bc4028fff7: Preparing 18:27:26 560a7e5d625c: Preparing 18:27:26 cc2447e1835a: Preparing 18:27:26 9183918c27cb: Layer already exists 18:27:26 a2bc4028fff7: Layer already exists 18:27:26 560a7e5d625c: Layer already exists 18:27:26 cc2447e1835a: Layer already exists 18:27:26 946b248aa830: Layer already exists 18:27:26 3.1.0-dev.24: digest: sha256:bf97023f66d4a4c3a74a52ac7205681e49669d5d7b1aa7cacaf7e6cc04cc9501 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:26 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:1c77e3e660e1ab1a6bc71b3e7411204dc92d963d-3.1.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:26 + docker push nexus3.edgexfoundry.org:10004/device-rest:1c77e3e660e1ab1a6bc71b3e7411204dc92d963d-3.1.0-dev.24 18:27:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 18:27:26 946b248aa830: Preparing 18:27:26 9183918c27cb: Preparing 18:27:26 a2bc4028fff7: Preparing 18:27:26 560a7e5d625c: Preparing 18:27:26 cc2447e1835a: Preparing 18:27:26 a2bc4028fff7: Layer already exists 18:27:26 cc2447e1835a: Layer already exists 18:27:26 946b248aa830: Layer already exists 18:27:26 9183918c27cb: Layer already exists 18:27:26 560a7e5d625c: Layer already exists 18:27:26 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d-3.1.0-dev.24: digest: sha256:bf97023f66d4a4c3a74a52ac7205681e49669d5d7b1aa7cacaf7e6cc04cc9501 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:27 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:27 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 18:27:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 18:27:27 946b248aa830: Preparing 18:27:27 9183918c27cb: Preparing 18:27:27 a2bc4028fff7: Preparing 18:27:27 560a7e5d625c: Preparing 18:27:27 cc2447e1835a: Preparing 18:27:27 a2bc4028fff7: Layer already exists 18:27:27 cc2447e1835a: Layer already exists 18:27:27 946b248aa830: Layer already exists 18:27:27 9183918c27cb: Layer already exists 18:27:27 560a7e5d625c: Layer already exists 18:27:27 main: digest: sha256:bf97023f66d4a4c3a74a52ac7205681e49669d5d7b1aa7cacaf7e6cc04cc9501 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:27:27 ===================================================== [Pipeline] echo 18:27:27 taggedImages: 18:27:27 - nexus3.edgexfoundry.org:10004/device-rest:1c77e3e660e1ab1a6bc71b3e7411204dc92d963d 18:27:27 - nexus3.edgexfoundry.org:10004/device-rest:latest 18:27:27 - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.24 18:27:27 - nexus3.edgexfoundry.org:10004/device-rest:1c77e3e660e1ab1a6bc71b3e7411204dc92d963d-3.1.0-dev.24 18:27:27 - 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 18:27:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:27:27 18:27:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:27:28 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:27:28 latest: Pulling from edgex-lftools-log-publisher 18:27:28 5eb5b503b376: Pulling fs layer 18:27:28 5c69ac0246d0: Pulling fs layer 18:27:28 ec43610c2a17: Pulling fs layer 18:27:28 3a2ae6a8a46f: Pulling fs layer 18:27:28 33b1e0a273af: Pulling fs layer 18:27:28 5d3b04190fa2: Pulling fs layer 18:27:28 2f39f015ded8: Pulling fs layer 18:27:28 5d3b04190fa2: Waiting 18:27:28 3a2ae6a8a46f: Waiting 18:27:28 33b1e0a273af: Waiting 18:27:28 2f39f015ded8: Waiting 18:27:28 5c69ac0246d0: Download complete 18:27:28 3a2ae6a8a46f: Verifying Checksum 18:27:28 3a2ae6a8a46f: Download complete 18:27:28 33b1e0a273af: Verifying Checksum 18:27:28 33b1e0a273af: Download complete 18:27:28 5d3b04190fa2: Verifying Checksum 18:27:28 5d3b04190fa2: Download complete 18:27:28 ec43610c2a17: Verifying Checksum 18:27:28 ec43610c2a17: Download complete 18:27:28 5eb5b503b376: Verifying Checksum 18:27:28 5eb5b503b376: Download complete 18:27:28 2f39f015ded8: Download complete 18:27:29 5eb5b503b376: Pull complete 18:27:29 5c69ac0246d0: Pull complete 18:27:30 ec43610c2a17: Pull complete 18:27:30 3a2ae6a8a46f: Pull complete 18:27:30 33b1e0a273af: Pull complete 18:27:30 5d3b04190fa2: Pull complete 18:27:34 2f39f015ded8: Pull complete 18:27:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:27:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:27:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:27:34 prd-ubuntu20.04-docker-8c-8g-10103 does not seem to be running inside a container 18:27:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/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 18:27:40 $ docker top 727af9512226c602ab68405ea94b9a681d63cd1de6611170a2828450c573eaf9 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:27:40 ---> job-cost.sh 18:27:40 lf-activate-venv: SKIPPING 18:27:40 INFO: No Stack... 18:27:40 INFO: Retrieving Pricing Info for: v3-standard-8 18:27:41 INFO: Archiving Costs [Pipeline] sh 18:27:41 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 18:27:41 + cut -d, -f6 [Pipeline] lock 18:27:41 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-144-stack-cost] 18:27:41 Resource [jenkins-edgexfoundry-device-rest-go-main-144-stack-cost] did not exist. Created. 18:27:41 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-144-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:27:41 + echo total: 0.2199999988079071 [Pipeline] stash 18:27:41 Stashed 1 file(s) [Pipeline] } 18:27:41 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-144-stack-cost] [Pipeline] // lock [Pipeline] } 18:27:41 $ docker stop --time=1 727af9512226c602ab68405ea94b9a681d63cd1de6611170a2828450c573eaf9 18:27:43 $ docker rm -f --volumes 727af9512226c602ab68405ea94b9a681d63cd1de6611170a2828450c573eaf9 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:29:05 Running on prd-ubuntu20.04-docker-arm64-4c-16g-10132 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 18:29:05 Running in /w/workspace/device-rest-go/144 [Pipeline] { [Pipeline] checkout 18:29:05 The recommended git tool is: git 18:29:12 using credential edgex-jenkins-ssh 18:29:12 Cloning the remote Git repository 18:29:12 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 18:29:12 > git init /w/workspace/device-rest-go/144 # timeout=10 18:29:12 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:29:12 > git --version # timeout=10 18:29:12 > git --version # 'git version 2.25.1' 18:29:12 using GIT_SSH to set credentials SSH Credentials for GitHub 18:29:12 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:29:14 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:29:15 Avoid second fetch 18:29:15 Checking out Revision 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d (main) 18:29:14 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:29:15 > git config core.sparsecheckout # timeout=10 18:29:15 > git checkout -f 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d # timeout=10 18:29:16 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#354)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:29:17 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:29:17 % Total % Received % Xferd Average Speed Time Time Time Current 18:29:17 Dload Upload Total Spent Left Speed 18:29:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 214k 0 --:--:-- --:--:-- --:--:-- 214k [Pipeline] sh 18:29:17 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:29:18 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:29:18 + sudo tee /etc/docker/daemon.new 18:29:18 { 18:29:18 "registry-mirrors": [ 18:29:18 "https://nexus3.edgexfoundry.org:10001" 18:29:18 ], 18:29:18 "bip": "10.250.0.254/24", 18:29:18 "hosts": [ 18:29:18 "tcp://0.0.0.0:5555", 18:29:18 "unix:///var/run/docker.sock" 18:29:18 ], 18:29:18 "mtu": 1458, 18:29:18 "selinux-enabled": true, 18:29:18 "seccomp-profile": "/etc/docker/seccomp.json" 18:29:18 } [Pipeline] sh 18:29:18 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:29:18 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:29:37 provisioning config files... 18:29:37 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/144@tmp/config17130433932833491713tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:29:37 ---> docker-login.sh 18:29:37 nexus3.edgexfoundry.org:10001 18:29:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:29:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:29:38 Configure a credential helper to remove this warning. See 18:29:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:29:38 18:29:38 Login Succeeded 18:29:38 nexus3.edgexfoundry.org:10002 18:29:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:29:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:29:38 Configure a credential helper to remove this warning. See 18:29:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:29:38 18:29:38 Login Succeeded 18:29:38 nexus3.edgexfoundry.org:10003 18:29:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:29:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:29:38 Configure a credential helper to remove this warning. See 18:29:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:29:38 18:29:38 Login Succeeded 18:29:38 nexus3.edgexfoundry.org:10004 18:29:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:29:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:29:39 Configure a credential helper to remove this warning. See 18:29:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:29:39 18:29:39 Login Succeeded 18:29:39 docker.io 18:29:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:29:40 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:29:40 Configure a credential helper to remove this warning. See 18:29:40 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:29:40 18:29:40 Login Succeeded 18:29:40 ---> docker-login.sh ends [Pipeline] } 18:29:40 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:29:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:29:40 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:29:40 ========================================================= 18:29:40 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 18:29:40 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:29:40 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 18:29:40 Sending build context to Docker daemon 122.4kB 18:29:41 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 18:29:41 Step 2/12 : FROM ${BASE} AS builder 18:29:41 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:29:41 9fda8d8052c6: Pulling fs layer 18:29:41 5d54e960e981: Pulling fs layer 18:29:41 c4a7e357bf2a: Pulling fs layer 18:29:41 f0e02332f6b5: Pulling fs layer 18:29:41 cefa15bbcfad: Pulling fs layer 18:29:41 17808c966233: Pulling fs layer 18:29:41 f4c1fc716caa: Pulling fs layer 18:29:41 f0e02332f6b5: Waiting 18:29:41 cefa15bbcfad: Waiting 18:29:41 17808c966233: Waiting 18:29:41 f4c1fc716caa: Waiting 18:29:41 5d54e960e981: Download complete 18:29:41 f0e02332f6b5: Verifying Checksum 18:29:41 f0e02332f6b5: Download complete 18:29:41 cefa15bbcfad: Verifying Checksum 18:29:41 cefa15bbcfad: Download complete 18:29:41 9fda8d8052c6: Download complete 18:29:41 f4c1fc716caa: Verifying Checksum 18:29:41 f4c1fc716caa: Download complete 18:29:42 9fda8d8052c6: Pull complete 18:29:43 5d54e960e981: Pull complete 18:29:43 c4a7e357bf2a: Verifying Checksum 18:29:43 c4a7e357bf2a: Download complete 18:29:44 17808c966233: Verifying Checksum 18:29:44 17808c966233: Download complete 18:30:00 c4a7e357bf2a: Pull complete 18:30:00 f0e02332f6b5: Pull complete 18:30:00 cefa15bbcfad: Pull complete 18:30:06 17808c966233: Pull complete 18:30:09 f4c1fc716caa: Pull complete 18:30:09 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 18:30:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 18:30:09 ---> ea914061e18c 18:30:09 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:30:10 ---> Running in 9aab0846bf19 18:30:10 Removing intermediate container 9aab0846bf19 18:30:10 ---> 489645ce4328 18:30:10 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:30:11 ---> Running in 00429796fcbc 18:30:11 Removing intermediate container 00429796fcbc 18:30:11 ---> 81514e3d2d53 18:30:11 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:30:11 ---> Running in caa1a9cbd7a2 18:30:12 Removing intermediate container caa1a9cbd7a2 18:30:12 ---> dafea226560b 18:30:12 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:30:12 ---> Running in e4b2c33728a0 18:30:12 Removing intermediate container e4b2c33728a0 18:30:12 ---> 0882a761f44a 18:30:12 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:30:12 ---> Running in 348e7d333b15 18:30:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:30:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:30:16 (1/4) Installing openssh-keygen (9.3_p2-r0) 18:30:16 (2/4) Installing libedit (20221030.3.1-r1) 18:30:16 (3/4) Installing openssh-client-common (9.3_p2-r0) 18:30:16 (4/4) Installing openssh-client-default (9.3_p2-r0) 18:30:16 Executing busybox-1.36.1-r2.trigger 18:30:16 OK: 270 MiB in 56 packages 18:30:17 Removing intermediate container 348e7d333b15 18:30:17 ---> 72f467ea63ff 18:30:17 Step 8/12 : WORKDIR /device-rest-go 18:30:17 ---> Running in 8358fee09796 18:30:17 Removing intermediate container 8358fee09796 18:30:17 ---> b2fcef535045 18:30:17 Step 9/12 : COPY go.mod vendor* ./ 18:30:18 ---> 096bb3059797 18:30:18 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:30:18 ---> Running in 508d53a88427 18:31:55 Removing intermediate container 508d53a88427 18:31:55 ---> 11bd03cbe896 18:31:55 Step 11/12 : COPY . . 18:31:55 ---> 19c9a3981452 18:31:55 Step 12/12 : RUN $MAKE 18:31:55 ---> Running in 6d86d7022e57 18:31:55 noop 18:31:58 Removing intermediate container 6d86d7022e57 18:31:58 ---> 05fc51610fa8 18:31:58 Successfully built 05fc51610fa8 18:31:58 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:31:58 + docker inspect -f . ci-base-image-arm64 18:31:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:31:58 prd-ubuntu20.04-docker-arm64-4c-16g-10132 does not seem to be running inside a container 18:31:59 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/144 -v /w/workspace/device-rest-go/144:/w/workspace/device-rest-go/144:rw,z -v /w/workspace/device-rest-go/144@tmp:/w/workspace/device-rest-go/144@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 18:32:00 $ docker top f095719d608ed3ef8d4f57156c44bbd185b4de00d266aa4f21bf10a5c4217bca -eo pid,comm [Pipeline] { [Pipeline] sh 18:32:01 + go version 18:32:01 go version go1.21.0 linux/arm64 [Pipeline] } 18:32:01 $ docker stop --time=1 f095719d608ed3ef8d4f57156c44bbd185b4de00d266aa4f21bf10a5c4217bca 18:32:03 $ docker rm -f --volumes f095719d608ed3ef8d4f57156c44bbd185b4de00d266aa4f21bf10a5c4217bca [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:32:03 + docker inspect -f . ci-base-image-arm64 18:32:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:32:03 prd-ubuntu20.04-docker-arm64-4c-16g-10132 does not seem to be running inside a container 18:32:03 $ 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/144 -v /w/workspace/device-rest-go/144:/w/workspace/device-rest-go/144:rw,z -v /w/workspace/device-rest-go/144@tmp:/w/workspace/device-rest-go/144@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 18:32:05 $ docker top 7a71fb674495d3a9f7a63fb4ed21d6f3e4c8f02d9b08cd8127463cb3a3f609b7 -eo pid,comm [Pipeline] { [Pipeline] sh 18:32:06 + git config --global --add safe.directory /w/workspace/device-rest-go/144 [Pipeline] fileExists [Pipeline] sh 18:32:06 + make test 18:32:06 go test ./... -coverprofile=coverage.out ./... 18:32:12 ? github.com/edgexfoundry/device-rest-go [no test files] 18:34:34 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:34:34 ok github.com/edgexfoundry/device-rest-go/driver 0.059s coverage: 33.2% of statements 18:34:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:34:34 go vet ./... 18:34:56 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:34:56 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:34:56 ./bin/test-attribution-txt.sh [Pipeline] echo 18:34:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:34:56 $ docker stop --time=1 7a71fb674495d3a9f7a63fb4ed21d6f3e4c8f02d9b08cd8127463cb3a3f609b7 18:34:58 $ docker rm -f --volumes 7a71fb674495d3a9f7a63fb4ed21d6f3e4c8f02d9b08cd8127463cb3a3f609b7 [Pipeline] // withDockerContainer [Pipeline] sh 18:34:59 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:34:59 Warning: overwriting stash ‘coverage-report’ 18:35:00 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:35:00 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:35:00 + ls -al . 18:35:00 total 180 18:35:00 drwxrwxr-x 7 jenkins jenkins 4096 Oct 24 18:32 . 18:35:00 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 18:29 .. 18:35:00 -rw-rw-r-- 1 jenkins jenkins 151 Oct 24 18:29 .dockerignore 18:35:00 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 18:29 .git 18:35:00 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:29 .github 18:35:00 -rw-rw-r-- 1 jenkins jenkins 264 Oct 24 18:29 .gitignore 18:35:00 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 18:29 .golangci.yml 18:35:00 -rw-rw-r-- 1 jenkins jenkins 10300 Oct 24 18:29 Attribution.txt 18:35:00 -rw-rw-r-- 1 jenkins jenkins 15709 Oct 24 18:29 CHANGELOG.md 18:35:00 -rw-rw-r-- 1 jenkins jenkins 1578 Oct 24 18:29 Dockerfile 18:35:00 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 18:29 GOVERNANCE.md 18:35:00 -rw-rw-r-- 1 jenkins jenkins 680 Oct 24 18:29 Jenkinsfile 18:35:00 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 18:29 LICENSE 18:35:00 -rw-rw-r-- 1 jenkins jenkins 2010 Oct 24 18:29 Makefile 18:35:00 -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 18:29 OWNERS.md 18:35:00 -rw-rw-r-- 1 jenkins jenkins 15738 Oct 24 18:29 README.md 18:35:00 -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 18:25 VERSION 18:35:00 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 18:29 bin 18:35:00 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 18:29 cmd 18:35:00 -rw-r--r-- 1 jenkins jenkins 14499 Oct 24 18:34 coverage.out 18:35:00 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 18:29 driver 18:35:00 -rw-rw-r-- 1 jenkins jenkins 3891 Oct 24 18:29 go.mod 18:35:00 -rw-rw-r-- 1 jenkins jenkins 35094 Oct 24 18:29 go.sum 18:35:00 -rw-rw-r-- 1 jenkins jenkins 713 Oct 24 18:29 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:35:01 + 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=1c77e3e660e1ab1a6bc71b3e7411204dc92d963d --label arch=arm64 --label version=3.1.0-dev.24 . 18:35:01 Sending build context to Docker daemon 137.7kB 18:35:01 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 18:35:01 Step 2/25 : FROM ${BASE} AS builder 18:35:01 ---> 05fc51610fa8 18:35:01 Step 3/25 : ARG ADD_BUILD_TAGS="" 18:35:01 ---> Running in b26e7895c241 18:35:02 Removing intermediate container b26e7895c241 18:35:02 ---> cf39a58b9cc2 18:35:02 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:35:02 ---> Running in 74a75f40ccaa 18:35:02 Removing intermediate container 74a75f40ccaa 18:35:02 ---> 8892dcef05ed 18:35:02 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:35:02 ---> Running in 1ec7c431c2a3 18:35:03 Removing intermediate container 1ec7c431c2a3 18:35:03 ---> 7394d0fbae6d 18:35:03 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 18:35:03 ---> Running in 1ec6032d0a54 18:35:03 Removing intermediate container 1ec6032d0a54 18:35:03 ---> 7278a6ef8881 18:35:03 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:35:03 ---> Running in abfba71620af 18:35:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:35:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:35:06 OK: 270 MiB in 56 packages 18:35:07 Removing intermediate container abfba71620af 18:35:07 ---> 61e35a8b3ff4 18:35:07 Step 8/25 : WORKDIR /device-rest-go 18:35:07 ---> Running in 6f20a7d7f8e2 18:35:07 Removing intermediate container 6f20a7d7f8e2 18:35:07 ---> 76316a80cce6 18:35:07 Step 9/25 : COPY go.mod vendor* ./ 18:35:11 ---> b585cf991dcc 18:35:11 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:35:11 ---> Running in 24bf45e7d989 18:35:13 Removing intermediate container 24bf45e7d989 18:35:13 ---> 495087f0d5e3 18:35:13 Step 11/25 : COPY . . 18:35:13 ---> f6b597a4ac60 18:35:13 Step 12/25 : RUN $MAKE 18:35:13 ---> Running in a92eb9014c45 18:35:15 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.24 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.36" -trimpath -mod=readonly -o cmd/device-rest ./cmd 18:37:37 Removing intermediate container a92eb9014c45 18:37:37 ---> b4befe5d5820 18:37:37 Step 13/25 : FROM alpine:3.18 18:37:37 3.18: Pulling from library/alpine 18:37:37 579b34f0a95b: Pulling fs layer 18:37:37 579b34f0a95b: Verifying Checksum 18:37:37 579b34f0a95b: Download complete 18:37:37 579b34f0a95b: Pull complete 18:37:37 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 18:37:37 Status: Downloaded newer image for alpine:3.18 18:37:37 ---> 3cc203321400 18:37:37 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 18:37:37 ---> Running in 2822b9ea55ee 18:37:37 Removing intermediate container 2822b9ea55ee 18:37:37 ---> 80040ca7cc04 18:37:37 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 18:37:37 ---> Running in 50490633819e 18:37:37 Removing intermediate container 50490633819e 18:37:37 ---> f93180971d4e 18:37:37 Step 16/25 : RUN apk add --update --no-cache dumb-init 18:37:37 ---> Running in e817d3d67218 18:37:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 18:37:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 18:37:37 (1/1) Installing dumb-init (1.2.5-r2) 18:37:37 Executing busybox-1.36.1-r2.trigger 18:37:37 OK: 8 MiB in 16 packages 18:37:37 Removing intermediate container e817d3d67218 18:37:37 ---> 3791fce9c157 18:37:37 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 18:37:39 ---> 7c200800a8ac 18:37:39 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 18:37:40 ---> c7f8c9d19203 18:37:40 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 18:37:40 ---> 5669b90f611d 18:37:40 Step 20/25 : EXPOSE 59986 18:37:41 ---> Running in 252ffff1ec94 18:37:41 Removing intermediate container 252ffff1ec94 18:37:41 ---> 5278b3d6b821 18:37:41 Step 21/25 : ENTRYPOINT ["/device-rest"] 18:37:41 ---> Running in 116a778116cd 18:37:41 Removing intermediate container 116a778116cd 18:37:41 ---> 7517b30e14cd 18:37:41 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:37:41 ---> Running in 32d35d451b04 18:37:42 Removing intermediate container 32d35d451b04 18:37:42 ---> e6f46c2de8fd 18:37:42 Step 23/25 : LABEL arch=arm64 18:37:42 ---> Running in 9993bd9c6a79 18:37:42 Removing intermediate container 9993bd9c6a79 18:37:42 ---> e5c61886ca54 18:37:42 Step 24/25 : LABEL git_sha=1c77e3e660e1ab1a6bc71b3e7411204dc92d963d 18:37:43 ---> Running in f26e05e4f3d3 18:37:43 Removing intermediate container f26e05e4f3d3 18:37:43 ---> 0c0026e4fdb9 18:37:43 Step 25/25 : LABEL version=3.1.0-dev.24 18:37:43 ---> Running in 827573fb699d 18:37:43 Removing intermediate container 827573fb699d 18:37:43 ---> 5f00848ea101 18:37:43 [Warning] One or more build-args [ARCH] were not consumed 18:37:43 Successfully built 5f00848ea101 18:37:44 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 18:37:44 provisioning config files... 18:37:44 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/144@tmp/config13214929070085846526tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:37:44 ---> docker-login.sh 18:37:44 nexus3.edgexfoundry.org:10001 18:37:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:44 Configure a credential helper to remove this warning. See 18:37:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:44 18:37:44 Login Succeeded 18:37:44 nexus3.edgexfoundry.org:10002 18:37:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:45 Configure a credential helper to remove this warning. See 18:37:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:45 18:37:45 Login Succeeded 18:37:45 nexus3.edgexfoundry.org:10003 18:37:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:45 Configure a credential helper to remove this warning. See 18:37:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:45 18:37:45 Login Succeeded 18:37:45 nexus3.edgexfoundry.org:10004 18:37:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:46 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:46 Configure a credential helper to remove this warning. See 18:37:46 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:46 18:37:46 Login Succeeded 18:37:46 docker.io 18:37:46 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:37:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:37:47 Configure a credential helper to remove this warning. See 18:37:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:37:47 18:37:47 Login Succeeded 18:37:47 ---> docker-login.sh ends [Pipeline] } 18:37:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:37:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:37:47 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 18:37:47 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d 18:37:47 latest 18:37:47 3.1.0-dev.24 18:37:47 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d-3.1.0-dev.24 18:37:47 main 18:37:47 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:47 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:1c77e3e660e1ab1a6bc71b3e7411204dc92d963d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:47 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:1c77e3e660e1ab1a6bc71b3e7411204dc92d963d 18:37:47 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 18:37:47 eef85231f09c: Preparing 18:37:47 6f37619cc29c: Preparing 18:37:47 7ee15d3770dc: Preparing 18:37:47 06b147122441: Preparing 18:37:47 5f4d9fc4d98d: Preparing 18:37:48 5f4d9fc4d98d: Layer already exists 18:37:48 eef85231f09c: Pushed 18:37:48 06b147122441: Pushed 18:37:48 6f37619cc29c: Pushed 18:37:54 7ee15d3770dc: Pushed 18:37:54 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d: digest: sha256:cd7144ccc6cdbb6dabd0bb479ea1b8aab9b5f0cddd03cf3c4665d811aebcc9d9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:55 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:55 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 18:37:55 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 18:37:55 eef85231f09c: Preparing 18:37:55 6f37619cc29c: Preparing 18:37:55 7ee15d3770dc: Preparing 18:37:55 06b147122441: Preparing 18:37:55 5f4d9fc4d98d: Preparing 18:37:55 5f4d9fc4d98d: Layer already exists 18:37:55 6f37619cc29c: Layer already exists 18:37:55 7ee15d3770dc: Layer already exists 18:37:55 06b147122441: Layer already exists 18:37:55 eef85231f09c: Layer already exists 18:37:55 latest: digest: sha256:cd7144ccc6cdbb6dabd0bb479ea1b8aab9b5f0cddd03cf3c4665d811aebcc9d9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:56 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:56 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.24 18:37:56 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 18:37:56 eef85231f09c: Preparing 18:37:56 6f37619cc29c: Preparing 18:37:56 7ee15d3770dc: Preparing 18:37:56 06b147122441: Preparing 18:37:56 5f4d9fc4d98d: Preparing 18:37:56 6f37619cc29c: Layer already exists 18:37:56 06b147122441: Layer already exists 18:37:56 5f4d9fc4d98d: Layer already exists 18:37:56 7ee15d3770dc: Layer already exists 18:37:56 eef85231f09c: Layer already exists 18:37:56 3.1.0-dev.24: digest: sha256:cd7144ccc6cdbb6dabd0bb479ea1b8aab9b5f0cddd03cf3c4665d811aebcc9d9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:57 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:1c77e3e660e1ab1a6bc71b3e7411204dc92d963d-3.1.0-dev.24 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:37:59 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:1c77e3e660e1ab1a6bc71b3e7411204dc92d963d-3.1.0-dev.24 18:37:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 18:37:59 eef85231f09c: Preparing 18:37:59 6f37619cc29c: Preparing 18:37:59 7ee15d3770dc: Preparing 18:37:59 06b147122441: Preparing 18:37:59 5f4d9fc4d98d: Preparing 18:37:59 6f37619cc29c: Layer already exists 18:37:59 06b147122441: Layer already exists 18:37:59 eef85231f09c: Layer already exists 18:37:59 5f4d9fc4d98d: Layer already exists 18:37:59 7ee15d3770dc: Layer already exists 18:37:59 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d-3.1.0-dev.24: digest: sha256:cd7144ccc6cdbb6dabd0bb479ea1b8aab9b5f0cddd03cf3c4665d811aebcc9d9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:38:00 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:38:00 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 18:38:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 18:38:00 eef85231f09c: Preparing 18:38:00 6f37619cc29c: Preparing 18:38:00 7ee15d3770dc: Preparing 18:38:00 06b147122441: Preparing 18:38:00 5f4d9fc4d98d: Preparing 18:38:00 5f4d9fc4d98d: Layer already exists 18:38:00 7ee15d3770dc: Layer already exists 18:38:00 eef85231f09c: Layer already exists 18:38:00 06b147122441: Layer already exists 18:38:00 6f37619cc29c: Layer already exists 18:38:00 main: digest: sha256:cd7144ccc6cdbb6dabd0bb479ea1b8aab9b5f0cddd03cf3c4665d811aebcc9d9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:38:00 ===================================================== [Pipeline] echo 18:38:00 taggedImages: 18:38:00 - nexus3.edgexfoundry.org:10004/device-rest-arm64:1c77e3e660e1ab1a6bc71b3e7411204dc92d963d 18:38:00 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 18:38:00 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.24 18:38:00 - nexus3.edgexfoundry.org:10004/device-rest-arm64:1c77e3e660e1ab1a6bc71b3e7411204dc92d963d-3.1.0-dev.24 18:38:00 - 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 18:38:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:38:01 18:38:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:38:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:38:02 arm64: Pulling from edgex-lftools-log-publisher 18:38:02 8998bd30e6a1: Pulling fs layer 18:38:02 04944245beec: Pulling fs layer 18:38:02 699f458cf7ca: Pulling fs layer 18:38:02 765212b225bb: Pulling fs layer 18:38:02 f23df028b6ca: Pulling fs layer 18:38:02 d65c8cfc05b1: Pulling fs layer 18:38:02 2437ff75d9bd: Pulling fs layer 18:38:02 765212b225bb: Waiting 18:38:02 f23df028b6ca: Waiting 18:38:02 d65c8cfc05b1: Waiting 18:38:02 04944245beec: Verifying Checksum 18:38:02 04944245beec: Download complete 18:38:02 765212b225bb: Download complete 18:38:02 f23df028b6ca: Verifying Checksum 18:38:02 f23df028b6ca: Download complete 18:38:02 d65c8cfc05b1: Verifying Checksum 18:38:02 d65c8cfc05b1: Download complete 18:38:02 699f458cf7ca: Verifying Checksum 18:38:02 699f458cf7ca: Download complete 18:38:03 8998bd30e6a1: Verifying Checksum 18:38:03 8998bd30e6a1: Download complete 18:38:05 2437ff75d9bd: Verifying Checksum 18:38:05 2437ff75d9bd: Download complete 18:38:08 8998bd30e6a1: Pull complete 18:38:08 04944245beec: Pull complete 18:38:10 699f458cf7ca: Pull complete 18:38:10 765212b225bb: Pull complete 18:38:11 f23df028b6ca: Pull complete 18:38:11 d65c8cfc05b1: Pull complete 18:38:30 2437ff75d9bd: Pull complete 18:38:30 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:38:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:38:30 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:38:30 prd-ubuntu20.04-docker-arm64-4c-16g-10132 does not seem to be running inside a container 18:38:30 $ 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/144 -v /w/workspace/device-rest-go/144:/w/workspace/device-rest-go/144:rw,z -v /w/workspace/device-rest-go/144@tmp:/w/workspace/device-rest-go/144@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 18:38:33 $ docker top e30ef50ad5fdf2460567b0b5100b63c0da2543bea1db901612fe6bbf50cb99c7 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:38:34 ---> job-cost.sh 18:38:34 lf-activate-venv: SKIPPING 18:38:34 INFO: No Stack... 18:38:35 INFO: Retrieving Pricing Info for: v3-standard-4 18:38:36 INFO: Archiving Costs [Pipeline] sh 18:38:36 + cat /w/workspace/device-rest-go/144/archives/cost.csv 18:38:36 + cut -d, -f6 [Pipeline] lock 18:38:36 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-144-stack-cost] 18:38:36 Resource [jenkins-edgexfoundry-device-rest-go-main-144-stack-cost] did not exist. Created. 18:38:36 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-144-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:38:37 /w/workspace/device-rest-go/144@tmp/durable-cafa381c/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:38:38 + echo total: 0.10999999940395355 [Pipeline] stash 18:38:38 Warning: overwriting stash ‘stack-cost’ 18:38:38 Stashed 1 file(s) [Pipeline] } 18:38:38 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-144-stack-cost] [Pipeline] // lock [Pipeline] } 18:38:38 $ docker stop --time=1 e30ef50ad5fdf2460567b0b5100b63c0da2543bea1db901612fe6bbf50cb99c7 18:38:41 $ docker rm -f --volumes e30ef50ad5fdf2460567b0b5100b63c0da2543bea1db901612fe6bbf50cb99c7 [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 18:38:41 provisioning config files... 18:38:41 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2304432185259369303tmp [Pipeline] { [Pipeline] sh 18:38:42 + set +x 18:38:42 + curl -s https://codecov.io/bash 18:38:42 + bash -s -- 18:38:42 18:38:42 _____ _ 18:38:42 / ____| | | 18:38:42 | | ___ __| | ___ ___ _____ __ 18:38:42 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:38:42 | |___| (_) | (_| | __/ (_| (_) \ V / 18:38:42 \_____\___/ \__,_|\___|\___\___/ \_/ 18:38:42 Bash-1.0.6 18:38:42 18:38:42 18:38:42 ==> git version 2.25.1 found 18:38:42 ==> 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 18:38:42 Release-Date: 2020-01-08 18:38:42 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:38:42 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:38:42 ==> Jenkins CI detected. 18:38:42 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 18:38:42 project root: . 18:38:42 --> token set from env 18:38:42 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:38:42 ==> Running gcov in . (disable via -X gcov) 18:38:42 ==> Python coveragepy not found 18:38:42 ==> Searching for coverage reports in: 18:38:42 + . 18:38:42 -> Found 1 reports 18:38:42 ==> Detecting git/mercurial file structure 18:38:42 ==> Reading reports 18:38:42 + ./coverage.out bytes=14499 18:38:42 ==> Appending adjustments 18:38:42 https://docs.codecov.io/docs/fixing-reports 18:38:42 + Found adjustments 18:38:42 ==> Gzipping contents 18:38:42 4.0K /tmp/codecov.A9oF95.gz 18:38:42 ==> Uploading reports 18:38:42 url: https://codecov.io 18:38:42 query: branch=main&commit=1c77e3e660e1ab1a6bc71b3e7411204dc92d963d&build=144&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F144%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:38:42 -> Pinging Codecov 18:38:42 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=1c77e3e660e1ab1a6bc71b3e7411204dc92d963d&build=144&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F144%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:38:42 -> Uploading to 18:38:42 https://storage.googleapis.com/codecov/v4/raw/2023-10-24/4E5D53B4F1F92C436F7061BF334D961C/1c77e3e660e1ab1a6bc71b3e7411204dc92d963d/b63c3957-1e21-4a29-9edb-30899658e276.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T183842Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=5a3cdce403f37af705c9f26886266827268ed335430da1856d8fe1cf1f18bd26 18:38:42 % Total % Received % Xferd Average Speed Time Time Time Current 18:38:42 Dload Upload Total Spent Left Speed 18:38:43 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 7841 --:--:-- --:--:-- --:--:-- 7841 18:38:43 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/1c77e3e660e1ab1a6bc71b3e7411204dc92d963d [Pipeline] } 18:38:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:38:43 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:38:43 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:38:43 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:38:43 18:38:43 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:38:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:38:43 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:38:43 df9b9388f04a: Pulling fs layer 18:38:43 52dc419b0ee2: Pulling fs layer 18:38:43 25bc292e5bac: Pulling fs layer 18:38:43 114826534d7a: Pulling fs layer 18:38:43 4657fd5d0bcf: Pulling fs layer 18:38:43 6ad1cebc031e: Pulling fs layer 18:38:43 8a3aa393b2d8: Pulling fs layer 18:38:43 6ad1cebc031e: Waiting 18:38:43 114826534d7a: Waiting 18:38:43 8a3aa393b2d8: Waiting 18:38:43 4657fd5d0bcf: Waiting 18:38:43 25bc292e5bac: Verifying Checksum 18:38:43 25bc292e5bac: Download complete 18:38:43 52dc419b0ee2: Verifying Checksum 18:38:43 52dc419b0ee2: Download complete 18:38:43 4657fd5d0bcf: Download complete 18:38:43 df9b9388f04a: Verifying Checksum 18:38:44 df9b9388f04a: Pull complete 18:38:44 52dc419b0ee2: Pull complete 18:38:44 25bc292e5bac: Pull complete 18:38:44 6ad1cebc031e: Verifying Checksum 18:38:44 6ad1cebc031e: Download complete 18:38:44 114826534d7a: Verifying Checksum 18:38:44 114826534d7a: Download complete 18:38:44 8a3aa393b2d8: Verifying Checksum 18:38:44 8a3aa393b2d8: Download complete 18:38:49 114826534d7a: Pull complete 18:38:49 4657fd5d0bcf: Pull complete 18:38:49 6ad1cebc031e: Pull complete 18:38:51 8a3aa393b2d8: Pull complete 18:38:51 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 18:38:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:38:51 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:38:51 prd-ubuntu20.04-docker-8c-8g-10103 does not seem to be running inside a container 18:38:51 $ 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 18:38:58 $ docker top b12edf5ec7eb133307c97b8d7c242dd54ee8d26bd1372204249c935c1d37af01 -eo pid,comm [Pipeline] { [Pipeline] echo 18:38:58 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 18:38:58 + set -o pipefail 18:38:58 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 18:39:05 18:39:05 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 18:39:05 18:39:05 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/ac7a6350-8bba-4a74-8e21-302845a15e23 18:39:05 18:39:05 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:39:05 18:39:05 18:39:05 A medium severity vulnerability was found in the Snyk CLI versions you are using. 18:39:05 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 18:39:05 More details here: https://snyk.co/ue1NS [Pipeline] } 18:39:05 $ docker stop --time=1 b12edf5ec7eb133307c97b8d7c242dd54ee8d26bd1372204249c935c1d37af01 18:39:09 $ docker rm -f --volumes b12edf5ec7eb133307c97b8d7c242dd54ee8d26bd1372204249c935c1d37af01 [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 18:39:10 + git log --format=format:%s -1 1c77e3e660e1ab1a6bc71b3e7411204dc92d963d [Pipeline] sh 18:39:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:39:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:39:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:39:10 prd-ubuntu20.04-docker-8c-8g-10103 does not seem to be running inside a container 18:39:10 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:39:11 $ docker top f8defa20a567b1677c5921fac20571484eea108876e0ee143e949f7c4ce2deba -eo pid,comm 18:39:11 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:39:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:39:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:39:11 [ssh-agent] Looking for ssh-agent implementation... 18:39:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:39:11 $ docker exec f8defa20a567b1677c5921fac20571484eea108876e0ee143e949f7c4ce2deba ssh-agent 18:39:11 SSH_AUTH_SOCK=/tmp/ssh-zxKrrrcPEfkS/agent.32 18:39:11 SSH_AGENT_PID=39 18:39:11 Running ssh-add (command line suppressed) 18:39:11 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13373600535611962340.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13373600535611962340.key) 18:39:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:39:11 + git semver tag 18:39:12 2023-10-24 18:39:12,113 [run_tag] DEBUG tag force:False 18:39:12 2023-10-24 18:39:12,114 [check_head_tag] DEBUG check head tag 18:39:12 2023-10-24 18:39:12,114 [execute] INFO git cat-file --batch-check 18:39:12 2023-10-24 18:39:12,114 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 18:39:12 2023-10-24 18:39:12,119 [execute] INFO git cat-file --batch 18:39:12 2023-10-24 18:39:12,119 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 18:39:12 2023-10-24 18:39:12,134 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:39:12 2023-10-24 18:39:12,134 [execute] INFO git tag -a v3.1.0-dev.24 -m v3.1.0-dev.24 18:39:12 2023-10-24 18:39:12,135 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.24', '-m', 'v3.1.0-dev.24'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 18:39:12 2023-10-24 18:39:12,140 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:39:12 3.1.0-dev.24 [Pipeline] } 18:39:12 $ docker exec --env ******** --env ******** f8defa20a567b1677c5921fac20571484eea108876e0ee143e949f7c4ce2deba ssh-agent -k 18:39:12 unset SSH_AUTH_SOCK; 18:39:12 unset SSH_AGENT_PID; 18:39:12 echo Agent pid 39 killed; 18:39:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:39:12 + git semver [Pipeline] } 18:39:12 $ docker stop --time=1 f8defa20a567b1677c5921fac20571484eea108876e0ee143e949f7c4ce2deba 18:39:14 $ docker rm -f --volumes f8defa20a567b1677c5921fac20571484eea108876e0ee143e949f7c4ce2deba [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:39:14 18:39:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:39:14 0.23.1-centos7: Pulling from edgex-lftools 18:39:14 ab5ef0e58194: Pulling fs layer 18:39:14 9712f1f96733: Pulling fs layer 18:39:14 63f879dbbcfc: Pulling fs layer 18:39:14 0d9ebad4ef96: Pulling fs layer 18:39:14 e9a5061849ea: Pulling fs layer 18:39:14 d747dcd14b5f: Pulling fs layer 18:39:14 2de7ff778b66: Pulling fs layer 18:39:14 0d9ebad4ef96: Waiting 18:39:14 e9a5061849ea: Waiting 18:39:14 d747dcd14b5f: Waiting 18:39:14 2de7ff778b66: Waiting 18:39:14 9712f1f96733: Verifying Checksum 18:39:14 9712f1f96733: Download complete 18:39:16 63f879dbbcfc: Verifying Checksum 18:39:16 63f879dbbcfc: Download complete 18:39:16 0d9ebad4ef96: Verifying Checksum 18:39:16 0d9ebad4ef96: Download complete 18:39:16 e9a5061849ea: Verifying Checksum 18:39:16 e9a5061849ea: Download complete 18:39:16 d747dcd14b5f: Verifying Checksum 18:39:16 d747dcd14b5f: Download complete 18:39:16 ab5ef0e58194: Verifying Checksum 18:39:16 ab5ef0e58194: Download complete 18:39:16 2de7ff778b66: Verifying Checksum 18:39:16 2de7ff778b66: Download complete 18:39:19 ab5ef0e58194: Pull complete 18:39:19 9712f1f96733: Pull complete 18:39:20 63f879dbbcfc: Pull complete 18:39:24 0d9ebad4ef96: Pull complete 18:39:24 e9a5061849ea: Pull complete 18:39:24 d747dcd14b5f: Pull complete 18:39:25 2de7ff778b66: Pull complete 18:39:25 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:39:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:39:25 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:39:25 prd-ubuntu20.04-docker-8c-8g-10103 does not seem to be running inside a container 18:39: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 18:39:29 $ docker top 012d24f1618ff78b05f25277b2fab89e9bbe277ddea13455ec342863c41117f3 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:39:29 provisioning config files... 18:39:29 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15101148003949687272tmp 18:39:29 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config859044559480617387tmp 18:39:29 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5113620105907971893tmp [Pipeline] { [Pipeline] echo 18:39:29 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:39:29 ---> sigul-configuration.sh 18:39:29 gpg: directory `/root/.gnupg' created 18:39:29 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:39:29 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:39:29 gpg: keyring `/root/.gnupg/secring.gpg' created 18:39:29 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:39:29 gpg: CAST5 encrypted data 18:39:29 gpg: encrypted with 1 passphrase 18:39:29 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:39:30 + mkdir /home/jenkins 18:39:30 + mkdir /home/jenkins/sigul [Pipeline] sh 18:39:30 + 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 18:39:30 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:39:30 ---> sigul-install.sh 18:39:30 Sigul already installed; skipping installation. [Pipeline] sh 18:39:31 + git tag --list 18:39:31 v1.0.0 18:39:31 v1.1.0 18:39:31 v1.1.1 18:39:31 v1.1.2 18:39:31 v1.2.0 18:39:31 v1.2.1 18:39:31 v2.0.0 18:39:31 v2.1.0 18:39:31 v2.1.1 18:39:31 v2.2.0 18:39:31 v2.3.0 18:39:31 v3.0 18:39:31 v3.0.0 18:39:31 v3.1.0-dev.1 18:39:31 v3.1.0-dev.10 18:39:31 v3.1.0-dev.11 18:39:31 v3.1.0-dev.12 18:39:31 v3.1.0-dev.13 18:39:31 v3.1.0-dev.14 18:39:31 v3.1.0-dev.15 18:39:31 v3.1.0-dev.16 18:39:31 v3.1.0-dev.17 18:39:31 v3.1.0-dev.18 18:39:31 v3.1.0-dev.19 18:39:31 v3.1.0-dev.2 18:39:31 v3.1.0-dev.20 18:39:31 v3.1.0-dev.21 18:39:31 v3.1.0-dev.22 18:39:31 v3.1.0-dev.23 18:39:31 v3.1.0-dev.24 18:39:31 v3.1.0-dev.3 18:39:31 v3.1.0-dev.4 18:39:31 v3.1.0-dev.5 18:39:31 v3.1.0-dev.6 18:39:31 v3.1.0-dev.7 18:39:31 v3.1.0-dev.8 18:39:31 v3.1.0-dev.9 [Pipeline] sh 18:39:31 + lftools sign git-tag v3.1.0-dev.24 18:39:31 Signing Git tag with Sigul... 18:39:31 Signing v3.1.0-dev.24 [Pipeline] echo 18:39:32 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:39:32 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:39:32 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:39:32 $ docker stop --time=1 012d24f1618ff78b05f25277b2fab89e9bbe277ddea13455ec342863c41117f3 18:39:33 $ docker rm -f --volumes 012d24f1618ff78b05f25277b2fab89e9bbe277ddea13455ec342863c41117f3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:39:34 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:39:34 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:39:34 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:39:34 prd-ubuntu20.04-docker-8c-8g-10103 does not seem to be running inside a container 18:39:34 $ 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 18:39:35 $ docker top 1e25c2dd44c80c6324854ccecda1672338edb723a2bdffdcf645524a90aacc4d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:39:35 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:39:35 [ssh-agent] Looking for ssh-agent implementation... 18:39:35 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:39:35 $ docker exec 1e25c2dd44c80c6324854ccecda1672338edb723a2bdffdcf645524a90aacc4d ssh-agent 18:39:35 SSH_AUTH_SOCK=/tmp/ssh-ztLWpgNMCw7T/agent.32 18:39:35 SSH_AGENT_PID=39 18:39:35 Running ssh-add (command line suppressed) 18:39:35 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_401478719852037034.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_401478719852037034.key) 18:39:35 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:39:35 + git semver bump pre 18:39:36 2023-10-24 18:39:36,063 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:39:36 2023-10-24 18:39:36,063 [bump_version] DEBUG bumping version:3.1.0-dev.24 on axis:pre with prefix:dev 18:39:36 2023-10-24 18:39:36,063 [bump_version] DEBUG bumped version:3.1.0-dev.25 18:39:36 2023-10-24 18:39:36,063 [write_version] DEBUG write version:3.1.0-dev.25 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 18:39:36 2023-10-24 18:39:36,064 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:39:36 2023-10-24 18:39:36,064 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:39:36 2023-10-24 18:39:36,066 [execute] INFO git cat-file --batch-check 18:39:36 2023-10-24 18:39:36,066 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:39:36 2023-10-24 18:39:36,072 [execute] INFO git cat-file --batch 18:39:36 2023-10-24 18:39:36,072 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:39:36 2023-10-24 18:39:36,077 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:39:36 3.1.0-dev.25 [Pipeline] } 18:39:36 $ docker exec --env ******** --env ******** 1e25c2dd44c80c6324854ccecda1672338edb723a2bdffdcf645524a90aacc4d ssh-agent -k 18:39:36 unset SSH_AUTH_SOCK; 18:39:36 unset SSH_AGENT_PID; 18:39:36 echo Agent pid 39 killed; 18:39:36 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:39:36 + git semver [Pipeline] } 18:39:36 $ docker stop --time=1 1e25c2dd44c80c6324854ccecda1672338edb723a2bdffdcf645524a90aacc4d 18:39:38 $ docker rm -f --volumes 1e25c2dd44c80c6324854ccecda1672338edb723a2bdffdcf645524a90aacc4d [Pipeline] // withDockerContainer [Pipeline] sh 18:39:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:39:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:39:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:39:38 prd-ubuntu20.04-docker-8c-8g-10103 does not seem to be running inside a container 18:39:38 $ 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 18:39:39 $ docker top 009b473dffb136ce6672b9e4da1a7a93dc9180e82d22b8f6996f934fb9bbd224 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:39:39 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:39:39 [ssh-agent] Looking for ssh-agent implementation... 18:39:39 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:39:39 $ docker exec 009b473dffb136ce6672b9e4da1a7a93dc9180e82d22b8f6996f934fb9bbd224 ssh-agent 18:39:39 SSH_AUTH_SOCK=/tmp/ssh-1bAIbujkkr2G/agent.31 18:39:39 SSH_AGENT_PID=37 18:39:39 Running ssh-add (command line suppressed) 18:39:39 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7579365689025188588.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7579365689025188588.key) 18:39:39 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:39:40 + git semver push 18:39:40 2023-10-24 18:39:40,277 [run_push] DEBUG push 18:39:40 2023-10-24 18:39:40,278 [execute] INFO git cat-file --batch-check 18:39:40 2023-10-24 18:39:40,278 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:39:40 2023-10-24 18:39:40,283 [execute] INFO git rev-list 67a46936d42a7d9b2376d5897e1f49f9cd4f2b73 -- 18:39:40 2023-10-24 18:39:40,283 [execute] DEBUG Popen(['git', 'rev-list', '67a46936d42a7d9b2376d5897e1f49f9cd4f2b73', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:39:40 2023-10-24 18:39:40,292 [execute] INFO git fetch -v origin 18:39:40 2023-10-24 18:39:40,293 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 18:39:40 2023-10-24 18:39:40,856 [run_push] DEBUG no remote changes detected 18:39:40 2023-10-24 18:39:40,856 [execute] INFO git push origin semver 18:39:40 2023-10-24 18:39:40,857 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:39:41 2023-10-24 18:39:41,708 [run_push] DEBUG push all version tags 18:39:41 2023-10-24 18:39:41,709 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 18:39:41 2023-10-24 18:39:41,709 [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) 18:39:42 2023-10-24 18:39:42,481 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:39:42 3.1.0-dev.25 [Pipeline] } 18:39:42 $ docker exec --env ******** --env ******** 009b473dffb136ce6672b9e4da1a7a93dc9180e82d22b8f6996f934fb9bbd224 ssh-agent -k 18:39:42 unset SSH_AUTH_SOCK; 18:39:42 unset SSH_AGENT_PID; 18:39:42 echo Agent pid 37 killed; 18:39:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:39:43 + git semver [Pipeline] } 18:39:43 $ docker stop --time=1 009b473dffb136ce6672b9e4da1a7a93dc9180e82d22b8f6996f934fb9bbd224 18:39:44 $ docker rm -f --volumes 009b473dffb136ce6672b9e4da1a7a93dc9180e82d22b8f6996f934fb9bbd224 [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 18:39:45 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 18:39:45 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 18:39:45 total 16 18:39:45 drwxr-xr-x 3 root root 4096 Oct 24 18:27 . 18:39:45 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 18:39 .. 18:39:45 drwxr-xr-x 2 root root 4096 Oct 24 18:27 cost 18:39:45 -rw-r--r-- 1 root root 86 Oct 24 18:27 cost.csv 18:39:45 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 18:39:45 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 18:39:45 total 16 18:39:45 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 18:27 . 18:39:45 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 18:39 .. 18:39:45 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 18:27 cost 18:39:45 -rw-r--r-- 1 jenkins jenkins 86 Oct 24 18:27 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:39:45 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:39:46 ---> package-listing.sh 18:39:46 ++ facter osfamily 18:39:46 ++ tr '[:upper:]' '[:lower:]' 18:39:46 + OS_FAMILY=debian 18:39:46 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 18:39:46 + START_PACKAGES=/tmp/packages_start.txt 18:39:46 + END_PACKAGES=/tmp/packages_end.txt 18:39:46 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:39:46 + PACKAGES=/tmp/packages_start.txt 18:39:46 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 18:39:46 + PACKAGES=/tmp/packages_end.txt 18:39:46 + case "${OS_FAMILY}" in 18:39:46 + dpkg -l 18:39:46 + grep '^ii' 18:39:46 + '[' -f /tmp/packages_start.txt ']' 18:39:46 + '[' -f /tmp/packages_end.txt ']' 18:39:46 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:39:46 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 18:39:46 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 18:39:46 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 18:39:46 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 18:39:47 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:39:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:39:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:39:47 prd-ubuntu20.04-docker-8c-8g-10103 does not seem to be running inside a container 18:39:47 $ 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 18:39:47 $ docker top 8d3ea3fdef085c5c688b89067feb121a83bffa75dad829772d529bd91b5c0e88 -eo pid,comm [Pipeline] { [Pipeline] sh 18:39:48 + touch /tmp/pre-build-complete [Pipeline] sh 18:39:48 + mkdir -p /var/log/sysstat [Pipeline] sh 18:39:48 + ls /var/log/sa-host 18:39:48 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:39:48 provisioning config files... 18:39:48 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9277727708172778888tmp [Pipeline] { [Pipeline] echo 18:39:48 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:39:49 ---> create-netrc.sh [Pipeline] } 18:39:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:39:49 ---> python-tools-install.sh [Pipeline] echo 18:39:49 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:39:49 ---> sudo-logs.sh 18:39:49 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:39:49 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:39:50 ---> job-cost.sh 18:39:50 lf-activate-venv: SKIPPING 18:39:50 DEBUG: total: 0.2199999988079071 18:39:50 INFO: Retrieving Stack Cost... 18:39:50 INFO: Retrieving Pricing Info for: v3-standard-8 18:39:50 INFO: Archiving Costs [Pipeline] echo 18:39:51 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:39:51 ---> logs-deploy.sh 18:39:51 lf-activate-venv: SKIPPING 18:39:51 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/144 18:39:51 INFO: archiving workspace using pattern(s): 18:39:52 Archives upload complete. 18:39:52 INFO: archiving logs to Nexus