Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from d5c17b765e654ed444623cbfa16304672a2cc7d9 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-ssh16409555227238222486.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-ssh5725694264601520780.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-ssh2544485428592410240.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-ssh4403418942198453134.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-ssh3184091852273778446.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 ‘prd-ubuntu20.04-docker-8c-8g-8072’ is offline Running on prd-ubuntu20.04-docker-8c-8g-8075 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 d5c17b765e654ed444623cbfa16304672a2cc7d9 (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 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#347)" > git checkout -f d5c17b765e654ed444623cbfa16304672a2cc7d9 # timeout=10 > git rev-list --no-walk 73bea07d0c9b5090e1f6a3014a45db50fae0ec58 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:23:11 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:23:12 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:23:12 ========================================================= 21:23:12 EdgeX Global Pipelines Version Info 21:23:12 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:23:12 ------------------- 21:23:12 stable info: 21:23:12 ------------------- 21:23:12 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 21:23:12 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 21:23:12 Message: update stable to v1.0.254 21:23:13 ------------------- 21:23:13 experimental info: 21:23:13 ------------------- 21:23:13 Commited By: **** collab-it+edgex@linuxfoundation.org 21:23:13 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 21:23:13 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:23:13 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 21:23:13 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 21:23:13 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:23:13 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:23:13 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:23:13 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 21:23:13 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:23:13 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:23:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:23:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:23:13 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:23:13 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 21:23:13 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:23:13 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:23:13 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:23:13 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:23:13 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:23:13 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:23:13 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:23:13 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:23:13 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:23:13 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:23:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:23:13 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:23:13 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:23:13 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:23:13 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:23:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:23:13 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:23:13 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:23:13 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = d5c17b765e654ed444623cbfa16304672a2cc7d9 [Pipeline] echo 21:23:13 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = d5c17b7 [Pipeline] echo 21:23:13 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:23:13 provisioning config files... 21:23:13 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13321146484712599273tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:23:14 ---> docker-login.sh 21:23:14 nexus3.edgexfoundry.org:10001 21:23:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:14 Configure a credential helper to remove this warning. See 21:23:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:14 21:23:14 Login Succeeded 21:23:14 nexus3.edgexfoundry.org:10002 21:23:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:14 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:14 Configure a credential helper to remove this warning. See 21:23:14 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:14 21:23:14 Login Succeeded 21:23:14 nexus3.edgexfoundry.org:10003 21:23:14 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:15 Configure a credential helper to remove this warning. See 21:23:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:15 21:23:15 Login Succeeded 21:23:15 nexus3.edgexfoundry.org:10004 21:23:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:15 Configure a credential helper to remove this warning. See 21:23:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:15 21:23:15 Login Succeeded 21:23:15 docker.io 21:23:15 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:15 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:15 Configure a credential helper to remove this warning. See 21:23:15 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:15 21:23:15 Login Succeeded 21:23:15 ---> docker-login.sh ends [Pipeline] } 21:23:15 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:23:15 + git rev-list -1 --merges d5c17b765e654ed444623cbfa16304672a2cc7d9~1..d5c17b765e654ed444623cbfa16304672a2cc7d9 [Pipeline] echo 21:23:15 -----------> git rev-list -1 --merges d5c17b765e654ed444623cbfa16304672a2cc7d9~1..d5c17b765e654ed444623cbfa16304672a2cc7d9 d5c17b765e654ed444623cbfa16304672a2cc7d9 [false] [Pipeline] sh 21:23:16 + git log --format=format:%s -1 d5c17b765e654ed444623cbfa16304672a2cc7d9 [Pipeline] echo 21:23:16 ========================================================= 21:23:16 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:23:16 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:23:16 + git log --format=format:%s -1 d5c17b765e654ed444623cbfa16304672a2cc7d9 [Pipeline] echo 21:23:16 [semverPrep] GIT_COMMIT: d5c17b765e654ed444623cbfa16304672a2cc7d9, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#347) [Pipeline] echo 21:23:16 [semverPrep] This is not a build commit. [Pipeline] sh 21:23:16 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:23:16 + grep -v github /etc/ssh/ssh_known_hosts 21:23:16 + [ -e /tmp/ssh_known_hosts ] 21:23:16 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:23:16 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:23:16 + sudo tee -a /etc/ssh/ssh_known_hosts 21:23:16 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:23:17 21:23:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:23:17 0.1.4: Pulling from edgex-devops/py-git-semver 21:23:17 b85a868b505f: Pulling fs layer 21:23:17 e2be974225ed: Pulling fs layer 21:23:17 339a4e72a1f5: Pulling fs layer 21:23:17 988bab9f4d93: Pulling fs layer 21:23:17 1469e6f7b9e6: Pulling fs layer 21:23:17 eaf3925da568: Pulling fs layer 21:23:17 bab4dde63d76: Pulling fs layer 21:23:17 bde34c3a00c8: Pulling fs layer 21:23:17 b352a97aabf1: Pulling fs layer 21:23:17 988bab9f4d93: Waiting 21:23:17 1469e6f7b9e6: Waiting 21:23:17 bab4dde63d76: Waiting 21:23:17 eaf3925da568: Waiting 21:23:17 bde34c3a00c8: Waiting 21:23:17 b352a97aabf1: Waiting 21:23:17 4872d77fe225: Pulling fs layer 21:23:17 5851b861e8e6: Pulling fs layer 21:23:17 4872d77fe225: Waiting 21:23:17 5851b861e8e6: Waiting 21:23:17 e2be974225ed: Verifying Checksum 21:23:17 e2be974225ed: Download complete 21:23:17 988bab9f4d93: Verifying Checksum 21:23:17 988bab9f4d93: Download complete 21:23:17 339a4e72a1f5: Verifying Checksum 21:23:17 339a4e72a1f5: Download complete 21:23:17 1469e6f7b9e6: Verifying Checksum 21:23:17 1469e6f7b9e6: Download complete 21:23:17 eaf3925da568: Verifying Checksum 21:23:17 eaf3925da568: Download complete 21:23:17 bde34c3a00c8: Download complete 21:23:17 b352a97aabf1: Verifying Checksum 21:23:17 b352a97aabf1: Download complete 21:23:17 4872d77fe225: Verifying Checksum 21:23:17 4872d77fe225: Download complete 21:23:17 5851b861e8e6: Verifying Checksum 21:23:17 5851b861e8e6: Download complete 21:23:17 b85a868b505f: Verifying Checksum 21:23:17 b85a868b505f: Download complete 21:23:18 bab4dde63d76: Verifying Checksum 21:23:18 bab4dde63d76: Download complete 21:23:19 b85a868b505f: Pull complete 21:23:19 e2be974225ed: Pull complete 21:23:19 339a4e72a1f5: Pull complete 21:23:19 988bab9f4d93: Pull complete 21:23:20 1469e6f7b9e6: Pull complete 21:23:20 eaf3925da568: Pull complete 21:23:22 bab4dde63d76: Pull complete 21:23:22 bde34c3a00c8: Pull complete 21:23:22 b352a97aabf1: Pull complete 21:23:22 4872d77fe225: Pull complete 21:23:22 5851b861e8e6: Pull complete 21:23:22 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:23:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:23:22 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:23:22 prd-ubuntu20.04-docker-8c-8g-8075 does not seem to be running inside a container 21:23:22 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:23:27 $ docker top 41bcb1f83b3a1bcf4eb7d865cce10435fa5bb695d5bb04baaf4301da3bee4f62 -eo pid,comm 21:23:27 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:23:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:23:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:23:27 [ssh-agent] Looking for ssh-agent implementation... 21:23:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:23:27 $ docker exec 41bcb1f83b3a1bcf4eb7d865cce10435fa5bb695d5bb04baaf4301da3bee4f62 ssh-agent 21:23:27 SSH_AUTH_SOCK=/tmp/ssh-9qls0IIUGivF/agent.32 21:23:27 SSH_AGENT_PID=38 21:23:27 Running ssh-add (command line suppressed) 21:23:27 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14255564902094426395.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14255564902094426395.key) 21:23:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:23:27 + git tag --points-at HEAD [Pipeline] } 21:23:27 $ docker exec --env ******** --env ******** 41bcb1f83b3a1bcf4eb7d865cce10435fa5bb695d5bb04baaf4301da3bee4f62 ssh-agent -k 21:23:28 unset SSH_AUTH_SOCK; 21:23:28 unset SSH_AGENT_PID; 21:23:28 echo Agent pid 38 killed; 21:23:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:23:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:23:28 [ssh-agent] Looking for ssh-agent implementation... 21:23:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:23:28 $ docker exec 41bcb1f83b3a1bcf4eb7d865cce10435fa5bb695d5bb04baaf4301da3bee4f62 ssh-agent 21:23:28 SSH_AUTH_SOCK=/tmp/ssh-LtwJDECG1ORY/agent.70 21:23:28 SSH_AGENT_PID=75 21:23:28 Running ssh-add (command line suppressed) 21:23:28 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11231629300619464406.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11231629300619464406.key) 21:23:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:23:28 + git semver init 21:23:28 2023-09-27 21:23:28,892 [run_init] DEBUG init version:0.0.0 force:False 21:23:28 2023-09-27 21:23:28,893 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 21:23:28 2023-09-27 21:23:28,893 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 21:23:28 2023-09-27 21:23:28,893 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 21:23:30 2023-09-27 21:23:30,038 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 21:23:30 2023-09-27 21:23:30,039 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 21:23:30 2023-09-27 21:23:30,039 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:23:30 2023-09-27 21:23:30,039 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:23:30 3.1.0-dev.19 [Pipeline] } 21:23:30 $ docker exec --env ******** --env ******** 41bcb1f83b3a1bcf4eb7d865cce10435fa5bb695d5bb04baaf4301da3bee4f62 ssh-agent -k 21:23:30 unset SSH_AUTH_SOCK; 21:23:30 unset SSH_AGENT_PID; 21:23:30 echo Agent pid 75 killed; 21:23:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:23:30 + git semver [Pipeline] } 21:23:31 $ docker stop --time=1 41bcb1f83b3a1bcf4eb7d865cce10435fa5bb695d5bb04baaf4301da3bee4f62 21:23:32 $ docker rm -f --volumes 41bcb1f83b3a1bcf4eb7d865cce10435fa5bb695d5bb04baaf4301da3bee4f62 [Pipeline] // withDockerContainer [Pipeline] sh 21:23:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:23:32 Stashed 1 file(s) [Pipeline] echo 21:23:32 [edgeXSemver]: initialized semver on version 3.1.0-dev.19 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:23:33 provisioning config files... 21:23:33 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11572118775146724148tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:23:33 ---> docker-login.sh 21:23:33 nexus3.edgexfoundry.org:10001 21:23:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:33 Configure a credential helper to remove this warning. See 21:23:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:33 21:23:33 Login Succeeded 21:23:33 nexus3.edgexfoundry.org:10002 21:23:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:33 Configure a credential helper to remove this warning. See 21:23:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:33 21:23:33 Login Succeeded 21:23:33 nexus3.edgexfoundry.org:10003 21:23:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:33 Configure a credential helper to remove this warning. See 21:23:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:33 21:23:33 Login Succeeded 21:23:33 nexus3.edgexfoundry.org:10004 21:23:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:33 Configure a credential helper to remove this warning. See 21:23:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:33 21:23:33 Login Succeeded 21:23:33 docker.io 21:23:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:34 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:34 Configure a credential helper to remove this warning. See 21:23:34 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:34 21:23:34 Login Succeeded 21:23:34 ---> docker-login.sh ends [Pipeline] } 21:23:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:23:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:23:34 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:23:34 ========================================================= 21:23:34 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 21:23:34 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:34 + 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 . 21:23:34 Sending build context to Docker daemon 10.92MB 21:23:34 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:23:34 Step 2/12 : FROM ${BASE} AS builder 21:23:34 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 21:23:34 7264a8db6415: Pulling fs layer 21:23:34 c4d48a809fc2: Pulling fs layer 21:23:34 4f1c88b9dad5: Pulling fs layer 21:23:34 ad3a456e5733: Pulling fs layer 21:23:34 33e27b845d1e: Pulling fs layer 21:23:34 c68163c4e522: Pulling fs layer 21:23:34 50da416c3ac9: Pulling fs layer 21:23:34 23d2d4c4bb30: Pulling fs layer 21:23:34 c68163c4e522: Waiting 21:23:34 50da416c3ac9: Waiting 21:23:34 23d2d4c4bb30: Waiting 21:23:34 ad3a456e5733: Waiting 21:23:34 33e27b845d1e: Waiting 21:23:34 c4d48a809fc2: Verifying Checksum 21:23:34 c4d48a809fc2: Download complete 21:23:34 ad3a456e5733: Verifying Checksum 21:23:34 ad3a456e5733: Download complete 21:23:34 33e27b845d1e: Verifying Checksum 21:23:34 33e27b845d1e: Download complete 21:23:34 7264a8db6415: Verifying Checksum 21:23:34 7264a8db6415: Download complete 21:23:34 c68163c4e522: Verifying Checksum 21:23:34 c68163c4e522: Download complete 21:23:34 7264a8db6415: Pull complete 21:23:35 c4d48a809fc2: Pull complete 21:23:35 23d2d4c4bb30: Verifying Checksum 21:23:35 23d2d4c4bb30: Download complete 21:23:35 4f1c88b9dad5: Download complete 21:23:35 50da416c3ac9: Verifying Checksum 21:23:38 4f1c88b9dad5: Pull complete 21:23:38 ad3a456e5733: Pull complete 21:23:38 33e27b845d1e: Pull complete 21:23:38 c68163c4e522: Pull complete 21:23:41 50da416c3ac9: Pull complete 21:23:41 23d2d4c4bb30: Pull complete 21:23:41 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 21:23:42 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 21:23:42 ---> 0786185ac409 21:23:42 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:23:48 Still waiting to schedule task 21:23:48 ‘prd-ubuntu20.04-docker-arm64-4c-16g-8073’ is offline 21:23:48 ---> Running in 6987dc75e6db 21:23:48 Removing intermediate container 6987dc75e6db 21:23:48 ---> b86dcb7abd65 21:23:48 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:23:48 ---> Running in d667909737be 21:23:48 Removing intermediate container d667909737be 21:23:48 ---> ece1809023f4 21:23:48 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:23:48 ---> Running in 51b37715c61a 21:23:48 Removing intermediate container 51b37715c61a 21:23:48 ---> b4c10ca8bf2d 21:23:48 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:23:48 ---> Running in 9c982dee7f77 21:23:48 Removing intermediate container 9c982dee7f77 21:23:48 ---> bbf9eaf29bd5 21:23:48 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:23:48 ---> Running in de9e2f6a7096 21:23:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:23:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:23:48 (1/4) Installing openssh-keygen (9.3_p2-r0) 21:23:48 (2/4) Installing libedit (20221030.3.1-r1) 21:23:48 (3/4) Installing openssh-client-common (9.3_p2-r0) 21:23:48 (4/4) Installing openssh-client-default (9.3_p2-r0) 21:23:48 Executing busybox-1.36.1-r2.trigger 21:23:48 OK: 268 MiB in 56 packages 21:23:49 Removing intermediate container de9e2f6a7096 21:23:49 ---> e2355b552e72 21:23:49 Step 8/12 : WORKDIR /device-rest-go 21:23:49 ---> Running in 6d019d2789bf 21:23:49 Removing intermediate container 6d019d2789bf 21:23:49 ---> 035ac9c7a453 21:23:49 Step 9/12 : COPY go.mod vendor* ./ 21:23:49 ---> 6a1de50809ef 21:23:49 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:23:49 ---> Running in 92c22c647ab1 21:24:28 Removing intermediate container 92c22c647ab1 21:24:28 ---> bd215703cb8a 21:24:28 Step 11/12 : COPY . . 21:24:28 ---> 07f622458dd3 21:24:28 Step 12/12 : RUN $MAKE 21:24:28 ---> Running in 859f4c127ad7 21:24:28 noop 21:24:28 Removing intermediate container 859f4c127ad7 21:24:28 ---> 7ca8ae73c6b3 21:24:28 Successfully built 7ca8ae73c6b3 21:24:28 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:28 + docker inspect -f . ci-base-image-x86_64 21:24:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:24:28 prd-ubuntu20.04-docker-8c-8g-8075 does not seem to be running inside a container 21:24:29 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:24:29 $ docker top 4cb3ea2d6fdc96d95fb60772486792282e809126888fbd3f0cd1e7931b453489 -eo pid,comm [Pipeline] { [Pipeline] sh 21:24:29 + go version 21:24:29 go version go1.21.0 linux/amd64 [Pipeline] } 21:24:29 $ docker stop --time=1 4cb3ea2d6fdc96d95fb60772486792282e809126888fbd3f0cd1e7931b453489 21:24:31 $ docker rm -f --volumes 4cb3ea2d6fdc96d95fb60772486792282e809126888fbd3f0cd1e7931b453489 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:31 + docker inspect -f . ci-base-image-x86_64 21:24:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:24:31 prd-ubuntu20.04-docker-8c-8g-8075 does not seem to be running inside a container 21:24:31 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 21:24:31 $ docker top 71d918708c5b39f9441c71adf851790503c32ef996c9c4a4d6b61105e008facd -eo pid,comm [Pipeline] { [Pipeline] sh 21:24:32 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 21:24:32 + make test 21:24:32 go test ./... -coverprofile=coverage.out ./... 21:24:33 ? github.com/edgexfoundry/device-rest-go [no test files] 21:24:43 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:24:43 ok github.com/edgexfoundry/device-rest-go/driver 0.009s coverage: 33.2% of statements 21:24:49 go vet ./... 21:24:53 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:24:53 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:24:53 ./bin/test-attribution-txt.sh [Pipeline] echo 21:24:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:24:53 $ docker stop --time=1 71d918708c5b39f9441c71adf851790503c32ef996c9c4a4d6b61105e008facd 21:24:56 $ docker rm -f --volumes 71d918708c5b39f9441c71adf851790503c32ef996c9c4a4d6b61105e008facd [Pipeline] // withDockerContainer [Pipeline] sh 21:24:56 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:24:56 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:24:57 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:24:57 + ls -al . 21:24:57 total 188 21:24:57 drwxrwxr-x 9 jenkins jenkins 4096 Sep 27 21:24 . 21:24:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:23 .. 21:24:57 -rw-rw-r-- 1 jenkins jenkins 151 Sep 27 21:23 .dockerignore 21:24:57 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 21:24 .git 21:24:57 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:23 .github 21:24:57 -rw-rw-r-- 1 jenkins jenkins 329 Sep 27 21:23 .gitignore 21:24:57 -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 21:23 .golangci.yml 21:24:57 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 21:23 .semver 21:24:57 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 27 21:23 Attribution.txt 21:24:57 -rw-rw-r-- 1 jenkins jenkins 15709 Sep 27 21:23 CHANGELOG.md 21:24:57 -rw-rw-r-- 1 jenkins jenkins 1578 Sep 27 21:23 Dockerfile 21:24:57 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 21:23 GOVERNANCE.md 21:24:57 -rw-rw-r-- 1 jenkins jenkins 680 Sep 27 21:23 Jenkinsfile 21:24:57 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 21:23 LICENSE 21:24:57 -rw-rw-r-- 1 jenkins jenkins 2010 Sep 27 21:23 Makefile 21:24:57 -rw-rw-r-- 1 jenkins jenkins 620 Sep 27 21:23 OWNERS.md 21:24:57 -rw-rw-r-- 1 jenkins jenkins 15827 Sep 27 21:23 README.md 21:24:57 -rw-rw-r-- 1 jenkins jenkins 12 Sep 27 21:23 VERSION 21:24:57 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:23 bin 21:24:57 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:23 cmd 21:24:57 -rw-r--r-- 1 jenkins jenkins 14499 Sep 27 21:24 coverage.out 21:24:57 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:23 driver 21:24:57 -rw-rw-r-- 1 jenkins jenkins 3890 Sep 27 21:23 go.mod 21:24:57 -rw-rw-r-- 1 jenkins jenkins 35623 Sep 27 21:23 go.sum 21:24:57 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:23 snap 21:24:57 -rw-rw-r-- 1 jenkins jenkins 713 Sep 27 21:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:24:58 + 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=d5c17b765e654ed444623cbfa16304672a2cc7d9 --label arch=amd64 --label version=3.1.0-dev.19 . 21:24:58 Sending build context to Docker daemon 10.93MB 21:24:58 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 21:24:58 Step 2/25 : FROM ${BASE} AS builder 21:24:58 ---> 7ca8ae73c6b3 21:24:58 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:24:58 ---> Running in 3eddbb54fd43 21:24:58 Removing intermediate container 3eddbb54fd43 21:24:58 ---> 0fc98ededf65 21:24:58 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:24:58 ---> Running in 2ae91be01578 21:24:58 Removing intermediate container 2ae91be01578 21:24:58 ---> 1b588e67479c 21:24:58 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:24:58 ---> Running in a9541f770c0c 21:24:58 Removing intermediate container a9541f770c0c 21:24:58 ---> 9784e1c78715 21:24:58 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:24:58 ---> Running in db9bb9333be4 21:24:58 Removing intermediate container db9bb9333be4 21:24:58 ---> 7a510d0ece65 21:24:58 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:24:58 ---> Running in b5050ceca483 21:24:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:24:59 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:24:59 OK: 268 MiB in 56 packages 21:24:59 Removing intermediate container b5050ceca483 21:24:59 ---> 88d9d371b831 21:24:59 Step 8/25 : WORKDIR /device-rest-go 21:24:59 ---> Running in 304a970350cd 21:24:59 Removing intermediate container 304a970350cd 21:24:59 ---> d7ec928c9f6a 21:24:59 Step 9/25 : COPY go.mod vendor* ./ 21:24:59 ---> 542dbc888e28 21:24:59 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:24:59 ---> Running in d6aa42dd1331 21:25:00 Removing intermediate container d6aa42dd1331 21:25:00 ---> a1bcd67e6e52 21:25:00 Step 11/25 : COPY . . 21:25:01 ---> 4faa1fe80984 21:25:01 Step 12/25 : RUN $MAKE 21:25:01 ---> Running in a00267dcb9fc 21:25:01 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.19 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.32" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:25:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8076 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 21:25:12 Running in /w/workspace/device-rest-go/139 [Pipeline] { [Pipeline] checkout 21:25:12 The recommended git tool is: git 21:25:17 using credential edgex-jenkins-ssh 21:25:17 Cloning the remote Git repository 21:25:17 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:25:18 > git init /w/workspace/device-rest-go/139 # timeout=10 21:25:18 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:25:18 > git --version # timeout=10 21:25:18 > git --version # 'git version 2.25.1' 21:25:18 using GIT_SSH to set credentials SSH Credentials for GitHub 21:25:19 Removing intermediate container a00267dcb9fc 21:25:19 ---> 596f92229616 21:25:19 Step 13/25 : FROM alpine:3.18 21:25:19 3.18: Pulling from library/alpine 21:25:19 7264a8db6415: Already exists 21:25:19 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 21:25:19 Status: Downloaded newer image for alpine:3.18 21:25:19 ---> 7e01a0d0a1dc 21:25:19 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:25:19 ---> Running in 133e5d21e850 21:25:19 Removing intermediate container 133e5d21e850 21:25:19 ---> 752dc384dd0a 21:25:19 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:25:19 ---> Running in d2735d055b7a 21:25:19 Removing intermediate container d2735d055b7a 21:25:19 ---> 6f534284c64a 21:25:19 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:25:19 ---> Running in 1d67cda4b861 21:25:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 21:25:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:25:20 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 21:25:20 (1/1) Installing dumb-init (1.2.5-r2) 21:25:20 Executing busybox-1.36.1-r2.trigger 21:25:20 OK: 7 MiB in 16 packages 21:25:20 Removing intermediate container 1d67cda4b861 21:25:20 ---> af6d7112e226 21:25:20 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:25:20 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:25:20 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:25:21 Avoid second fetch 21:25:21 Checking out Revision d5c17b765e654ed444623cbfa16304672a2cc7d9 (main) 21:25:21 ---> 6cc9063b8a5b 21:25:21 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:25:22 ---> 02c786c0106b 21:25:22 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:25:22 ---> 6c8717a1e84a 21:25:22 Step 20/25 : EXPOSE 59986 21:25:22 ---> Running in d4cbf5d29e9d 21:25:22 Removing intermediate container d4cbf5d29e9d 21:25:22 ---> 11f70c4ac693 21:25:22 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:25:22 ---> Running in 8ecc8a3474d1 21:25:22 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#347)" 21:25:22 Removing intermediate container 8ecc8a3474d1 21:25:22 ---> 18e82e840145 21:25:22 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:25:22 ---> Running in 0d4d1de7b1e7 21:25:22 Removing intermediate container 0d4d1de7b1e7 21:25:22 ---> c3173907a49b 21:25:22 Step 23/25 : LABEL arch=amd64 21:25:22 ---> Running in 4584d85e2098 21:25:22 Removing intermediate container 4584d85e2098 21:25:22 ---> d38a34a4393d 21:25:22 Step 24/25 : LABEL git_sha=d5c17b765e654ed444623cbfa16304672a2cc7d9 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { 21:25:22 ---> Running in 132d3c0aa61a 21:25:22 Removing intermediate container 132d3c0aa61a 21:25:22 ---> 7b370288d068 21:25:22 Step 25/25 : LABEL version=3.1.0-dev.19 21:25:22 ---> Running in 0a6fa4fb5d93 21:25:22 Removing intermediate container 0a6fa4fb5d93 21:25:22 ---> 6b5f7a1ce073 21:25:22 [Warning] One or more build-args [ARCH] were not consumed 21:25:22 Successfully built 6b5f7a1ce073 21:25:22 Successfully tagged device-rest:latest [Pipeline] stage [Pipeline] { (Prep) [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] sh [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:25:22 provisioning config files... 21:25:22 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17190577385388766530tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:25:21 > git config core.sparsecheckout # timeout=10 21:25:21 > git checkout -f d5c17b765e654ed444623cbfa16304672a2cc7d9 # timeout=10 21:25:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:25:23 % Total % Received % Xferd Average Speed Time Time Time Current 21:25:23 Dload Upload Total Spent Left Speed 21:25:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 99617 0 --:--:-- --:--:-- --:--:-- 99617 21:25:23 ---> docker-login.sh 21:25:23 nexus3.edgexfoundry.org:10001 21:25:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:23 Configure a credential helper to remove this warning. See 21:25:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:23 21:25:23 Login Succeeded 21:25:23 nexus3.edgexfoundry.org:10002 21:25:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:23 Configure a credential helper to remove this warning. See 21:25:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:23 21:25:23 Login Succeeded 21:25:23 nexus3.edgexfoundry.org:10003 [Pipeline] sh 21:25:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:23 Configure a credential helper to remove this warning. See 21:25:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:23 21:25:23 Login Succeeded 21:25:23 nexus3.edgexfoundry.org:10004 21:25:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:23 Configure a credential helper to remove this warning. See 21:25:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:23 21:25:23 Login Succeeded 21:25:23 docker.io 21:25:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:23 Configure a credential helper to remove this warning. See 21:25:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:23 21:25:23 Login Succeeded 21:25:23 ---> docker-login.sh ends [Pipeline] } 21:25:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:25:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] 21:25:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] echo 21:25:23 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 21:25:23 d5c17b765e654ed444623cbfa16304672a2cc7d9 21:25:23 latest 21:25:23 3.1.0-dev.19 21:25:23 d5c17b765e654ed444623cbfa16304672a2cc7d9-3.1.0-dev.19 21:25:23 main 21:25:23 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:24 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:d5c17b765e654ed444623cbfa16304672a2cc7d9 21:25:24 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:25:24 + sudo tee /etc/docker/daemon.new 21:25:24 { 21:25:24 "registry-mirrors": [ 21:25:24 "https://nexus3.edgexfoundry.org:10001" 21:25:24 ], 21:25:24 "bip": "10.250.0.254/24", 21:25:24 "hosts": [ 21:25:24 "tcp://0.0.0.0:5555", 21:25:24 "unix:///var/run/docker.sock" 21:25:24 ], 21:25:24 "mtu": 1458, 21:25:24 "selinux-enabled": true, 21:25:24 "seccomp-profile": "/etc/docker/seccomp.json" 21:25:24 } [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:25:24 + docker push nexus3.edgexfoundry.org:10004/device-rest:d5c17b765e654ed444623cbfa16304672a2cc7d9 21:25:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:25:24 e65fc2ade258: Preparing 21:25:24 ef36c073b1f2: Preparing 21:25:24 859acf312756: Preparing 21:25:24 8524eeac30ca: Preparing 21:25:24 4693057ce236: Preparing 21:25:24 4693057ce236: Layer already exists 21:25:24 8524eeac30ca: Pushed 21:25:24 e65fc2ade258: Pushed 21:25:24 ef36c073b1f2: Pushed 21:25:24 + sudo service docker restart 21:25:27 859acf312756: Pushed 21:25:27 d5c17b765e654ed444623cbfa16304672a2cc7d9: digest: sha256:58bf0459201aa0f0711feadbf544cfb6d6e712b209a7908bf19c5a7bbd7fbb7a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:27 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:27 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 21:25:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:25:27 e65fc2ade258: Preparing 21:25:27 ef36c073b1f2: Preparing 21:25:27 859acf312756: Preparing 21:25:27 8524eeac30ca: Preparing 21:25:27 4693057ce236: Preparing 21:25:27 4693057ce236: Layer already exists 21:25:27 e65fc2ade258: Layer already exists 21:25:27 859acf312756: Layer already exists 21:25:27 8524eeac30ca: Layer already exists 21:25:27 ef36c073b1f2: Layer already exists 21:25:27 latest: digest: sha256:58bf0459201aa0f0711feadbf544cfb6d6e712b209a7908bf19c5a7bbd7fbb7a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:28 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:28 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.19 21:25:28 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:25:28 e65fc2ade258: Preparing 21:25:28 ef36c073b1f2: Preparing 21:25:28 859acf312756: Preparing 21:25:28 8524eeac30ca: Preparing 21:25:28 4693057ce236: Preparing 21:25:28 8524eeac30ca: Layer already exists 21:25:28 e65fc2ade258: Layer already exists 21:25:28 4693057ce236: Layer already exists 21:25:28 859acf312756: Layer already exists 21:25:28 ef36c073b1f2: Layer already exists 21:25:28 3.1.0-dev.19: digest: sha256:58bf0459201aa0f0711feadbf544cfb6d6e712b209a7908bf19c5a7bbd7fbb7a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:28 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:d5c17b765e654ed444623cbfa16304672a2cc7d9-3.1.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:29 + docker push nexus3.edgexfoundry.org:10004/device-rest:d5c17b765e654ed444623cbfa16304672a2cc7d9-3.1.0-dev.19 21:25:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:25:29 e65fc2ade258: Preparing 21:25:29 ef36c073b1f2: Preparing 21:25:29 859acf312756: Preparing 21:25:29 8524eeac30ca: Preparing 21:25:29 4693057ce236: Preparing 21:25:29 ef36c073b1f2: Layer already exists 21:25:29 4693057ce236: Layer already exists 21:25:29 859acf312756: Layer already exists 21:25:29 8524eeac30ca: Layer already exists 21:25:29 e65fc2ade258: Layer already exists 21:25:29 d5c17b765e654ed444623cbfa16304672a2cc7d9-3.1.0-dev.19: digest: sha256:58bf0459201aa0f0711feadbf544cfb6d6e712b209a7908bf19c5a7bbd7fbb7a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:29 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:29 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 21:25:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:25:29 e65fc2ade258: Preparing 21:25:29 ef36c073b1f2: Preparing 21:25:29 859acf312756: Preparing 21:25:29 8524eeac30ca: Preparing 21:25:29 4693057ce236: Preparing 21:25:29 859acf312756: Layer already exists 21:25:29 e65fc2ade258: Layer already exists 21:25:29 4693057ce236: Layer already exists 21:25:29 8524eeac30ca: Layer already exists 21:25:29 ef36c073b1f2: Layer already exists 21:25:29 main: digest: sha256:58bf0459201aa0f0711feadbf544cfb6d6e712b209a7908bf19c5a7bbd7fbb7a size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:25:29 ===================================================== [Pipeline] echo 21:25:29 taggedImages: 21:25:29 - nexus3.edgexfoundry.org:10004/device-rest:d5c17b765e654ed444623cbfa16304672a2cc7d9 21:25:29 - nexus3.edgexfoundry.org:10004/device-rest:latest 21:25:29 - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.19 21:25:29 - nexus3.edgexfoundry.org:10004/device-rest:d5c17b765e654ed444623cbfa16304672a2cc7d9-3.1.0-dev.19 21:25:29 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:25:30 21:25:30 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:30 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:25:30 latest: Pulling from edgex-lftools-log-publisher 21:25:30 5eb5b503b376: Pulling fs layer 21:25:30 5c69ac0246d0: Pulling fs layer 21:25:30 ec43610c2a17: Pulling fs layer 21:25:30 3a2ae6a8a46f: Pulling fs layer 21:25:30 33b1e0a273af: Pulling fs layer 21:25:30 5d3b04190fa2: Pulling fs layer 21:25:30 2f39f015ded8: Pulling fs layer 21:25:30 3a2ae6a8a46f: Waiting 21:25:30 33b1e0a273af: Waiting 21:25:30 5d3b04190fa2: Waiting 21:25:30 2f39f015ded8: Waiting 21:25:30 5c69ac0246d0: Verifying Checksum 21:25:30 5c69ac0246d0: Download complete 21:25:30 3a2ae6a8a46f: Download complete 21:25:30 33b1e0a273af: Verifying Checksum 21:25:30 33b1e0a273af: Download complete 21:25:30 5d3b04190fa2: Verifying Checksum 21:25:30 5d3b04190fa2: Download complete 21:25:30 ec43610c2a17: Verifying Checksum 21:25:30 ec43610c2a17: Download complete 21:25:31 5eb5b503b376: Verifying Checksum 21:25:31 5eb5b503b376: Download complete 21:25:31 2f39f015ded8: Download complete 21:25:32 5eb5b503b376: Pull complete 21:25:32 5c69ac0246d0: Pull complete 21:25:32 ec43610c2a17: Pull complete 21:25:32 3a2ae6a8a46f: Pull complete 21:25:32 33b1e0a273af: Pull complete 21:25:32 5d3b04190fa2: Pull complete 21:25:37 2f39f015ded8: Pull complete 21:25:37 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:25:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:25:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:25:37 prd-ubuntu20.04-docker-8c-8g-8075 does not seem to be running inside a container 21:25:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 21:25:42 $ docker top d6127b515770fa74f0b015b60a87e923f22d29f76dfa83433093ca24d516d62c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:25:42 ---> job-cost.sh 21:25:42 lf-activate-venv: SKIPPING 21:25:42 INFO: No Stack... 21:25:42 INFO: Retrieving Pricing Info for: v3-standard-8 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:25:43 provisioning config files... 21:25:43 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/139@tmp/config13921670188606439308tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:25:43 ---> docker-login.sh 21:25:43 nexus3.edgexfoundry.org:10001 21:25:43 INFO: Archiving Costs [Pipeline] sh 21:25:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:43 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 21:25:43 + cut -d, -f6 [Pipeline] lock 21:25:43 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-139-stack-cost] 21:25:43 Resource [jenkins-edgexfoundry-device-rest-go-main-139-stack-cost] did not exist. Created. 21:25:43 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-139-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:25:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:44 Configure a credential helper to remove this warning. See 21:25:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:44 21:25:44 Login Succeeded 21:25:44 nexus3.edgexfoundry.org:10002 21:25:44 + echo total: 0.2199999988079071 [Pipeline] stash 21:25:44 Stashed 1 file(s) [Pipeline] } 21:25:44 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-139-stack-cost] [Pipeline] // lock [Pipeline] } 21:25:44 $ docker stop --time=1 d6127b515770fa74f0b015b60a87e923f22d29f76dfa83433093ca24d516d62c 21:25:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:44 Configure a credential helper to remove this warning. See 21:25:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:44 21:25:44 Login Succeeded 21:25:44 nexus3.edgexfoundry.org:10003 21:25:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:44 Configure a credential helper to remove this warning. See 21:25:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:44 21:25:44 Login Succeeded 21:25:44 nexus3.edgexfoundry.org:10004 21:25:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:45 Configure a credential helper to remove this warning. See 21:25:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:45 21:25:45 Login Succeeded 21:25:45 docker.io 21:25:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:25:45 $ docker rm -f --volumes d6127b515770fa74f0b015b60a87e923f22d29f76dfa83433093ca24d516d62c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:25:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:25:45 Configure a credential helper to remove this warning. See 21:25:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:25:45 21:25:45 Login Succeeded 21:25:45 ---> docker-login.sh ends [Pipeline] } 21:25:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:25:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:25:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:25:45 ========================================================= 21:25:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 21:25:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:46 + 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 . 21:25:46 Sending build context to Docker daemon 144.4kB 21:25:46 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 21:25:46 Step 2/12 : FROM ${BASE} AS builder 21:25:46 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:25:46 9fda8d8052c6: Pulling fs layer 21:25:46 5d54e960e981: Pulling fs layer 21:25:46 c4a7e357bf2a: Pulling fs layer 21:25:46 f0e02332f6b5: Pulling fs layer 21:25:46 cefa15bbcfad: Pulling fs layer 21:25:46 17808c966233: Pulling fs layer 21:25:46 f4c1fc716caa: Pulling fs layer 21:25:46 cefa15bbcfad: Waiting 21:25:46 17808c966233: Waiting 21:25:46 f0e02332f6b5: Waiting 21:25:46 f4c1fc716caa: Waiting 21:25:46 5d54e960e981: Verifying Checksum 21:25:46 5d54e960e981: Download complete 21:25:46 f0e02332f6b5: Verifying Checksum 21:25:46 f0e02332f6b5: Download complete 21:25:46 cefa15bbcfad: Verifying Checksum 21:25:46 cefa15bbcfad: Download complete 21:25:46 9fda8d8052c6: Verifying Checksum 21:25:46 9fda8d8052c6: Download complete 21:25:47 f4c1fc716caa: Verifying Checksum 21:25:47 f4c1fc716caa: Download complete 21:25:47 9fda8d8052c6: Pull complete 21:25:48 5d54e960e981: Pull complete 21:25:48 c4a7e357bf2a: Verifying Checksum 21:25:48 c4a7e357bf2a: Download complete 21:25:49 17808c966233: Verifying Checksum 21:25:49 17808c966233: Download complete 21:25:59 c4a7e357bf2a: Pull complete 21:25:59 f0e02332f6b5: Pull complete 21:25:59 cefa15bbcfad: Pull complete 21:26:06 17808c966233: Pull complete 21:26:08 f4c1fc716caa: Pull complete 21:26:08 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 21:26:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 21:26:08 ---> ea914061e18c 21:26:08 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:26:09 ---> Running in 00089efc4ce4 21:26:09 Removing intermediate container 00089efc4ce4 21:26:09 ---> 1083b8197be0 21:26:09 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:26:09 ---> Running in 452ee2ef55a5 21:26:10 Removing intermediate container 452ee2ef55a5 21:26:10 ---> a2244571f22a 21:26:10 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:26:10 ---> Running in e5237933a05c 21:26:10 Removing intermediate container e5237933a05c 21:26:10 ---> 305b28a8c969 21:26:10 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:26:10 ---> Running in 9c2782200944 21:26:11 Removing intermediate container 9c2782200944 21:26:11 ---> cf6e69be0b79 21:26:11 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:26:11 ---> Running in 78899a8d610c 21:26:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:26:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:26:13 (1/4) Installing openssh-keygen (9.3_p2-r0) 21:26:13 (2/4) Installing libedit (20221030.3.1-r1) 21:26:13 (3/4) Installing openssh-client-common (9.3_p2-r0) 21:26:13 (4/4) Installing openssh-client-default (9.3_p2-r0) 21:26:13 Executing busybox-1.36.1-r2.trigger 21:26:13 OK: 270 MiB in 56 packages 21:26:15 Removing intermediate container 78899a8d610c 21:26:15 ---> 881e1d5a4674 21:26:15 Step 8/12 : WORKDIR /device-rest-go 21:26:15 ---> Running in 7b5614875ef4 21:26:15 Removing intermediate container 7b5614875ef4 21:26:15 ---> 1285a8955181 21:26:15 Step 9/12 : COPY go.mod vendor* ./ 21:26:15 ---> 23a2415320e0 21:26:15 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:26:15 ---> Running in cc7ddb56cf56 21:27:37 Removing intermediate container cc7ddb56cf56 21:27:37 ---> 323099ed45fd 21:27:37 Step 11/12 : COPY . . 21:27:37 ---> cb383f012097 21:27:37 Step 12/12 : RUN $MAKE 21:27:37 ---> Running in d254a6042459 21:27:37 noop 21:27:37 Removing intermediate container d254a6042459 21:27:37 ---> ee7c2174053b 21:27:37 Successfully built ee7c2174053b 21:27:37 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:38 + docker inspect -f . ci-base-image-arm64 21:27:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:27:38 prd-ubuntu20.04-docker-arm64-4c-16g-8076 does not seem to be running inside a container 21:27:38 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/139 -v /w/workspace/device-rest-go/139:/w/workspace/device-rest-go/139:rw,z -v /w/workspace/device-rest-go/139@tmp:/w/workspace/device-rest-go/139@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:27:39 $ docker top dc9f4ef07629a3682b81f32f86c7c28c22e8ffed10f24df81abd37eb56d6e303 -eo pid,comm [Pipeline] { [Pipeline] sh 21:27:40 + go version 21:27:40 go version go1.21.0 linux/arm64 [Pipeline] } 21:27:40 $ docker stop --time=1 dc9f4ef07629a3682b81f32f86c7c28c22e8ffed10f24df81abd37eb56d6e303 21:27:42 $ docker rm -f --volumes dc9f4ef07629a3682b81f32f86c7c28c22e8ffed10f24df81abd37eb56d6e303 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:27:42 + docker inspect -f . ci-base-image-arm64 21:27:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:27:42 prd-ubuntu20.04-docker-arm64-4c-16g-8076 does not seem to be running inside a container 21:27:42 $ 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/139 -v /w/workspace/device-rest-go/139:/w/workspace/device-rest-go/139:rw,z -v /w/workspace/device-rest-go/139@tmp:/w/workspace/device-rest-go/139@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:27:43 $ docker top 014cccf0348cc49f6e2fba93dbf46369ffbca7e057a9313664f49f82aa2f5e0f -eo pid,comm [Pipeline] { [Pipeline] sh 21:27:44 + git config --global --add safe.directory /w/workspace/device-rest-go/139 [Pipeline] fileExists [Pipeline] sh 21:27:44 + make test 21:27:45 go test ./... -coverprofile=coverage.out ./... 21:27:49 ? github.com/edgexfoundry/device-rest-go [no test files] 21:29:25 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:29:25 ok github.com/edgexfoundry/device-rest-go/driver 0.058s coverage: 33.2% of statements 21:29:25 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:29:25 go vet ./... 21:29:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:29:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:29:36 ./bin/test-attribution-txt.sh [Pipeline] echo 21:29:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:29:36 $ docker stop --time=1 014cccf0348cc49f6e2fba93dbf46369ffbca7e057a9313664f49f82aa2f5e0f 21:29:39 $ docker rm -f --volumes 014cccf0348cc49f6e2fba93dbf46369ffbca7e057a9313664f49f82aa2f5e0f [Pipeline] // withDockerContainer [Pipeline] sh 21:29:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:29:40 Warning: overwriting stash ‘coverage-report’ 21:29:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:29:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:29:41 + ls -al . 21:29:41 total 184 21:29:41 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 21:27 . 21:29:41 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:25 .. 21:29:41 -rw-rw-r-- 1 jenkins jenkins 151 Sep 27 21:25 .dockerignore 21:29:41 drwxrwxr-x 8 jenkins jenkins 4096 Sep 27 21:25 .git 21:29:41 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:25 .github 21:29:41 -rw-rw-r-- 1 jenkins jenkins 329 Sep 27 21:25 .gitignore 21:29:41 -rw-rw-r-- 1 jenkins jenkins 41 Sep 27 21:25 .golangci.yml 21:29:41 -rw-rw-r-- 1 jenkins jenkins 10300 Sep 27 21:25 Attribution.txt 21:29:41 -rw-rw-r-- 1 jenkins jenkins 15709 Sep 27 21:25 CHANGELOG.md 21:29:41 -rw-rw-r-- 1 jenkins jenkins 1578 Sep 27 21:25 Dockerfile 21:29:41 -rw-rw-r-- 1 jenkins jenkins 677 Sep 27 21:25 GOVERNANCE.md 21:29:41 -rw-rw-r-- 1 jenkins jenkins 680 Sep 27 21:25 Jenkinsfile 21:29:41 -rw-rw-r-- 1 jenkins jenkins 11340 Sep 27 21:25 LICENSE 21:29:41 -rw-rw-r-- 1 jenkins jenkins 2010 Sep 27 21:25 Makefile 21:29:41 -rw-rw-r-- 1 jenkins jenkins 620 Sep 27 21:25 OWNERS.md 21:29:41 -rw-rw-r-- 1 jenkins jenkins 15827 Sep 27 21:25 README.md 21:29:41 -rw-rw-r-- 1 jenkins jenkins 12 Sep 27 21:23 VERSION 21:29:41 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:25 bin 21:29:41 drwxrwxr-x 3 jenkins jenkins 4096 Sep 27 21:25 cmd 21:29:41 -rw-r--r-- 1 jenkins jenkins 14499 Sep 27 21:29 coverage.out 21:29:41 drwxrwxr-x 2 jenkins jenkins 4096 Sep 27 21:25 driver 21:29:41 -rw-rw-r-- 1 jenkins jenkins 3890 Sep 27 21:25 go.mod 21:29:41 -rw-rw-r-- 1 jenkins jenkins 35623 Sep 27 21:25 go.sum 21:29:41 drwxrwxr-x 4 jenkins jenkins 4096 Sep 27 21:25 snap 21:29:41 -rw-rw-r-- 1 jenkins jenkins 713 Sep 27 21:25 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:29:42 + 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=d5c17b765e654ed444623cbfa16304672a2cc7d9 --label arch=arm64 --label version=3.1.0-dev.19 . 21:29:42 Sending build context to Docker daemon 159.7kB 21:29:42 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 21:29:42 Step 2/25 : FROM ${BASE} AS builder 21:29:42 ---> ee7c2174053b 21:29:42 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:29:42 ---> Running in d94080d77287 21:29:42 Removing intermediate container d94080d77287 21:29:42 ---> beabdaac2e6e 21:29:42 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:29:42 ---> Running in 58cfb318c14c 21:29:43 Removing intermediate container 58cfb318c14c 21:29:43 ---> 91702af4724b 21:29:43 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:29:43 ---> Running in 11599d0ffae4 21:29:43 Removing intermediate container 11599d0ffae4 21:29:43 ---> f73793cfbafd 21:29:43 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:29:43 ---> Running in 219bc25d90c4 21:29:43 Removing intermediate container 219bc25d90c4 21:29:43 ---> 627af8a33804 21:29:43 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:29:44 ---> Running in 35fc2d91f2b0 21:29:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:29:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:29:46 OK: 270 MiB in 56 packages 21:29:48 Removing intermediate container 35fc2d91f2b0 21:29:48 ---> b89b6500e41b 21:29:48 Step 8/25 : WORKDIR /device-rest-go 21:29:48 ---> Running in b1133fa0da18 21:29:48 Removing intermediate container b1133fa0da18 21:29:48 ---> 93f6b113156c 21:29:48 Step 9/25 : COPY go.mod vendor* ./ 21:29:51 ---> d95704a3375c 21:29:51 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:29:51 ---> Running in c4003f4af5d1 21:29:55 Removing intermediate container c4003f4af5d1 21:29:55 ---> 86e9764afef4 21:29:55 Step 11/25 : COPY . . 21:29:55 ---> 97d5dff3683c 21:29:55 Step 12/25 : RUN $MAKE 21:29:55 ---> Running in 0c38bc97af6b 21:29:57 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.19 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.32" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:31:49 Removing intermediate container 0c38bc97af6b 21:31:49 ---> 3189c1179bfd 21:31:49 Step 13/25 : FROM alpine:3.18 21:31:49 3.18: Pulling from library/alpine 21:31:49 9fda8d8052c6: Already exists 21:31:49 Digest: sha256:7144f7bab3d4c2648d7e59409f15ec52a18006a128c733fcff20d3a4a54ba44a 21:31:49 Status: Downloaded newer image for alpine:3.18 21:31:49 ---> f6648c04cd6c 21:31:49 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 21:31:49 ---> Running in c4e9c5a783ae 21:31:49 Removing intermediate container c4e9c5a783ae 21:31:49 ---> d5d521daef0c 21:31:49 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:31:49 ---> Running in c18d87a5d154 21:31:49 Removing intermediate container c18d87a5d154 21:31:49 ---> a444987830b7 21:31:49 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:31:49 ---> Running in 0b1793ce843a 21:31:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 21:31:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 21:31:49 (1/1) Installing dumb-init (1.2.5-r2) 21:31:49 Executing busybox-1.36.1-r2.trigger 21:31:49 OK: 8 MiB in 16 packages 21:31:49 Removing intermediate container 0b1793ce843a 21:31:49 ---> 7ff9075c30cb 21:31:49 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:31:49 ---> 369573aa25ea 21:31:49 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:31:49 ---> f6d85d4b4718 21:31:49 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:31:49 ---> dec169d2ec7c 21:31:49 Step 20/25 : EXPOSE 59986 21:31:49 ---> Running in c56c2d885b00 21:31:49 Removing intermediate container c56c2d885b00 21:31:49 ---> a7a9e2ec1254 21:31:49 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:31:49 ---> Running in bbebf8d1fd17 21:31:49 Removing intermediate container bbebf8d1fd17 21:31:49 ---> 269857aa72ea 21:31:49 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:31:49 ---> Running in d2bc467ddbc1 21:31:49 Removing intermediate container d2bc467ddbc1 21:31:49 ---> aafe2d8f15ab 21:31:49 Step 23/25 : LABEL arch=arm64 21:31:49 ---> Running in cf576b0df217 21:31:49 Removing intermediate container cf576b0df217 21:31:49 ---> c75fb830374a 21:31:49 Step 24/25 : LABEL git_sha=d5c17b765e654ed444623cbfa16304672a2cc7d9 21:31:49 ---> Running in 0fb0ef9ff12d 21:31:49 Removing intermediate container 0fb0ef9ff12d 21:31:49 ---> 561fc2a41332 21:31:49 Step 25/25 : LABEL version=3.1.0-dev.19 21:31:49 ---> Running in 44c44e7810bc 21:31:49 Removing intermediate container 44c44e7810bc 21:31:49 ---> 7040f3b41326 21:31:49 [Warning] One or more build-args [ARCH] were not consumed 21:31:49 Successfully built 7040f3b41326 21:31:49 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:31:49 provisioning config files... 21:31:49 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/139@tmp/config10323189390966814419tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:31:49 ---> docker-login.sh 21:31:49 nexus3.edgexfoundry.org:10001 21:31:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:50 Configure a credential helper to remove this warning. See 21:31:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:50 21:31:50 Login Succeeded 21:31:50 nexus3.edgexfoundry.org:10002 21:31:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:50 Configure a credential helper to remove this warning. See 21:31:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:50 21:31:50 Login Succeeded 21:31:50 nexus3.edgexfoundry.org:10003 21:31:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:51 Configure a credential helper to remove this warning. See 21:31:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:51 21:31:51 Login Succeeded 21:31:51 nexus3.edgexfoundry.org:10004 21:31:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:51 Configure a credential helper to remove this warning. See 21:31:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:51 21:31:51 Login Succeeded 21:31:51 docker.io 21:31:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:51 Configure a credential helper to remove this warning. See 21:31:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:51 21:31:51 Login Succeeded 21:31:51 ---> docker-login.sh ends [Pipeline] } 21:31:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:31:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:31:51 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 21:31:51 d5c17b765e654ed444623cbfa16304672a2cc7d9 21:31:51 latest 21:31:51 3.1.0-dev.19 21:31:51 d5c17b765e654ed444623cbfa16304672a2cc7d9-3.1.0-dev.19 21:31:51 main 21:31:51 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:52 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:d5c17b765e654ed444623cbfa16304672a2cc7d9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:52 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:d5c17b765e654ed444623cbfa16304672a2cc7d9 21:31:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:31:52 114307f52398: Preparing 21:31:52 645981cc021b: Preparing 21:31:52 a76cd34280cd: Preparing 21:31:52 1563f733f0b9: Preparing 21:31:52 b2191e2be29d: Preparing 21:31:52 b2191e2be29d: Layer already exists 21:31:52 1563f733f0b9: Pushed 21:31:52 645981cc021b: Pushed 21:31:52 114307f52398: Pushed 21:31:58 a76cd34280cd: Pushed 21:31:58 d5c17b765e654ed444623cbfa16304672a2cc7d9: digest: sha256:02c82824791779c68e5f40c9c715b1102222b110b7cf21d9d1ba72690edabe8b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:58 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:58 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 21:31:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:31:58 114307f52398: Preparing 21:31:58 645981cc021b: Preparing 21:31:58 a76cd34280cd: Preparing 21:31:58 1563f733f0b9: Preparing 21:31:58 b2191e2be29d: Preparing 21:31:58 114307f52398: Layer already exists 21:31:58 a76cd34280cd: Layer already exists 21:31:58 645981cc021b: Layer already exists 21:31:58 b2191e2be29d: Layer already exists 21:31:58 1563f733f0b9: Layer already exists 21:31:58 latest: digest: sha256:02c82824791779c68e5f40c9c715b1102222b110b7cf21d9d1ba72690edabe8b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:59 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:59 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.19 21:31:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:31:59 114307f52398: Preparing 21:31:59 645981cc021b: Preparing 21:31:59 a76cd34280cd: Preparing 21:31:59 1563f733f0b9: Preparing 21:31:59 b2191e2be29d: Preparing 21:31:59 114307f52398: Layer already exists 21:31:59 645981cc021b: Layer already exists 21:31:59 a76cd34280cd: Layer already exists 21:31:59 b2191e2be29d: Layer already exists 21:31:59 1563f733f0b9: Layer already exists 21:31:59 3.1.0-dev.19: digest: sha256:02c82824791779c68e5f40c9c715b1102222b110b7cf21d9d1ba72690edabe8b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:59 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:d5c17b765e654ed444623cbfa16304672a2cc7d9-3.1.0-dev.19 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:00 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:d5c17b765e654ed444623cbfa16304672a2cc7d9-3.1.0-dev.19 21:32:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:32:00 114307f52398: Preparing 21:32:00 645981cc021b: Preparing 21:32:00 a76cd34280cd: Preparing 21:32:00 1563f733f0b9: Preparing 21:32:00 b2191e2be29d: Preparing 21:32:00 a76cd34280cd: Layer already exists 21:32:00 1563f733f0b9: Layer already exists 21:32:00 b2191e2be29d: Layer already exists 21:32:00 645981cc021b: Layer already exists 21:32:00 114307f52398: Layer already exists 21:32:00 d5c17b765e654ed444623cbfa16304672a2cc7d9-3.1.0-dev.19: digest: sha256:02c82824791779c68e5f40c9c715b1102222b110b7cf21d9d1ba72690edabe8b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:00 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:00 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 21:32:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:32:00 114307f52398: Preparing 21:32:00 645981cc021b: Preparing 21:32:00 a76cd34280cd: Preparing 21:32:00 1563f733f0b9: Preparing 21:32:00 b2191e2be29d: Preparing 21:32:00 645981cc021b: Layer already exists 21:32:00 1563f733f0b9: Layer already exists 21:32:00 b2191e2be29d: Layer already exists 21:32:00 a76cd34280cd: Layer already exists 21:32:00 114307f52398: Layer already exists 21:32:00 main: digest: sha256:02c82824791779c68e5f40c9c715b1102222b110b7cf21d9d1ba72690edabe8b size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:32:00 ===================================================== [Pipeline] echo 21:32:00 taggedImages: 21:32:00 - nexus3.edgexfoundry.org:10004/device-rest-arm64:d5c17b765e654ed444623cbfa16304672a2cc7d9 21:32:00 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 21:32:00 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.19 21:32:00 - nexus3.edgexfoundry.org:10004/device-rest-arm64:d5c17b765e654ed444623cbfa16304672a2cc7d9-3.1.0-dev.19 21:32:00 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:32:01 21:32:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:01 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:32:01 arm64: Pulling from edgex-lftools-log-publisher 21:32:01 8998bd30e6a1: Pulling fs layer 21:32:01 04944245beec: Pulling fs layer 21:32:01 699f458cf7ca: Pulling fs layer 21:32:01 765212b225bb: Pulling fs layer 21:32:01 f23df028b6ca: Pulling fs layer 21:32:01 d65c8cfc05b1: Pulling fs layer 21:32:01 2437ff75d9bd: Pulling fs layer 21:32:01 f23df028b6ca: Waiting 21:32:01 d65c8cfc05b1: Waiting 21:32:01 2437ff75d9bd: Waiting 21:32:01 765212b225bb: Waiting 21:32:01 04944245beec: Verifying Checksum 21:32:01 04944245beec: Download complete 21:32:01 765212b225bb: Verifying Checksum 21:32:01 765212b225bb: Download complete 21:32:01 f23df028b6ca: Verifying Checksum 21:32:01 f23df028b6ca: Download complete 21:32:01 d65c8cfc05b1: Download complete 21:32:01 699f458cf7ca: Verifying Checksum 21:32:01 699f458cf7ca: Download complete 21:32:02 8998bd30e6a1: Verifying Checksum 21:32:02 8998bd30e6a1: Download complete 21:32:04 2437ff75d9bd: Verifying Checksum 21:32:06 8998bd30e6a1: Pull complete 21:32:06 04944245beec: Pull complete 21:32:08 699f458cf7ca: Pull complete 21:32:08 765212b225bb: Pull complete 21:32:08 f23df028b6ca: Pull complete 21:32:09 d65c8cfc05b1: Pull complete 21:32:24 2437ff75d9bd: Pull complete 21:32:24 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:32:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:32:24 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:32:24 prd-ubuntu20.04-docker-arm64-4c-16g-8076 does not seem to be running inside a container 21:32:24 $ 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/139 -v /w/workspace/device-rest-go/139:/w/workspace/device-rest-go/139:rw,z -v /w/workspace/device-rest-go/139@tmp:/w/workspace/device-rest-go/139@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:arm64 cat 21:32:26 $ docker top 672acb9c64e5afd2305d731a769c1e5af79560763a89c0c877e6eedb938566fa -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:32:27 ---> job-cost.sh 21:32:27 lf-activate-venv: SKIPPING 21:32:27 INFO: No Stack... 21:32:27 INFO: Retrieving Pricing Info for: v3-standard-4 21:32:28 INFO: Archiving Costs [Pipeline] sh 21:32:29 + cat /w/workspace/device-rest-go/139/archives/cost.csv 21:32:29 + cut -d, -f6 [Pipeline] lock 21:32:29 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-139-stack-cost] 21:32:29 Resource [jenkins-edgexfoundry-device-rest-go-main-139-stack-cost] did not exist. Created. 21:32:29 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-139-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:32:29 /w/workspace/device-rest-go/139@tmp/durable-2b2c9684/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:32:30 + echo total: 0.10999999940395355 [Pipeline] stash 21:32:30 Warning: overwriting stash ‘stack-cost’ 21:32:30 Stashed 1 file(s) [Pipeline] } 21:32:30 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-139-stack-cost] [Pipeline] // lock [Pipeline] } 21:32:30 $ docker stop --time=1 672acb9c64e5afd2305d731a769c1e5af79560763a89c0c877e6eedb938566fa 21:32:31 $ docker rm -f --volumes 672acb9c64e5afd2305d731a769c1e5af79560763a89c0c877e6eedb938566fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 21:32:32 provisioning config files... 21:32:32 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8835993914299704461tmp [Pipeline] { [Pipeline] sh 21:32:32 + set +x 21:32:32 + curl -s https://codecov.io/bash 21:32:32 + bash -s -- 21:32:32 21:32:32 _____ _ 21:32:32 / ____| | | 21:32:32 | | ___ __| | ___ ___ _____ __ 21:32:32 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:32:32 | |___| (_) | (_| | __/ (_| (_) \ V / 21:32:32 \_____\___/ \__,_|\___|\___\___/ \_/ 21:32:32 Bash-1.0.6 21:32:32 21:32:32 21:32:32 ==> git version 2.25.1 found 21:32:32 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:32:32 Release-Date: 2020-01-08 21:32:32 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:32:32 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:32:32 ==> Jenkins CI detected. 21:32:32 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 21:32:32 project root: . 21:32:32 --> token set from env 21:32:32 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:32:32 ==> Running gcov in . (disable via -X gcov) 21:32:32 ==> Python coveragepy not found 21:32:32 ==> Searching for coverage reports in: 21:32:32 + . 21:32:32 -> Found 1 reports 21:32:32 ==> Detecting git/mercurial file structure 21:32:32 ==> Reading reports 21:32:32 + ./coverage.out bytes=14499 21:32:32 ==> Appending adjustments 21:32:32 https://docs.codecov.io/docs/fixing-reports 21:32:32 + Found adjustments 21:32:32 ==> Gzipping contents 21:32:32 4.0K /tmp/codecov.hQ9DtY.gz 21:32:32 ==> Uploading reports 21:32:32 url: https://codecov.io 21:32:32 query: branch=main&commit=d5c17b765e654ed444623cbfa16304672a2cc7d9&build=139&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F139%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:32:32 -> Pinging Codecov 21:32:32 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=d5c17b765e654ed444623cbfa16304672a2cc7d9&build=139&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F139%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:32:32 -> Uploading to 21:32:32 https://storage.googleapis.com/codecov/v4/raw/2023-09-27/4E5D53B4F1F92C436F7061BF334D961C/d5c17b765e654ed444623cbfa16304672a2cc7d9/bf1fe398-40c2-4d32-8460-6edbc75f0335.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230927%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230927T213232Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=7e568393efac21a0fd5071aa747e981431d5f20272bc721dcc92b3355c3d6081 21:32:32 % Total % Received % Xferd Average Speed Time Time Time Current 21:32:32 Dload Upload Total Spent Left Speed 21:32:32 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 10093 --:--:-- --:--:-- --:--:-- 10093 21:32:32 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/d5c17b765e654ed444623cbfa16304672a2cc7d9 [Pipeline] } 21:32:32 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:32:33 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:32:33 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:32:33 21:32:33 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:33 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:32:33 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:32:33 df9b9388f04a: Pulling fs layer 21:32:33 52dc419b0ee2: Pulling fs layer 21:32:33 25bc292e5bac: Pulling fs layer 21:32:33 114826534d7a: Pulling fs layer 21:32:33 4657fd5d0bcf: Pulling fs layer 21:32:33 6ad1cebc031e: Pulling fs layer 21:32:33 8a3aa393b2d8: Pulling fs layer 21:32:33 4657fd5d0bcf: Waiting 21:32:33 6ad1cebc031e: Waiting 21:32:33 8a3aa393b2d8: Waiting 21:32:33 114826534d7a: Waiting 21:32:33 25bc292e5bac: Verifying Checksum 21:32:33 25bc292e5bac: Download complete 21:32:33 52dc419b0ee2: Verifying Checksum 21:32:33 52dc419b0ee2: Download complete 21:32:33 4657fd5d0bcf: Download complete 21:32:33 df9b9388f04a: Download complete 21:32:34 df9b9388f04a: Pull complete 21:32:34 6ad1cebc031e: Verifying Checksum 21:32:34 6ad1cebc031e: Download complete 21:32:34 52dc419b0ee2: Pull complete 21:32:34 25bc292e5bac: Pull complete 21:32:34 114826534d7a: Verifying Checksum 21:32:34 114826534d7a: Download complete 21:32:34 8a3aa393b2d8: Verifying Checksum 21:32:34 8a3aa393b2d8: Download complete 21:32:38 114826534d7a: Pull complete 21:32:38 4657fd5d0bcf: Pull complete 21:32:38 6ad1cebc031e: Pull complete 21:32:40 8a3aa393b2d8: Pull complete 21:32:40 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:32:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:32:40 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:32:40 prd-ubuntu20.04-docker-8c-8g-8075 does not seem to be running inside a container 21:32:40 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 21:32:45 $ docker top 842896aa68d807ee01a7e0baafd09a4299fa95b43dc841369bb2cc4c5434b800 -eo pid,comm [Pipeline] { [Pipeline] echo 21:32:45 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 21:32:45 + set -o pipefail 21:32:45 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 21:32:55 21:32:55 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 21:32:55 21:32:55 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/9e7656cb-2021-4145-a95d-fe76d92a3ad3 21:32:55 21:32:55 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:32:55 21:32:55 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:32:55 21:32:57 21:32:57 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:32:57 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:32:57 More details here: https://snyk.co/ue1NS [Pipeline] } 21:32:57 $ docker stop --time=1 842896aa68d807ee01a7e0baafd09a4299fa95b43dc841369bb2cc4c5434b800 21:33:00 $ docker rm -f --volumes 842896aa68d807ee01a7e0baafd09a4299fa95b43dc841369bb2cc4c5434b800 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:33:01 + git log --format=format:%s -1 d5c17b765e654ed444623cbfa16304672a2cc7d9 [Pipeline] sh 21:33:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:33:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:33:01 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:33:02 prd-ubuntu20.04-docker-8c-8g-8075 does not seem to be running inside a container 21:33: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 21:33:02 $ docker top 85b91bd0d42cd737e48e4d26f7cac27d7a5b0567a12fc5bd7023f933fd3cf3a8 -eo pid,comm 21:33: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). 21:33:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:33:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:33:02 [ssh-agent] Looking for ssh-agent implementation... 21:33:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:33:02 $ docker exec 85b91bd0d42cd737e48e4d26f7cac27d7a5b0567a12fc5bd7023f933fd3cf3a8 ssh-agent 21:33:02 SSH_AUTH_SOCK=/tmp/ssh-s8UhfWuRZO8i/agent.32 21:33:02 SSH_AGENT_PID=38 21:33:02 Running ssh-add (command line suppressed) 21:33:02 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10003210077306557190.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10003210077306557190.key) 21:33:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:33:03 + git semver tag 21:33:03 2023-09-27 21:33:03,291 [run_tag] DEBUG tag force:False 21:33:03 2023-09-27 21:33:03,291 [check_head_tag] DEBUG check head tag 21:33:03 2023-09-27 21:33:03,292 [execute] INFO git cat-file --batch-check 21:33:03 2023-09-27 21:33:03,292 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 21:33:03 2023-09-27 21:33:03,296 [execute] INFO git cat-file --batch 21:33:03 2023-09-27 21:33:03,296 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 21:33:03 2023-09-27 21:33:03,307 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:33:03 2023-09-27 21:33:03,308 [execute] INFO git tag -a v3.1.0-dev.19 -m v3.1.0-dev.19 21:33:03 2023-09-27 21:33:03,308 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.19', '-m', 'v3.1.0-dev.19'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 21:33:03 2023-09-27 21:33:03,312 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:33:03 3.1.0-dev.19 [Pipeline] } 21:33:03 $ docker exec --env ******** --env ******** 85b91bd0d42cd737e48e4d26f7cac27d7a5b0567a12fc5bd7023f933fd3cf3a8 ssh-agent -k 21:33:03 unset SSH_AUTH_SOCK; 21:33:03 unset SSH_AGENT_PID; 21:33:03 echo Agent pid 38 killed; 21:33:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:33:03 + git semver [Pipeline] } 21:33:04 $ docker stop --time=1 85b91bd0d42cd737e48e4d26f7cac27d7a5b0567a12fc5bd7023f933fd3cf3a8 21:33:05 $ docker rm -f --volumes 85b91bd0d42cd737e48e4d26f7cac27d7a5b0567a12fc5bd7023f933fd3cf3a8 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:33:05 21:33:05 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:06 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:33:06 0.23.1-centos7: Pulling from edgex-lftools 21:33:06 ab5ef0e58194: Pulling fs layer 21:33:06 9712f1f96733: Pulling fs layer 21:33:06 63f879dbbcfc: Pulling fs layer 21:33:06 0d9ebad4ef96: Pulling fs layer 21:33:06 e9a5061849ea: Pulling fs layer 21:33:06 d747dcd14b5f: Pulling fs layer 21:33:06 2de7ff778b66: Pulling fs layer 21:33:06 0d9ebad4ef96: Waiting 21:33:06 e9a5061849ea: Waiting 21:33:06 d747dcd14b5f: Waiting 21:33:06 2de7ff778b66: Waiting 21:33:06 9712f1f96733: Verifying Checksum 21:33:06 9712f1f96733: Download complete 21:33:06 63f879dbbcfc: Verifying Checksum 21:33:06 63f879dbbcfc: Download complete 21:33:06 e9a5061849ea: Verifying Checksum 21:33:06 e9a5061849ea: Download complete 21:33:06 d747dcd14b5f: Download complete 21:33:06 0d9ebad4ef96: Verifying Checksum 21:33:06 0d9ebad4ef96: Download complete 21:33:06 ab5ef0e58194: Download complete 21:33:06 2de7ff778b66: Verifying Checksum 21:33:06 2de7ff778b66: Download complete 21:33:09 ab5ef0e58194: Pull complete 21:33:09 9712f1f96733: Pull complete 21:33:09 63f879dbbcfc: Pull complete 21:33:13 0d9ebad4ef96: Pull complete 21:33:13 e9a5061849ea: Pull complete 21:33:13 d747dcd14b5f: Pull complete 21:33:14 2de7ff778b66: Pull complete 21:33:14 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:33:14 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:33:14 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:33:14 prd-ubuntu20.04-docker-8c-8g-8075 does not seem to be running inside a container 21:33:14 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 21:33:18 $ docker top 645c66761de18f587511c9c2b2f134bf994687e6100393fc5b8e399785929674 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:33:18 provisioning config files... 21:33:18 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9014160949752313331tmp 21:33:18 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11840562433748292587tmp 21:33:18 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13819620914588018152tmp [Pipeline] { [Pipeline] echo 21:33:18 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:33:19 ---> sigul-configuration.sh 21:33:19 gpg: directory `/root/.gnupg' created 21:33:19 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:33:19 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:33:19 gpg: keyring `/root/.gnupg/secring.gpg' created 21:33:19 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:33:19 gpg: CAST5 encrypted data 21:33:19 gpg: encrypted with 1 passphrase 21:33:19 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:33:19 + mkdir /home/jenkins 21:33:19 + mkdir /home/jenkins/sigul [Pipeline] sh 21:33: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 21:33:19 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:33:19 ---> sigul-install.sh 21:33:19 Sigul already installed; skipping installation. [Pipeline] sh 21:33:20 + git tag --list 21:33:20 v1.0.0 21:33:20 v1.1.0 21:33:20 v1.1.1 21:33:20 v1.1.2 21:33:20 v1.2.0 21:33:20 v1.2.1 21:33:20 v2.0.0 21:33:20 v2.1.0 21:33:20 v2.1.1 21:33:20 v2.2.0 21:33:20 v2.3.0 21:33:20 v3.0 21:33:20 v3.0.0 21:33:20 v3.1.0-dev.1 21:33:20 v3.1.0-dev.10 21:33:20 v3.1.0-dev.11 21:33:20 v3.1.0-dev.12 21:33:20 v3.1.0-dev.13 21:33:20 v3.1.0-dev.14 21:33:20 v3.1.0-dev.15 21:33:20 v3.1.0-dev.16 21:33:20 v3.1.0-dev.17 21:33:20 v3.1.0-dev.18 21:33:20 v3.1.0-dev.19 21:33:20 v3.1.0-dev.2 21:33:20 v3.1.0-dev.3 21:33:20 v3.1.0-dev.4 21:33:20 v3.1.0-dev.5 21:33:20 v3.1.0-dev.6 21:33:20 v3.1.0-dev.7 21:33:20 v3.1.0-dev.8 21:33:20 v3.1.0-dev.9 [Pipeline] sh 21:33:20 + lftools sign git-tag v3.1.0-dev.19 21:33:21 Signing Git tag with Sigul... 21:33:21 Signing v3.1.0-dev.19 [Pipeline] echo 21:33:21 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:33:21 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:33:21 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:33:21 $ docker stop --time=1 645c66761de18f587511c9c2b2f134bf994687e6100393fc5b8e399785929674 21:33:22 $ docker rm -f --volumes 645c66761de18f587511c9c2b2f134bf994687e6100393fc5b8e399785929674 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:33:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:33:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:33:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:33:23 prd-ubuntu20.04-docker-8c-8g-8075 does not seem to be running inside a container 21:33: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 21:33:24 $ docker top 3a4e2bc883e69f2bc5fb2f1a66f3a3b4fbf5cfa72498c15fbf345bde59dbae9d -eo pid,comm 21:33: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). 21:33:24 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:33:24 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:33:24 [ssh-agent] Looking for ssh-agent implementation... 21:33:24 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:33:24 $ docker exec 3a4e2bc883e69f2bc5fb2f1a66f3a3b4fbf5cfa72498c15fbf345bde59dbae9d ssh-agent 21:33:24 SSH_AUTH_SOCK=/tmp/ssh-5axU74oXqSMa/agent.32 21:33:24 SSH_AGENT_PID=38 21:33:24 Running ssh-add (command line suppressed) 21:33:24 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8128004250064831350.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8128004250064831350.key) 21:33:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:33:24 + git semver bump pre 21:33:25 2023-09-27 21:33:24,996 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:33:25 2023-09-27 21:33:24,996 [bump_version] DEBUG bumping version:3.1.0-dev.19 on axis:pre with prefix:dev 21:33:25 2023-09-27 21:33:24,996 [bump_version] DEBUG bumped version:3.1.0-dev.20 21:33:25 2023-09-27 21:33:24,996 [write_version] DEBUG write version:3.1.0-dev.20 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 21:33:25 2023-09-27 21:33:24,996 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:33:25 2023-09-27 21:33:24,996 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:33:25 2023-09-27 21:33:24,998 [execute] INFO git cat-file --batch-check 21:33:25 2023-09-27 21:33:24,998 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:33:25 2023-09-27 21:33:25,003 [execute] INFO git cat-file --batch 21:33:25 2023-09-27 21:33:25,003 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:33:25 2023-09-27 21:33:25,007 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:33:25 3.1.0-dev.20 [Pipeline] } 21:33:25 $ docker exec --env ******** --env ******** 3a4e2bc883e69f2bc5fb2f1a66f3a3b4fbf5cfa72498c15fbf345bde59dbae9d ssh-agent -k 21:33:25 unset SSH_AUTH_SOCK; 21:33:25 unset SSH_AGENT_PID; 21:33:25 echo Agent pid 38 killed; 21:33:25 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:33:25 + git semver [Pipeline] } 21:33:25 $ docker stop --time=1 3a4e2bc883e69f2bc5fb2f1a66f3a3b4fbf5cfa72498c15fbf345bde59dbae9d 21:33:27 $ docker rm -f --volumes 3a4e2bc883e69f2bc5fb2f1a66f3a3b4fbf5cfa72498c15fbf345bde59dbae9d [Pipeline] // withDockerContainer [Pipeline] sh 21:33:27 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:33:27 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:33:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:33:27 prd-ubuntu20.04-docker-8c-8g-8075 does not seem to be running inside a container 21:33: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 21:33:28 $ docker top 37a588f1b2c6a549d91ec746e65ec435ec6144542165f347b9cde333676c36b7 -eo pid,comm 21:33: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). 21:33:28 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:33:28 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:33:28 [ssh-agent] Looking for ssh-agent implementation... 21:33:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:33:28 $ docker exec 37a588f1b2c6a549d91ec746e65ec435ec6144542165f347b9cde333676c36b7 ssh-agent 21:33:28 SSH_AUTH_SOCK=/tmp/ssh-I0SLcBd6otHk/agent.32 21:33:28 SSH_AGENT_PID=38 21:33:28 Running ssh-add (command line suppressed) 21:33:28 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15472660059827134402.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15472660059827134402.key) 21:33:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:33:28 + git semver push 21:33:29 2023-09-27 21:33:28,971 [run_push] DEBUG push 21:33:29 2023-09-27 21:33:28,972 [execute] INFO git cat-file --batch-check 21:33:29 2023-09-27 21:33:28,972 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:33:29 2023-09-27 21:33:28,976 [execute] INFO git rev-list 274540c0755a8aaa70ea81b992f774b6d3f49fea -- 21:33:29 2023-09-27 21:33:28,976 [execute] DEBUG Popen(['git', 'rev-list', '274540c0755a8aaa70ea81b992f774b6d3f49fea', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:33:29 2023-09-27 21:33:28,984 [execute] INFO git fetch -v origin 21:33:29 2023-09-27 21:33:28,985 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:33:29 2023-09-27 21:33:29,507 [run_push] DEBUG no remote changes detected 21:33:29 2023-09-27 21:33:29,508 [execute] INFO git push origin semver 21:33:29 2023-09-27 21:33:29,508 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:33:30 2023-09-27 21:33:30,292 [run_push] DEBUG push all version tags 21:33:30 2023-09-27 21:33:30,293 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:33:30 2023-09-27 21:33:30,293 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 21:33:31 2023-09-27 21:33:31,405 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:33:31 3.1.0-dev.20 [Pipeline] } 21:33:31 $ docker exec --env ******** --env ******** 37a588f1b2c6a549d91ec746e65ec435ec6144542165f347b9cde333676c36b7 ssh-agent -k 21:33:31 unset SSH_AUTH_SOCK; 21:33:31 unset SSH_AGENT_PID; 21:33:31 echo Agent pid 38 killed; 21:33:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:33:31 + git semver [Pipeline] } 21:33:32 $ docker stop --time=1 37a588f1b2c6a549d91ec746e65ec435ec6144542165f347b9cde333676c36b7 21:33:33 $ docker rm -f --volumes 37a588f1b2c6a549d91ec746e65ec435ec6144542165f347b9cde333676c36b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 21:33:34 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 21:33:34 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 21:33:34 total 16 21:33:34 drwxr-xr-x 3 root root 4096 Sep 27 21:25 . 21:33:34 drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 21:33 .. 21:33:34 drwxr-xr-x 2 root root 4096 Sep 27 21:25 cost 21:33:34 -rw-r--r-- 1 root root 86 Sep 27 21:25 cost.csv 21:33:34 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 21:33:34 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 21:33:34 total 16 21:33:34 drwxr-xr-x 3 jenkins jenkins 4096 Sep 27 21:25 . 21:33:34 drwxrwxr-x 10 jenkins jenkins 4096 Sep 27 21:33 .. 21:33:34 drwxr-xr-x 2 jenkins jenkins 4096 Sep 27 21:25 cost 21:33:34 -rw-r--r-- 1 jenkins jenkins 86 Sep 27 21:25 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:33:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:33:35 ---> package-listing.sh 21:33:35 ++ facter osfamily 21:33:35 ++ tr '[:upper:]' '[:lower:]' 21:33:35 + OS_FAMILY=debian 21:33:35 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 21:33:35 + START_PACKAGES=/tmp/packages_start.txt 21:33:35 + END_PACKAGES=/tmp/packages_end.txt 21:33:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:33:35 + PACKAGES=/tmp/packages_start.txt 21:33:35 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 21:33:35 + PACKAGES=/tmp/packages_end.txt 21:33:35 + case "${OS_FAMILY}" in 21:33:35 + dpkg -l 21:33:35 + grep '^ii' 21:33:35 + '[' -f /tmp/packages_start.txt ']' 21:33:35 + '[' -f /tmp/packages_end.txt ']' 21:33:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:33:35 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 21:33:35 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 21:33: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 21:33: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 21:33:35 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:33:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:33:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:33:36 prd-ubuntu20.04-docker-8c-8g-8075 does not seem to be running inside a container 21:33: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 21:33:36 $ docker top df771be344d312f6c025ff6672b4fb4ba9afe08e897b89fab82ccca6d6639a45 -eo pid,comm [Pipeline] { [Pipeline] sh 21:33:36 + touch /tmp/pre-build-complete [Pipeline] sh 21:33:37 + mkdir -p /var/log/sysstat [Pipeline] sh 21:33:37 + ls /var/log/sa-host 21:33:37 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:33:37 provisioning config files... 21:33:37 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4513548084421782089tmp [Pipeline] { [Pipeline] echo 21:33:37 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:33:37 ---> create-netrc.sh [Pipeline] } 21:33:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:33:38 ---> python-tools-install.sh [Pipeline] echo 21:33:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:33:38 ---> sudo-logs.sh 21:33:38 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:33:38 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:33:38 ---> job-cost.sh 21:33:38 lf-activate-venv: SKIPPING 21:33:38 DEBUG: total: 0.2199999988079071 21:33:38 INFO: Retrieving Stack Cost... 21:33:39 INFO: Retrieving Pricing Info for: v3-standard-8 21:33:39 INFO: Archiving Costs [Pipeline] echo 21:33:39 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:33:39 ---> logs-deploy.sh 21:33:39 lf-activate-venv: SKIPPING 21:33:39 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/139 21:33:39 INFO: archiving workspace using pattern(s): 21:33:41 Archives upload complete. 21:33:41 INFO: archiving logs to Nexus