Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 322050c65873fd50260d8a368346f4ba3310d130 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-ssh9569998241127090054.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh5440567511455655220.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh2474778994098033920.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh6246207608687060903.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-ssh12890806410116152210.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.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-13837 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 > 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 Avoid second fetch Checking out Revision 322050c65873fd50260d8a368346f4ba3310d130 (main) Commit message: "Merge pull request #308 from jumpingliu/ignore-go-mods" > git config core.sparsecheckout # timeout=10 > git checkout -f 322050c65873fd50260d8a368346f4ba3310d130 # timeout=10 > git rev-list --no-walk 30cba82ac8543dee28be9b53c2ba4ad5f05591fa # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 06:04:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 06:04:20 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 06:04:20 ========================================================= 06:04:20 EdgeX Global Pipelines Version Info 06:04:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 06:04:20 ------------------- 06:04:20 stable info: 06:04:20 ------------------- 06:04:20 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 06:04:20 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 06:04:20 Message: update stable to v1.0.249 06:04:21 ------------------- 06:04:21 experimental info: 06:04:21 ------------------- 06:04:21 Commited By: **** collab-it+edgex@linuxfoundation.org 06:04:21 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 06:04:21 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 06:04:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 06:04:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 06:04:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 06:04:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 06:04:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 06:04:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 06:04:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 06:04:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 06:04:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 06:04:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 06:04:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 06:04:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 06:04:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 06:04:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 06:04:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 06:04:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 06:04:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 06:04:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 06:04:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 06:04:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 06:04:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 06:04:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 06:04:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 06:04:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 06:04:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 06:04:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 06:04:22 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 06:04:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 06:04:22 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 06:04:22 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 06:04:22 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 322050c65873fd50260d8a368346f4ba3310d130 [Pipeline] echo 06:04:22 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 322050c [Pipeline] echo 06:04:22 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:04:22 provisioning config files... 06:04:22 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3706272717194368217tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:04:22 ---> docker-login.sh 06:04:22 nexus3.edgexfoundry.org:10001 06:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:22 Configure a credential helper to remove this warning. See 06:04:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:22 06:04:22 Login Succeeded 06:04:22 nexus3.edgexfoundry.org:10002 06:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:22 Configure a credential helper to remove this warning. See 06:04:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:22 06:04:22 Login Succeeded 06:04:22 nexus3.edgexfoundry.org:10003 06:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:22 Configure a credential helper to remove this warning. See 06:04:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:22 06:04:22 Login Succeeded 06:04:22 nexus3.edgexfoundry.org:10004 06:04:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:22 Configure a credential helper to remove this warning. See 06:04:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:22 06:04:22 Login Succeeded 06:04:22 docker.io 06:04:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:23 Configure a credential helper to remove this warning. See 06:04:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:23 06:04:23 Login Succeeded 06:04:23 ---> docker-login.sh ends [Pipeline] } 06:04:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 06:04:23 + git rev-list -1 --merges 322050c65873fd50260d8a368346f4ba3310d130~1..322050c65873fd50260d8a368346f4ba3310d130 [Pipeline] echo 06:04:23 -----------> git rev-list -1 --merges 322050c65873fd50260d8a368346f4ba3310d130~1..322050c65873fd50260d8a368346f4ba3310d130 322050c65873fd50260d8a368346f4ba3310d130 06:04:23 322050c65873fd50260d8a368346f4ba3310d130 [false] [Pipeline] sh 06:04:23 + git log --format=format:%s -1 322050c65873fd50260d8a368346f4ba3310d130 [Pipeline] echo 06:04:23 ========================================================= 06:04:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 06:04:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:04:24 + git log --format=format:%s -1 322050c65873fd50260d8a368346f4ba3310d130 [Pipeline] echo 06:04:24 [semverPrep] GIT_COMMIT: 322050c65873fd50260d8a368346f4ba3310d130, Commit Message: Merge pull request #308 from jumpingliu/ignore-go-mods [Pipeline] echo 06:04:24 [semverPrep] This is not a build commit. [Pipeline] sh 06:04:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:04:24 + grep -v github /etc/ssh/ssh_known_hosts 06:04:24 + [ -e /tmp/ssh_known_hosts ] 06:04:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 06:04:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 06:04:24 + sudo tee -a /etc/ssh/ssh_known_hosts 06:04:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:04:25 06:04:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:04:25 0.1.4: Pulling from edgex-devops/py-git-semver 06:04:25 b85a868b505f: Pulling fs layer 06:04:25 e2be974225ed: Pulling fs layer 06:04:25 339a4e72a1f5: Pulling fs layer 06:04:25 988bab9f4d93: Pulling fs layer 06:04:25 1469e6f7b9e6: Pulling fs layer 06:04:25 eaf3925da568: Pulling fs layer 06:04:25 bab4dde63d76: Pulling fs layer 06:04:25 bde34c3a00c8: Pulling fs layer 06:04:25 988bab9f4d93: Waiting 06:04:25 1469e6f7b9e6: Waiting 06:04:25 eaf3925da568: Waiting 06:04:25 bab4dde63d76: Waiting 06:04:25 b352a97aabf1: Pulling fs layer 06:04:25 4872d77fe225: Pulling fs layer 06:04:25 5851b861e8e6: Pulling fs layer 06:04:25 bde34c3a00c8: Waiting 06:04:25 5851b861e8e6: Waiting 06:04:25 b352a97aabf1: Waiting 06:04:25 4872d77fe225: Waiting 06:04:25 e2be974225ed: Download complete 06:04:25 988bab9f4d93: Verifying Checksum 06:04:25 988bab9f4d93: Download complete 06:04:25 1469e6f7b9e6: Verifying Checksum 06:04:25 1469e6f7b9e6: Download complete 06:04:25 eaf3925da568: Verifying Checksum 06:04:25 eaf3925da568: Download complete 06:04:25 339a4e72a1f5: Verifying Checksum 06:04:25 339a4e72a1f5: Download complete 06:04:25 bde34c3a00c8: Verifying Checksum 06:04:25 bde34c3a00c8: Download complete 06:04:25 b352a97aabf1: Download complete 06:04:25 4872d77fe225: Download complete 06:04:25 5851b861e8e6: Download complete 06:04:25 b85a868b505f: Verifying Checksum 06:04:25 b85a868b505f: Download complete 06:04:25 bab4dde63d76: Verifying Checksum 06:04:25 bab4dde63d76: Download complete 06:04:26 b85a868b505f: Pull complete 06:04:26 e2be974225ed: Pull complete 06:04:27 339a4e72a1f5: Pull complete 06:04:27 988bab9f4d93: Pull complete 06:04:27 1469e6f7b9e6: Pull complete 06:04:27 eaf3925da568: Pull complete 06:04:29 bab4dde63d76: Pull complete 06:04:29 bde34c3a00c8: Pull complete 06:04:29 b352a97aabf1: Pull complete 06:04:29 4872d77fe225: Pull complete 06:04:29 5851b861e8e6: Pull complete 06:04:29 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 06:04:29 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:04:29 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:04:29 prd-ubuntu20.04-docker-8c-8g-13837 does not seem to be running inside a container 06:04:29 $ 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 06:04:31 $ docker top 07aa10b4f781029e57ba58ea22680d1c5ca73bc374e6f7f6743e25b9d4809917 -eo pid,comm 06:04:32 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). 06:04:32 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:04:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:04:32 [ssh-agent] Looking for ssh-agent implementation... 06:04:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:04:32 $ docker exec 07aa10b4f781029e57ba58ea22680d1c5ca73bc374e6f7f6743e25b9d4809917 ssh-agent 06:04:32 SSH_AUTH_SOCK=/tmp/ssh-h70b6tEi1wMi/agent.31 06:04:32 SSH_AGENT_PID=37 06:04:32 Running ssh-add (command line suppressed) 06:04:32 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_434218594531176746.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_434218594531176746.key) 06:04:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:04:32 + git tag --points-at HEAD [Pipeline] } 06:04:32 $ docker exec --env ******** --env ******** 07aa10b4f781029e57ba58ea22680d1c5ca73bc374e6f7f6743e25b9d4809917 ssh-agent -k 06:04:32 unset SSH_AUTH_SOCK; 06:04:32 unset SSH_AGENT_PID; 06:04:32 echo Agent pid 37 killed; 06:04:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 06:04:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:04:32 [ssh-agent] Looking for ssh-agent implementation... 06:04:33 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:04:32 $ docker exec 07aa10b4f781029e57ba58ea22680d1c5ca73bc374e6f7f6743e25b9d4809917 ssh-agent 06:04:33 SSH_AUTH_SOCK=/tmp/ssh-IiqjrrKTxuLr/agent.69 06:04:33 SSH_AGENT_PID=76 06:04:33 Running ssh-add (command line suppressed) 06:04:33 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15625151212786342237.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15625151212786342237.key) 06:04:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:04:33 + git semver init 06:04:33 2023-05-05 06:04:33,690 [run_init] DEBUG init version:0.0.0 force:False 06:04:33 2023-05-05 06:04:33,691 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 06:04:33 2023-05-05 06:04:33,692 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 06:04:33 2023-05-05 06:04:33,692 [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) 06:04:34 2023-05-05 06:04:34,656 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 06:04:34 2023-05-05 06:04:34,656 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 06:04:34 2023-05-05 06:04:34,656 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 06:04:34 2023-05-05 06:04:34,657 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 06:04:34 3.0.0-dev.36 [Pipeline] } 06:04:34 $ docker exec --env ******** --env ******** 07aa10b4f781029e57ba58ea22680d1c5ca73bc374e6f7f6743e25b9d4809917 ssh-agent -k 06:04:34 unset SSH_AUTH_SOCK; 06:04:34 unset SSH_AGENT_PID; 06:04:34 echo Agent pid 76 killed; 06:04:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:04:35 + git semver [Pipeline] } 06:04:35 $ docker stop --time=1 07aa10b4f781029e57ba58ea22680d1c5ca73bc374e6f7f6743e25b9d4809917 06:04:36 $ docker rm -f --volumes 07aa10b4f781029e57ba58ea22680d1c5ca73bc374e6f7f6743e25b9d4809917 [Pipeline] // withDockerContainer [Pipeline] sh 06:04:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 06:04:37 Stashed 1 file(s) [Pipeline] echo 06:04:37 [edgeXSemver]: initialized semver on version 3.0.0-dev.36 [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 06:04:37 provisioning config files... 06:04:37 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16891985462805345491tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:04:37 ---> docker-login.sh 06:04:37 nexus3.edgexfoundry.org:10001 06:04:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:37 Configure a credential helper to remove this warning. See 06:04:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:37 06:04:37 Login Succeeded 06:04:37 nexus3.edgexfoundry.org:10002 06:04:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:37 Configure a credential helper to remove this warning. See 06:04:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:37 06:04:37 Login Succeeded 06:04:37 nexus3.edgexfoundry.org:10003 06:04:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:37 Configure a credential helper to remove this warning. See 06:04:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:37 06:04:37 Login Succeeded 06:04:37 nexus3.edgexfoundry.org:10004 06:04:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:37 Configure a credential helper to remove this warning. See 06:04:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:37 06:04:37 Login Succeeded 06:04:37 docker.io 06:04:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:04:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:04:38 Configure a credential helper to remove this warning. See 06:04:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:04:38 06:04:38 Login Succeeded 06:04:38 ---> docker-login.sh ends [Pipeline] } 06:04:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:04:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:04:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:04:38 ========================================================= 06:04:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 06:04:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:04:38 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 06:04:38 Sending build context to Docker daemon 10.91MB 06:04:38 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 06:04:38 Step 2/12 : FROM ${BASE} AS builder 06:04:38 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 06:04:38 f56be85fc22e: Pulling fs layer 06:04:38 85791d961cd3: Pulling fs layer 06:04:38 d694b5ae8c79: Pulling fs layer 06:04:38 9f32a84ed3da: Pulling fs layer 06:04:38 4d19c01a9841: Pulling fs layer 06:04:38 9325e15d5711: Pulling fs layer 06:04:38 556b6ee489ea: Pulling fs layer 06:04:38 c5a4b2cf53e6: Pulling fs layer 06:04:38 9f32a84ed3da: Waiting 06:04:38 4d19c01a9841: Waiting 06:04:38 9325e15d5711: Waiting 06:04:38 c5a4b2cf53e6: Waiting 06:04:38 556b6ee489ea: Waiting 06:04:38 85791d961cd3: Verifying Checksum 06:04:38 85791d961cd3: Download complete 06:04:38 9f32a84ed3da: Verifying Checksum 06:04:38 9f32a84ed3da: Download complete 06:04:38 4d19c01a9841: Verifying Checksum 06:04:38 4d19c01a9841: Download complete 06:04:38 f56be85fc22e: Verifying Checksum 06:04:38 f56be85fc22e: Download complete 06:04:38 9325e15d5711: Verifying Checksum 06:04:38 9325e15d5711: Download complete 06:04:38 f56be85fc22e: Pull complete 06:04:39 85791d961cd3: Pull complete 06:04:39 c5a4b2cf53e6: Verifying Checksum 06:04:39 c5a4b2cf53e6: Download complete 06:04:39 d694b5ae8c79: Verifying Checksum 06:04:39 d694b5ae8c79: Download complete 06:04:39 556b6ee489ea: Verifying Checksum 06:04:39 556b6ee489ea: Download complete 06:04:42 d694b5ae8c79: Pull complete 06:04:42 9f32a84ed3da: Pull complete 06:04:42 4d19c01a9841: Pull complete 06:04:42 9325e15d5711: Pull complete 06:04:45 556b6ee489ea: Pull complete 06:04:46 c5a4b2cf53e6: Pull complete 06:04:46 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 06:04:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 06:04:46 ---> c4be618373d6 06:04:46 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:04:50 ---> Running in e96157f3b522 06:04:50 Removing intermediate container e96157f3b522 06:04:50 ---> c89023d0a817 06:04:50 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:04:50 ---> Running in 211f479fbbca 06:04:50 Removing intermediate container 211f479fbbca 06:04:50 ---> 329ca0f23dcf 06:04:50 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:04:50 ---> Running in 720ec2713a32 06:04:50 Removing intermediate container 720ec2713a32 06:04:50 ---> 7e2f2faa3029 06:04:50 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:04:50 ---> Running in 3a2f85f4bbd5 06:04:50 Removing intermediate container 3a2f85f4bbd5 06:04:50 ---> dbbe2286d968 06:04:50 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:04:50 ---> Running in b479f4026011 06:04:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:04:50 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:04:51 (1/4) Installing openssh-keygen (9.1_p1-r2) 06:04:51 (2/4) Installing libedit (20221030.3.1-r0) 06:04:51 (3/4) Installing openssh-client-common (9.1_p1-r2) 06:04:51 (4/4) Installing openssh-client-default (9.1_p1-r2) 06:04:51 Executing busybox-1.35.0-r29.trigger 06:04:51 OK: 269 MiB in 57 packages 06:04:51 Removing intermediate container b479f4026011 06:04:51 ---> 3c67aca0f065 06:04:51 Step 8/12 : WORKDIR /device-rest-go 06:04:51 ---> Running in 5d3850c81322 06:04:51 Removing intermediate container 5d3850c81322 06:04:51 ---> 1cea3f80d669 06:04:51 Step 9/12 : COPY go.mod vendor* ./ 06:04:51 ---> 1e470f624ddf 06:04:51 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:04:51 ---> Running in c1b9d2c72280 06:04:52 Still waiting to schedule task 06:04:52 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 06:05:18 Removing intermediate container c1b9d2c72280 06:05:18 ---> 0c31c0a64cb1 06:05:18 Step 11/12 : COPY . . 06:05:18 ---> 414f5f000602 06:05:18 Step 12/12 : RUN $MAKE 06:05:18 ---> Running in 8618c462fea4 06:05:18 noop 06:05:18 Removing intermediate container 8618c462fea4 06:05:18 ---> 439ae4569612 06:05:18 Successfully built 439ae4569612 06:05:18 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:18 + docker inspect -f . ci-base-image-x86_64 06:05:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:18 prd-ubuntu20.04-docker-8c-8g-13837 does not seem to be running inside a container 06:05:18 $ 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 06:05:19 $ docker top 329bb96c377223e3a601a6f5147622097a8559ee8e2d54173a122a5366c595fa -eo pid,comm [Pipeline] { [Pipeline] sh 06:05:19 + go version 06:05:19 go version go1.20.2 linux/amd64 [Pipeline] } 06:05:19 $ docker stop --time=1 329bb96c377223e3a601a6f5147622097a8559ee8e2d54173a122a5366c595fa 06:05:20 $ docker rm -f --volumes 329bb96c377223e3a601a6f5147622097a8559ee8e2d54173a122a5366c595fa [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:21 + docker inspect -f . ci-base-image-x86_64 06:05:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:05:21 prd-ubuntu20.04-docker-8c-8g-13837 does not seem to be running inside a container 06:05:21 $ 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 06:05:21 $ docker top fcc0a80774a8181469e5a08b7013253fd9a4e0671d9d9d185a5173d5f10b7660 -eo pid,comm [Pipeline] { [Pipeline] sh 06:05:21 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 06:05:22 + make test 06:05:22 go test ./... -coverprofile=coverage.out ./... 06:05:27 ? github.com/edgexfoundry/device-rest-go [no test files] 06:05:37 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 06:05:37 ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 32.2% of statements 06:05:45 go vet ./... 06:05:48 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:05:48 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:05:48 ./bin/test-attribution-txt.sh [Pipeline] echo 06:05:48 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:05:48 $ docker stop --time=1 fcc0a80774a8181469e5a08b7013253fd9a4e0671d9d9d185a5173d5f10b7660 06:05:50 $ docker rm -f --volumes fcc0a80774a8181469e5a08b7013253fd9a4e0671d9d9d185a5173d5f10b7660 [Pipeline] // withDockerContainer [Pipeline] sh 06:05:51 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:05:51 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 06:05:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:05:52 + ls -al . 06:05:52 total 184 06:05:52 drwxrwxr-x 9 jenkins jenkins 4096 May 5 06:05 . 06:05:52 drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:04 .. 06:05:52 -rw-rw-r-- 1 jenkins jenkins 151 May 5 06:04 .dockerignore 06:05:52 drwxrwxr-x 8 jenkins jenkins 4096 May 5 06:04 .git 06:05:52 drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:04 .github 06:05:52 -rw-rw-r-- 1 jenkins jenkins 329 May 5 06:04 .gitignore 06:05:52 -rw-rw-r-- 1 jenkins jenkins 41 May 5 06:04 .golangci.yml 06:05:52 drwxr-xr-x 3 jenkins jenkins 4096 May 5 06:04 .semver 06:05:52 -rw-rw-r-- 1 jenkins jenkins 9331 May 5 06:04 Attribution.txt 06:05:52 -rw-rw-r-- 1 jenkins jenkins 13085 May 5 06:04 CHANGELOG.md 06:05:52 -rw-rw-r-- 1 jenkins jenkins 1578 May 5 06:04 Dockerfile 06:05:52 -rw-rw-r-- 1 jenkins jenkins 677 May 5 06:04 GOVERNANCE.md 06:05:52 -rw-rw-r-- 1 jenkins jenkins 680 May 5 06:04 Jenkinsfile 06:05:52 -rw-rw-r-- 1 jenkins jenkins 11340 May 5 06:04 LICENSE 06:05:52 -rw-rw-r-- 1 jenkins jenkins 1779 May 5 06:04 Makefile 06:05:52 -rw-rw-r-- 1 jenkins jenkins 620 May 5 06:04 OWNERS.md 06:05:52 -rw-rw-r-- 1 jenkins jenkins 15321 May 5 06:04 README.md 06:05:52 -rw-rw-r-- 1 jenkins jenkins 12 May 5 06:04 VERSION 06:05:52 drwxrwxr-x 2 jenkins jenkins 4096 May 5 06:04 bin 06:05:52 drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:04 cmd 06:05:52 -rw-r--r-- 1 jenkins jenkins 14663 May 5 06:05 coverage.out 06:05:52 drwxrwxr-x 2 jenkins jenkins 4096 May 5 06:04 driver 06:05:52 -rw-rw-r-- 1 jenkins jenkins 3402 May 5 06:04 go.mod 06:05:52 -rw-rw-r-- 1 jenkins jenkins 31328 May 5 06:04 go.sum 06:05:52 drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:04 snap 06:05:52 -rw-rw-r-- 1 jenkins jenkins 713 May 5 06:04 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:05:52 + 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=322050c65873fd50260d8a368346f4ba3310d130 --label arch=amd64 --label version=3.0.0-dev.36 . 06:05:52 Sending build context to Docker daemon 10.92MB 06:05:52 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 06:05:52 Step 2/25 : FROM ${BASE} AS builder 06:05:52 ---> 439ae4569612 06:05:52 Step 3/25 : ARG ADD_BUILD_TAGS="" 06:05:52 ---> Running in b1b7cc831799 06:05:52 Removing intermediate container b1b7cc831799 06:05:52 ---> e389309c5db0 06:05:52 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:05:52 ---> Running in 8a97bd487ec3 06:05:52 Removing intermediate container 8a97bd487ec3 06:05:52 ---> a8d4dd4e70d4 06:05:52 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:05:52 ---> Running in ae7cb334041b 06:05:53 Removing intermediate container ae7cb334041b 06:05:53 ---> fe0603c4644e 06:05:53 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 06:05:53 ---> Running in bb3981b46cf1 06:05:53 Removing intermediate container bb3981b46cf1 06:05:53 ---> a4640ad51d6b 06:05:53 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:05:53 ---> Running in a8e276eaf3bc 06:05:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:05:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:05:53 OK: 269 MiB in 57 packages 06:05:53 Removing intermediate container a8e276eaf3bc 06:05:53 ---> 13f1aa971b09 06:05:53 Step 8/25 : WORKDIR /device-rest-go 06:05:53 ---> Running in dbbdd6b56040 06:05:54 Removing intermediate container dbbdd6b56040 06:05:54 ---> 8fa34fd3320c 06:05:54 Step 9/25 : COPY go.mod vendor* ./ 06:05:54 ---> 1245d42683e0 06:05:54 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:05:54 ---> Running in c02d045fa085 06:05:55 Removing intermediate container c02d045fa085 06:05:55 ---> df27c802806d 06:05:55 Step 11/25 : COPY . . 06:05:55 ---> 26f64bd6ffe5 06:05:55 Step 12/25 : RUN $MAKE 06:05:55 ---> Running in 893cef3019be 06:05:55 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.36" -trimpath -mod=readonly -o cmd/device-rest ./cmd 06:06:18 Removing intermediate container 893cef3019be 06:06:18 ---> 87a7a276d3e0 06:06:18 Step 13/25 : FROM alpine:3.17 06:06:18 3.17: Pulling from library/alpine 06:06:18 f56be85fc22e: Already exists 06:06:18 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:06:18 Status: Downloaded newer image for alpine:3.17 06:06:18 ---> 9ed4aefc74f6 06:06:18 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:06:18 ---> Running in e0e57fb93508 06:06:18 Removing intermediate container e0e57fb93508 06:06:18 ---> c9c4776665fe 06:06:18 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 06:06:18 ---> Running in 2dd3eee9333f 06:06:18 Removing intermediate container 2dd3eee9333f 06:06:18 ---> 9fe2a3045477 06:06:18 Step 16/25 : RUN apk add --update --no-cache dumb-init 06:06:18 ---> Running in 2f7eb95ee58c 06:06:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 06:06:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 06:06:18 (1/1) Installing dumb-init (1.2.5-r2) 06:06:18 Executing busybox-1.35.0-r29.trigger 06:06:18 OK: 7 MiB in 16 packages 06:06:18 Removing intermediate container 2f7eb95ee58c 06:06:18 ---> 69e27d83a033 06:06:18 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 06:06:18 ---> d91ba227a358 06:06:18 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 06:06:18 ---> 67e181f5dc93 06:06:18 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 06:06:18 ---> e24dc17951a3 06:06:18 Step 20/25 : EXPOSE 59986 06:06:18 ---> Running in 0ff37e0e3fdb 06:06:18 Removing intermediate container 0ff37e0e3fdb 06:06:18 ---> ab5d4dcd02f4 06:06:18 Step 21/25 : ENTRYPOINT ["/device-rest"] 06:06:18 ---> Running in 1c948a2c3089 06:06:18 Removing intermediate container 1c948a2c3089 06:06:18 ---> 17f8eed8b288 06:06:18 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:06:19 ---> Running in 1d82893bcaa5 06:06:19 Removing intermediate container 1d82893bcaa5 06:06:19 ---> 0916843e1b17 06:06:19 Step 23/25 : LABEL arch=amd64 06:06:19 ---> Running in e56d11a00e8d 06:06:19 Removing intermediate container e56d11a00e8d 06:06:19 ---> 006e9f47b098 06:06:19 Step 24/25 : LABEL git_sha=322050c65873fd50260d8a368346f4ba3310d130 06:06:19 ---> Running in 5f6f610bb887 06:06:19 Removing intermediate container 5f6f610bb887 06:06:19 ---> c83c46348e55 06:06:19 Step 25/25 : LABEL version=3.0.0-dev.36 06:06:19 ---> Running in 4b4c50438ce9 06:06:19 Removing intermediate container 4b4c50438ce9 06:06:19 ---> d7af26b66ba7 06:06:19 [Warning] One or more build-args [ARCH] were not consumed 06:06:19 Successfully built d7af26b66ba7 06:06:19 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:06:19 provisioning config files... 06:06:19 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12020759796806775257tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:06:19 ---> docker-login.sh 06:06:19 nexus3.edgexfoundry.org:10001 06:06:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:19 Configure a credential helper to remove this warning. See 06:06:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:19 06:06:19 Login Succeeded 06:06:19 nexus3.edgexfoundry.org:10002 06:06:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:19 Configure a credential helper to remove this warning. See 06:06:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:19 06:06:19 Login Succeeded 06:06:19 nexus3.edgexfoundry.org:10003 06:06:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:19 Configure a credential helper to remove this warning. See 06:06:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:19 06:06:19 Login Succeeded 06:06:19 nexus3.edgexfoundry.org:10004 06:06:19 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:19 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:19 Configure a credential helper to remove this warning. See 06:06:19 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:19 06:06:19 Login Succeeded 06:06:19 docker.io 06:06:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:06:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:06:20 Configure a credential helper to remove this warning. See 06:06:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:06:20 06:06:20 Login Succeeded 06:06:20 ---> docker-login.sh ends [Pipeline] } 06:06:20 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:06:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:06:20 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 06:06:20 322050c65873fd50260d8a368346f4ba3310d130 06:06:20 latest 06:06:20 3.0.0-dev.36 06:06:20 322050c65873fd50260d8a368346f4ba3310d130-3.0.0-dev.36 06:06:20 main 06:06:20 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:20 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:322050c65873fd50260d8a368346f4ba3310d130 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:20 + docker push nexus3.edgexfoundry.org:10004/device-rest:322050c65873fd50260d8a368346f4ba3310d130 06:06:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 06:06:20 1819faa3da41: Preparing 06:06:20 3351bc092656: Preparing 06:06:20 d6676c60a31b: Preparing 06:06:20 8814579e7c20: Preparing 06:06:20 f1417ff83b31: Preparing 06:06:20 f1417ff83b31: Layer already exists 06:06:20 3351bc092656: Pushed 06:06:20 1819faa3da41: Pushed 06:06:20 8814579e7c20: Pushed 06:06:24 d6676c60a31b: Pushed 06:06:24 322050c65873fd50260d8a368346f4ba3310d130: digest: sha256:1aa3cbb2f88d62c5332a5a6ce2285d94367d8892b20cd819f0cbc79fb5ffcef9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:24 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:24 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 06:06:24 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 06:06:24 1819faa3da41: Preparing 06:06:24 3351bc092656: Preparing 06:06:24 d6676c60a31b: Preparing 06:06:24 8814579e7c20: Preparing 06:06:24 f1417ff83b31: Preparing 06:06:24 8814579e7c20: Layer already exists 06:06:24 3351bc092656: Layer already exists 06:06:24 f1417ff83b31: Layer already exists 06:06:24 d6676c60a31b: Layer already exists 06:06:24 1819faa3da41: Layer already exists 06:06:24 latest: digest: sha256:1aa3cbb2f88d62c5332a5a6ce2285d94367d8892b20cd819f0cbc79fb5ffcef9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:25 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.36 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:25 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.36 06:06:25 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 06:06:25 1819faa3da41: Preparing 06:06:25 3351bc092656: Preparing 06:06:25 d6676c60a31b: Preparing 06:06:25 8814579e7c20: Preparing 06:06:25 f1417ff83b31: Preparing 06:06:25 1819faa3da41: Layer already exists 06:06:25 f1417ff83b31: Layer already exists 06:06:25 3351bc092656: Layer already exists 06:06:25 d6676c60a31b: Layer already exists 06:06:25 8814579e7c20: Layer already exists 06:06:25 3.0.0-dev.36: digest: sha256:1aa3cbb2f88d62c5332a5a6ce2285d94367d8892b20cd819f0cbc79fb5ffcef9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:25 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:322050c65873fd50260d8a368346f4ba3310d130-3.0.0-dev.36 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:26 + docker push nexus3.edgexfoundry.org:10004/device-rest:322050c65873fd50260d8a368346f4ba3310d130-3.0.0-dev.36 06:06:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 06:06:26 1819faa3da41: Preparing 06:06:26 3351bc092656: Preparing 06:06:26 d6676c60a31b: Preparing 06:06:26 8814579e7c20: Preparing 06:06:26 f1417ff83b31: Preparing 06:06:26 3351bc092656: Layer already exists 06:06:26 f1417ff83b31: Layer already exists 06:06:26 1819faa3da41: Layer already exists 06:06:26 8814579e7c20: Layer already exists 06:06:26 d6676c60a31b: Layer already exists 06:06:26 322050c65873fd50260d8a368346f4ba3310d130-3.0.0-dev.36: digest: sha256:1aa3cbb2f88d62c5332a5a6ce2285d94367d8892b20cd819f0cbc79fb5ffcef9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:26 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:26 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 06:06:26 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 06:06:26 1819faa3da41: Preparing 06:06:26 3351bc092656: Preparing 06:06:26 d6676c60a31b: Preparing 06:06:26 8814579e7c20: Preparing 06:06:26 f1417ff83b31: Preparing 06:06:26 8814579e7c20: Layer already exists 06:06:26 f1417ff83b31: Layer already exists 06:06:26 d6676c60a31b: Layer already exists 06:06:26 1819faa3da41: Layer already exists 06:06:26 3351bc092656: Layer already exists 06:06:26 main: digest: sha256:1aa3cbb2f88d62c5332a5a6ce2285d94367d8892b20cd819f0cbc79fb5ffcef9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:06:26 ===================================================== [Pipeline] echo 06:06:26 taggedImages: 06:06:26 - nexus3.edgexfoundry.org:10004/device-rest:322050c65873fd50260d8a368346f4ba3310d130 06:06:26 - nexus3.edgexfoundry.org:10004/device-rest:latest 06:06:26 - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.36 06:06:26 - nexus3.edgexfoundry.org:10004/device-rest:322050c65873fd50260d8a368346f4ba3310d130-3.0.0-dev.36 06:06:26 - 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 06:06:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:06:27 06:06:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:06:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:06:27 latest: Pulling from edgex-lftools-log-publisher 06:06:27 5eb5b503b376: Pulling fs layer 06:06:27 5c69ac0246d0: Pulling fs layer 06:06:27 ec43610c2a17: Pulling fs layer 06:06:27 3a2ae6a8a46f: Pulling fs layer 06:06:27 33b1e0a273af: Pulling fs layer 06:06:27 5d3b04190fa2: Pulling fs layer 06:06:27 2f39f015ded8: Pulling fs layer 06:06:27 33b1e0a273af: Waiting 06:06:27 5d3b04190fa2: Waiting 06:06:27 2f39f015ded8: Waiting 06:06:27 3a2ae6a8a46f: Waiting 06:06:27 5c69ac0246d0: Verifying Checksum 06:06:27 5c69ac0246d0: Download complete 06:06:27 3a2ae6a8a46f: Verifying Checksum 06:06:27 3a2ae6a8a46f: Download complete 06:06:27 33b1e0a273af: Verifying Checksum 06:06:27 33b1e0a273af: Download complete 06:06:27 ec43610c2a17: Verifying Checksum 06:06:27 ec43610c2a17: Download complete 06:06:27 5d3b04190fa2: Verifying Checksum 06:06:27 5d3b04190fa2: Download complete 06:06:27 5eb5b503b376: Verifying Checksum 06:06:27 5eb5b503b376: Download complete 06:06:28 2f39f015ded8: Download complete 06:06:28 5eb5b503b376: Pull complete 06:06:29 5c69ac0246d0: Pull complete 06:06:29 ec43610c2a17: Pull complete 06:06:29 3a2ae6a8a46f: Pull complete 06:06:29 33b1e0a273af: Pull complete 06:06:29 5d3b04190fa2: Pull complete 06:06:34 2f39f015ded8: Pull complete 06:06:34 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 06:06:34 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:06:34 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:06:34 prd-ubuntu20.04-docker-8c-8g-13837 does not seem to be running inside a container 06:06:34 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 06:06:36 $ docker top a339f011550a0824cc6e9500b232ad466b60c8dbb98a6957fd474c71ed285a8e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:06:37 ---> job-cost.sh 06:06:37 lf-activate-venv: SKIPPING 06:06:37 INFO: No Stack... 06:06:37 INFO: Retrieving Pricing Info for: v3-standard-8 06:06:37 INFO: Archiving Costs [Pipeline] sh 06:06:38 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 06:06:38 + cut -d, -f6 [Pipeline] lock 06:06:38 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-108-stack-cost] 06:06:38 Resource [jenkins-edgexfoundry-device-rest-go-main-108-stack-cost] did not exist. Created. 06:06:38 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-108-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:06:38 + echo total: 0.2199999988079071 [Pipeline] stash 06:06:38 Stashed 1 file(s) [Pipeline] } 06:06:38 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-108-stack-cost] [Pipeline] // lock [Pipeline] } 06:06:38 $ docker stop --time=1 a339f011550a0824cc6e9500b232ad466b60c8dbb98a6957fd474c71ed285a8e 06:06:39 $ docker rm -f --volumes a339f011550a0824cc6e9500b232ad466b60c8dbb98a6957fd474c71ed285a8e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 06:07:27 Running on prd-ubuntu20.04-docker-arm64-4c-16g-13841 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 06:07:27 Running in /w/workspace/device-rest-go/108 [Pipeline] { [Pipeline] checkout 06:07:27 The recommended git tool is: git 06:07:33 using credential edgex-jenkins-ssh 06:07:33 Cloning the remote Git repository 06:07:33 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 06:07:34 > git init /w/workspace/device-rest-go/108 # timeout=10 06:07:34 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 06:07:34 > git --version # timeout=10 06:07:34 > git --version # 'git version 2.25.1' 06:07:34 using GIT_SSH to set credentials SSH Credentials for GitHub 06:07:34 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 06:07:37 Avoid second fetch 06:07:37 Checking out Revision 322050c65873fd50260d8a368346f4ba3310d130 (main) 06:07:36 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 06:07:36 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 06:07:37 > git config core.sparsecheckout # timeout=10 06:07:37 > git checkout -f 322050c65873fd50260d8a368346f4ba3310d130 # timeout=10 06:07:38 Commit message: "Merge pull request #308 from jumpingliu/ignore-go-mods" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 06:07:38 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 06:07:38 % Total % Received % Xferd Average Speed Time Time Time Current 06:07:38 Dload Upload Total Spent Left Speed 06:07:38 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 249k 0 --:--:-- --:--:-- --:--:-- 249k [Pipeline] sh 06:07:39 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 06:07:39 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 06:07:39 + sudo tee /etc/docker/daemon.new 06:07:39 { 06:07:39 "registry-mirrors": [ 06:07:39 "https://nexus3.edgexfoundry.org:10001" 06:07:39 ], 06:07:39 "bip": "10.250.0.254/24", 06:07:39 "hosts": [ 06:07:39 "tcp://0.0.0.0:5555", 06:07:39 "unix:///var/run/docker.sock" 06:07:39 ], 06:07:39 "mtu": 1458, 06:07:39 "selinux-enabled": true, 06:07:39 "seccomp-profile": "/etc/docker/seccomp.json" 06:07:39 } [Pipeline] sh 06:07:40 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 06:07:40 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:07:58 provisioning config files... 06:07:58 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/108@tmp/config12337657651637926955tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:07:59 ---> docker-login.sh 06:07:59 nexus3.edgexfoundry.org:10001 06:07:59 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:07:59 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:07:59 Configure a credential helper to remove this warning. See 06:07:59 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:07:59 06:07:59 Login Succeeded 06:07:59 nexus3.edgexfoundry.org:10002 06:08:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:00 Configure a credential helper to remove this warning. See 06:08:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:00 06:08:00 Login Succeeded 06:08:00 nexus3.edgexfoundry.org:10003 06:08:00 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:00 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:00 Configure a credential helper to remove this warning. See 06:08:00 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:00 06:08:00 Login Succeeded 06:08:00 nexus3.edgexfoundry.org:10004 06:08:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:01 Configure a credential helper to remove this warning. See 06:08:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:01 06:08:01 Login Succeeded 06:08:01 docker.io 06:08:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:08:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:08:01 Configure a credential helper to remove this warning. See 06:08:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:08:01 06:08:01 Login Succeeded 06:08:01 ---> docker-login.sh ends [Pipeline] } 06:08:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 06:08:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:08:01 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:08:01 ========================================================= 06:08:01 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 06:08:01 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:08:02 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 06:08:02 Sending build context to Docker daemon 139.3kB 06:08:02 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 06:08:02 Step 2/12 : FROM ${BASE} AS builder 06:08:02 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 06:08:02 c41833b44d91: Pulling fs layer 06:08:02 ed15518f5707: Pulling fs layer 06:08:02 feae8fd75edb: Pulling fs layer 06:08:02 242c74f7c9fa: Pulling fs layer 06:08:02 3cdef696dda3: Pulling fs layer 06:08:02 2ced38df9373: Pulling fs layer 06:08:02 58f1dce35555: Pulling fs layer 06:08:02 3cdef696dda3: Waiting 06:08:02 2ced38df9373: Waiting 06:08:02 58f1dce35555: Waiting 06:08:02 242c74f7c9fa: Waiting 06:08:02 ed15518f5707: Verifying Checksum 06:08:02 ed15518f5707: Download complete 06:08:02 242c74f7c9fa: Verifying Checksum 06:08:02 242c74f7c9fa: Download complete 06:08:02 3cdef696dda3: Verifying Checksum 06:08:02 3cdef696dda3: Download complete 06:08:02 c41833b44d91: Verifying Checksum 06:08:02 c41833b44d91: Download complete 06:08:03 c41833b44d91: Pull complete 06:08:04 58f1dce35555: Verifying Checksum 06:08:04 58f1dce35555: Download complete 06:08:04 ed15518f5707: Pull complete 06:08:05 feae8fd75edb: Verifying Checksum 06:08:05 feae8fd75edb: Download complete 06:08:06 2ced38df9373: Verifying Checksum 06:08:16 feae8fd75edb: Pull complete 06:08:16 242c74f7c9fa: Pull complete 06:08:16 3cdef696dda3: Pull complete 06:08:23 2ced38df9373: Pull complete 06:08:25 58f1dce35555: Pull complete 06:08:25 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 06:08:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 06:08:25 ---> fadd8f120f05 06:08:25 Step 3/12 : ARG ADD_BUILD_TAGS="" 06:08:27 ---> Running in fef063eab250 06:08:28 Removing intermediate container fef063eab250 06:08:28 ---> b8ab6180a272 06:08:28 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:08:28 ---> Running in 9988368fb957 06:08:28 Removing intermediate container 9988368fb957 06:08:28 ---> f9ed140ab95d 06:08:28 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:08:28 ---> Running in 72f063f520e3 06:08:28 Removing intermediate container 72f063f520e3 06:08:28 ---> a0b8ec0aacd0 06:08:28 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 06:08:28 ---> Running in 8f6832d1a06a 06:08:29 Removing intermediate container 8f6832d1a06a 06:08:29 ---> a88840dc684d 06:08:29 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:08:29 ---> Running in c688e961a090 06:08:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:08:31 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:08:32 (1/4) Installing openssh-keygen (9.1_p1-r2) 06:08:32 (2/4) Installing libedit (20221030.3.1-r0) 06:08:32 (3/4) Installing openssh-client-common (9.1_p1-r2) 06:08:32 (4/4) Installing openssh-client-default (9.1_p1-r2) 06:08:32 Executing busybox-1.35.0-r29.trigger 06:08:32 OK: 268 MiB in 57 packages 06:08:33 Removing intermediate container c688e961a090 06:08:33 ---> 4b5688d8d39f 06:08:33 Step 8/12 : WORKDIR /device-rest-go 06:08:34 ---> Running in 2ec20b1e7ef4 06:08:34 Removing intermediate container 2ec20b1e7ef4 06:08:34 ---> 5de20217e06f 06:08:34 Step 9/12 : COPY go.mod vendor* ./ 06:08:35 ---> 090d143cd9ff 06:08:35 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:08:35 ---> Running in cb4eb0831d3f 06:09:43 Removing intermediate container cb4eb0831d3f 06:09:43 ---> 353f24d3323f 06:09:43 Step 11/12 : COPY . . 06:09:43 ---> 1da731769739 06:09:43 Step 12/12 : RUN $MAKE 06:09:43 ---> Running in 52ef41f7bc4b 06:09:43 noop 06:09:43 Removing intermediate container 52ef41f7bc4b 06:09:43 ---> 2459029a9d0e 06:09:43 Successfully built 2459029a9d0e 06:09:43 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:44 + docker inspect -f . ci-base-image-arm64 06:09:44 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:09:44 prd-ubuntu20.04-docker-arm64-4c-16g-13841 does not seem to be running inside a container 06:09:44 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/108 -v /w/workspace/device-rest-go/108:/w/workspace/device-rest-go/108:rw,z -v /w/workspace/device-rest-go/108@tmp:/w/workspace/device-rest-go/108@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:09:46 $ docker top d65c55c665c6b030894330eabbd32ea2fdfd20875886223daa0161b77b9ecb65 -eo pid,comm [Pipeline] { [Pipeline] sh 06:09:47 + go version 06:09:47 go version go1.20.2 linux/arm64 [Pipeline] } 06:09:47 $ docker stop --time=1 d65c55c665c6b030894330eabbd32ea2fdfd20875886223daa0161b77b9ecb65 06:09:49 $ docker rm -f --volumes d65c55c665c6b030894330eabbd32ea2fdfd20875886223daa0161b77b9ecb65 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:09:49 + docker inspect -f . ci-base-image-arm64 06:09:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:09:50 prd-ubuntu20.04-docker-arm64-4c-16g-13841 does not seem to be running inside a container 06:09:50 $ 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/108 -v /w/workspace/device-rest-go/108:/w/workspace/device-rest-go/108:rw,z -v /w/workspace/device-rest-go/108@tmp:/w/workspace/device-rest-go/108@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 06:09:51 $ docker top 2c26949052290c04d7f393a7fcee60035988d05e74908a8218fd253cc29d27a6 -eo pid,comm [Pipeline] { [Pipeline] sh 06:09:52 + git config --global --add safe.directory /w/workspace/device-rest-go/108 [Pipeline] fileExists [Pipeline] sh 06:09:53 + make test 06:09:53 go test ./... -coverprofile=coverage.out ./... 06:10:40 ? github.com/edgexfoundry/device-rest-go [no test files] 06:13:17 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 06:13:24 ok github.com/edgexfoundry/device-rest-go/driver 0.071s coverage: 32.2% of statements 06:13:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 06:13:24 go vet ./... 06:14:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 06:14:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 06:14:03 ./bin/test-attribution-txt.sh [Pipeline] echo 06:14:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 06:14:03 $ docker stop --time=1 2c26949052290c04d7f393a7fcee60035988d05e74908a8218fd253cc29d27a6 06:14:05 $ docker rm -f --volumes 2c26949052290c04d7f393a7fcee60035988d05e74908a8218fd253cc29d27a6 [Pipeline] // withDockerContainer [Pipeline] sh 06:14:07 + sudo chown -R jenkins:jenkins . [Pipeline] stash 06:14:07 Warning: overwriting stash ‘coverage-report’ 06:14:07 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 06:14:08 + sudo chown -R jenkins:jenkins . [Pipeline] sh 06:14:08 + ls -al . 06:14:08 total 180 06:14:08 drwxrwxr-x 8 jenkins jenkins 4096 May 5 06:09 . 06:14:08 drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:07 .. 06:14:08 -rw-rw-r-- 1 jenkins jenkins 151 May 5 06:07 .dockerignore 06:14:08 drwxrwxr-x 8 jenkins jenkins 4096 May 5 06:07 .git 06:14:08 drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:07 .github 06:14:08 -rw-rw-r-- 1 jenkins jenkins 329 May 5 06:07 .gitignore 06:14:08 -rw-rw-r-- 1 jenkins jenkins 41 May 5 06:07 .golangci.yml 06:14:08 -rw-rw-r-- 1 jenkins jenkins 9331 May 5 06:07 Attribution.txt 06:14:08 -rw-rw-r-- 1 jenkins jenkins 13085 May 5 06:07 CHANGELOG.md 06:14:08 -rw-rw-r-- 1 jenkins jenkins 1578 May 5 06:07 Dockerfile 06:14:08 -rw-rw-r-- 1 jenkins jenkins 677 May 5 06:07 GOVERNANCE.md 06:14:08 -rw-rw-r-- 1 jenkins jenkins 680 May 5 06:07 Jenkinsfile 06:14:08 -rw-rw-r-- 1 jenkins jenkins 11340 May 5 06:07 LICENSE 06:14:08 -rw-rw-r-- 1 jenkins jenkins 1779 May 5 06:07 Makefile 06:14:08 -rw-rw-r-- 1 jenkins jenkins 620 May 5 06:07 OWNERS.md 06:14:08 -rw-rw-r-- 1 jenkins jenkins 15321 May 5 06:07 README.md 06:14:08 -rw-rw-r-- 1 jenkins jenkins 12 May 5 06:04 VERSION 06:14:08 drwxrwxr-x 2 jenkins jenkins 4096 May 5 06:07 bin 06:14:08 drwxrwxr-x 3 jenkins jenkins 4096 May 5 06:07 cmd 06:14:08 -rw-r--r-- 1 jenkins jenkins 14663 May 5 06:13 coverage.out 06:14:08 drwxrwxr-x 2 jenkins jenkins 4096 May 5 06:07 driver 06:14:08 -rw-rw-r-- 1 jenkins jenkins 3402 May 5 06:07 go.mod 06:14:08 -rw-rw-r-- 1 jenkins jenkins 31328 May 5 06:07 go.sum 06:14:08 drwxrwxr-x 4 jenkins jenkins 4096 May 5 06:07 snap 06:14:08 -rw-rw-r-- 1 jenkins jenkins 713 May 5 06:07 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:14:08 + 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=322050c65873fd50260d8a368346f4ba3310d130 --label arch=arm64 --label version=3.0.0-dev.36 . 06:14:08 Sending build context to Docker daemon 154.6kB 06:14:09 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 06:14:09 Step 2/25 : FROM ${BASE} AS builder 06:14:09 ---> 2459029a9d0e 06:14:09 Step 3/25 : ARG ADD_BUILD_TAGS="" 06:14:09 ---> Running in 74d86b5bbeb3 06:14:10 Removing intermediate container 74d86b5bbeb3 06:14:10 ---> 9d16f12ee8e8 06:14:10 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 06:14:10 ---> Running in 2396c4222d77 06:14:10 Removing intermediate container 2396c4222d77 06:14:10 ---> 038fca6f262e 06:14:10 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 06:14:10 ---> Running in a32ff25c7699 06:14:10 Removing intermediate container a32ff25c7699 06:14:10 ---> 4d81aa564c7e 06:14:10 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 06:14:10 ---> Running in 41fd49d62320 06:14:11 Removing intermediate container 41fd49d62320 06:14:11 ---> 8c150f401462 06:14:11 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 06:14:11 ---> Running in ab0c74733b13 06:14:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:14:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:14:14 OK: 268 MiB in 57 packages 06:14:15 Removing intermediate container ab0c74733b13 06:14:15 ---> e8b5dc2727b7 06:14:15 Step 8/25 : WORKDIR /device-rest-go 06:14:16 ---> Running in 63d734d99a65 06:14:16 Removing intermediate container 63d734d99a65 06:14:16 ---> b472d7f31e2b 06:14:16 Step 9/25 : COPY go.mod vendor* ./ 06:14:17 ---> 97c20fdc059b 06:14:17 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 06:14:17 ---> Running in 1f8a807fcb2a 06:14:20 Removing intermediate container 1f8a807fcb2a 06:14:20 ---> 041d9b0528ca 06:14:20 Step 11/25 : COPY . . 06:14:20 ---> 6d2590d9c34c 06:14:20 Step 12/25 : RUN $MAKE 06:14:20 ---> Running in 0b8cb51043fb 06:14:21 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.36" -trimpath -mod=readonly -o cmd/device-rest ./cmd 06:17:13 Removing intermediate container 0b8cb51043fb 06:17:13 ---> 8fa8cfddb07b 06:17:13 Step 13/25 : FROM alpine:3.17 06:17:13 3.17: Pulling from library/alpine 06:17:13 c41833b44d91: Already exists 06:17:13 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 06:17:13 Status: Downloaded newer image for alpine:3.17 06:17:13 ---> 51e60588ff2c 06:17:13 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 06:17:13 ---> Running in 82044539cc9d 06:17:13 Removing intermediate container 82044539cc9d 06:17:13 ---> 7374f307cb28 06:17:13 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 06:17:13 ---> Running in 947f2936c3f0 06:17:13 Removing intermediate container 947f2936c3f0 06:17:13 ---> 83fb3789c745 06:17:13 Step 16/25 : RUN apk add --update --no-cache dumb-init 06:17:13 ---> Running in 38174c45d68b 06:17:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 06:17:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 06:17:16 (1/1) Installing dumb-init (1.2.5-r2) 06:17:16 Executing busybox-1.35.0-r29.trigger 06:17:16 OK: 8 MiB in 16 packages 06:17:18 Removing intermediate container 38174c45d68b 06:17:18 ---> 182bc988b5d6 06:17:18 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 06:17:19 ---> b1fcf44d2b53 06:17:19 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 06:17:20 ---> 8ee0d4b204c3 06:17:20 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 06:17:20 ---> d4327dd2c683 06:17:20 Step 20/25 : EXPOSE 59986 06:17:21 ---> Running in 4788633d8d7c 06:17:21 Removing intermediate container 4788633d8d7c 06:17:21 ---> 6b808310866e 06:17:21 Step 21/25 : ENTRYPOINT ["/device-rest"] 06:17:21 ---> Running in 9125c3640a9f 06:17:22 Removing intermediate container 9125c3640a9f 06:17:22 ---> 24e6fe0aef9e 06:17:22 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 06:17:22 ---> Running in 4b056dbe2348 06:17:22 Removing intermediate container 4b056dbe2348 06:17:22 ---> 33919d1e4c5c 06:17:22 Step 23/25 : LABEL arch=arm64 06:17:22 ---> Running in f3fabc61d6fe 06:17:22 Removing intermediate container f3fabc61d6fe 06:17:22 ---> 35cd3d366199 06:17:22 Step 24/25 : LABEL git_sha=322050c65873fd50260d8a368346f4ba3310d130 06:17:22 ---> Running in eb648cd713d3 06:17:23 Removing intermediate container eb648cd713d3 06:17:23 ---> 543c0c19275e 06:17:23 Step 25/25 : LABEL version=3.0.0-dev.36 06:17:23 ---> Running in 73a57816453a 06:17:23 Removing intermediate container 73a57816453a 06:17:23 ---> e9f13fd064a2 06:17:23 [Warning] One or more build-args [ARCH] were not consumed 06:17:23 Successfully built e9f13fd064a2 06:17:23 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 06:17:23 provisioning config files... 06:17:23 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/108@tmp/config3544076024265130443tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:17:24 ---> docker-login.sh 06:17:24 nexus3.edgexfoundry.org:10001 06:17:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:24 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:24 Configure a credential helper to remove this warning. See 06:17:24 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:24 06:17:24 Login Succeeded 06:17:24 nexus3.edgexfoundry.org:10002 06:17:24 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:25 Configure a credential helper to remove this warning. See 06:17:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:25 06:17:25 Login Succeeded 06:17:25 nexus3.edgexfoundry.org:10003 06:17:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:25 Configure a credential helper to remove this warning. See 06:17:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:25 06:17:25 Login Succeeded 06:17:25 nexus3.edgexfoundry.org:10004 06:17:25 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:25 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:25 Configure a credential helper to remove this warning. See 06:17:25 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:25 06:17:25 Login Succeeded 06:17:25 docker.io 06:17:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 06:17:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 06:17:26 Configure a credential helper to remove this warning. See 06:17:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 06:17:26 06:17:26 Login Succeeded 06:17:26 ---> docker-login.sh ends [Pipeline] } 06:17:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:17:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 06:17:26 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 06:17:26 322050c65873fd50260d8a368346f4ba3310d130 06:17:26 latest 06:17:26 3.0.0-dev.36 06:17:26 322050c65873fd50260d8a368346f4ba3310d130-3.0.0-dev.36 06:17:26 main 06:17:26 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:26 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:322050c65873fd50260d8a368346f4ba3310d130 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:27 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:322050c65873fd50260d8a368346f4ba3310d130 06:17:27 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 06:17:27 359e5bab2f3f: Preparing 06:17:27 9802cba24024: Preparing 06:17:27 8851b45986b0: Preparing 06:17:27 7649e12d81b7: Preparing 06:17:27 26cbea5cba74: Preparing 06:17:27 26cbea5cba74: Layer already exists 06:17:27 359e5bab2f3f: Pushed 06:17:27 7649e12d81b7: Pushed 06:17:27 9802cba24024: Pushed 06:17:34 8851b45986b0: Pushed 06:17:34 322050c65873fd50260d8a368346f4ba3310d130: digest: sha256:553b51ae7b458d8ee2318be0c160f72b9577cde054b32bd5b2f39d40367b73b9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:34 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:35 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 06:17:35 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 06:17:35 359e5bab2f3f: Preparing 06:17:35 9802cba24024: Preparing 06:17:35 8851b45986b0: Preparing 06:17:35 7649e12d81b7: Preparing 06:17:35 26cbea5cba74: Preparing 06:17:35 359e5bab2f3f: Layer already exists 06:17:35 9802cba24024: Layer already exists 06:17:35 26cbea5cba74: Layer already exists 06:17:35 8851b45986b0: Layer already exists 06:17:35 7649e12d81b7: Layer already exists 06:17:35 latest: digest: sha256:553b51ae7b458d8ee2318be0c160f72b9577cde054b32bd5b2f39d40367b73b9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:35 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.36 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:36 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.36 06:17:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 06:17:36 359e5bab2f3f: Preparing 06:17:36 9802cba24024: Preparing 06:17:36 8851b45986b0: Preparing 06:17:36 7649e12d81b7: Preparing 06:17:36 26cbea5cba74: Preparing 06:17:36 8851b45986b0: Layer already exists 06:17:36 359e5bab2f3f: Layer already exists 06:17:36 7649e12d81b7: Layer already exists 06:17:36 26cbea5cba74: Layer already exists 06:17:36 9802cba24024: Layer already exists 06:17:36 3.0.0-dev.36: digest: sha256:553b51ae7b458d8ee2318be0c160f72b9577cde054b32bd5b2f39d40367b73b9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:36 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:322050c65873fd50260d8a368346f4ba3310d130-3.0.0-dev.36 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:37 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:322050c65873fd50260d8a368346f4ba3310d130-3.0.0-dev.36 06:17:37 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 06:17:37 359e5bab2f3f: Preparing 06:17:37 9802cba24024: Preparing 06:17:37 8851b45986b0: Preparing 06:17:37 7649e12d81b7: Preparing 06:17:37 26cbea5cba74: Preparing 06:17:37 26cbea5cba74: Layer already exists 06:17:37 9802cba24024: Layer already exists 06:17:37 359e5bab2f3f: Layer already exists 06:17:37 7649e12d81b7: Layer already exists 06:17:37 8851b45986b0: Layer already exists 06:17:37 322050c65873fd50260d8a368346f4ba3310d130-3.0.0-dev.36: digest: sha256:553b51ae7b458d8ee2318be0c160f72b9577cde054b32bd5b2f39d40367b73b9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:37 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:38 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 06:17:38 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 06:17:38 359e5bab2f3f: Preparing 06:17:38 9802cba24024: Preparing 06:17:38 8851b45986b0: Preparing 06:17:38 7649e12d81b7: Preparing 06:17:38 26cbea5cba74: Preparing 06:17:38 26cbea5cba74: Layer already exists 06:17:38 7649e12d81b7: Layer already exists 06:17:38 359e5bab2f3f: Layer already exists 06:17:38 8851b45986b0: Layer already exists 06:17:38 9802cba24024: Layer already exists 06:17:38 main: digest: sha256:553b51ae7b458d8ee2318be0c160f72b9577cde054b32bd5b2f39d40367b73b9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 06:17:38 ===================================================== [Pipeline] echo 06:17:38 taggedImages: 06:17:38 - nexus3.edgexfoundry.org:10004/device-rest-arm64:322050c65873fd50260d8a368346f4ba3310d130 06:17:38 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 06:17:38 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.36 06:17:38 - nexus3.edgexfoundry.org:10004/device-rest-arm64:322050c65873fd50260d8a368346f4ba3310d130-3.0.0-dev.36 06:17:38 - 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 06:17:38 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:17:38 06:17:38 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:17:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:17:39 arm64: Pulling from edgex-lftools-log-publisher 06:17:39 8998bd30e6a1: Pulling fs layer 06:17:39 04944245beec: Pulling fs layer 06:17:39 699f458cf7ca: Pulling fs layer 06:17:39 765212b225bb: Pulling fs layer 06:17:39 f23df028b6ca: Pulling fs layer 06:17:39 d65c8cfc05b1: Pulling fs layer 06:17:39 2437ff75d9bd: Pulling fs layer 06:17:39 f23df028b6ca: Waiting 06:17:39 d65c8cfc05b1: Waiting 06:17:39 765212b225bb: Waiting 06:17:39 2437ff75d9bd: Waiting 06:17:39 04944245beec: Verifying Checksum 06:17:39 04944245beec: Download complete 06:17:39 765212b225bb: Verifying Checksum 06:17:39 765212b225bb: Download complete 06:17:39 f23df028b6ca: Download complete 06:17:39 d65c8cfc05b1: Verifying Checksum 06:17:39 d65c8cfc05b1: Download complete 06:17:39 699f458cf7ca: Verifying Checksum 06:17:39 699f458cf7ca: Download complete 06:17:39 8998bd30e6a1: Verifying Checksum 06:17:39 8998bd30e6a1: Download complete 06:17:42 2437ff75d9bd: Verifying Checksum 06:17:42 2437ff75d9bd: Download complete 06:17:44 8998bd30e6a1: Pull complete 06:17:46 04944245beec: Pull complete 06:17:47 699f458cf7ca: Pull complete 06:17:48 765212b225bb: Pull complete 06:17:49 f23df028b6ca: Pull complete 06:17:49 d65c8cfc05b1: Pull complete 06:18:04 2437ff75d9bd: Pull complete 06:18:04 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 06:18:04 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 06:18:04 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:18:04 prd-ubuntu20.04-docker-arm64-4c-16g-13841 does not seem to be running inside a container 06:18:04 $ 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/108 -v /w/workspace/device-rest-go/108:/w/workspace/device-rest-go/108:rw,z -v /w/workspace/device-rest-go/108@tmp:/w/workspace/device-rest-go/108@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 06:18:08 $ docker top 4271e7e7d86458b5293f46ad923640782f09a045583d885d9d50ab4fdf3ed235 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 06:18:09 ---> job-cost.sh 06:18:09 lf-activate-venv: SKIPPING 06:18:09 INFO: No Stack... 06:18:09 INFO: Retrieving Pricing Info for: v3-standard-4 06:18:10 INFO: Archiving Costs [Pipeline] sh 06:18:11 + cut -d, -f6 06:18:11 + cat /w/workspace/device-rest-go/108/archives/cost.csv [Pipeline] lock 06:18:11 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-108-stack-cost] 06:18:11 Resource [jenkins-edgexfoundry-device-rest-go-main-108-stack-cost] did not exist. Created. 06:18:11 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-108-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 06:18:12 /w/workspace/device-rest-go/108@tmp/durable-68f7a3e9/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 06:18:12 + echo total: 0.10999999940395355 [Pipeline] stash 06:18:12 Warning: overwriting stash ‘stack-cost’ 06:18:12 Stashed 1 file(s) [Pipeline] } 06:18:12 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-108-stack-cost] [Pipeline] // lock [Pipeline] } 06:18:12 $ docker stop --time=1 4271e7e7d86458b5293f46ad923640782f09a045583d885d9d50ab4fdf3ed235 06:18:15 $ docker rm -f --volumes 4271e7e7d86458b5293f46ad923640782f09a045583d885d9d50ab4fdf3ed235 [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 06:18:15 provisioning config files... 06:18:15 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3503811714128884938tmp [Pipeline] { [Pipeline] sh 06:18:16 + set +x 06:18:16 + curl -s https://codecov.io/bash 06:18:16 + bash -s -- 06:18:16 06:18:16 _____ _ 06:18:16 / ____| | | 06:18:16 | | ___ __| | ___ ___ _____ __ 06:18:16 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 06:18:16 | |___| (_) | (_| | __/ (_| (_) \ V / 06:18:16 \_____\___/ \__,_|\___|\___\___/ \_/ 06:18:16 Bash-1.0.6 06:18:16 06:18:16 06:18:16 ==> git version 2.25.1 found 06:18:16 ==> 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 06:18:16 Release-Date: 2020-01-08 06:18:16 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 06:18:16 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 06:18:16 ==> Jenkins CI detected. 06:18:16 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 06:18:16 project root: . 06:18:16 --> token set from env 06:18:16 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 06:18:16 ==> Running gcov in . (disable via -X gcov) 06:18:16 ==> Python coveragepy not found 06:18:16 ==> Searching for coverage reports in: 06:18:16 + . 06:18:16 -> Found 1 reports 06:18:16 ==> Detecting git/mercurial file structure 06:18:16 ==> Reading reports 06:18:16 + ./coverage.out bytes=14663 06:18:16 ==> Appending adjustments 06:18:16 https://docs.codecov.io/docs/fixing-reports 06:18:16 + Found adjustments 06:18:16 ==> Gzipping contents 06:18:16 4.0K /tmp/codecov.rmgqek.gz 06:18:16 ==> Uploading reports 06:18:16 url: https://codecov.io 06:18:16 query: branch=main&commit=322050c65873fd50260d8a368346f4ba3310d130&build=108&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F108%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:18:16 -> Pinging Codecov 06:18:16 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=322050c65873fd50260d8a368346f4ba3310d130&build=108&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F108%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 06:18:16 -> Uploading to 06:18:16 https://storage.googleapis.com/codecov/v4/raw/2023-05-05/4E5D53B4F1F92C436F7061BF334D961C/322050c65873fd50260d8a368346f4ba3310d130/9a1ad12d-fb53-4520-b9a3-532fae08ff62.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230505%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230505T061816Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b339862e8bffd6c7e8ba8321b4ff9467973005acf9c10bf3f5b378bfedade2d1 06:18:16 % Total % Received % Xferd Average Speed Time Time Time Current 06:18:16 Dload Upload Total Spent Left Speed 06:18:16 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 12364 --:--:-- --:--:-- --:--:-- 12364 100 2510 0 0 100 2510 0 12125 --:--:-- --:--:-- --:--:-- 12067 06:18:16 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/322050c65873fd50260d8a368346f4ba3310d130 [Pipeline] } 06:18:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 06:18:16 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 06:18:16 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:18:17 06:18:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:17 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:18:17 1.410.4: Pulling from edgex-devops/edgex-snyk-go 06:18:17 df9b9388f04a: Pulling fs layer 06:18:17 52dc419b0ee2: Pulling fs layer 06:18:17 25bc292e5bac: Pulling fs layer 06:18:17 114826534d7a: Pulling fs layer 06:18:17 4657fd5d0bcf: Pulling fs layer 06:18:17 6ad1cebc031e: Pulling fs layer 06:18:17 8a3aa393b2d8: Pulling fs layer 06:18:17 114826534d7a: Waiting 06:18:17 4657fd5d0bcf: Waiting 06:18:17 6ad1cebc031e: Waiting 06:18:17 8a3aa393b2d8: Waiting 06:18:17 25bc292e5bac: Verifying Checksum 06:18:17 25bc292e5bac: Download complete 06:18:17 52dc419b0ee2: Download complete 06:18:17 4657fd5d0bcf: Download complete 06:18:17 df9b9388f04a: Download complete 06:18:17 df9b9388f04a: Pull complete 06:18:17 6ad1cebc031e: Verifying Checksum 06:18:17 6ad1cebc031e: Download complete 06:18:17 52dc419b0ee2: Pull complete 06:18:17 25bc292e5bac: Pull complete 06:18:18 114826534d7a: Verifying Checksum 06:18:18 114826534d7a: Download complete 06:18:18 8a3aa393b2d8: Verifying Checksum 06:18:18 8a3aa393b2d8: Download complete 06:18:22 114826534d7a: Pull complete 06:18:22 4657fd5d0bcf: Pull complete 06:18:22 6ad1cebc031e: Pull complete 06:18:24 8a3aa393b2d8: Pull complete 06:18:24 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 06:18:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 06:18:24 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:18:25 prd-ubuntu20.04-docker-8c-8g-13837 does not seem to be running inside a container 06:18:25 $ 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 06:18:28 $ docker top c48c771e3541ad3b2a8546ee19879b3ba52aebc3acc26e06f8bcb0f311f4a282 -eo pid,comm [Pipeline] { [Pipeline] echo 06:18:28 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 06:18:28 + set -o pipefail 06:18:28 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 06:18:33 06:18:33 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 06:18:33 06:18:33 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/2d126e83-8754-4713-b83b-82d024b92bb0 06:18:33 06:18:33 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 06:18:33 06:18:33 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 06:18:33 06:18:33 06:18:33 A medium severity vulnerability was found in the Snyk CLI versions you are using. 06:18:33 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 06:18:33 More details here: https://snyk.co/ue1NS 06:18:33 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 06:18:33 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 06:18:33 $ docker stop --time=1 c48c771e3541ad3b2a8546ee19879b3ba52aebc3acc26e06f8bcb0f311f4a282 06:18:36 $ docker rm -f --volumes c48c771e3541ad3b2a8546ee19879b3ba52aebc3acc26e06f8bcb0f311f4a282 [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 06:18:37 + git log --format=format:%s -1 322050c65873fd50260d8a368346f4ba3310d130 [Pipeline] sh 06:18:37 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:18:37 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:37 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:18:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:18:37 prd-ubuntu20.04-docker-8c-8g-13837 does not seem to be running inside a container 06:18:37 $ 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 06:18:38 $ docker top 55ba0b2def396b37f6d9834e519431c70d7af3e02d3943f2b1c096004f97f7cc -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:18:38 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:18:38 [ssh-agent] Looking for ssh-agent implementation... 06:18:38 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:18:38 $ docker exec 55ba0b2def396b37f6d9834e519431c70d7af3e02d3943f2b1c096004f97f7cc ssh-agent 06:18:38 SSH_AUTH_SOCK=/tmp/ssh-fG7qFgUpjCIf/agent.32 06:18:38 SSH_AGENT_PID=38 06:18:38 Running ssh-add (command line suppressed) 06:18:38 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_97406131751588890.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_97406131751588890.key) 06:18:38 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:18:39 + git semver tag 06:18:39 2023-05-05 06:18:39,192 [run_tag] DEBUG tag force:False 06:18:39 2023-05-05 06:18:39,192 [check_head_tag] DEBUG check head tag 06:18:39 2023-05-05 06:18:39,194 [execute] INFO git cat-file --batch-check 06:18:39 2023-05-05 06:18:39,194 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 06:18:39 2023-05-05 06:18:39,198 [execute] INFO git cat-file --batch 06:18:39 2023-05-05 06:18:39,199 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 06:18:39 2023-05-05 06:18:39,228 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 06:18:39 2023-05-05 06:18:39,228 [execute] INFO git tag -a v3.0.0-dev.36 -m v3.0.0-dev.36 06:18:39 2023-05-05 06:18:39,228 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.36', '-m', 'v3.0.0-dev.36'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 06:18:39 2023-05-05 06:18:39,233 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 06:18:39 3.0.0-dev.36 [Pipeline] } 06:18:39 $ docker exec --env ******** --env ******** 55ba0b2def396b37f6d9834e519431c70d7af3e02d3943f2b1c096004f97f7cc ssh-agent -k 06:18:39 unset SSH_AUTH_SOCK; 06:18:39 unset SSH_AGENT_PID; 06:18:39 echo Agent pid 38 killed; 06:18:39 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:18:39 + git semver [Pipeline] } 06:18:40 $ docker stop --time=1 55ba0b2def396b37f6d9834e519431c70d7af3e02d3943f2b1c096004f97f7cc 06:18:41 $ docker rm -f --volumes 55ba0b2def396b37f6d9834e519431c70d7af3e02d3943f2b1c096004f97f7cc [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:18:41 06:18:41 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:18:42 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:18:42 0.23.1-centos7: Pulling from edgex-lftools 06:18:42 ab5ef0e58194: Pulling fs layer 06:18:42 9712f1f96733: Pulling fs layer 06:18:42 63f879dbbcfc: Pulling fs layer 06:18:42 0d9ebad4ef96: Pulling fs layer 06:18:42 e9a5061849ea: Pulling fs layer 06:18:42 d747dcd14b5f: Pulling fs layer 06:18:42 2de7ff778b66: Pulling fs layer 06:18:42 e9a5061849ea: Waiting 06:18:42 d747dcd14b5f: Waiting 06:18:42 0d9ebad4ef96: Waiting 06:18:42 2de7ff778b66: Waiting 06:18:42 9712f1f96733: Verifying Checksum 06:18:42 9712f1f96733: Download complete 06:18:42 63f879dbbcfc: Verifying Checksum 06:18:42 63f879dbbcfc: Download complete 06:18:42 e9a5061849ea: Verifying Checksum 06:18:42 e9a5061849ea: Download complete 06:18:42 d747dcd14b5f: Verifying Checksum 06:18:42 d747dcd14b5f: Download complete 06:18:42 0d9ebad4ef96: Verifying Checksum 06:18:42 0d9ebad4ef96: Download complete 06:18:42 ab5ef0e58194: Verifying Checksum 06:18:42 ab5ef0e58194: Download complete 06:18:42 2de7ff778b66: Verifying Checksum 06:18:42 2de7ff778b66: Download complete 06:18:46 ab5ef0e58194: Pull complete 06:18:46 9712f1f96733: Pull complete 06:18:46 63f879dbbcfc: Pull complete 06:18:50 0d9ebad4ef96: Pull complete 06:18:50 e9a5061849ea: Pull complete 06:18:50 d747dcd14b5f: Pull complete 06:18:52 2de7ff778b66: Pull complete 06:18:52 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 06:18:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 06:18:52 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:18:52 prd-ubuntu20.04-docker-8c-8g-13837 does not seem to be running inside a container 06:18:52 $ 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 06:18:56 $ docker top 9d06ee9b197c4f89901d1e916b6d500d2854e8af03243d8e727c4b10aa6009fb -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 06:18:56 provisioning config files... 06:18:56 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5700654402370961486tmp 06:18:56 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16740557344843169367tmp 06:18:56 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4549451954722073099tmp [Pipeline] { [Pipeline] echo 06:18:56 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 06:18:56 ---> sigul-configuration.sh 06:18:56 gpg: directory `/root/.gnupg' created 06:18:56 gpg: new configuration file `/root/.gnupg/gpg.conf' created 06:18:56 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 06:18:56 gpg: keyring `/root/.gnupg/secring.gpg' created 06:18:56 gpg: keyring `/root/.gnupg/pubring.gpg' created 06:18:56 gpg: CAST5 encrypted data 06:18:56 gpg: encrypted with 1 passphrase 06:18:56 gpg: WARNING: message was not integrity protected [Pipeline] sh 06:18:56 + mkdir /home/jenkins 06:18:56 + mkdir /home/jenkins/sigul [Pipeline] sh 06:18:57 + 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 06:18:57 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 06:18:57 ---> sigul-install.sh 06:18:57 Sigul already installed; skipping installation. [Pipeline] sh 06:18:57 + git tag --list 06:18:57 v1.0.0 06:18:57 v1.1.0 06:18:57 v1.1.1 06:18:57 v1.1.2 06:18:57 v1.2.0 06:18:57 v1.2.1 06:18:57 v2.0.0 06:18:57 v2.1.0 06:18:57 v2.1.1 06:18:57 v2.1.1-dev.1 06:18:57 v2.1.1-dev.2 06:18:57 v2.1.1-dev.3 06:18:57 v2.2.0 06:18:57 v2.2.1-dev.1 06:18:57 v2.2.1-dev.2 06:18:57 v2.2.1-dev.3 06:18:57 v2.2.1-dev.4 06:18:57 v2.2.1-dev.5 06:18:57 v2.2.1-dev.6 06:18:57 v2.2.1-dev.7 06:18:57 v2.2.1-dev.8 06:18:57 v2.2.1-dev.9 06:18:57 v2.3.0 06:18:57 v2.3.0-dev.10 06:18:57 v2.3.0-dev.11 06:18:57 v2.3.0-dev.12 06:18:57 v2.3.0-dev.13 06:18:57 v2.3.0-dev.14 06:18:57 v2.3.0-dev.15 06:18:57 v2.3.0-dev.16 06:18:57 v2.3.0-dev.17 06:18:57 v2.3.0-dev.18 06:18:57 v2.3.0-dev.19 06:18:57 v2.3.0-dev.20 06:18:57 v2.3.0-dev.21 06:18:57 v2.3.0-dev.22 06:18:57 v2.3.0-dev.23 06:18:57 v2.3.0-dev.24 06:18:57 v2.3.0-dev.25 06:18:57 v2.3.0-dev.9 06:18:57 v3.0.0-dev.1 06:18:57 v3.0.0-dev.10 06:18:57 v3.0.0-dev.11 06:18:57 v3.0.0-dev.12 06:18:57 v3.0.0-dev.13 06:18:57 v3.0.0-dev.14 06:18:57 v3.0.0-dev.15 06:18:57 v3.0.0-dev.16 06:18:57 v3.0.0-dev.17 06:18:57 v3.0.0-dev.18 06:18:57 v3.0.0-dev.19 06:18:57 v3.0.0-dev.2 06:18:57 v3.0.0-dev.20 06:18:57 v3.0.0-dev.21 06:18:57 v3.0.0-dev.22 06:18:57 v3.0.0-dev.23 06:18:57 v3.0.0-dev.24 06:18:57 v3.0.0-dev.25 06:18:57 v3.0.0-dev.26 06:18:57 v3.0.0-dev.27 06:18:57 v3.0.0-dev.28 06:18:57 v3.0.0-dev.29 06:18:57 v3.0.0-dev.3 06:18:57 v3.0.0-dev.30 06:18:57 v3.0.0-dev.31 06:18:57 v3.0.0-dev.32 06:18:57 v3.0.0-dev.33 06:18:57 v3.0.0-dev.34 06:18:57 v3.0.0-dev.35 06:18:57 v3.0.0-dev.36 06:18:57 v3.0.0-dev.4 06:18:57 v3.0.0-dev.5 06:18:57 v3.0.0-dev.6 06:18:57 v3.0.0-dev.7 06:18:57 v3.0.0-dev.8 06:18:57 v3.0.0-dev.9 [Pipeline] sh 06:18:58 + lftools sign git-tag v3.0.0-dev.36 06:18:58 Signing Git tag with Sigul... 06:18:58 Signing v3.0.0-dev.36 06:20:50 ERROR: I/O error: NSPR connection reset [Pipeline] echo 06:20:50 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 06:20:50 ---> sigul-configuration-cleanup.sh [Pipeline] } 06:20:50 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 06:20:50 $ docker stop --time=1 9d06ee9b197c4f89901d1e916b6d500d2854e8af03243d8e727c4b10aa6009fb 06:20:51 $ docker rm -f --volumes 9d06ee9b197c4f89901d1e916b6d500d2854e8af03243d8e727c4b10aa6009fb [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 06:20:52 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:20:52 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:52 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:20:52 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:20:52 prd-ubuntu20.04-docker-8c-8g-13837 does not seem to be running inside a container 06:20:52 $ 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 06:20:52 $ docker top d8c79c4d6130018ac820df4306d10ab74465e0e3a010e5a5d2f59cb2576ad0b2 -eo pid,comm 06:20:52 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). 06:20:52 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:20:52 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:20:52 [ssh-agent] Looking for ssh-agent implementation... 06:20:53 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:20:53 $ docker exec d8c79c4d6130018ac820df4306d10ab74465e0e3a010e5a5d2f59cb2576ad0b2 ssh-agent 06:20:53 SSH_AUTH_SOCK=/tmp/ssh-VZPAJbKslpre/agent.32 06:20:53 SSH_AGENT_PID=38 06:20:53 Running ssh-add (command line suppressed) 06:20:53 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_836649930108417485.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_836649930108417485.key) 06:20:53 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:20:53 + git semver bump pre 06:20:53 2023-05-05 06:20:53,788 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 06:20:53 2023-05-05 06:20:53,788 [bump_version] DEBUG bumping version:3.0.0-dev.36 on axis:pre with prefix:dev 06:20:53 2023-05-05 06:20:53,789 [bump_version] DEBUG bumped version:3.0.0-dev.37 06:20:53 2023-05-05 06:20:53,789 [write_version] DEBUG write version:3.0.0-dev.37 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 06:20:53 2023-05-05 06:20:53,789 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 06:20:53 2023-05-05 06:20:53,789 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 06:20:53 2023-05-05 06:20:53,790 [execute] INFO git cat-file --batch-check 06:20:53 2023-05-05 06:20:53,791 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:20:53 2023-05-05 06:20:53,796 [execute] INFO git cat-file --batch 06:20:53 2023-05-05 06:20:53,796 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:20:53 2023-05-05 06:20:53,802 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 06:20:53 3.0.0-dev.37 [Pipeline] } 06:20:53 $ docker exec --env ******** --env ******** d8c79c4d6130018ac820df4306d10ab74465e0e3a010e5a5d2f59cb2576ad0b2 ssh-agent -k 06:20:53 unset SSH_AUTH_SOCK; 06:20:53 unset SSH_AGENT_PID; 06:20:53 echo Agent pid 38 killed; 06:20:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:20:54 + git semver [Pipeline] } 06:20:54 $ docker stop --time=1 d8c79c4d6130018ac820df4306d10ab74465e0e3a010e5a5d2f59cb2576ad0b2 06:20:55 $ docker rm -f --volumes d8c79c4d6130018ac820df4306d10ab74465e0e3a010e5a5d2f59cb2576ad0b2 [Pipeline] // withDockerContainer [Pipeline] sh 06:20:56 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 06:20:56 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:20:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 06:20:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:20:56 prd-ubuntu20.04-docker-8c-8g-13837 does not seem to be running inside a container 06:20:56 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 06:20:56 $ docker top 2cf63917c952bc6e80c26189044e25911445fa72a44e3cdb9600425fe930270b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 06:20:57 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 06:20:57 [ssh-agent] Looking for ssh-agent implementation... 06:20:57 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 06:20:57 $ docker exec 2cf63917c952bc6e80c26189044e25911445fa72a44e3cdb9600425fe930270b ssh-agent 06:20:57 SSH_AUTH_SOCK=/tmp/ssh-EOxWPB7bVCbH/agent.32 06:20:57 SSH_AGENT_PID=38 06:20:57 Running ssh-add (command line suppressed) 06:20:57 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10462713979779568029.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10462713979779568029.key) 06:20:57 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 06:20:57 + git semver push 06:20:57 2023-05-05 06:20:57,890 [run_push] DEBUG push 06:20:57 2023-05-05 06:20:57,891 [execute] INFO git cat-file --batch-check 06:20:57 2023-05-05 06:20:57,891 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 06:20:57 2023-05-05 06:20:57,895 [execute] INFO git rev-list 6cd758cc078ae2627e43ac52f7c5de48b0071938 -- 06:20:57 2023-05-05 06:20:57,895 [execute] DEBUG Popen(['git', 'rev-list', '6cd758cc078ae2627e43ac52f7c5de48b0071938', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:20:57 2023-05-05 06:20:57,905 [execute] INFO git fetch -v origin 06:20:57 2023-05-05 06:20:57,905 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 06:20:58 2023-05-05 06:20:58,365 [run_push] DEBUG no remote changes detected 06:20:58 2023-05-05 06:20:58,365 [execute] INFO git push origin semver 06:20:58 2023-05-05 06:20:58,365 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 06:20:59 2023-05-05 06:20:59,216 [run_push] DEBUG push all version tags 06:20:59 2023-05-05 06:20:59,216 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 06:20:59 2023-05-05 06:20:59,217 [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) 06:21:00 2023-05-05 06:20:59,931 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 06:21:00 3.0.0-dev.37 [Pipeline] } 06:21:00 $ docker exec --env ******** --env ******** 2cf63917c952bc6e80c26189044e25911445fa72a44e3cdb9600425fe930270b ssh-agent -k 06:21:00 unset SSH_AUTH_SOCK; 06:21:00 unset SSH_AGENT_PID; 06:21:00 echo Agent pid 38 killed; 06:21:00 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 06:21:00 + git semver [Pipeline] } 06:21:00 $ docker stop --time=1 2cf63917c952bc6e80c26189044e25911445fa72a44e3cdb9600425fe930270b 06:21:02 $ docker rm -f --volumes 2cf63917c952bc6e80c26189044e25911445fa72a44e3cdb9600425fe930270b [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 06:21:02 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 06:21:02 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 06:21:02 total 16 06:21:02 drwxr-xr-x 3 root root 4096 May 5 06:06 . 06:21:02 drwxrwxr-x 10 jenkins jenkins 4096 May 5 06:18 .. 06:21:02 drwxr-xr-x 2 root root 4096 May 5 06:06 cost 06:21:02 -rw-r--r-- 1 root root 86 May 5 06:06 cost.csv 06:21:02 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 06:21:02 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 06:21:02 total 16 06:21:02 drwxr-xr-x 3 jenkins jenkins 4096 May 5 06:06 . 06:21:02 drwxrwxr-x 10 jenkins jenkins 4096 May 5 06:18 .. 06:21:02 drwxr-xr-x 2 jenkins jenkins 4096 May 5 06:06 cost 06:21:02 -rw-r--r-- 1 jenkins jenkins 86 May 5 06:06 cost.csv [Pipeline] libraryResource [Pipeline] sh 06:21:02 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 06:21:03 ---> package-listing.sh 06:21:03 ++ facter osfamily 06:21:03 ++ tr '[:upper:]' '[:lower:]' 06:21:04 + OS_FAMILY=debian 06:21:04 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 06:21:04 + START_PACKAGES=/tmp/packages_start.txt 06:21:04 + END_PACKAGES=/tmp/packages_end.txt 06:21:04 + DIFF_PACKAGES=/tmp/packages_diff.txt 06:21:04 + PACKAGES=/tmp/packages_start.txt 06:21:04 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 06:21:04 + PACKAGES=/tmp/packages_end.txt 06:21:04 + case "${OS_FAMILY}" in 06:21:04 + dpkg -l 06:21:04 + grep '^ii' 06:21:04 + '[' -f /tmp/packages_start.txt ']' 06:21:04 + '[' -f /tmp/packages_end.txt ']' 06:21:04 + diff /tmp/packages_start.txt /tmp/packages_end.txt 06:21:04 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 06:21:04 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 06:21:04 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 06:21:04 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 06:21:04 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 06:21:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 06:21:04 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 06:21:05 prd-ubuntu20.04-docker-8c-8g-13837 does not seem to be running inside a container 06:21:05 $ 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 06:21:05 $ docker top 0a9810a560ea5b9942cbf7de47529afac4b5f3c5a157086538d7f91e65d42783 -eo pid,comm [Pipeline] { [Pipeline] sh 06:21:05 + touch /tmp/pre-build-complete [Pipeline] sh 06:21:05 + mkdir -p /var/log/sysstat [Pipeline] sh 06:21:06 + ls /var/log/sa-host 06:21:06 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 06:21:06 provisioning config files... 06:21:06 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5770863136496511950tmp [Pipeline] { [Pipeline] echo 06:21:06 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 06:21:06 ---> create-netrc.sh [Pipeline] } 06:21:06 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 06:21:06 ---> python-tools-install.sh [Pipeline] echo 06:21:06 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 06:21:07 ---> sudo-logs.sh 06:21:07 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 06:21:07 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 06:21:07 ---> job-cost.sh 06:21:07 lf-activate-venv: SKIPPING 06:21:07 DEBUG: total: 0.2199999988079071 06:21:07 INFO: Retrieving Stack Cost... 06:21:07 INFO: Retrieving Pricing Info for: v3-standard-8 06:21:08 INFO: Archiving Costs [Pipeline] echo 06:21:08 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 06:21:08 ---> logs-deploy.sh 06:21:08 lf-activate-venv: SKIPPING 06:21:08 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/108 06:21:08 INFO: archiving workspace using pattern(s): 06:21:09 Archives upload complete. 06:21:09 INFO: archiving logs to Nexus