Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 7d823389a6fd487dd609ea6f37b5e7dbe8da964e 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-ssh6587993239613193458.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-ssh973984101426556934.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-ssh11146428590320514917.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-ssh11866547548870365154.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-ssh12003433182150555928.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-7216 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 7d823389a6fd487dd609ea6f37b5e7dbe8da964e (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 7d823389a6fd487dd609ea6f37b5e7dbe8da964e # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#344)" > git rev-list --no-walk 6a5bbfd9e0df4486290843fbebd273780ea8bdd3 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:42:57 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:42:57 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:42:57 ========================================================= 20:42:57 EdgeX Global Pipelines Version Info 20:42:57 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:42:57 ------------------- 20:42:57 stable info: 20:42:57 ------------------- 20:42:57 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:42:57 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:42:57 Message: update stable to v1.0.254 20:42:58 ------------------- 20:42:58 experimental info: 20:42:58 ------------------- 20:42:58 Commited By: **** collab-it+edgex@linuxfoundation.org 20:42:58 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 20:42:58 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:42:58 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:42:58 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:42:58 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:42:58 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:42:58 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:42:58 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 20:42:58 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:42:58 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:42:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:42:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:42:58 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:42:58 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:42:58 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:42:58 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:42:58 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:42:58 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:42:58 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:42:58 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:42:58 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:42:59 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:42:59 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:42:59 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:42:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:42:59 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:42:59 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:42:59 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:42:59 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:42:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:42:59 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:42:59 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:42:59 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 7d823389a6fd487dd609ea6f37b5e7dbe8da964e [Pipeline] echo 20:42:59 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7d82338 [Pipeline] echo 20:42:59 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:42:59 provisioning config files... 20:42:59 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6795333566306933611tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:42:59 ---> docker-login.sh 20:42:59 nexus3.edgexfoundry.org:10001 20:43:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:00 Configure a credential helper to remove this warning. See 20:43:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:00 20:43:00 Login Succeeded 20:43:00 nexus3.edgexfoundry.org:10002 20:43:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:00 Configure a credential helper to remove this warning. See 20:43:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:00 20:43:01 Login Succeeded 20:43:01 nexus3.edgexfoundry.org:10003 20:43:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:01 Configure a credential helper to remove this warning. See 20:43:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:01 20:43:01 Login Succeeded 20:43:01 nexus3.edgexfoundry.org:10004 20:43:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:01 Configure a credential helper to remove this warning. See 20:43:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:01 20:43:01 Login Succeeded 20:43:01 docker.io 20:43:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:01 Configure a credential helper to remove this warning. See 20:43:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:01 20:43:01 Login Succeeded 20:43:01 ---> docker-login.sh ends [Pipeline] } 20:43:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:43:02 + git rev-list -1 --merges 7d823389a6fd487dd609ea6f37b5e7dbe8da964e~1..7d823389a6fd487dd609ea6f37b5e7dbe8da964e [Pipeline] echo 20:43:02 -----------> git rev-list -1 --merges 7d823389a6fd487dd609ea6f37b5e7dbe8da964e~1..7d823389a6fd487dd609ea6f37b5e7dbe8da964e 7d823389a6fd487dd609ea6f37b5e7dbe8da964e [false] [Pipeline] sh 20:43:02 + git log --format=format:%s -1 7d823389a6fd487dd609ea6f37b5e7dbe8da964e [Pipeline] echo 20:43:02 ========================================================= 20:43:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:43:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:43:02 + git log --format=format:%s -1 7d823389a6fd487dd609ea6f37b5e7dbe8da964e [Pipeline] echo 20:43:02 [semverPrep] GIT_COMMIT: 7d823389a6fd487dd609ea6f37b5e7dbe8da964e, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#344) [Pipeline] echo 20:43:02 [semverPrep] This is not a build commit. [Pipeline] sh 20:43:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:43:03 + grep -v github /etc/ssh/ssh_known_hosts 20:43:03 + [ -e /tmp/ssh_known_hosts ] 20:43:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:43:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:43:03 + sudo tee -a /etc/ssh/ssh_known_hosts 20:43:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:43:03 20:43:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:43:04 0.1.4: Pulling from edgex-devops/py-git-semver 20:43:04 b85a868b505f: Pulling fs layer 20:43:04 e2be974225ed: Pulling fs layer 20:43:04 339a4e72a1f5: Pulling fs layer 20:43:04 988bab9f4d93: Pulling fs layer 20:43:04 1469e6f7b9e6: Pulling fs layer 20:43:04 eaf3925da568: Pulling fs layer 20:43:04 bab4dde63d76: Pulling fs layer 20:43:04 bde34c3a00c8: Pulling fs layer 20:43:04 b352a97aabf1: Pulling fs layer 20:43:04 4872d77fe225: Pulling fs layer 20:43:04 5851b861e8e6: Pulling fs layer 20:43:04 988bab9f4d93: Waiting 20:43:04 1469e6f7b9e6: Waiting 20:43:04 eaf3925da568: Waiting 20:43:04 bab4dde63d76: Waiting 20:43:04 bde34c3a00c8: Waiting 20:43:04 b352a97aabf1: Waiting 20:43:04 4872d77fe225: Waiting 20:43:04 5851b861e8e6: Waiting 20:43:04 e2be974225ed: Download complete 20:43:04 988bab9f4d93: Download complete 20:43:04 1469e6f7b9e6: Verifying Checksum 20:43:04 1469e6f7b9e6: Download complete 20:43:04 eaf3925da568: Verifying Checksum 20:43:04 eaf3925da568: Download complete 20:43:04 339a4e72a1f5: Verifying Checksum 20:43:04 339a4e72a1f5: Download complete 20:43:04 bde34c3a00c8: Verifying Checksum 20:43:04 bde34c3a00c8: Download complete 20:43:04 b352a97aabf1: Verifying Checksum 20:43:04 b352a97aabf1: Download complete 20:43:04 4872d77fe225: Verifying Checksum 20:43:04 4872d77fe225: Download complete 20:43:04 5851b861e8e6: Download complete 20:43:04 b85a868b505f: Download complete 20:43:04 bab4dde63d76: Verifying Checksum 20:43:04 bab4dde63d76: Download complete 20:43:05 b85a868b505f: Pull complete 20:43:05 e2be974225ed: Pull complete 20:43:06 339a4e72a1f5: Pull complete 20:43:06 988bab9f4d93: Pull complete 20:43:06 1469e6f7b9e6: Pull complete 20:43:06 eaf3925da568: Pull complete 20:43:08 bab4dde63d76: Pull complete 20:43:08 bde34c3a00c8: Pull complete 20:43:08 b352a97aabf1: Pull complete 20:43:08 4872d77fe225: Pull complete 20:43:08 5851b861e8e6: Pull complete 20:43:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:43:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:43:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:43:09 prd-ubuntu20.04-docker-8c-8g-7216 does not seem to be running inside a container 20:43:09 $ 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 20:43:11 $ docker top 03160648ae017901fbde7734072bf8769fcf825e4d884057ccf522a88e75dc4f -eo pid,comm 20:43: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). 20:43:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:43:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:43:11 [ssh-agent] Looking for ssh-agent implementation... 20:43:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:43:11 $ docker exec 03160648ae017901fbde7734072bf8769fcf825e4d884057ccf522a88e75dc4f ssh-agent 20:43:11 SSH_AUTH_SOCK=/tmp/ssh-TFW3IC1aTbmZ/agent.33 20:43:11 SSH_AGENT_PID=39 20:43:11 Running ssh-add (command line suppressed) 20:43:11 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14537790604671755927.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14537790604671755927.key) 20:43:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:43:11 + git tag --points-at HEAD [Pipeline] } 20:43:11 $ docker exec --env ******** --env ******** 03160648ae017901fbde7734072bf8769fcf825e4d884057ccf522a88e75dc4f ssh-agent -k 20:43:11 unset SSH_AUTH_SOCK; 20:43:11 unset SSH_AGENT_PID; 20:43:11 echo Agent pid 39 killed; 20:43:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:43:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:43:12 [ssh-agent] Looking for ssh-agent implementation... 20:43:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:43:12 $ docker exec 03160648ae017901fbde7734072bf8769fcf825e4d884057ccf522a88e75dc4f ssh-agent 20:43:12 SSH_AUTH_SOCK=/tmp/ssh-oj6v9atQ3jRj/agent.71 20:43:12 SSH_AGENT_PID=77 20:43:12 Running ssh-add (command line suppressed) 20:43:12 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14440284438421752611.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14440284438421752611.key) 20:43:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:43:12 + git semver init 20:43:12 2023-09-20 20:43:12,846 [run_init] DEBUG init version:0.0.0 force:False 20:43:12 2023-09-20 20:43:12,846 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 20:43:12 2023-09-20 20:43:12,847 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 20:43:12 2023-09-20 20:43:12,847 [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) 20:43:14 2023-09-20 20:43:14,011 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 20:43:14 2023-09-20 20:43:14,013 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 20:43:14 2023-09-20 20:43:14,013 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:43:14 2023-09-20 20:43:14,014 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:43:14 3.1.0-dev.15 [Pipeline] } 20:43:14 $ docker exec --env ******** --env ******** 03160648ae017901fbde7734072bf8769fcf825e4d884057ccf522a88e75dc4f ssh-agent -k 20:43:14 unset SSH_AUTH_SOCK; 20:43:14 unset SSH_AGENT_PID; 20:43:14 echo Agent pid 77 killed; 20:43:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:43:14 + git semver [Pipeline] } 20:43:15 $ docker stop --time=1 03160648ae017901fbde7734072bf8769fcf825e4d884057ccf522a88e75dc4f 20:43:16 $ docker rm -f --volumes 03160648ae017901fbde7734072bf8769fcf825e4d884057ccf522a88e75dc4f [Pipeline] // withDockerContainer [Pipeline] sh 20:43:16 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:43:16 Stashed 1 file(s) [Pipeline] echo 20:43:16 [edgeXSemver]: initialized semver on version 3.1.0-dev.15 [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 20:43:17 provisioning config files... 20:43:17 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5898268637453159986tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:43:17 ---> docker-login.sh 20:43:17 nexus3.edgexfoundry.org:10001 20:43:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:17 Configure a credential helper to remove this warning. See 20:43:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:17 20:43:17 Login Succeeded 20:43:17 nexus3.edgexfoundry.org:10002 20:43:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:17 Configure a credential helper to remove this warning. See 20:43:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:17 20:43:17 Login Succeeded 20:43:17 nexus3.edgexfoundry.org:10003 20:43:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:17 Configure a credential helper to remove this warning. See 20:43:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:17 20:43:17 Login Succeeded 20:43:17 nexus3.edgexfoundry.org:10004 20:43:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:17 Configure a credential helper to remove this warning. See 20:43:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:17 20:43:17 Login Succeeded 20:43:17 docker.io 20:43:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:43:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:43:18 Configure a credential helper to remove this warning. See 20:43:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:43:18 20:43:18 Login Succeeded 20:43:18 ---> docker-login.sh ends [Pipeline] } 20:43:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:43:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:43:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:43:18 ========================================================= 20:43:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 20:43:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43: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 . 20:43:18 Sending build context to Docker daemon 10.9MB 20:43:18 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:43:18 Step 2/12 : FROM ${BASE} AS builder 20:43:18 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 20:43:18 7264a8db6415: Pulling fs layer 20:43:18 c4d48a809fc2: Pulling fs layer 20:43:18 4f1c88b9dad5: Pulling fs layer 20:43:18 ad3a456e5733: Pulling fs layer 20:43:18 33e27b845d1e: Pulling fs layer 20:43:18 c68163c4e522: Pulling fs layer 20:43:18 50da416c3ac9: Pulling fs layer 20:43:18 23d2d4c4bb30: Pulling fs layer 20:43:18 ad3a456e5733: Waiting 20:43:18 33e27b845d1e: Waiting 20:43:18 c68163c4e522: Waiting 20:43:18 50da416c3ac9: Waiting 20:43:18 c4d48a809fc2: Download complete 20:43:18 ad3a456e5733: Verifying Checksum 20:43:18 ad3a456e5733: Download complete 20:43:18 33e27b845d1e: Verifying Checksum 20:43:18 33e27b845d1e: Download complete 20:43:18 7264a8db6415: Verifying Checksum 20:43:18 7264a8db6415: Download complete 20:43:18 c68163c4e522: Verifying Checksum 20:43:18 c68163c4e522: Download complete 20:43:18 7264a8db6415: Pull complete 20:43:18 c4d48a809fc2: Pull complete 20:43:19 23d2d4c4bb30: Verifying Checksum 20:43:19 23d2d4c4bb30: Download complete 20:43:19 4f1c88b9dad5: Verifying Checksum 20:43:19 4f1c88b9dad5: Download complete 20:43:20 50da416c3ac9: Verifying Checksum 20:43:20 50da416c3ac9: Download complete 20:43:22 4f1c88b9dad5: Pull complete 20:43:22 ad3a456e5733: Pull complete 20:43:22 33e27b845d1e: Pull complete 20:43:22 c68163c4e522: Pull complete 20:43:25 50da416c3ac9: Pull complete 20:43:25 23d2d4c4bb30: Pull complete 20:43:25 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 20:43:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 20:43:25 ---> 0786185ac409 20:43:25 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:43:29 ---> Running in 4ff28c088d87 20:43:29 Removing intermediate container 4ff28c088d87 20:43:29 ---> fe4a76ba9a82 20:43:29 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:43:29 ---> Running in f4fb707bdb9c 20:43:29 Removing intermediate container f4fb707bdb9c 20:43:29 ---> a22a7335aeb5 20:43:29 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:43:29 ---> Running in 33e08d23fc84 20:43:29 Removing intermediate container 33e08d23fc84 20:43:29 ---> 705be57ad097 20:43:29 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:43:29 ---> Running in ad11c70972ed 20:43:29 Removing intermediate container ad11c70972ed 20:43:29 ---> b5abe3418493 20:43:29 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:43:29 ---> Running in 97df14947fe5 20:43:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:43:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:43:30 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:43:30 (2/4) Installing libedit (20221030.3.1-r1) 20:43:30 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:43:30 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:43:30 Executing busybox-1.36.1-r2.trigger 20:43:30 OK: 268 MiB in 56 packages 20:43:30 Removing intermediate container 97df14947fe5 20:43:30 ---> 8a5ded63e1d6 20:43:30 Step 8/12 : WORKDIR /device-rest-go 20:43:30 ---> Running in f19f4597ebec 20:43:31 Removing intermediate container f19f4597ebec 20:43:31 ---> 742d0fe7f3c8 20:43:31 Step 9/12 : COPY go.mod vendor* ./ 20:43:31 ---> ef8eacd9eb64 20:43:31 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:43:31 ---> Running in 6ffc18f2e79b 20:43:32 Still waiting to schedule task 20:43:32 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 20:44:03 Removing intermediate container 6ffc18f2e79b 20:44:03 ---> de5f01dcf460 20:44:03 Step 11/12 : COPY . . 20:44:03 ---> 296fc616f57a 20:44:03 Step 12/12 : RUN $MAKE 20:44:03 ---> Running in 9a7a647cd851 20:44:03 noop 20:44:03 Removing intermediate container 9a7a647cd851 20:44:03 ---> 4d0525b71858 20:44:03 Successfully built 4d0525b71858 20:44:03 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:03 + docker inspect -f . ci-base-image-x86_64 20:44:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:44:03 prd-ubuntu20.04-docker-8c-8g-7216 does not seem to be running inside a container 20:44:03 $ 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 20:44:03 $ docker top d03281e52a43172150c22b49f93de53716c00c211a6ffe0439e6ab909c07a614 -eo pid,comm [Pipeline] { [Pipeline] sh 20:44:04 + go version 20:44:04 go version go1.21.0 linux/amd64 [Pipeline] } 20:44:04 $ docker stop --time=1 d03281e52a43172150c22b49f93de53716c00c211a6ffe0439e6ab909c07a614 20:44:05 $ docker rm -f --volumes d03281e52a43172150c22b49f93de53716c00c211a6ffe0439e6ab909c07a614 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:06 + docker inspect -f . ci-base-image-x86_64 20:44:06 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:44:09 prd-ubuntu20.04-docker-8c-8g-7216 does not seem to be running inside a container 20:44:09 $ 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 20:44:09 $ docker top d1bede5522cbb56d41511276720d7ab6e89ba336a683e42ccf2f6d4147b20ab6 -eo pid,comm [Pipeline] { [Pipeline] sh 20:44:09 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 20:44:10 + make test 20:44:10 go test ./... -coverprofile=coverage.out ./... 20:44:11 ? github.com/edgexfoundry/device-rest-go [no test files] 20:44:21 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:44:21 ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 33.2% of statements 20:44:28 go vet ./... 20:44:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:44:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:44:30 ./bin/test-attribution-txt.sh [Pipeline] echo 20:44:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:44:30 $ docker stop --time=1 d1bede5522cbb56d41511276720d7ab6e89ba336a683e42ccf2f6d4147b20ab6 20:44:33 $ docker rm -f --volumes d1bede5522cbb56d41511276720d7ab6e89ba336a683e42ccf2f6d4147b20ab6 [Pipeline] // withDockerContainer [Pipeline] sh 20:44:33 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:44:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:44:34 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:44:34 + ls -al . 20:44:34 total 188 20:44:34 drwxrwxr-x 9 jenkins jenkins 4096 Sep 20 20:44 . 20:44:34 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:42 .. 20:44:34 -rw-rw-r-- 1 jenkins jenkins 151 Sep 20 20:42 .dockerignore 20:44:34 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 20:44 .git 20:44:34 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:42 .github 20:44:34 -rw-rw-r-- 1 jenkins jenkins 329 Sep 20 20:42 .gitignore 20:44:34 -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 20:42 .golangci.yml 20:44:34 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 20:43 .semver 20:44:34 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 20 20:42 Attribution.txt 20:44:34 -rw-rw-r-- 1 jenkins jenkins 15709 Sep 20 20:42 CHANGELOG.md 20:44:34 -rw-rw-r-- 1 jenkins jenkins 1578 Sep 20 20:42 Dockerfile 20:44:34 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 20:42 GOVERNANCE.md 20:44:34 -rw-rw-r-- 1 jenkins jenkins 680 Sep 20 20:42 Jenkinsfile 20:44:34 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 20:42 LICENSE 20:44:34 -rw-rw-r-- 1 jenkins jenkins 2010 Sep 20 20:42 Makefile 20:44:34 -rw-rw-r-- 1 jenkins jenkins 620 Sep 20 20:42 OWNERS.md 20:44:34 -rw-rw-r-- 1 jenkins jenkins 15827 Sep 20 20:42 README.md 20:44:34 -rw-rw-r-- 1 jenkins jenkins 12 Sep 20 20:43 VERSION 20:44:34 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:42 bin 20:44:34 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:42 cmd 20:44:34 -rw-r--r-- 1 jenkins jenkins 14499 Sep 20 20:44 coverage.out 20:44:34 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:42 driver 20:44:34 -rw-rw-r-- 1 jenkins jenkins 3890 Sep 20 20:42 go.mod 20:44:34 -rw-rw-r-- 1 jenkins jenkins 35623 Sep 20 20:42 go.sum 20:44:34 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:42 snap 20:44:34 -rw-rw-r-- 1 jenkins jenkins 713 Sep 20 20:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:35 + 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=7d823389a6fd487dd609ea6f37b5e7dbe8da964e --label arch=amd64 --label version=3.1.0-dev.15 . 20:44:35 Sending build context to Docker daemon 10.92MB 20:44:35 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 20:44:35 Step 2/25 : FROM ${BASE} AS builder 20:44:35 ---> 4d0525b71858 20:44:35 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:44:35 ---> Running in fc566a5232a3 20:44:35 Removing intermediate container fc566a5232a3 20:44:35 ---> da05e8246171 20:44:35 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:44:35 ---> Running in ed57810e81cf 20:44:35 Removing intermediate container ed57810e81cf 20:44:35 ---> 2307ce8a11c9 20:44:35 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:44:35 ---> Running in 3ab189429277 20:44:35 Removing intermediate container 3ab189429277 20:44:35 ---> 526e8a57cd57 20:44:35 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:44:35 ---> Running in f9bb8fbfda40 20:44:35 Removing intermediate container f9bb8fbfda40 20:44:35 ---> e08beb08fd3b 20:44:35 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:44:35 ---> Running in ca6a3ca1c89a 20:44:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:44:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:44:36 OK: 268 MiB in 56 packages 20:44:36 Removing intermediate container ca6a3ca1c89a 20:44:36 ---> 35de65a2b2ff 20:44:36 Step 8/25 : WORKDIR /device-rest-go 20:44:36 ---> Running in f705088b8e5d 20:44:36 Removing intermediate container f705088b8e5d 20:44:36 ---> 241b32483a2f 20:44:36 Step 9/25 : COPY go.mod vendor* ./ 20:44:37 ---> b238b5142108 20:44:37 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:44:37 ---> Running in cfaa1b90af96 20:44:37 Removing intermediate container cfaa1b90af96 20:44:37 ---> b53cc5098747 20:44:37 Step 11/25 : COPY . . 20:44:38 ---> d24dbea29faa 20:44:38 Step 12/25 : RUN $MAKE 20:44:38 ---> Running in 5c41781a9127 20:44:38 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.15 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.28" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:44:56 Removing intermediate container 5c41781a9127 20:44:56 ---> 85fb51de3420 20:44:56 Step 13/25 : FROM alpine:3.18 20:44:56 3.18: Pulling from library/alpine 20:44:56 7264a8db6415: Already exists 20:44:56 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 20:44:56 Status: Downloaded newer image for alpine:3.18 20:44:56 ---> 7e01a0d0a1dc 20:44:56 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:44:56 ---> Running in 8da3ba300a9a 20:44:56 Removing intermediate container 8da3ba300a9a 20:44:56 ---> aec41daaa4de 20:44:56 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:44:56 ---> Running in 87249ff694ce 20:44:56 Removing intermediate container 87249ff694ce 20:44:56 ---> 7224011ade20 20:44:56 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:44:56 ---> Running in c32f56e66fc0 20:44:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 20:44:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 20:44:56 (1/1) Installing dumb-init (1.2.5-r2) 20:44:56 Executing busybox-1.36.1-r2.trigger 20:44:56 OK: 7 MiB in 16 packages 20:44:57 Removing intermediate container c32f56e66fc0 20:44:57 ---> 11b99c1a1d11 20:44:57 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:44:58 ---> 4bc0d0527289 20:44:58 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:44:58 ---> c603d62606f3 20:44:58 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:44:58 ---> a5a36aacfb3e 20:44:58 Step 20/25 : EXPOSE 59986 20:44:58 ---> Running in e60ba80831c0 20:44:58 Removing intermediate container e60ba80831c0 20:44:58 ---> f9fc3eb50e82 20:44:58 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:44:58 ---> Running in 3cfa85087014 20:44:58 Removing intermediate container 3cfa85087014 20:44:58 ---> e372895d1586 20:44:58 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:44:58 ---> Running in ab94c384f69e 20:44:58 Removing intermediate container ab94c384f69e 20:44:58 ---> ffd6148a5cae 20:44:58 Step 23/25 : LABEL arch=amd64 20:44:58 ---> Running in 26a32d5ce9dd 20:44:58 Removing intermediate container 26a32d5ce9dd 20:44:58 ---> a8b7b862a970 20:44:58 Step 24/25 : LABEL git_sha=7d823389a6fd487dd609ea6f37b5e7dbe8da964e 20:44:58 ---> Running in f4a0519de35f 20:44:58 Removing intermediate container f4a0519de35f 20:44:58 ---> 4732ed0e8510 20:44:58 Step 25/25 : LABEL version=3.1.0-dev.15 20:44:58 ---> Running in a5d065b50f86 20:44:58 Removing intermediate container a5d065b50f86 20:44:58 ---> 51ad748e64f2 20:44:58 [Warning] One or more build-args [ARCH] were not consumed 20:44:58 Successfully built 51ad748e64f2 20:44:58 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:44:58 provisioning config files... 20:44:58 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16041568451296382143tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:44:58 ---> docker-login.sh 20:44:58 nexus3.edgexfoundry.org:10001 20:44:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:58 Configure a credential helper to remove this warning. See 20:44:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:58 20:44:58 Login Succeeded 20:44:58 nexus3.edgexfoundry.org:10002 20:44:58 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:58 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:58 Configure a credential helper to remove this warning. See 20:44:58 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:58 20:44:58 Login Succeeded 20:44:58 nexus3.edgexfoundry.org:10003 20:44:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:59 Configure a credential helper to remove this warning. See 20:44:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:59 20:44:59 Login Succeeded 20:44:59 nexus3.edgexfoundry.org:10004 20:44:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:59 Configure a credential helper to remove this warning. See 20:44:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:59 20:44:59 Login Succeeded 20:44:59 docker.io 20:44:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:44:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:44:59 Configure a credential helper to remove this warning. See 20:44:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:44:59 20:44:59 Login Succeeded 20:44:59 ---> docker-login.sh ends [Pipeline] } 20:44:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:44:59 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:44:59 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 20:44:59 7d823389a6fd487dd609ea6f37b5e7dbe8da964e 20:44:59 latest 20:44:59 3.1.0-dev.15 20:44:59 7d823389a6fd487dd609ea6f37b5e7dbe8da964e-3.1.0-dev.15 20:44:59 main 20:44:59 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:44:59 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:7d823389a6fd487dd609ea6f37b5e7dbe8da964e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:00 + docker push nexus3.edgexfoundry.org:10004/device-rest:7d823389a6fd487dd609ea6f37b5e7dbe8da964e 20:45:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:45:00 0e169fec407f: Preparing 20:45:00 cce4eaeaa834: Preparing 20:45:00 279b3eb81382: Preparing 20:45:00 7013fd68d160: Preparing 20:45:00 4693057ce236: Preparing 20:45:00 4693057ce236: Layer already exists 20:45:00 7013fd68d160: Pushed 20:45:00 0e169fec407f: Pushed 20:45:00 cce4eaeaa834: Pushed 20:45:02 279b3eb81382: Pushed 20:45:02 7d823389a6fd487dd609ea6f37b5e7dbe8da964e: digest: sha256:7976e36fb02618fd8f920106d9412a994ccb33b98301de7491ae21f446f900ca size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:03 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:03 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 20:45:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:45:03 0e169fec407f: Preparing 20:45:03 cce4eaeaa834: Preparing 20:45:03 279b3eb81382: Preparing 20:45:03 7013fd68d160: Preparing 20:45:03 4693057ce236: Preparing 20:45:03 4693057ce236: Layer already exists 20:45:03 cce4eaeaa834: Layer already exists 20:45:03 0e169fec407f: Layer already exists 20:45:03 279b3eb81382: Layer already exists 20:45:03 7013fd68d160: Layer already exists 20:45:03 latest: digest: sha256:7976e36fb02618fd8f920106d9412a994ccb33b98301de7491ae21f446f900ca size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:03 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:04 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.15 20:45:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:45:04 0e169fec407f: Preparing 20:45:04 cce4eaeaa834: Preparing 20:45:04 279b3eb81382: Preparing 20:45:04 7013fd68d160: Preparing 20:45:04 4693057ce236: Preparing 20:45:04 cce4eaeaa834: Layer already exists 20:45:04 7013fd68d160: Layer already exists 20:45:04 4693057ce236: Layer already exists 20:45:04 279b3eb81382: Layer already exists 20:45:04 0e169fec407f: Layer already exists 20:45:04 3.1.0-dev.15: digest: sha256:7976e36fb02618fd8f920106d9412a994ccb33b98301de7491ae21f446f900ca size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:04 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:7d823389a6fd487dd609ea6f37b5e7dbe8da964e-3.1.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:04 + docker push nexus3.edgexfoundry.org:10004/device-rest:7d823389a6fd487dd609ea6f37b5e7dbe8da964e-3.1.0-dev.15 20:45:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:45:04 0e169fec407f: Preparing 20:45:04 cce4eaeaa834: Preparing 20:45:04 279b3eb81382: Preparing 20:45:04 7013fd68d160: Preparing 20:45:04 4693057ce236: Preparing 20:45:04 7013fd68d160: Layer already exists 20:45:04 cce4eaeaa834: Layer already exists 20:45:04 279b3eb81382: Layer already exists 20:45:04 0e169fec407f: Layer already exists 20:45:04 4693057ce236: Layer already exists 20:45:04 7d823389a6fd487dd609ea6f37b5e7dbe8da964e-3.1.0-dev.15: digest: sha256:7976e36fb02618fd8f920106d9412a994ccb33b98301de7491ae21f446f900ca size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:05 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:05 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 20:45:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:45:05 0e169fec407f: Preparing 20:45:05 cce4eaeaa834: Preparing 20:45:05 279b3eb81382: Preparing 20:45:05 7013fd68d160: Preparing 20:45:05 4693057ce236: Preparing 20:45:05 4693057ce236: Layer already exists 20:45:05 279b3eb81382: Layer already exists 20:45:05 7013fd68d160: Layer already exists 20:45:05 cce4eaeaa834: Layer already exists 20:45:05 0e169fec407f: Layer already exists 20:45:05 main: digest: sha256:7976e36fb02618fd8f920106d9412a994ccb33b98301de7491ae21f446f900ca size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:45:05 ===================================================== [Pipeline] echo 20:45:05 taggedImages: 20:45:05 - nexus3.edgexfoundry.org:10004/device-rest:7d823389a6fd487dd609ea6f37b5e7dbe8da964e 20:45:05 - nexus3.edgexfoundry.org:10004/device-rest:latest 20:45:05 - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.15 20:45:05 - nexus3.edgexfoundry.org:10004/device-rest:7d823389a6fd487dd609ea6f37b5e7dbe8da964e-3.1.0-dev.15 20:45:05 - 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 20:45:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:45:05 20:45:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:45:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:45:06 latest: Pulling from edgex-lftools-log-publisher 20:45:06 5eb5b503b376: Pulling fs layer 20:45:06 5c69ac0246d0: Pulling fs layer 20:45:06 ec43610c2a17: Pulling fs layer 20:45:06 3a2ae6a8a46f: Pulling fs layer 20:45:06 33b1e0a273af: Pulling fs layer 20:45:06 5d3b04190fa2: Pulling fs layer 20:45:06 2f39f015ded8: Pulling fs layer 20:45:06 33b1e0a273af: Waiting 20:45:06 5d3b04190fa2: Waiting 20:45:06 2f39f015ded8: Waiting 20:45:06 3a2ae6a8a46f: Waiting 20:45:06 5c69ac0246d0: Download complete 20:45:06 3a2ae6a8a46f: Verifying Checksum 20:45:06 3a2ae6a8a46f: Download complete 20:45:06 33b1e0a273af: Verifying Checksum 20:45:06 33b1e0a273af: Download complete 20:45:06 5d3b04190fa2: Verifying Checksum 20:45:06 5d3b04190fa2: Download complete 20:45:06 ec43610c2a17: Verifying Checksum 20:45:06 ec43610c2a17: Download complete 20:45:06 5eb5b503b376: Verifying Checksum 20:45:06 5eb5b503b376: Download complete 20:45:07 2f39f015ded8: Download complete 20:45:07 5eb5b503b376: Pull complete 20:45:07 5c69ac0246d0: Pull complete 20:45:08 ec43610c2a17: Pull complete 20:45:08 3a2ae6a8a46f: Pull complete 20:45:09 33b1e0a273af: Pull complete 20:45:09 5d3b04190fa2: Pull complete 20:45:13 2f39f015ded8: Pull complete 20:45:13 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:45:13 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:45:13 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:45:13 prd-ubuntu20.04-docker-8c-8g-7216 does not seem to be running inside a container 20:45:13 $ 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 20:45:16 $ docker top 6d7da84fe4c5bf1fe39994a81ba209ce1d4ba16c459c135f24728590d8f369fe -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:45:17 ---> job-cost.sh 20:45:17 lf-activate-venv: SKIPPING 20:45:17 INFO: No Stack... 20:45:17 INFO: Retrieving Pricing Info for: v3-standard-8 20:45:17 INFO: Archiving Costs [Pipeline] sh 20:45:18 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 20:45:18 + cut -d, -f6 [Pipeline] lock 20:45:18 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-135-stack-cost] 20:45:18 Resource [jenkins-edgexfoundry-device-rest-go-main-135-stack-cost] did not exist. Created. 20:45:18 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-135-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:45:18 + echo total: 0.2199999988079071 [Pipeline] stash 20:45:18 Stashed 1 file(s) [Pipeline] } 20:45:18 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-135-stack-cost] [Pipeline] // lock [Pipeline] } 20:45:18 $ docker stop --time=1 6d7da84fe4c5bf1fe39994a81ba209ce1d4ba16c459c135f24728590d8f369fe 20:45:19 $ docker rm -f --volumes 6d7da84fe4c5bf1fe39994a81ba209ce1d4ba16c459c135f24728590d8f369fe [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:47:06 Running on prd-ubuntu20.04-docker-arm64-4c-16g-7217 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 20:47:06 Running in /w/workspace/device-rest-go/135 [Pipeline] { [Pipeline] checkout 20:47:06 The recommended git tool is: git 20:47:13 using credential edgex-jenkins-ssh 20:47:13 Cloning the remote Git repository 20:47:13 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:47:13 > git init /w/workspace/device-rest-go/135 # timeout=10 20:47:13 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:47:13 > git --version # timeout=10 20:47:13 > git --version # 'git version 2.25.1' 20:47:13 using GIT_SSH to set credentials SSH Credentials for GitHub 20:47:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:47:16 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:47:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:47:17 Avoid second fetch 20:47:17 Checking out Revision 7d823389a6fd487dd609ea6f37b5e7dbe8da964e (main) 20:47:17 > git config core.sparsecheckout # timeout=10 20:47:17 > git checkout -f 7d823389a6fd487dd609ea6f37b5e7dbe8da964e # timeout=10 20:47:18 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#344)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:47:19 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:47:19 % Total % Received % Xferd Average Speed Time Time Time Current 20:47:19 Dload Upload Total Spent Left Speed 20:47:19 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 64725 0 --:--:-- --:--:-- --:--:-- 64725 [Pipeline] sh 20:47:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:47:21 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:47:21 + sudo tee /etc/docker/daemon.new 20:47:21 { 20:47:21 "registry-mirrors": [ 20:47:21 "https://nexus3.edgexfoundry.org:10001" 20:47:21 ], 20:47:21 "bip": "10.250.0.254/24", 20:47:21 "hosts": [ 20:47:21 "tcp://0.0.0.0:5555", 20:47:21 "unix:///var/run/docker.sock" 20:47:21 ], 20:47:21 "mtu": 1458, 20:47:21 "selinux-enabled": true, 20:47:21 "seccomp-profile": "/etc/docker/seccomp.json" 20:47:21 } [Pipeline] sh 20:47:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:47:22 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:47:40 provisioning config files... 20:47:40 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/135@tmp/config12379683197130189729tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:47:41 ---> docker-login.sh 20:47:41 nexus3.edgexfoundry.org:10001 20:47:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:47:41 Configure a credential helper to remove this warning. See 20:47:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:47:41 20:47:41 Login Succeeded 20:47:41 nexus3.edgexfoundry.org:10002 20:47:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:47:42 Configure a credential helper to remove this warning. See 20:47:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:47:42 20:47:42 Login Succeeded 20:47:42 nexus3.edgexfoundry.org:10003 20:47:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:47:42 Configure a credential helper to remove this warning. See 20:47:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:47:42 20:47:42 Login Succeeded 20:47:42 nexus3.edgexfoundry.org:10004 20:47:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:47:42 Configure a credential helper to remove this warning. See 20:47:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:47:42 20:47:42 Login Succeeded 20:47:42 docker.io 20:47:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:47:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:47:43 Configure a credential helper to remove this warning. See 20:47:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:47:43 20:47:43 Login Succeeded 20:47:43 ---> docker-login.sh ends [Pipeline] } 20:47:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:47:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:47:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:47:43 ========================================================= 20:47:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 20:47:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:44 + 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 . 20:47:44 Sending build context to Docker daemon 143.4kB 20:47:44 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 20:47:44 Step 2/12 : FROM ${BASE} AS builder 20:47:44 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:47:44 9fda8d8052c6: Pulling fs layer 20:47:44 5d54e960e981: Pulling fs layer 20:47:44 c4a7e357bf2a: Pulling fs layer 20:47:44 f0e02332f6b5: Pulling fs layer 20:47:44 cefa15bbcfad: Pulling fs layer 20:47:44 17808c966233: Pulling fs layer 20:47:44 f4c1fc716caa: Pulling fs layer 20:47:44 17808c966233: Waiting 20:47:44 f0e02332f6b5: Waiting 20:47:44 cefa15bbcfad: Waiting 20:47:44 f4c1fc716caa: Waiting 20:47:44 5d54e960e981: Verifying Checksum 20:47:44 5d54e960e981: Download complete 20:47:44 f0e02332f6b5: Verifying Checksum 20:47:44 f0e02332f6b5: Download complete 20:47:44 cefa15bbcfad: Verifying Checksum 20:47:44 cefa15bbcfad: Download complete 20:47:45 9fda8d8052c6: Download complete 20:47:45 f4c1fc716caa: Verifying Checksum 20:47:45 f4c1fc716caa: Download complete 20:47:45 9fda8d8052c6: Pull complete 20:47:46 5d54e960e981: Pull complete 20:47:46 c4a7e357bf2a: Verifying Checksum 20:47:46 c4a7e357bf2a: Download complete 20:47:47 17808c966233: Verifying Checksum 20:47:47 17808c966233: Download complete 20:47:59 c4a7e357bf2a: Pull complete 20:47:59 f0e02332f6b5: Pull complete 20:47:59 cefa15bbcfad: Pull complete 20:48:04 17808c966233: Pull complete 20:48:05 f4c1fc716caa: Pull complete 20:48:05 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 20:48:05 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 20:48:05 ---> ea914061e18c 20:48:05 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:48:07 ---> Running in eda0d60bab58 20:48:07 Removing intermediate container eda0d60bab58 20:48:07 ---> 32cec0b2285f 20:48:07 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:48:07 ---> Running in 4c4e10974860 20:48:07 Removing intermediate container 4c4e10974860 20:48:07 ---> 5e144831ce45 20:48:07 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:48:07 ---> Running in 0b74fc584f75 20:48:08 Removing intermediate container 0b74fc584f75 20:48:08 ---> 416dd58b2864 20:48:08 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:48:08 ---> Running in 3989c3c3cea1 20:48:08 Removing intermediate container 3989c3c3cea1 20:48:08 ---> 15c33b2acf14 20:48:08 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:48:08 ---> Running in e52adfa8bc23 20:48:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:48:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:48:11 (1/4) Installing openssh-keygen (9.3_p2-r0) 20:48:11 (2/4) Installing libedit (20221030.3.1-r1) 20:48:11 (3/4) Installing openssh-client-common (9.3_p2-r0) 20:48:11 (4/4) Installing openssh-client-default (9.3_p2-r0) 20:48:11 Executing busybox-1.36.1-r2.trigger 20:48:11 OK: 270 MiB in 56 packages 20:48:12 Removing intermediate container e52adfa8bc23 20:48:12 ---> e8e16e6200fa 20:48:12 Step 8/12 : WORKDIR /device-rest-go 20:48:12 ---> Running in 2858cca2f2b0 20:48:12 Removing intermediate container 2858cca2f2b0 20:48:12 ---> a19803838249 20:48:12 Step 9/12 : COPY go.mod vendor* ./ 20:48:13 ---> 3e26f84aee85 20:48:13 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:48:13 ---> Running in 8dce8e7d1834 20:49:34 Removing intermediate container 8dce8e7d1834 20:49:34 ---> 9943c7ccad4f 20:49:34 Step 11/12 : COPY . . 20:49:34 ---> 1e7ce871c846 20:49:34 Step 12/12 : RUN $MAKE 20:49:34 ---> Running in 96e92f796d1f 20:49:34 noop 20:49:34 Removing intermediate container 96e92f796d1f 20:49:34 ---> b8d8de85fce5 20:49:34 Successfully built b8d8de85fce5 20:49:34 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:35 + docker inspect -f . ci-base-image-arm64 20:49:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:49:35 prd-ubuntu20.04-docker-arm64-4c-16g-7217 does not seem to be running inside a container 20:49:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/135 -v /w/workspace/device-rest-go/135:/w/workspace/device-rest-go/135:rw,z -v /w/workspace/device-rest-go/135@tmp:/w/workspace/device-rest-go/135@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 20:49:36 $ docker top 7af15c1c0eb9b56f2e2f8cc843359a98b5171dca33d0db6c1ca73c8c4997fb78 -eo pid,comm [Pipeline] { [Pipeline] sh 20:49:37 + go version 20:49:37 go version go1.21.0 linux/arm64 [Pipeline] } 20:49:37 $ docker stop --time=1 7af15c1c0eb9b56f2e2f8cc843359a98b5171dca33d0db6c1ca73c8c4997fb78 20:49:39 $ docker rm -f --volumes 7af15c1c0eb9b56f2e2f8cc843359a98b5171dca33d0db6c1ca73c8c4997fb78 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:49:39 + docker inspect -f . ci-base-image-arm64 20:49:39 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:49:39 prd-ubuntu20.04-docker-arm64-4c-16g-7217 does not seem to be running inside a container 20:49:39 $ 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/135 -v /w/workspace/device-rest-go/135:/w/workspace/device-rest-go/135:rw,z -v /w/workspace/device-rest-go/135@tmp:/w/workspace/device-rest-go/135@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 20:49:41 $ docker top 21d321b8c22a3bbf86f6fefcc3151063566a8386fc549d10d2dfdeebe9c5da13 -eo pid,comm [Pipeline] { [Pipeline] sh 20:49:41 + git config --global --add safe.directory /w/workspace/device-rest-go/135 [Pipeline] fileExists [Pipeline] sh 20:49:42 + make test 20:49:42 go test ./... -coverprofile=coverage.out ./... 20:49:47 ? github.com/edgexfoundry/device-rest-go [no test files] 20:51:24 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:51:24 ok github.com/edgexfoundry/device-rest-go/driver 0.051s coverage: 33.2% of statements 20:51:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:51:24 go vet ./... 20:51:42 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:51:42 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:51:42 ./bin/test-attribution-txt.sh [Pipeline] echo 20:51:42 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:51:42 $ docker stop --time=1 21d321b8c22a3bbf86f6fefcc3151063566a8386fc549d10d2dfdeebe9c5da13 20:51:46 $ docker rm -f --volumes 21d321b8c22a3bbf86f6fefcc3151063566a8386fc549d10d2dfdeebe9c5da13 [Pipeline] // withDockerContainer [Pipeline] sh 20:51:47 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:51:47 Warning: overwriting stash ‘coverage-report’ 20:51:47 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:51:48 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:51:48 + ls -al . 20:51:48 total 184 20:51:48 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 20:49 . 20:51:48 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:47 .. 20:51:48 -rw-rw-r-- 1 jenkins jenkins 151 Sep 20 20:47 .dockerignore 20:51:48 drwxrwxr-x 8 jenkins jenkins 4096 Sep 20 20:47 .git 20:51:48 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:47 .github 20:51:48 -rw-rw-r-- 1 jenkins jenkins 329 Sep 20 20:47 .gitignore 20:51:48 -rw-rw-r-- 1 jenkins jenkins 41 Sep 20 20:47 .golangci.yml 20:51:48 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 20 20:47 Attribution.txt 20:51:48 -rw-rw-r-- 1 jenkins jenkins 15709 Sep 20 20:47 CHANGELOG.md 20:51:48 -rw-rw-r-- 1 jenkins jenkins 1578 Sep 20 20:47 Dockerfile 20:51:48 -rw-rw-r-- 1 jenkins jenkins 677 Sep 20 20:47 GOVERNANCE.md 20:51:48 -rw-rw-r-- 1 jenkins jenkins 680 Sep 20 20:47 Jenkinsfile 20:51:48 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 20 20:47 LICENSE 20:51:48 -rw-rw-r-- 1 jenkins jenkins 2010 Sep 20 20:47 Makefile 20:51:48 -rw-rw-r-- 1 jenkins jenkins 620 Sep 20 20:47 OWNERS.md 20:51:48 -rw-rw-r-- 1 jenkins jenkins 15827 Sep 20 20:47 README.md 20:51:48 -rw-rw-r-- 1 jenkins jenkins 12 Sep 20 20:43 VERSION 20:51:48 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:47 bin 20:51:48 drwxrwxr-x 3 jenkins jenkins 4096 Sep 20 20:47 cmd 20:51:48 -rw-r--r-- 1 jenkins jenkins 14499 Sep 20 20:51 coverage.out 20:51:48 drwxrwxr-x 2 jenkins jenkins 4096 Sep 20 20:47 driver 20:51:48 -rw-rw-r-- 1 jenkins jenkins 3890 Sep 20 20:47 go.mod 20:51:48 -rw-rw-r-- 1 jenkins jenkins 35623 Sep 20 20:47 go.sum 20:51:48 drwxrwxr-x 4 jenkins jenkins 4096 Sep 20 20:47 snap 20:51:48 -rw-rw-r-- 1 jenkins jenkins 713 Sep 20 20:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:51:48 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=7d823389a6fd487dd609ea6f37b5e7dbe8da964e --label arch=arm64 --label version=3.1.0-dev.15 . 20:51:48 Sending build context to Docker daemon 158.7kB 20:51:49 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 20:51:49 Step 2/25 : FROM ${BASE} AS builder 20:51:49 ---> b8d8de85fce5 20:51:49 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:51:49 ---> Running in 09b132341166 20:51:49 Removing intermediate container 09b132341166 20:51:49 ---> fdcc818bb41f 20:51:49 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:51:49 ---> Running in 0b7850894503 20:51:50 Removing intermediate container 0b7850894503 20:51:50 ---> bedb0887ab7b 20:51:50 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:51:50 ---> Running in 8be3e1540c80 20:51:50 Removing intermediate container 8be3e1540c80 20:51:50 ---> dfa4637fdc36 20:51:50 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:51:50 ---> Running in af90040f9909 20:51:50 Removing intermediate container af90040f9909 20:51:50 ---> 152ff3875ba7 20:51:50 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:51:50 ---> Running in 20c420b062cc 20:51:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:51:52 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:51:53 OK: 270 MiB in 56 packages 20:51:54 Removing intermediate container 20c420b062cc 20:51:54 ---> 54d10cbaa664 20:51:54 Step 8/25 : WORKDIR /device-rest-go 20:51:54 ---> Running in b4acadfe2c28 20:51:54 Removing intermediate container b4acadfe2c28 20:51:54 ---> 031780e62641 20:51:54 Step 9/25 : COPY go.mod vendor* ./ 20:51:54 ---> 5d18989b4e12 20:51:54 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:51:54 ---> Running in 18cd39ee82b2 20:51:59 Removing intermediate container 18cd39ee82b2 20:51:59 ---> 944e97e2c1bf 20:51:59 Step 11/25 : COPY . . 20:51:59 ---> f15060cd94a5 20:51:59 Step 12/25 : RUN $MAKE 20:51:59 ---> Running in 5345e7d5066e 20:52:00 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.15 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.28" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:53:56 Removing intermediate container 5345e7d5066e 20:53:56 ---> 8941cbf82de9 20:53:56 Step 13/25 : FROM alpine:3.18 20:53:56 3.18: Pulling from library/alpine 20:53:56 9fda8d8052c6: Already exists 20:53:56 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 20:53:56 Status: Downloaded newer image for alpine:3.18 20:53:56 ---> f6648c04cd6c 20:53:56 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 20:53:56 ---> Running in 6c9474247ca6 20:53:56 Removing intermediate container 6c9474247ca6 20:53:56 ---> bea437889e87 20:53:56 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:53:56 ---> Running in df4d07db4043 20:53:56 Removing intermediate container df4d07db4043 20:53:56 ---> abb69573dbee 20:53:56 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:53:56 ---> Running in 95a1cc7549f5 20:53:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 20:53:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 20:53:56 (1/1) Installing dumb-init (1.2.5-r2) 20:53:56 Executing busybox-1.36.1-r2.trigger 20:53:56 OK: 8 MiB in 16 packages 20:53:56 Removing intermediate container 95a1cc7549f5 20:53:56 ---> 565bc793facf 20:53:56 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:53:56 ---> 650a55613301 20:53:56 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:53:56 ---> 7dab8089a1ad 20:53:56 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:53:57 ---> 2f41f1bec815 20:53:57 Step 20/25 : EXPOSE 59986 20:53:57 ---> Running in b263644d39ed 20:53:57 Removing intermediate container b263644d39ed 20:53:57 ---> f2008b2698bd 20:53:57 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:53:57 ---> Running in d90b80c05639 20:53:57 Removing intermediate container d90b80c05639 20:53:57 ---> dce4b9714754 20:53:57 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:53:57 ---> Running in 081912410f50 20:53:58 Removing intermediate container 081912410f50 20:53:58 ---> 4b8ba0bffe28 20:53:58 Step 23/25 : LABEL arch=arm64 20:53:58 ---> Running in fc4d23645ba3 20:53:58 Removing intermediate container fc4d23645ba3 20:53:58 ---> 4c712f17e36e 20:53:58 Step 24/25 : LABEL git_sha=7d823389a6fd487dd609ea6f37b5e7dbe8da964e 20:53:58 ---> Running in 26c4590a8f8e 20:53:58 Removing intermediate container 26c4590a8f8e 20:53:58 ---> f122d6997f16 20:53:58 Step 25/25 : LABEL version=3.1.0-dev.15 20:53:58 ---> Running in ca63a3755ac5 20:53:59 Removing intermediate container ca63a3755ac5 20:53:59 ---> b0514966b2d9 20:53:59 [Warning] One or more build-args [ARCH] were not consumed 20:53:59 Successfully built b0514966b2d9 20:53:59 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 20:53:59 provisioning config files... 20:53:59 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/135@tmp/config3011690868892055874tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:53:59 ---> docker-login.sh 20:53:59 nexus3.edgexfoundry.org:10001 20:53:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:53:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:53:59 Configure a credential helper to remove this warning. See 20:53:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:53:59 20:53:59 Login Succeeded 20:53:59 nexus3.edgexfoundry.org:10002 20:54:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:00 Configure a credential helper to remove this warning. See 20:54:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:00 20:54:00 Login Succeeded 20:54:00 nexus3.edgexfoundry.org:10003 20:54:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:00 Configure a credential helper to remove this warning. See 20:54:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:00 20:54:00 Login Succeeded 20:54:00 nexus3.edgexfoundry.org:10004 20:54:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:01 Configure a credential helper to remove this warning. See 20:54:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:01 20:54:01 Login Succeeded 20:54:01 docker.io 20:54:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:54:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:54:01 Configure a credential helper to remove this warning. See 20:54:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:54:01 20:54:01 Login Succeeded 20:54:01 ---> docker-login.sh ends [Pipeline] } 20:54:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:54:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:54:01 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 20:54:01 7d823389a6fd487dd609ea6f37b5e7dbe8da964e 20:54:01 latest 20:54:01 3.1.0-dev.15 20:54:01 7d823389a6fd487dd609ea6f37b5e7dbe8da964e-3.1.0-dev.15 20:54:01 main 20:54:01 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:01 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:7d823389a6fd487dd609ea6f37b5e7dbe8da964e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:02 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:7d823389a6fd487dd609ea6f37b5e7dbe8da964e 20:54:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:54:02 e655c1194b8c: Preparing 20:54:02 7963f395423b: Preparing 20:54:02 a9791fb96bdc: Preparing 20:54:02 81691be44ab5: Preparing 20:54:02 b2191e2be29d: Preparing 20:54:02 b2191e2be29d: Layer already exists 20:54:02 e655c1194b8c: Pushed 20:54:02 81691be44ab5: Pushed 20:54:02 7963f395423b: Pushed 20:54:07 a9791fb96bdc: Pushed 20:54:07 7d823389a6fd487dd609ea6f37b5e7dbe8da964e: digest: sha256:a4e7c2d9ff16bce685af75be71e467d1094b37bd1bc0c86a4901a60a276a8104 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:08 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:10 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 20:54:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:54:10 e655c1194b8c: Preparing 20:54:10 7963f395423b: Preparing 20:54:10 a9791fb96bdc: Preparing 20:54:10 81691be44ab5: Preparing 20:54:10 b2191e2be29d: Preparing 20:54:10 e655c1194b8c: Layer already exists 20:54:10 a9791fb96bdc: Layer already exists 20:54:10 b2191e2be29d: Layer already exists 20:54:10 7963f395423b: Layer already exists 20:54:10 81691be44ab5: Layer already exists 20:54:10 latest: digest: sha256:a4e7c2d9ff16bce685af75be71e467d1094b37bd1bc0c86a4901a60a276a8104 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:10 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:11 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.15 20:54:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:54:11 e655c1194b8c: Preparing 20:54:11 7963f395423b: Preparing 20:54:11 a9791fb96bdc: Preparing 20:54:11 81691be44ab5: Preparing 20:54:11 b2191e2be29d: Preparing 20:54:11 b2191e2be29d: Layer already exists 20:54:11 81691be44ab5: Layer already exists 20:54:11 7963f395423b: Layer already exists 20:54:11 e655c1194b8c: Layer already exists 20:54:11 a9791fb96bdc: Layer already exists 20:54:11 3.1.0-dev.15: digest: sha256:a4e7c2d9ff16bce685af75be71e467d1094b37bd1bc0c86a4901a60a276a8104 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:11 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:7d823389a6fd487dd609ea6f37b5e7dbe8da964e-3.1.0-dev.15 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:11 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:7d823389a6fd487dd609ea6f37b5e7dbe8da964e-3.1.0-dev.15 20:54:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:54:11 e655c1194b8c: Preparing 20:54:11 7963f395423b: Preparing 20:54:11 a9791fb96bdc: Preparing 20:54:11 81691be44ab5: Preparing 20:54:11 b2191e2be29d: Preparing 20:54:11 a9791fb96bdc: Layer already exists 20:54:11 e655c1194b8c: Layer already exists 20:54:11 b2191e2be29d: Layer already exists 20:54:11 81691be44ab5: Layer already exists 20:54:11 7963f395423b: Layer already exists 20:54:11 7d823389a6fd487dd609ea6f37b5e7dbe8da964e-3.1.0-dev.15: digest: sha256:a4e7c2d9ff16bce685af75be71e467d1094b37bd1bc0c86a4901a60a276a8104 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:12 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:12 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 20:54:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:54:12 e655c1194b8c: Preparing 20:54:12 7963f395423b: Preparing 20:54:12 a9791fb96bdc: Preparing 20:54:12 81691be44ab5: Preparing 20:54:12 b2191e2be29d: Preparing 20:54:12 e655c1194b8c: Layer already exists 20:54:12 b2191e2be29d: Layer already exists 20:54:12 81691be44ab5: Layer already exists 20:54:12 a9791fb96bdc: Layer already exists 20:54:12 7963f395423b: Layer already exists 20:54:12 main: digest: sha256:a4e7c2d9ff16bce685af75be71e467d1094b37bd1bc0c86a4901a60a276a8104 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:54:12 ===================================================== [Pipeline] echo 20:54:12 taggedImages: 20:54:12 - nexus3.edgexfoundry.org:10004/device-rest-arm64:7d823389a6fd487dd609ea6f37b5e7dbe8da964e 20:54:12 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 20:54:12 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.15 20:54:12 - nexus3.edgexfoundry.org:10004/device-rest-arm64:7d823389a6fd487dd609ea6f37b5e7dbe8da964e-3.1.0-dev.15 20:54:12 - 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 20:54:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:54:13 20:54:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:54:13 arm64: Pulling from edgex-lftools-log-publisher 20:54:13 8998bd30e6a1: Pulling fs layer 20:54:13 04944245beec: Pulling fs layer 20:54:13 699f458cf7ca: Pulling fs layer 20:54:13 765212b225bb: Pulling fs layer 20:54:13 f23df028b6ca: Pulling fs layer 20:54:13 d65c8cfc05b1: Pulling fs layer 20:54:13 2437ff75d9bd: Pulling fs layer 20:54:13 f23df028b6ca: Waiting 20:54:13 765212b225bb: Waiting 20:54:13 d65c8cfc05b1: Waiting 20:54:13 2437ff75d9bd: Waiting 20:54:13 04944245beec: Verifying Checksum 20:54:13 04944245beec: Download complete 20:54:13 765212b225bb: Verifying Checksum 20:54:13 765212b225bb: Download complete 20:54:13 f23df028b6ca: Download complete 20:54:13 d65c8cfc05b1: Verifying Checksum 20:54:13 d65c8cfc05b1: Download complete 20:54:13 699f458cf7ca: Verifying Checksum 20:54:13 699f458cf7ca: Download complete 20:54:14 8998bd30e6a1: Verifying Checksum 20:54:14 8998bd30e6a1: Download complete 20:54:16 2437ff75d9bd: Verifying Checksum 20:54:16 2437ff75d9bd: Download complete 20:54:18 8998bd30e6a1: Pull complete 20:54:18 04944245beec: Pull complete 20:54:19 699f458cf7ca: Pull complete 20:54:19 765212b225bb: Pull complete 20:54:20 f23df028b6ca: Pull complete 20:54:20 d65c8cfc05b1: Pull complete 20:54:32 2437ff75d9bd: Pull complete 20:54:32 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:54:32 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:54:32 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:54:32 prd-ubuntu20.04-docker-arm64-4c-16g-7217 does not seem to be running inside a container 20:54:32 $ 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/135 -v /w/workspace/device-rest-go/135:/w/workspace/device-rest-go/135:rw,z -v /w/workspace/device-rest-go/135@tmp:/w/workspace/device-rest-go/135@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 20:54:35 $ docker top bb2ce1668b646ad1d426d0c2934a951d0218c42fe9c2051c746e297feedcb228 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:54:36 ---> job-cost.sh 20:54:36 lf-activate-venv: SKIPPING 20:54:36 INFO: No Stack... 20:54:36 INFO: Retrieving Pricing Info for: v3-standard-4 20:54:37 INFO: Archiving Costs [Pipeline] sh 20:54:37 + cut -d, -f6 20:54:37 + cat /w/workspace/device-rest-go/135/archives/cost.csv [Pipeline] lock 20:54:37 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-135-stack-cost] 20:54:37 Resource [jenkins-edgexfoundry-device-rest-go-main-135-stack-cost] did not exist. Created. 20:54:37 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-135-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:54:38 /w/workspace/device-rest-go/135@tmp/durable-7cbd1dca/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:54:38 + echo total: 0.10999999940395355 [Pipeline] stash 20:54:38 Warning: overwriting stash ‘stack-cost’ 20:54:38 Stashed 1 file(s) [Pipeline] } 20:54:38 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-135-stack-cost] [Pipeline] // lock [Pipeline] } 20:54:38 $ docker stop --time=1 bb2ce1668b646ad1d426d0c2934a951d0218c42fe9c2051c746e297feedcb228 20:54:40 $ docker rm -f --volumes bb2ce1668b646ad1d426d0c2934a951d0218c42fe9c2051c746e297feedcb228 [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 20:54:40 provisioning config files... 20:54:40 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16491898358667698010tmp [Pipeline] { [Pipeline] sh 20:54:40 + set +x 20:54:40 + + bash -s -- 20:54:40 curl -s https://codecov.io/bash 20:54:40 20:54:40 _____ _ 20:54:40 / ____| | | 20:54:40 | | ___ __| | ___ ___ _____ __ 20:54:40 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:54:40 | |___| (_) | (_| | __/ (_| (_) \ V / 20:54:40 \_____\___/ \__,_|\___|\___\___/ \_/ 20:54:40 Bash-1.0.6 20:54:40 20:54:40 20:54:40 ==> git version 2.25.1 found 20:54:40 ==> 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 20:54:40 Release-Date: 2020-01-08 20:54:40 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:54:40 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:54:40 ==> Jenkins CI detected. 20:54:40 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 20:54:40 project root: . 20:54:40 --> token set from env 20:54:40 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:54:40 ==> Running gcov in . (disable via -X gcov) 20:54:40 ==> Python coveragepy not found 20:54:40 ==> Searching for coverage reports in: 20:54:40 + . 20:54:40 -> Found 1 reports 20:54:40 ==> Detecting git/mercurial file structure 20:54:41 ==> Reading reports 20:54:41 + ./coverage.out bytes=14499 20:54:41 ==> Appending adjustments 20:54:41 https://docs.codecov.io/docs/fixing-reports 20:54:41 + Found adjustments 20:54:41 ==> Gzipping contents 20:54:41 4.0K /tmp/codecov.FXjwvg.gz 20:54:41 ==> Uploading reports 20:54:41 url: https://codecov.io 20:54:41 query: branch=main&commit=7d823389a6fd487dd609ea6f37b5e7dbe8da964e&build=135&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F135%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:54:41 -> Pinging Codecov 20:54:41 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=7d823389a6fd487dd609ea6f37b5e7dbe8da964e&build=135&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F135%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:54:41 -> Uploading to 20:54:41 https://storage.googleapis.com/codecov/v4/raw/2023-09-20/4E5D53B4F1F92C436F7061BF334D961C/7d823389a6fd487dd609ea6f37b5e7dbe8da964e/7793db53-900e-44d3-8bf4-afa9e7fa6674.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230920%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230920T205441Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=05197d1aec45e609d97c8ca3b958ea57920ee22371d94ab1c0619be353051710 20:54:41 % Total % Received % Xferd Average Speed Time Time Time Current 20:54:41 Dload Upload Total Spent Left Speed 20:54:41 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 12917 --:--:-- --:--:-- --:--:-- 12917 20:54:41 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/7d823389a6fd487dd609ea6f37b5e7dbe8da964e [Pipeline] } 20:54:41 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:54:41 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:54:41 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:54:41 20:54:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:54:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:54:42 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:54:42 df9b9388f04a: Pulling fs layer 20:54:42 52dc419b0ee2: Pulling fs layer 20:54:42 25bc292e5bac: Pulling fs layer 20:54:42 114826534d7a: Pulling fs layer 20:54:42 4657fd5d0bcf: Pulling fs layer 20:54:42 6ad1cebc031e: Pulling fs layer 20:54:42 8a3aa393b2d8: Pulling fs layer 20:54:42 4657fd5d0bcf: Waiting 20:54:42 6ad1cebc031e: Waiting 20:54:42 8a3aa393b2d8: Waiting 20:54:42 114826534d7a: Waiting 20:54:42 25bc292e5bac: Verifying Checksum 20:54:42 25bc292e5bac: Download complete 20:54:42 52dc419b0ee2: Verifying Checksum 20:54:42 52dc419b0ee2: Download complete 20:54:42 4657fd5d0bcf: Download complete 20:54:42 df9b9388f04a: Download complete 20:54:42 df9b9388f04a: Pull complete 20:54:42 6ad1cebc031e: Verifying Checksum 20:54:42 52dc419b0ee2: Pull complete 20:54:42 25bc292e5bac: Pull complete 20:54:43 114826534d7a: Verifying Checksum 20:54:43 114826534d7a: Download complete 20:54:43 8a3aa393b2d8: Verifying Checksum 20:54:43 8a3aa393b2d8: Download complete 20:54:46 114826534d7a: Pull complete 20:54:46 4657fd5d0bcf: Pull complete 20:54:46 6ad1cebc031e: Pull complete 20:54:49 8a3aa393b2d8: Pull complete 20:54:49 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 20:54:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:54:49 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:54:49 prd-ubuntu20.04-docker-8c-8g-7216 does not seem to be running inside a container 20:54:49 $ 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 20:54:52 $ docker top 6b5ced5a1b1fe7fbcf55c038583bd334f5ffaa0163950b276b75053412bb2f1a -eo pid,comm [Pipeline] { [Pipeline] echo 20:54:52 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 20:54:52 + set -o pipefail 20:54:52 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 20:54:57 20:54:57 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 20:54:57 20:54:57 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/67e4324a-9cb1-47bc-b9c2-cdb0566b3de9 20:54:57 20:54:57 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 20:54:57 20:54:57 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:54:57 20:54:57 20:54:57 A medium severity vulnerability was found in the Snyk CLI versions you are using. 20:54:57 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 20:54:57 More details here: https://snyk.co/ue1NS [Pipeline] } 20:54:57 $ docker stop --time=1 6b5ced5a1b1fe7fbcf55c038583bd334f5ffaa0163950b276b75053412bb2f1a 20:55:00 $ docker rm -f --volumes 6b5ced5a1b1fe7fbcf55c038583bd334f5ffaa0163950b276b75053412bb2f1a [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 20:55:01 + git log --format=format:%s -1 7d823389a6fd487dd609ea6f37b5e7dbe8da964e [Pipeline] sh 20:55:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:55:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:55:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:55:02 prd-ubuntu20.04-docker-8c-8g-7216 does not seem to be running inside a container 20:55:02 $ 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 20:55:02 $ docker top fe7b6341501e4faa6b2726fb464bcd2acc4a015e16ca762fc29559afa738441b -eo pid,comm 20:55:02 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). 20:55:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:55:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:55:02 [ssh-agent] Looking for ssh-agent implementation... 20:55:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:55:02 $ docker exec fe7b6341501e4faa6b2726fb464bcd2acc4a015e16ca762fc29559afa738441b ssh-agent 20:55:02 SSH_AUTH_SOCK=/tmp/ssh-6MMZaCJOfLWF/agent.32 20:55:02 SSH_AGENT_PID=38 20:55:02 Running ssh-add (command line suppressed) 20:55:02 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4112333669521320043.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4112333669521320043.key) 20:55:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:55:03 + git semver tag 20:55:03 2023-09-20 20:55:03,402 [run_tag] DEBUG tag force:False 20:55:03 2023-09-20 20:55:03,402 [check_head_tag] DEBUG check head tag 20:55:03 2023-09-20 20:55:03,403 [execute] INFO git cat-file --batch-check 20:55:03 2023-09-20 20:55:03,403 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 20:55:03 2023-09-20 20:55:03,408 [execute] INFO git cat-file --batch 20:55:03 2023-09-20 20:55:03,408 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 20:55:03 2023-09-20 20:55:03,421 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:55:03 2023-09-20 20:55:03,422 [execute] INFO git tag -a v3.1.0-dev.15 -m v3.1.0-dev.15 20:55:03 2023-09-20 20:55:03,422 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.15', '-m', 'v3.1.0-dev.15'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 20:55:03 2023-09-20 20:55:03,426 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:55:03 3.1.0-dev.15 [Pipeline] } 20:55:03 $ docker exec --env ******** --env ******** fe7b6341501e4faa6b2726fb464bcd2acc4a015e16ca762fc29559afa738441b ssh-agent -k 20:55:03 unset SSH_AUTH_SOCK; 20:55:03 unset SSH_AGENT_PID; 20:55:03 echo Agent pid 38 killed; 20:55:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:55:03 + git semver [Pipeline] } 20:55:04 $ docker stop --time=1 fe7b6341501e4faa6b2726fb464bcd2acc4a015e16ca762fc29559afa738441b 20:55:05 $ docker rm -f --volumes fe7b6341501e4faa6b2726fb464bcd2acc4a015e16ca762fc29559afa738441b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:55:05 20:55:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:55:06 0.23.1-centos7: Pulling from edgex-lftools 20:55:06 ab5ef0e58194: Pulling fs layer 20:55:06 9712f1f96733: Pulling fs layer 20:55:06 63f879dbbcfc: Pulling fs layer 20:55:06 0d9ebad4ef96: Pulling fs layer 20:55:06 e9a5061849ea: Pulling fs layer 20:55:06 d747dcd14b5f: Pulling fs layer 20:55:06 2de7ff778b66: Pulling fs layer 20:55:06 e9a5061849ea: Waiting 20:55:06 d747dcd14b5f: Waiting 20:55:06 2de7ff778b66: Waiting 20:55:06 9712f1f96733: Verifying Checksum 20:55:06 9712f1f96733: Download complete 20:55:06 63f879dbbcfc: Verifying Checksum 20:55:06 63f879dbbcfc: Download complete 20:55:06 e9a5061849ea: Verifying Checksum 20:55:06 e9a5061849ea: Download complete 20:55:06 0d9ebad4ef96: Verifying Checksum 20:55:06 0d9ebad4ef96: Download complete 20:55:06 d747dcd14b5f: Download complete 20:55:06 ab5ef0e58194: Verifying Checksum 20:55:06 ab5ef0e58194: Download complete 20:55:06 2de7ff778b66: Verifying Checksum 20:55:06 2de7ff778b66: Download complete 20:55:09 ab5ef0e58194: Pull complete 20:55:09 9712f1f96733: Pull complete 20:55:10 63f879dbbcfc: Pull complete 20:55:13 0d9ebad4ef96: Pull complete 20:55:13 e9a5061849ea: Pull complete 20:55:14 d747dcd14b5f: Pull complete 20:55:15 2de7ff778b66: Pull complete 20:55:15 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:55:15 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:55:15 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:55:15 prd-ubuntu20.04-docker-8c-8g-7216 does not seem to be running inside a container 20:55:15 $ 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 20:55:18 $ docker top 44a2ecef1dc65d1a5a495fb1244e2a004a560d5e03c54cbba7eb56a0d3d7b0d8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:55:18 provisioning config files... 20:55:18 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12862905317456768310tmp 20:55:18 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1498575989644766739tmp 20:55:18 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11599740400828751523tmp [Pipeline] { [Pipeline] echo 20:55:18 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:55:19 ---> sigul-configuration.sh 20:55:19 gpg: directory `/root/.gnupg' created 20:55:19 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:55:19 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:55:19 gpg: keyring `/root/.gnupg/secring.gpg' created 20:55:19 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:55:19 gpg: CAST5 encrypted data 20:55:19 gpg: encrypted with 1 passphrase 20:55:19 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:55:19 + mkdir /home/jenkins 20:55:19 + mkdir /home/jenkins/sigul [Pipeline] sh 20:55:19 + 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 20:55:19 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:55:20 ---> sigul-install.sh 20:55:20 Sigul already installed; skipping installation. [Pipeline] sh 20:55:20 + git tag --list 20:55:20 v1.0.0 20:55:20 v1.1.0 20:55:20 v1.1.1 20:55:20 v1.1.2 20:55:20 v1.2.0 20:55:20 v1.2.1 20:55:20 v2.0.0 20:55:20 v2.1.0 20:55:20 v2.1.1 20:55:20 v2.2.0 20:55:20 v2.3.0 20:55:20 v3.0 20:55:20 v3.0.0 20:55:20 v3.1.0-dev.1 20:55:20 v3.1.0-dev.10 20:55:20 v3.1.0-dev.11 20:55:20 v3.1.0-dev.12 20:55:20 v3.1.0-dev.13 20:55:20 v3.1.0-dev.14 20:55:20 v3.1.0-dev.15 20:55:20 v3.1.0-dev.2 20:55:20 v3.1.0-dev.3 20:55:20 v3.1.0-dev.4 20:55:20 v3.1.0-dev.5 20:55:20 v3.1.0-dev.6 20:55:20 v3.1.0-dev.7 20:55:20 v3.1.0-dev.8 20:55:20 v3.1.0-dev.9 [Pipeline] sh 20:55:20 + lftools sign git-tag v3.1.0-dev.15 20:55:21 Signing Git tag with Sigul... 20:55:21 Signing v3.1.0-dev.15 [Pipeline] echo 20:55:21 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:55:21 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:55:21 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:55:21 $ docker stop --time=1 44a2ecef1dc65d1a5a495fb1244e2a004a560d5e03c54cbba7eb56a0d3d7b0d8 20:55:23 $ docker rm -f --volumes 44a2ecef1dc65d1a5a495fb1244e2a004a560d5e03c54cbba7eb56a0d3d7b0d8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:55:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:55:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:55:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:55:23 prd-ubuntu20.04-docker-8c-8g-7216 does not seem to be running inside a container 20:55:23 $ 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 20:55:24 $ docker top 680ceb1b5b0a6e97111649347e95592960807a027d767045e3e2fd6eaab8475b -eo pid,comm 20:55:24 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). 20:55:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:55:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:55:24 [ssh-agent] Looking for ssh-agent implementation... 20:55:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:55:24 $ docker exec 680ceb1b5b0a6e97111649347e95592960807a027d767045e3e2fd6eaab8475b ssh-agent 20:55:24 SSH_AUTH_SOCK=/tmp/ssh-Lyo8E4CDg9PR/agent.32 20:55:24 SSH_AGENT_PID=38 20:55:24 Running ssh-add (command line suppressed) 20:55:24 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17797535869596382991.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17797535869596382991.key) 20:55:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:55:24 + git semver bump pre 20:55:25 2023-09-20 20:55:25,029 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:55:25 2023-09-20 20:55:25,029 [bump_version] DEBUG bumping version:3.1.0-dev.15 on axis:pre with prefix:dev 20:55:25 2023-09-20 20:55:25,029 [bump_version] DEBUG bumped version:3.1.0-dev.16 20:55:25 2023-09-20 20:55:25,029 [write_version] DEBUG write version:3.1.0-dev.16 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 20:55:25 2023-09-20 20:55:25,029 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:55:25 2023-09-20 20:55:25,029 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:55:25 2023-09-20 20:55:25,031 [execute] INFO git cat-file --batch-check 20:55:25 2023-09-20 20:55:25,031 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:55:25 2023-09-20 20:55:25,036 [execute] INFO git cat-file --batch 20:55:25 2023-09-20 20:55:25,036 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:55:25 2023-09-20 20:55:25,040 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:55:25 3.1.0-dev.16 [Pipeline] } 20:55:25 $ docker exec --env ******** --env ******** 680ceb1b5b0a6e97111649347e95592960807a027d767045e3e2fd6eaab8475b ssh-agent -k 20:55:25 unset SSH_AUTH_SOCK; 20:55:25 unset SSH_AGENT_PID; 20:55:25 echo Agent pid 38 killed; 20:55:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:55:25 + git semver [Pipeline] } 20:55:25 $ docker stop --time=1 680ceb1b5b0a6e97111649347e95592960807a027d767045e3e2fd6eaab8475b 20:55:27 $ docker rm -f --volumes 680ceb1b5b0a6e97111649347e95592960807a027d767045e3e2fd6eaab8475b [Pipeline] // withDockerContainer [Pipeline] sh 20:55:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:55:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:55:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:55:27 prd-ubuntu20.04-docker-8c-8g-7216 does not seem to be running inside a container 20:55:27 $ 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 20:55:28 $ docker top e8f7d64557aceaaa36bee7de7717b8817ec3a73c12950b5ef370f0106292bced -eo pid,comm 20:55:28 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). 20:55:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:55:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:55:28 [ssh-agent] Looking for ssh-agent implementation... 20:55:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:55:28 $ docker exec e8f7d64557aceaaa36bee7de7717b8817ec3a73c12950b5ef370f0106292bced ssh-agent 20:55:28 SSH_AUTH_SOCK=/tmp/ssh-q2nXCcAHGQFV/agent.32 20:55:28 SSH_AGENT_PID=38 20:55:28 Running ssh-add (command line suppressed) 20:55:28 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10367235832873772063.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10367235832873772063.key) 20:55:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:55:28 + git semver push 20:55:29 2023-09-20 20:55:29,031 [run_push] DEBUG push 20:55:29 2023-09-20 20:55:29,032 [execute] INFO git cat-file --batch-check 20:55:29 2023-09-20 20:55:29,032 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:55:29 2023-09-20 20:55:29,035 [execute] INFO git rev-list 82e37ca7ceb144b429bf3af1e30b833b0faa9efb -- 20:55:29 2023-09-20 20:55:29,035 [execute] DEBUG Popen(['git', 'rev-list', '82e37ca7ceb144b429bf3af1e30b833b0faa9efb', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 20:55:29 2023-09-20 20:55:29,044 [execute] INFO git fetch -v origin 20:55:29 2023-09-20 20:55:29,044 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 20:55:29 2023-09-20 20:55:29,624 [run_push] DEBUG no remote changes detected 20:55:29 2023-09-20 20:55:29,625 [execute] INFO git push origin semver 20:55:29 2023-09-20 20:55:29,625 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 20:55:30 2023-09-20 20:55:30,406 [run_push] DEBUG push all version tags 20:55:30 2023-09-20 20:55:30,407 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 20:55:30 2023-09-20 20:55:30,407 [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) 20:55:31 2023-09-20 20:55:31,192 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:55:31 3.1.0-dev.16 [Pipeline] } 20:55:31 $ docker exec --env ******** --env ******** e8f7d64557aceaaa36bee7de7717b8817ec3a73c12950b5ef370f0106292bced ssh-agent -k 20:55:31 unset SSH_AUTH_SOCK; 20:55:31 unset SSH_AGENT_PID; 20:55:31 echo Agent pid 38 killed; 20:55:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:55:32 + git semver [Pipeline] } 20:55:32 $ docker stop --time=1 e8f7d64557aceaaa36bee7de7717b8817ec3a73c12950b5ef370f0106292bced 20:55:33 $ docker rm -f --volumes e8f7d64557aceaaa36bee7de7717b8817ec3a73c12950b5ef370f0106292bced [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 20:55:34 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 20:55:34 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 20:55:34 total 16 20:55:34 drwxr-xr-x 3 root root 4096 Sep 20 20:45 . 20:55:34 drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 20:55 .. 20:55:34 drwxr-xr-x 2 root root 4096 Sep 20 20:45 cost 20:55:34 -rw-r--r-- 1 root root 86 Sep 20 20:45 cost.csv 20:55:34 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 20:55:34 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 20:55:34 total 16 20:55:34 drwxr-xr-x 3 jenkins jenkins 4096 Sep 20 20:45 . 20:55:34 drwxrwxr-x 10 jenkins jenkins 4096 Sep 20 20:55 .. 20:55:34 drwxr-xr-x 2 jenkins jenkins 4096 Sep 20 20:45 cost 20:55:34 -rw-r--r-- 1 jenkins jenkins 86 Sep 20 20:45 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:55:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:55:35 ---> package-listing.sh 20:55:35 ++ facter osfamily 20:55:35 ++ tr '[:upper:]' '[:lower:]' 20:55:35 + OS_FAMILY=debian 20:55:35 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 20:55:35 + START_PACKAGES=/tmp/packages_start.txt 20:55:35 + END_PACKAGES=/tmp/packages_end.txt 20:55:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:55:35 + PACKAGES=/tmp/packages_start.txt 20:55:35 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 20:55:35 + PACKAGES=/tmp/packages_end.txt 20:55:35 + case "${OS_FAMILY}" in 20:55:35 + dpkg -l 20:55:35 + grep '^ii' 20:55:35 + '[' -f /tmp/packages_start.txt ']' 20:55:35 + '[' -f /tmp/packages_end.txt ']' 20:55:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:55:35 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 20:55:35 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 20:55:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 20:55:35 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 20:55:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:55:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:55:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:55:36 prd-ubuntu20.04-docker-8c-8g-7216 does not seem to be running inside a container 20:55:36 $ 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 20:55:36 $ docker top 2f08ad6d897956d200e8ecef3ea1fb77cf2d2c509000a7f918d5da2b76eef0a5 -eo pid,comm [Pipeline] { [Pipeline] sh 20:55:37 + touch /tmp/pre-build-complete [Pipeline] sh 20:55:37 + mkdir -p /var/log/sysstat [Pipeline] sh 20:55:37 + ls /var/log/sa-host 20:55:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:55:37 provisioning config files... 20:55:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7456970730142831601tmp [Pipeline] { [Pipeline] echo 20:55:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:55:38 ---> create-netrc.sh [Pipeline] } 20:55:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:55:38 ---> python-tools-install.sh [Pipeline] echo 20:55:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:55:38 ---> sudo-logs.sh 20:55:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:55:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:55:38 ---> job-cost.sh 20:55:38 lf-activate-venv: SKIPPING 20:55:38 DEBUG: total: 0.2199999988079071 20:55:38 INFO: Retrieving Stack Cost... 20:55:39 INFO: Retrieving Pricing Info for: v3-standard-8 20:55:39 INFO: Archiving Costs [Pipeline] echo 20:55:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:55:40 ---> logs-deploy.sh 20:55:40 lf-activate-venv: SKIPPING 20:55:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/135 20:55:40 INFO: archiving workspace using pattern(s): 20:55:41 Archives upload complete. 20:55:41 INFO: archiving logs to Nexus