Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from f43bb6568d459ea684ddacde33420076da59f652 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-ssh10953944180886496071.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh7056399753737262713.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 a0327f913308fcf13875ae7a2d6e6099471c5ff1 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-ssh16510400254886217072.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision a0327f913308fcf13875ae7a2d6e6099471c5ff1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f a0327f913308fcf13875ae7a2d6e6099471c5ff1 # timeout=10 Commit message: "fix: dry-run use case (#441)" > 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-ssh7778049732286507190.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-ssh7700128995222724600.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 All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-4933 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision f43bb6568d459ea684ddacde33420076da59f652 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f f43bb6568d459ea684ddacde33420076da59f652 # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#335)" > git rev-list --no-walk cf6f5c6b2bf2b83036e025c5ddfa4d5590d4fdb7 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:36:13 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:36:13 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:36:13 ========================================================= 20:36:13 EdgeX Global Pipelines Version Info 20:36:13 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:36:14 ------------------- 20:36:14 stable info: 20:36:14 ------------------- 20:36:14 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 20:36:14 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 20:36:14 Message: update stable to v1.0.253 20:36:15 ------------------- 20:36:15 experimental info: 20:36:15 ------------------- 20:36:15 Commited By: **** collab-it+edgex@linuxfoundation.org 20:36:15 Commit SHA: a0327f913308fcf13875ae7a2d6e6099471c5ff1 20:36:15 Message: update experimental to v1.0.253 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:36:15 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:36:15 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:36:15 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:36:15 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:36:15 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:36:15 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:36:15 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:36:15 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:36:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:36:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:36:15 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:36:15 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:36:15 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:36:15 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:36:15 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:36:15 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:36:15 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:36:15 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:36:15 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:36:15 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:36:15 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:36:15 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:36:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:36:15 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:36:15 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:36:15 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:36:15 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:36:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:36:15 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:36:15 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:36:15 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = f43bb6568d459ea684ddacde33420076da59f652 [Pipeline] echo 20:36:15 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = f43bb65 [Pipeline] echo 20:36:15 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:36:15 provisioning config files... 20:36:15 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15442201582169338816tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:36:16 ---> docker-login.sh 20:36:16 nexus3.edgexfoundry.org:10001 20:36:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:16 Configure a credential helper to remove this warning. See 20:36:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:16 20:36:16 Login Succeeded 20:36:16 nexus3.edgexfoundry.org:10002 20:36:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:16 Configure a credential helper to remove this warning. See 20:36:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:16 20:36:16 Login Succeeded 20:36:16 nexus3.edgexfoundry.org:10003 20:36:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:16 Configure a credential helper to remove this warning. See 20:36:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:16 20:36:16 Login Succeeded 20:36:16 nexus3.edgexfoundry.org:10004 20:36:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:17 Configure a credential helper to remove this warning. See 20:36:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:17 20:36:17 Login Succeeded 20:36:17 docker.io 20:36:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:17 Configure a credential helper to remove this warning. See 20:36:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:17 20:36:17 Login Succeeded 20:36:17 ---> docker-login.sh ends [Pipeline] } 20:36:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:36:17 + git rev-list -1 --merges f43bb6568d459ea684ddacde33420076da59f652~1..f43bb6568d459ea684ddacde33420076da59f652 [Pipeline] echo 20:36:17 -----------> git rev-list -1 --merges f43bb6568d459ea684ddacde33420076da59f652~1..f43bb6568d459ea684ddacde33420076da59f652 f43bb6568d459ea684ddacde33420076da59f652 [false] [Pipeline] sh 20:36:18 + git log --format=format:%s -1 f43bb6568d459ea684ddacde33420076da59f652 [Pipeline] echo 20:36:18 ========================================================= 20:36:18 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:36:18 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:36:18 + git log --format=format:%s -1 f43bb6568d459ea684ddacde33420076da59f652 [Pipeline] echo 20:36:18 [semverPrep] GIT_COMMIT: f43bb6568d459ea684ddacde33420076da59f652, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#335) [Pipeline] echo 20:36:18 [semverPrep] This is not a build commit. [Pipeline] sh 20:36:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:36:18 + grep -v github /etc/ssh/ssh_known_hosts 20:36:18 + [ -e /tmp/ssh_known_hosts ] 20:36:18 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:36:18 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 20:36:18 + sudo tee -a /etc/ssh/ssh_known_hosts 20:36:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:36:19 20:36:19 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:19 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:36:19 0.1.4: Pulling from edgex-devops/py-git-semver 20:36:19 b85a868b505f: Pulling fs layer 20:36:19 e2be974225ed: Pulling fs layer 20:36:19 339a4e72a1f5: Pulling fs layer 20:36:19 988bab9f4d93: Pulling fs layer 20:36:19 1469e6f7b9e6: Pulling fs layer 20:36:19 eaf3925da568: Pulling fs layer 20:36:19 bab4dde63d76: Pulling fs layer 20:36:19 bde34c3a00c8: Pulling fs layer 20:36:19 b352a97aabf1: Pulling fs layer 20:36:19 4872d77fe225: Pulling fs layer 20:36:19 5851b861e8e6: Pulling fs layer 20:36:19 988bab9f4d93: Waiting 20:36:19 bde34c3a00c8: Waiting 20:36:19 b352a97aabf1: Waiting 20:36:19 eaf3925da568: Waiting 20:36:19 4872d77fe225: Waiting 20:36:19 1469e6f7b9e6: Waiting 20:36:19 bab4dde63d76: Waiting 20:36:19 5851b861e8e6: Waiting 20:36:19 e2be974225ed: Verifying Checksum 20:36:19 e2be974225ed: Download complete 20:36:19 988bab9f4d93: Verifying Checksum 20:36:19 988bab9f4d93: Download complete 20:36:19 1469e6f7b9e6: Verifying Checksum 20:36:19 1469e6f7b9e6: Download complete 20:36:19 339a4e72a1f5: Verifying Checksum 20:36:19 339a4e72a1f5: Download complete 20:36:19 eaf3925da568: Verifying Checksum 20:36:19 eaf3925da568: Download complete 20:36:19 bde34c3a00c8: Download complete 20:36:19 b352a97aabf1: Verifying Checksum 20:36:19 b352a97aabf1: Download complete 20:36:19 4872d77fe225: Download complete 20:36:19 5851b861e8e6: Verifying Checksum 20:36:19 5851b861e8e6: Download complete 20:36:19 b85a868b505f: Verifying Checksum 20:36:19 b85a868b505f: Download complete 20:36:20 bab4dde63d76: Verifying Checksum 20:36:20 bab4dde63d76: Download complete 20:36:20 b85a868b505f: Pull complete 20:36:21 e2be974225ed: Pull complete 20:36:21 339a4e72a1f5: Pull complete 20:36:21 988bab9f4d93: Pull complete 20:36:22 1469e6f7b9e6: Pull complete 20:36:22 eaf3925da568: Pull complete 20:36:23 bab4dde63d76: Pull complete 20:36:23 bde34c3a00c8: Pull complete 20:36:23 b352a97aabf1: Pull complete 20:36:24 4872d77fe225: Pull complete 20:36:24 5851b861e8e6: Pull complete 20:36:24 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:36:24 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:36:24 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:36:24 prd-ubuntu20.04-docker-8c-8g-4933 does not seem to be running inside a container 20:36:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:36:27 $ docker top 7084a87cd1b122ad32122ccf210f0372cb415a72cc40c7820f00f0e681390ec0 -eo pid,comm 20:36:27 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:36:27 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:36:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:36:27 [ssh-agent] Looking for ssh-agent implementation... 20:36:27 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:36:27 $ docker exec 7084a87cd1b122ad32122ccf210f0372cb415a72cc40c7820f00f0e681390ec0 ssh-agent 20:36:27 SSH_AUTH_SOCK=/tmp/ssh-3LzV6rFrSlPy/agent.32 20:36:27 SSH_AGENT_PID=38 20:36:27 Running ssh-add (command line suppressed) 20:36:27 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9368717266456125258.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9368717266456125258.key) 20:36:27 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:36:27 + git tag --points-at HEAD [Pipeline] } 20:36:27 $ docker exec --env ******** --env ******** 7084a87cd1b122ad32122ccf210f0372cb415a72cc40c7820f00f0e681390ec0 ssh-agent -k 20:36:27 unset SSH_AUTH_SOCK; 20:36:27 unset SSH_AGENT_PID; 20:36:27 echo Agent pid 38 killed; 20:36:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:36:27 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:36:27 [ssh-agent] Looking for ssh-agent implementation... 20:36:28 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:36:28 $ docker exec 7084a87cd1b122ad32122ccf210f0372cb415a72cc40c7820f00f0e681390ec0 ssh-agent 20:36:28 SSH_AUTH_SOCK=/tmp/ssh-IpvE9XaonnBO/agent.70 20:36:28 SSH_AGENT_PID=76 20:36:28 Running ssh-add (command line suppressed) 20:36:28 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9314874481613004115.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9314874481613004115.key) 20:36:28 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:36:28 + git semver init 20:36:28 2023-08-30 20:36:28,765 [run_init] DEBUG init version:0.0.0 force:False 20:36:28 2023-08-30 20:36:28,766 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 20:36:28 2023-08-30 20:36:28,766 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 20:36:28 2023-08-30 20:36:28,766 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 20:36:30 2023-08-30 20:36:29,832 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 20:36:30 2023-08-30 20:36:29,832 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 20:36:30 2023-08-30 20:36:29,833 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:36:30 2023-08-30 20:36:29,833 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:36:30 3.1.0-dev.7 [Pipeline] } 20:36:30 $ docker exec --env ******** --env ******** 7084a87cd1b122ad32122ccf210f0372cb415a72cc40c7820f00f0e681390ec0 ssh-agent -k 20:36:30 unset SSH_AUTH_SOCK; 20:36:30 unset SSH_AGENT_PID; 20:36:30 echo Agent pid 76 killed; 20:36:30 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:36:30 + git semver [Pipeline] } 20:36:30 $ docker stop --time=1 7084a87cd1b122ad32122ccf210f0372cb415a72cc40c7820f00f0e681390ec0 20:36:32 $ docker rm -f --volumes 7084a87cd1b122ad32122ccf210f0372cb415a72cc40c7820f00f0e681390ec0 [Pipeline] // withDockerContainer [Pipeline] sh 20:36:32 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:36:32 Stashed 1 file(s) [Pipeline] echo 20:36:32 [edgeXSemver]: initialized semver on version 3.1.0-dev.7 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:36:32 provisioning config files... 20:36:32 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11902361492872820931tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:36:33 ---> docker-login.sh 20:36:33 nexus3.edgexfoundry.org:10001 20:36:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:33 Configure a credential helper to remove this warning. See 20:36:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:33 20:36:33 Login Succeeded 20:36:33 nexus3.edgexfoundry.org:10002 20:36:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:33 Configure a credential helper to remove this warning. See 20:36:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:33 20:36:33 Login Succeeded 20:36:33 nexus3.edgexfoundry.org:10003 20:36:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:33 Configure a credential helper to remove this warning. See 20:36:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:33 20:36:33 Login Succeeded 20:36:33 nexus3.edgexfoundry.org:10004 20:36:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:33 Configure a credential helper to remove this warning. See 20:36:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:33 20:36:33 Login Succeeded 20:36:33 docker.io 20:36:33 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:36:33 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:36:33 Configure a credential helper to remove this warning. See 20:36:33 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:36:33 20:36:33 Login Succeeded 20:36:33 ---> docker-login.sh ends [Pipeline] } 20:36:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:36:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:36:33 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:36:33 ========================================================= 20:36:33 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:36:33 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:36:34 + 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 . 20:36:34 Sending build context to Docker daemon 10.92MB 20:36:34 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:36:34 Step 2/12 : FROM ${BASE} AS builder 20:36:34 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:36:34 4db1b89c0bd1: Pulling fs layer 20:36:34 6911f1a30b25: Pulling fs layer 20:36:34 e194b8c5c2a9: Pulling fs layer 20:36:34 6863d3e3a2b1: Pulling fs layer 20:36:34 ec0bb842ea78: Pulling fs layer 20:36:34 40a00589a448: Pulling fs layer 20:36:34 6c08303d61cc: Pulling fs layer 20:36:34 798269fcf238: Pulling fs layer 20:36:34 6863d3e3a2b1: Waiting 20:36:34 6c08303d61cc: Waiting 20:36:34 ec0bb842ea78: Waiting 20:36:34 40a00589a448: Waiting 20:36:34 798269fcf238: Waiting 20:36:34 6911f1a30b25: Verifying Checksum 20:36:34 6911f1a30b25: Download complete 20:36:34 6863d3e3a2b1: Verifying Checksum 20:36:34 6863d3e3a2b1: Download complete 20:36:34 ec0bb842ea78: Verifying Checksum 20:36:34 ec0bb842ea78: Download complete 20:36:34 4db1b89c0bd1: Verifying Checksum 20:36:34 4db1b89c0bd1: Download complete 20:36:34 40a00589a448: Verifying Checksum 20:36:34 40a00589a448: Download complete 20:36:34 4db1b89c0bd1: Pull complete 20:36:34 6911f1a30b25: Pull complete 20:36:34 798269fcf238: Verifying Checksum 20:36:34 798269fcf238: Download complete 20:36:34 e194b8c5c2a9: Verifying Checksum 20:36:34 e194b8c5c2a9: Download complete 20:36:35 6c08303d61cc: Verifying Checksum 20:36:35 6c08303d61cc: Download complete 20:36:38 e194b8c5c2a9: Pull complete 20:36:38 6863d3e3a2b1: Pull complete 20:36:38 ec0bb842ea78: Pull complete 20:36:38 40a00589a448: Pull complete 20:36:41 6c08303d61cc: Pull complete 20:36:41 798269fcf238: Pull complete 20:36:41 Digest: sha256:68752d3c5041900b879808a9c232fa800f64c2352b9991beceed63c007ae5301 20:36:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:36:41 ---> ec979cd7f677 20:36:41 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:36:47 ---> Running in 9108274d9808 20:36:47 Removing intermediate container 9108274d9808 20:36:47 ---> 6f43e2325116 20:36:47 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:36:47 ---> Running in b833e2d705c7 20:36:47 Removing intermediate container b833e2d705c7 20:36:47 ---> d6302ee7b545 20:36:47 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:36:47 ---> Running in 13eb758d34fa 20:36:47 Removing intermediate container 13eb758d34fa 20:36:47 ---> cf5d26501517 20:36:47 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:36:47 ---> Running in 5bf506902609 20:36:47 Removing intermediate container 5bf506902609 20:36:47 ---> fc7a71221491 20:36:47 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:36:47 ---> Running in 4699e4bd49ce 20:36:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:36:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:36:47 (1/4) Installing openssh-keygen (9.1_p1-r4) 20:36:47 (2/4) Installing libedit (20221030.3.1-r0) 20:36:47 (3/4) Installing openssh-client-common (9.1_p1-r4) 20:36:47 (4/4) Installing openssh-client-default (9.1_p1-r4) 20:36:47 Executing busybox-1.35.0-r29.trigger 20:36:47 OK: 269 MiB in 57 packages 20:36:47 Still waiting to schedule task 20:36:47 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 20:36:47 Removing intermediate container 4699e4bd49ce 20:36:47 ---> f0edcba7bd9f 20:36:47 Step 8/12 : WORKDIR /device-rest-go 20:36:47 ---> Running in 3ad7c4fa365d 20:36:48 Removing intermediate container 3ad7c4fa365d 20:36:48 ---> 8a96d58aa9b6 20:36:48 Step 9/12 : COPY go.mod vendor* ./ 20:36:48 ---> d59869ff6f4b 20:36:48 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:36:48 ---> Running in a3b7cf4b7f91 20:37:34 Removing intermediate container a3b7cf4b7f91 20:37:34 ---> ee9e754a1e8f 20:37:34 Step 11/12 : COPY . . 20:37:34 ---> bb3ea42436c7 20:37:34 Step 12/12 : RUN $MAKE 20:37:34 ---> Running in d86cf082d513 20:37:34 noop 20:37:34 Removing intermediate container d86cf082d513 20:37:34 ---> 1dfe0dfa43d1 20:37:34 Successfully built 1dfe0dfa43d1 20:37:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:35 + docker inspect -f . ci-base-image-x86_64 20:37:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:37:35 prd-ubuntu20.04-docker-8c-8g-4933 does not seem to be running inside a container 20:37:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:37:35 $ docker top 6b0096293aaa463362278ef15383269f939befff5f9b6176404a512bd1698306 -eo pid,comm [Pipeline] { [Pipeline] sh 20:37:36 + go version 20:37:36 go version go1.20.6 linux/amd64 [Pipeline] } 20:37:36 $ docker stop --time=1 6b0096293aaa463362278ef15383269f939befff5f9b6176404a512bd1698306 20:37:37 $ docker rm -f --volumes 6b0096293aaa463362278ef15383269f939befff5f9b6176404a512bd1698306 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:37:37 + docker inspect -f . ci-base-image-x86_64 20:37:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:37:37 prd-ubuntu20.04-docker-8c-8g-4933 does not seem to be running inside a container 20:37:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:37:38 $ docker top ffb07bcb1d8da5d09e983837ae2aa5d69e02d807c255664c0accd87d46cfe91c -eo pid,comm [Pipeline] { [Pipeline] sh 20:37:38 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 20:37:38 + make test 20:37:38 go test ./... -coverprofile=coverage.out ./... 20:37:44 ? github.com/edgexfoundry/device-rest-go [no test files] 20:37:54 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:37:54 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.2% of statements 20:38:00 go vet ./... 20:38:03 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:38:03 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:38:03 ./bin/test-attribution-txt.sh [Pipeline] echo 20:38:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:38:03 $ docker stop --time=1 ffb07bcb1d8da5d09e983837ae2aa5d69e02d807c255664c0accd87d46cfe91c 20:38:08 $ docker rm -f --volumes ffb07bcb1d8da5d09e983837ae2aa5d69e02d807c255664c0accd87d46cfe91c [Pipeline] // withDockerContainer [Pipeline] sh 20:38:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:38:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:38:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:38:09 + ls -al . 20:38:09 total 188 20:38:09 drwxrwxr-x 9 jenkins jenkins 4096 Aug 30 20:37 . 20:38:09 drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 20:36 .. 20:38:09 -rw-rw-r-- 1 jenkins jenkins 151 Aug 30 20:36 .dockerignore 20:38:09 drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 20:36 .git 20:38:09 drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 20:36 .github 20:38:09 -rw-rw-r-- 1 jenkins jenkins 329 Aug 30 20:36 .gitignore 20:38:09 -rw-rw-r-- 1 jenkins jenkins 41 Aug 30 20:36 .golangci.yml 20:38:09 drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 20:36 .semver 20:38:09 -rw-rw-r-- 1 jenkins jenkins 10300 Aug 30 20:36 Attribution.txt 20:38:09 -rw-rw-r-- 1 jenkins jenkins 15709 Aug 30 20:36 CHANGELOG.md 20:38:09 -rw-rw-r-- 1 jenkins jenkins 1578 Aug 30 20:36 Dockerfile 20:38:09 -rw-rw-r-- 1 jenkins jenkins 677 Aug 30 20:36 GOVERNANCE.md 20:38:09 -rw-rw-r-- 1 jenkins jenkins 680 Aug 30 20:36 Jenkinsfile 20:38:09 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 30 20:36 LICENSE 20:38:09 -rw-rw-r-- 1 jenkins jenkins 2010 Aug 30 20:36 Makefile 20:38:09 -rw-rw-r-- 1 jenkins jenkins 620 Aug 30 20:36 OWNERS.md 20:38:09 -rw-rw-r-- 1 jenkins jenkins 15827 Aug 30 20:36 README.md 20:38:09 -rw-rw-r-- 1 jenkins jenkins 11 Aug 30 20:36 VERSION 20:38:09 drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 20:36 bin 20:38:09 drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 20:36 cmd 20:38:09 -rw-r--r-- 1 jenkins jenkins 14499 Aug 30 20:37 coverage.out 20:38:09 drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 20:36 driver 20:38:09 -rw-rw-r-- 1 jenkins jenkins 3889 Aug 30 20:36 go.mod 20:38:09 -rw-rw-r-- 1 jenkins jenkins 34092 Aug 30 20:36 go.sum 20:38:09 drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 20:36 snap 20:38:09 -rw-rw-r-- 1 jenkins jenkins 713 Aug 30 20:36 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:09 + 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=f43bb6568d459ea684ddacde33420076da59f652 --label arch=amd64 --label version=3.1.0-dev.7 . 20:38:09 Sending build context to Docker daemon 10.93MB 20:38:09 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 20:38:09 Step 2/25 : FROM ${BASE} AS builder 20:38:09 ---> 1dfe0dfa43d1 20:38:09 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:38:10 ---> Running in a01e166b1033 20:38:10 Removing intermediate container a01e166b1033 20:38:10 ---> 3ff7372e9cd3 20:38:10 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:38:10 ---> Running in 231ad48bc8d9 20:38:10 Removing intermediate container 231ad48bc8d9 20:38:10 ---> fe0fe31e50f7 20:38:10 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:38:10 ---> Running in 91647a0bc944 20:38:10 Removing intermediate container 91647a0bc944 20:38:10 ---> 411ccfdc4d2f 20:38:10 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:38:10 ---> Running in 7bb3e52687bf 20:38:10 Removing intermediate container 7bb3e52687bf 20:38:10 ---> 4ca74dd57e6b 20:38:10 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:38:10 ---> Running in 0049e14c90a5 20:38:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:38:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:38:11 OK: 269 MiB in 57 packages 20:38:11 Removing intermediate container 0049e14c90a5 20:38:11 ---> 97f0dcbc7be3 20:38:11 Step 8/25 : WORKDIR /device-rest-go 20:38:11 ---> Running in 0c53dc9e5395 20:38:11 Removing intermediate container 0c53dc9e5395 20:38:11 ---> f1c22487932d 20:38:11 Step 9/25 : COPY go.mod vendor* ./ 20:38:11 ---> ca9f8d73b872 20:38:11 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:38:11 ---> Running in 9f5dd8636e73 20:38:12 Removing intermediate container 9f5dd8636e73 20:38:12 ---> 27370cf4de14 20:38:12 Step 11/25 : COPY . . 20:38:12 ---> 3371aa0dfc37 20:38:12 Step 12/25 : RUN $MAKE 20:38:12 ---> Running in 6173c08e9065 20:38:13 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.7 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.17" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:38:14 Running on prd-ubuntu20.04-docker-arm64-4c-16g-4934 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 20:38:14 Running in /w/workspace/device-rest-go/127 [Pipeline] { [Pipeline] checkout 20:38:14 The recommended git tool is: git 20:38:18 using credential edgex-jenkins-ssh 20:38:18 Cloning the remote Git repository 20:38:18 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:38:18 > git init /w/workspace/device-rest-go/127 # timeout=10 20:38:19 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:38:19 > git --version # timeout=10 20:38:19 > git --version # 'git version 2.25.1' 20:38:19 using GIT_SSH to set credentials SSH Credentials for GitHub 20:38:19 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:38:21 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:38:21 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:38:21 Avoid second fetch 20:38:21 Checking out Revision f43bb6568d459ea684ddacde33420076da59f652 (main) 20:38:22 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#335)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:38:21 > git config core.sparsecheckout # timeout=10 20:38:21 > git checkout -f f43bb6568d459ea684ddacde33420076da59f652 # timeout=10 20:38:23 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:38:23 % Total % Received % Xferd Average Speed Time Time Time Current 20:38:23 Dload Upload Total Spent Left Speed 20:38:23 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 93072 0 --:--:-- --:--:-- --:--:-- 92398 [Pipeline] sh 20:38:23 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:38:24 + sudo tee /etc/docker/daemon.new 20:38:24 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:38:24 { 20:38:24 "registry-mirrors": [ 20:38:24 "https://nexus3.edgexfoundry.org:10001" 20:38:24 ], 20:38:24 "bip": "10.250.0.254/24", 20:38:24 "hosts": [ 20:38:24 "tcp://0.0.0.0:5555", 20:38:24 "unix:///var/run/docker.sock" 20:38:24 ], 20:38:24 "mtu": 1458, 20:38:24 "selinux-enabled": true, 20:38:24 "seccomp-profile": "/etc/docker/seccomp.json" 20:38:24 } [Pipeline] sh 20:38:24 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:38:24 + sudo service docker restart 20:38:35 Removing intermediate container 6173c08e9065 20:38:35 ---> fafc4a3c76d9 20:38:35 Step 13/25 : FROM alpine:3.17 20:38:35 3.17: Pulling from library/alpine 20:38:35 9398808236ff: Pulling fs layer 20:38:35 9398808236ff: Verifying Checksum 20:38:35 9398808236ff: Download complete 20:38:35 9398808236ff: Pull complete 20:38:35 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 20:38:35 Status: Downloaded newer image for alpine:3.17 20:38:35 ---> 1e0b8b5322fc 20:38:35 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:38:35 ---> Running in c4a8643ea614 20:38:35 Removing intermediate container c4a8643ea614 20:38:35 ---> 5e7854c8100b 20:38:35 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:38:35 ---> Running in c2ae042b1d25 20:38:35 Removing intermediate container c2ae042b1d25 20:38:35 ---> 579fba2d1da9 20:38:35 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:38:35 ---> Running in ccaaa4a04465 20:38:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:38:36 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:38:36 (1/1) Installing dumb-init (1.2.5-r2) 20:38:36 Executing busybox-1.35.0-r29.trigger 20:38:36 OK: 7 MiB in 16 packages 20:38:36 Removing intermediate container ccaaa4a04465 20:38:36 ---> 2992f54aa6a1 20:38:36 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:38:37 ---> 66e35db82367 20:38:37 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:38:37 ---> f589b56612d9 20:38:37 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:38:37 ---> 3e91be7941a1 20:38:37 Step 20/25 : EXPOSE 59986 20:38:37 ---> Running in 4f031d716937 20:38:37 Removing intermediate container 4f031d716937 20:38:37 ---> 28789ba32758 20:38:37 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:38:37 ---> Running in d2dd8d313a0f 20:38:38 Removing intermediate container d2dd8d313a0f 20:38:38 ---> 55ebc06102eb 20:38:38 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:38:38 ---> Running in 56631cbfbe19 20:38:38 Removing intermediate container 56631cbfbe19 20:38:38 ---> 626a457067eb 20:38:38 Step 23/25 : LABEL arch=amd64 20:38:38 ---> Running in 2a6921f36471 20:38:38 Removing intermediate container 2a6921f36471 20:38:38 ---> 42ef202fe107 20:38:38 Step 24/25 : LABEL git_sha=f43bb6568d459ea684ddacde33420076da59f652 20:38:38 ---> Running in f841cd135cc4 20:38:38 Removing intermediate container f841cd135cc4 20:38:38 ---> d75f21ac89de 20:38:38 Step 25/25 : LABEL version=3.1.0-dev.7 20:38:38 ---> Running in 2fa91730180e 20:38:38 Removing intermediate container 2fa91730180e 20:38:38 ---> 38a2af3c70f6 20:38:38 [Warning] One or more build-args [ARCH] were not consumed 20:38:38 Successfully built 38a2af3c70f6 20:38:38 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:38:38 provisioning config files... 20:38:38 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17196657347231046258tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:38:38 ---> docker-login.sh 20:38:38 nexus3.edgexfoundry.org:10001 20:38:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:38 Configure a credential helper to remove this warning. See 20:38:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:38 20:38:38 Login Succeeded 20:38:38 nexus3.edgexfoundry.org:10002 20:38:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:38 Configure a credential helper to remove this warning. See 20:38:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:38 20:38:38 Login Succeeded 20:38:38 nexus3.edgexfoundry.org:10003 20:38:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:39 Configure a credential helper to remove this warning. See 20:38:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:39 20:38:39 Login Succeeded 20:38:39 nexus3.edgexfoundry.org:10004 20:38:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:39 Configure a credential helper to remove this warning. See 20:38:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:39 20:38:39 Login Succeeded 20:38:39 docker.io 20:38:39 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:39 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:39 Configure a credential helper to remove this warning. See 20:38:39 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:39 20:38:39 Login Succeeded 20:38:39 ---> docker-login.sh ends [Pipeline] } 20:38:39 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:38:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:38:39 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 20:38:39 f43bb6568d459ea684ddacde33420076da59f652 20:38:39 latest 20:38:39 3.1.0-dev.7 20:38:39 f43bb6568d459ea684ddacde33420076da59f652-3.1.0-dev.7 20:38:39 main 20:38:39 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:39 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:f43bb6568d459ea684ddacde33420076da59f652 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:39 + docker push nexus3.edgexfoundry.org:10004/device-rest:f43bb6568d459ea684ddacde33420076da59f652 20:38:39 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:38:39 d9342a0cb03b: Preparing 20:38:39 da66c9952e44: Preparing 20:38:39 3597e90955f5: Preparing 20:38:39 e8840a1406fe: Preparing 20:38:39 36b50b131297: Preparing 20:38:39 36b50b131297: Layer already exists 20:38:39 e8840a1406fe: Pushed 20:38:39 da66c9952e44: Pushed 20:38:39 d9342a0cb03b: Pushed [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:38:43 provisioning config files... 20:38:43 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/127@tmp/config4003867216713981494tmp 20:38:43 3597e90955f5: Pushed 20:38:43 f43bb6568d459ea684ddacde33420076da59f652: digest: sha256:886f58df1172881a4c1d7d93ffbff64e88826ad49e5e6b0e7aded677d3e95f09 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:43 ---> docker-login.sh 20:38:43 nexus3.edgexfoundry.org:10001 20:38:43 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:43 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 20:38:43 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:38:43 d9342a0cb03b: Preparing 20:38:43 da66c9952e44: Preparing 20:38:43 3597e90955f5: Preparing 20:38:43 e8840a1406fe: Preparing 20:38:43 36b50b131297: Preparing 20:38:43 da66c9952e44: Layer already exists 20:38:43 36b50b131297: Layer already exists 20:38:43 d9342a0cb03b: Layer already exists 20:38:43 3597e90955f5: Layer already exists 20:38:43 e8840a1406fe: Layer already exists 20:38:43 latest: digest: sha256:886f58df1172881a4c1d7d93ffbff64e88826ad49e5e6b0e7aded677d3e95f09 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:44 Configure a credential helper to remove this warning. See 20:38:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:44 20:38:44 Login Succeeded 20:38:44 nexus3.edgexfoundry.org:10002 20:38:44 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:44 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.7 20:38:44 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:38:44 d9342a0cb03b: Preparing 20:38:44 da66c9952e44: Preparing 20:38:44 3597e90955f5: Preparing 20:38:44 e8840a1406fe: Preparing 20:38:44 36b50b131297: Preparing 20:38:44 da66c9952e44: Layer already exists 20:38:44 e8840a1406fe: Layer already exists 20:38:44 d9342a0cb03b: Layer already exists 20:38:44 36b50b131297: Layer already exists 20:38:44 3597e90955f5: Layer already exists 20:38:44 3.1.0-dev.7: digest: sha256:886f58df1172881a4c1d7d93ffbff64e88826ad49e5e6b0e7aded677d3e95f09 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:44 Configure a credential helper to remove this warning. See 20:38:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:44 20:38:44 Login Succeeded 20:38:44 nexus3.edgexfoundry.org:10003 20:38:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:44 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:f43bb6568d459ea684ddacde33420076da59f652-3.1.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:44 Configure a credential helper to remove this warning. See 20:38:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:44 20:38:44 Login Succeeded 20:38:44 nexus3.edgexfoundry.org:10004 20:38:45 + docker push nexus3.edgexfoundry.org:10004/device-rest:f43bb6568d459ea684ddacde33420076da59f652-3.1.0-dev.7 20:38:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:38:45 d9342a0cb03b: Preparing 20:38:45 da66c9952e44: Preparing 20:38:45 3597e90955f5: Preparing 20:38:45 e8840a1406fe: Preparing 20:38:45 36b50b131297: Preparing 20:38:45 d9342a0cb03b: Layer already exists 20:38:45 da66c9952e44: Layer already exists 20:38:45 36b50b131297: Layer already exists 20:38:45 e8840a1406fe: Layer already exists 20:38:45 3597e90955f5: Layer already exists 20:38:45 f43bb6568d459ea684ddacde33420076da59f652-3.1.0-dev.7: digest: sha256:886f58df1172881a4c1d7d93ffbff64e88826ad49e5e6b0e7aded677d3e95f09 size: 1365 [Pipeline] } 20:38:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:45 Configure a credential helper to remove this warning. See 20:38:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:45 20:38:45 Login Succeeded 20:38:45 docker.io [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:38:45 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:38:45 Configure a credential helper to remove this warning. See 20:38:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:38:45 20:38:45 Login Succeeded 20:38:45 ---> docker-login.sh ends [Pipeline] } 20:38:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash 20:38:45 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 20:38:45 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:38:45 d9342a0cb03b: Preparing 20:38:45 da66c9952e44: Preparing 20:38:45 3597e90955f5: Preparing 20:38:45 e8840a1406fe: Preparing 20:38:45 36b50b131297: Preparing 20:38:45 d9342a0cb03b: Layer already exists 20:38:45 e8840a1406fe: Layer already exists 20:38:45 da66c9952e44: Layer already exists 20:38:45 3597e90955f5: Layer already exists 20:38:45 36b50b131297: Layer already exists 20:38:45 main: digest: sha256:886f58df1172881a4c1d7d93ffbff64e88826ad49e5e6b0e7aded677d3e95f09 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:38:45 ===================================================== [Pipeline] echo 20:38:45 taggedImages: 20:38:45 - nexus3.edgexfoundry.org:10004/device-rest:f43bb6568d459ea684ddacde33420076da59f652 20:38:45 - nexus3.edgexfoundry.org:10004/device-rest:latest 20:38:45 - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.7 20:38:45 - nexus3.edgexfoundry.org:10004/device-rest:f43bb6568d459ea684ddacde33420076da59f652-3.1.0-dev.7 20:38:45 - 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 [Pipeline] echo 20:38:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:38:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:38:46 ========================================================= 20:38:46 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:38:46 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:38:46 20:38:46 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:38:46 + 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 . 20:38:46 Sending build context to Docker daemon 143.4kB 20:38:46 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:38:46 latest: Pulling from edgex-lftools-log-publisher 20:38:46 5eb5b503b376: Pulling fs layer 20:38:46 5c69ac0246d0: Pulling fs layer 20:38:46 ec43610c2a17: Pulling fs layer 20:38:46 3a2ae6a8a46f: Pulling fs layer 20:38:46 33b1e0a273af: Pulling fs layer 20:38:46 5d3b04190fa2: Pulling fs layer 20:38:46 2f39f015ded8: Pulling fs layer 20:38:46 33b1e0a273af: Waiting 20:38:46 2f39f015ded8: Waiting 20:38:46 5d3b04190fa2: Waiting 20:38:46 3a2ae6a8a46f: Waiting 20:38:46 5c69ac0246d0: Download complete 20:38:46 3a2ae6a8a46f: Verifying Checksum 20:38:46 3a2ae6a8a46f: Download complete 20:38:46 33b1e0a273af: Verifying Checksum 20:38:46 33b1e0a273af: Download complete 20:38:46 ec43610c2a17: Verifying Checksum 20:38:46 ec43610c2a17: Download complete 20:38:46 5d3b04190fa2: Download complete 20:38:46 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:38:46 Step 2/12 : FROM ${BASE} AS builder 20:38:46 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:38:46 edb6bdbacee9: Pulling fs layer 20:38:46 5f9638ab2659: Pulling fs layer 20:38:46 8d51d6327a98: Pulling fs layer 20:38:46 8b374f2dd631: Pulling fs layer 20:38:46 ec14aa9079de: Pulling fs layer 20:38:46 2f466654f4bb: Pulling fs layer 20:38:46 554e91adad29: Pulling fs layer 20:38:46 ec14aa9079de: Waiting 20:38:46 2f466654f4bb: Waiting 20:38:46 554e91adad29: Waiting 20:38:46 8b374f2dd631: Waiting 20:38:46 5f9638ab2659: Verifying Checksum 20:38:46 5f9638ab2659: Download complete 20:38:46 5eb5b503b376: Verifying Checksum 20:38:46 5eb5b503b376: Download complete 20:38:46 8b374f2dd631: Verifying Checksum 20:38:46 8b374f2dd631: Download complete 20:38:46 ec14aa9079de: Verifying Checksum 20:38:46 ec14aa9079de: Download complete 20:38:46 edb6bdbacee9: Verifying Checksum 20:38:46 edb6bdbacee9: Download complete 20:38:47 2f39f015ded8: Download complete 20:38:47 edb6bdbacee9: Pull complete 20:38:48 554e91adad29: Verifying Checksum 20:38:48 554e91adad29: Download complete 20:38:48 5eb5b503b376: Pull complete 20:38:48 5c69ac0246d0: Pull complete 20:38:48 5f9638ab2659: Pull complete 20:38:48 ec43610c2a17: Pull complete 20:38:48 3a2ae6a8a46f: Pull complete 20:38:48 33b1e0a273af: Pull complete 20:38:49 5d3b04190fa2: Pull complete 20:38:49 8d51d6327a98: Verifying Checksum 20:38:49 8d51d6327a98: Download complete 20:38:49 2f466654f4bb: Verifying Checksum 20:38:49 2f466654f4bb: Download complete 20:38:53 2f39f015ded8: Pull complete 20:38:53 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:38:53 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:38:53 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:38:53 prd-ubuntu20.04-docker-8c-8g-4933 does not seem to be running inside a container 20:38:53 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:38:58 $ docker top 81ea6ddb293dca9f6d43562081ef475dc28c6509b2b6070752582a548a917e74 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:38:59 ---> job-cost.sh 20:38:59 lf-activate-venv: SKIPPING 20:38:59 INFO: No Stack... 20:38:59 INFO: Retrieving Pricing Info for: v3-standard-8 20:38:59 INFO: Archiving Costs [Pipeline] sh 20:38:59 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 20:38:59 + cut -d, -f6 [Pipeline] lock 20:38:59 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-127-stack-cost] 20:39:00 Resource [jenkins-edgexfoundry-device-rest-go-main-127-stack-cost] did not exist. Created. 20:39:00 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-127-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:39:00 + echo total: 0.2199999988079071 [Pipeline] stash 20:39:00 Stashed 1 file(s) [Pipeline] } 20:39:00 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-127-stack-cost] [Pipeline] // lock [Pipeline] } 20:39:00 $ docker stop --time=1 81ea6ddb293dca9f6d43562081ef475dc28c6509b2b6070752582a548a917e74 20:39:01 $ docker rm -f --volumes 81ea6ddb293dca9f6d43562081ef475dc28c6509b2b6070752582a548a917e74 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:39:01 8d51d6327a98: Pull complete 20:39:01 8b374f2dd631: Pull complete 20:39:01 ec14aa9079de: Pull complete 20:39:07 2f466654f4bb: Pull complete 20:39:09 554e91adad29: Pull complete 20:39:09 Digest: sha256:f4f79e0ab507ec6f613cbb0f842a80f635fe1a72038f554d66df6ea3828f3663 20:39:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:39:09 ---> 1e15ea492957 20:39:09 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:39:11 ---> Running in 3715afa628a6 20:39:11 Removing intermediate container 3715afa628a6 20:39:11 ---> 820c35975876 20:39:11 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:39:11 ---> Running in 5a1e916a9278 20:39:12 Removing intermediate container 5a1e916a9278 20:39:12 ---> 792c5887dd6e 20:39:12 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:39:12 ---> Running in c62dc5ac00bf 20:39:12 Removing intermediate container c62dc5ac00bf 20:39:12 ---> 5b284437f490 20:39:12 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:39:12 ---> Running in 43f86ae59af8 20:39:12 Removing intermediate container 43f86ae59af8 20:39:12 ---> e60aac41eded 20:39:12 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:39:12 ---> Running in b842c467d27a 20:39:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:39:14 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:39:15 (1/4) Installing openssh-keygen (9.1_p1-r4) 20:39:15 (2/4) Installing libedit (20221030.3.1-r0) 20:39:15 (3/4) Installing openssh-client-common (9.1_p1-r4) 20:39:15 (4/4) Installing openssh-client-default (9.1_p1-r4) 20:39:15 Executing busybox-1.35.0-r29.trigger 20:39:15 OK: 268 MiB in 57 packages 20:39:16 Removing intermediate container b842c467d27a 20:39:16 ---> a22c8e7003cf 20:39:16 Step 8/12 : WORKDIR /device-rest-go 20:39:16 ---> Running in 96d62522721b 20:39:16 Removing intermediate container 96d62522721b 20:39:16 ---> 091a1a612801 20:39:16 Step 9/12 : COPY go.mod vendor* ./ 20:39:19 ---> 737c7318a585 20:39:19 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:39:19 ---> Running in 041540c4bbee 20:40:27 Removing intermediate container 041540c4bbee 20:40:27 ---> de4469ca0c1d 20:40:27 Step 11/12 : COPY . . 20:40:27 ---> fa3b3cfd641b 20:40:27 Step 12/12 : RUN $MAKE 20:40:27 ---> Running in 413fc0ad84a9 20:40:27 noop 20:40:27 Removing intermediate container 413fc0ad84a9 20:40:27 ---> bb5950193ba0 20:40:27 Successfully built bb5950193ba0 20:40:27 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:27 + docker inspect -f . ci-base-image-arm64 20:40:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:40:28 prd-ubuntu20.04-docker-arm64-4c-16g-4934 does not seem to be running inside a container 20:40:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/127 -v /w/workspace/device-rest-go/127:/w/workspace/device-rest-go/127:rw,z -v /w/workspace/device-rest-go/127@tmp:/w/workspace/device-rest-go/127@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:40:29 $ docker top a5c80d7c074cf8f004535cff8b1359a5a931d29ffacf433d4ddb7521cb26227b -eo pid,comm [Pipeline] { [Pipeline] sh 20:40:30 + go version 20:40:30 go version go1.20.6 linux/arm64 [Pipeline] } 20:40:30 $ docker stop --time=1 a5c80d7c074cf8f004535cff8b1359a5a931d29ffacf433d4ddb7521cb26227b 20:40:31 $ docker rm -f --volumes a5c80d7c074cf8f004535cff8b1359a5a931d29ffacf433d4ddb7521cb26227b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:40:32 + docker inspect -f . ci-base-image-arm64 20:40:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:40:32 prd-ubuntu20.04-docker-arm64-4c-16g-4934 does not seem to be running inside a container 20:40:32 $ 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/127 -v /w/workspace/device-rest-go/127:/w/workspace/device-rest-go/127:rw,z -v /w/workspace/device-rest-go/127@tmp:/w/workspace/device-rest-go/127@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:40:33 $ docker top 02a574db6a393a6c74f6e4c690d24e8d5a5e0fcbd282d25c74eeacc94cd71d30 -eo pid,comm [Pipeline] { [Pipeline] sh 20:40:34 + git config --global --add safe.directory /w/workspace/device-rest-go/127 [Pipeline] fileExists [Pipeline] sh 20:40:34 + make test 20:40:34 go test ./... -coverprofile=coverage.out ./... 20:41:06 ? github.com/edgexfoundry/device-rest-go [no test files] 20:43:13 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:43:13 ok github.com/edgexfoundry/device-rest-go/driver 0.062s coverage: 33.2% of statements 20:43:13 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:43:13 go vet ./... 20:43:39 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:43:39 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:43:39 ./bin/test-attribution-txt.sh [Pipeline] echo 20:43:39 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:43:40 $ docker stop --time=1 02a574db6a393a6c74f6e4c690d24e8d5a5e0fcbd282d25c74eeacc94cd71d30 20:43:41 $ docker rm -f --volumes 02a574db6a393a6c74f6e4c690d24e8d5a5e0fcbd282d25c74eeacc94cd71d30 [Pipeline] // withDockerContainer [Pipeline] sh 20:43:42 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:43:42 Warning: overwriting stash ‘coverage-report’ 20:43:43 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:43:43 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:43:44 + ls -al . 20:43:44 total 184 20:43:44 drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 20:40 . 20:43:44 drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 20:38 .. 20:43:44 -rw-rw-r-- 1 jenkins jenkins 151 Aug 30 20:38 .dockerignore 20:43:44 drwxrwxr-x 8 jenkins jenkins 4096 Aug 30 20:38 .git 20:43:44 drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 20:38 .github 20:43:44 -rw-rw-r-- 1 jenkins jenkins 329 Aug 30 20:38 .gitignore 20:43:44 -rw-rw-r-- 1 jenkins jenkins 41 Aug 30 20:38 .golangci.yml 20:43:44 -rw-rw-r-- 1 jenkins jenkins 10300 Aug 30 20:38 Attribution.txt 20:43:44 -rw-rw-r-- 1 jenkins jenkins 15709 Aug 30 20:38 CHANGELOG.md 20:43:44 -rw-rw-r-- 1 jenkins jenkins 1578 Aug 30 20:38 Dockerfile 20:43:44 -rw-rw-r-- 1 jenkins jenkins 677 Aug 30 20:38 GOVERNANCE.md 20:43:44 -rw-rw-r-- 1 jenkins jenkins 680 Aug 30 20:38 Jenkinsfile 20:43:44 -rw-rw-r-- 1 jenkins jenkins 11340 Aug 30 20:38 LICENSE 20:43:44 -rw-rw-r-- 1 jenkins jenkins 2010 Aug 30 20:38 Makefile 20:43:44 -rw-rw-r-- 1 jenkins jenkins 620 Aug 30 20:38 OWNERS.md 20:43:44 -rw-rw-r-- 1 jenkins jenkins 15827 Aug 30 20:38 README.md 20:43:44 -rw-rw-r-- 1 jenkins jenkins 11 Aug 30 20:36 VERSION 20:43:44 drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 20:38 bin 20:43:44 drwxrwxr-x 3 jenkins jenkins 4096 Aug 30 20:38 cmd 20:43:44 -rw-r--r-- 1 jenkins jenkins 14499 Aug 30 20:43 coverage.out 20:43:44 drwxrwxr-x 2 jenkins jenkins 4096 Aug 30 20:38 driver 20:43:44 -rw-rw-r-- 1 jenkins jenkins 3889 Aug 30 20:38 go.mod 20:43:44 -rw-rw-r-- 1 jenkins jenkins 34092 Aug 30 20:38 go.sum 20:43:44 drwxrwxr-x 4 jenkins jenkins 4096 Aug 30 20:38 snap 20:43:44 -rw-rw-r-- 1 jenkins jenkins 713 Aug 30 20:38 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:43:44 + 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=f43bb6568d459ea684ddacde33420076da59f652 --label arch=arm64 --label version=3.1.0-dev.7 . 20:43:44 Sending build context to Docker daemon 158.7kB 20:43:44 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 20:43:44 Step 2/25 : FROM ${BASE} AS builder 20:43:44 ---> bb5950193ba0 20:43:44 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:43:44 ---> Running in 27e7c866da0f 20:43:44 Removing intermediate container 27e7c866da0f 20:43:44 ---> 7aa777e62dcb 20:43:44 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:43:44 ---> Running in 2619ef45fa32 20:43:45 Removing intermediate container 2619ef45fa32 20:43:45 ---> 1dc177a9743f 20:43:45 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:43:45 ---> Running in 234fb0a6a1ce 20:43:45 Removing intermediate container 234fb0a6a1ce 20:43:45 ---> f8e579c40777 20:43:45 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:43:45 ---> Running in 3b13a3dc47a9 20:43:46 Removing intermediate container 3b13a3dc47a9 20:43:46 ---> 0a7b9f3ab7b1 20:43:46 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:43:46 ---> Running in e702134741ed 20:43:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:43:47 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:43:48 OK: 268 MiB in 57 packages 20:43:49 Removing intermediate container e702134741ed 20:43:49 ---> b9b856f98afc 20:43:49 Step 8/25 : WORKDIR /device-rest-go 20:43:49 ---> Running in 7cb293c8e9e6 20:43:49 Removing intermediate container 7cb293c8e9e6 20:43:49 ---> 18176e249aab 20:43:49 Step 9/25 : COPY go.mod vendor* ./ 20:43:50 ---> a9844ee0e83c 20:43:50 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:43:50 ---> Running in 406cc674a141 20:43:52 Removing intermediate container 406cc674a141 20:43:52 ---> 273559dd72f1 20:43:52 Step 11/25 : COPY . . 20:43:52 ---> d4340538f292 20:43:52 Step 12/25 : RUN $MAKE 20:43:52 ---> Running in 5f1069f564f5 20:43:53 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.7 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.17" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:46:00 Removing intermediate container 5f1069f564f5 20:46:00 ---> 4687b90d1c20 20:46:00 Step 13/25 : FROM alpine:3.17 20:46:00 3.17: Pulling from library/alpine 20:46:00 4060ece20d7a: Pulling fs layer 20:46:00 4060ece20d7a: Verifying Checksum 20:46:00 4060ece20d7a: Download complete 20:46:03 4060ece20d7a: Pull complete 20:46:03 Digest: sha256:f71a5f071694a785e064f05fed657bf8277f1b2113a8ed70c90ad486d6ee54dc 20:46:03 Status: Downloaded newer image for alpine:3.17 20:46:03 ---> 8650cd65339b 20:46:03 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:46:03 ---> Running in 1d0e8de3ec4b 20:46:03 Removing intermediate container 1d0e8de3ec4b 20:46:03 ---> 251a6ceaa4d1 20:46:03 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:46:03 ---> Running in a6cb11675d8d 20:46:03 Removing intermediate container a6cb11675d8d 20:46:03 ---> 3fa7e427f581 20:46:03 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:46:03 ---> Running in 3ca1187d55c7 20:46:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:46:05 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:46:06 (1/1) Installing dumb-init (1.2.5-r2) 20:46:06 Executing busybox-1.35.0-r29.trigger 20:46:06 OK: 8 MiB in 16 packages 20:46:07 Removing intermediate container 3ca1187d55c7 20:46:07 ---> 873e7e4fedd1 20:46:07 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:46:08 ---> e60359294650 20:46:08 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:46:09 ---> f87122dc2a02 20:46:09 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:46:09 ---> 9d12580c96d7 20:46:09 Step 20/25 : EXPOSE 59986 20:46:09 ---> Running in e0fe11451f9c 20:46:09 Removing intermediate container e0fe11451f9c 20:46:09 ---> 26315f3fe1ee 20:46:09 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:46:09 ---> Running in 90ce42106136 20:46:10 Removing intermediate container 90ce42106136 20:46:10 ---> 7e91e19a485e 20:46:10 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:46:10 ---> Running in ab9f5cc90571 20:46:10 Removing intermediate container ab9f5cc90571 20:46:10 ---> 5023e602a019 20:46:10 Step 23/25 : LABEL arch=arm64 20:46:10 ---> Running in a7d5115e4d8f 20:46:10 Removing intermediate container a7d5115e4d8f 20:46:10 ---> efe427a22b9c 20:46:10 Step 24/25 : LABEL git_sha=f43bb6568d459ea684ddacde33420076da59f652 20:46:10 ---> Running in 92212926202a 20:46:10 Removing intermediate container 92212926202a 20:46:10 ---> a9c5b41913c3 20:46:10 Step 25/25 : LABEL version=3.1.0-dev.7 20:46:11 ---> Running in 6978fa5eead8 20:46:11 Removing intermediate container 6978fa5eead8 20:46:11 ---> 8778097b2d07 20:46:11 [Warning] One or more build-args [ARCH] were not consumed 20:46:11 Successfully built 8778097b2d07 20:46:11 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:46:11 provisioning config files... 20:46:11 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/127@tmp/config2916386352550352533tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:46:11 ---> docker-login.sh 20:46:11 nexus3.edgexfoundry.org:10001 20:46:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:12 Configure a credential helper to remove this warning. See 20:46:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:12 20:46:12 Login Succeeded 20:46:12 nexus3.edgexfoundry.org:10002 20:46:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:12 Configure a credential helper to remove this warning. See 20:46:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:12 20:46:12 Login Succeeded 20:46:12 nexus3.edgexfoundry.org:10003 20:46:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:12 Configure a credential helper to remove this warning. See 20:46:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:12 20:46:12 Login Succeeded 20:46:12 nexus3.edgexfoundry.org:10004 20:46:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:13 Configure a credential helper to remove this warning. See 20:46:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:13 20:46:13 Login Succeeded 20:46:13 docker.io 20:46:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:46:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:46:13 Configure a credential helper to remove this warning. See 20:46:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:46:13 20:46:13 Login Succeeded 20:46:13 ---> docker-login.sh ends [Pipeline] } 20:46:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:46:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:46:13 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 20:46:13 f43bb6568d459ea684ddacde33420076da59f652 20:46:13 latest 20:46:13 3.1.0-dev.7 20:46:13 f43bb6568d459ea684ddacde33420076da59f652-3.1.0-dev.7 20:46:13 main 20:46:13 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:14 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:f43bb6568d459ea684ddacde33420076da59f652 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:14 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:f43bb6568d459ea684ddacde33420076da59f652 20:46:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:46:14 63b2540f098d: Preparing 20:46:14 55501c3e120d: Preparing 20:46:14 d4eddc53e8a0: Preparing 20:46:14 60c793a74e3d: Preparing 20:46:14 d2d9d24a8c2a: Preparing 20:46:14 d2d9d24a8c2a: Layer already exists 20:46:14 55501c3e120d: Pushed 20:46:14 63b2540f098d: Pushed 20:46:14 60c793a74e3d: Pushed 20:46:20 d4eddc53e8a0: Pushed 20:46:20 f43bb6568d459ea684ddacde33420076da59f652: digest: sha256:93d7fa9ed4cdde64bcc9c739ee8512cfde6b4ee196f45fc45c4f92271e053acc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:20 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:21 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 20:46:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:46:21 63b2540f098d: Preparing 20:46:21 55501c3e120d: Preparing 20:46:21 d4eddc53e8a0: Preparing 20:46:21 60c793a74e3d: Preparing 20:46:21 d2d9d24a8c2a: Preparing 20:46:21 d2d9d24a8c2a: Layer already exists 20:46:21 60c793a74e3d: Layer already exists 20:46:21 d4eddc53e8a0: Layer already exists 20:46:21 55501c3e120d: Layer already exists 20:46:21 63b2540f098d: Layer already exists 20:46:21 latest: digest: sha256:93d7fa9ed4cdde64bcc9c739ee8512cfde6b4ee196f45fc45c4f92271e053acc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:21 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:21 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.7 20:46:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:46:21 63b2540f098d: Preparing 20:46:21 55501c3e120d: Preparing 20:46:21 d4eddc53e8a0: Preparing 20:46:21 60c793a74e3d: Preparing 20:46:21 d2d9d24a8c2a: Preparing 20:46:21 d4eddc53e8a0: Layer already exists 20:46:21 d2d9d24a8c2a: Layer already exists 20:46:21 55501c3e120d: Layer already exists 20:46:21 63b2540f098d: Layer already exists 20:46:21 60c793a74e3d: Layer already exists 20:46:21 3.1.0-dev.7: digest: sha256:93d7fa9ed4cdde64bcc9c739ee8512cfde6b4ee196f45fc45c4f92271e053acc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:22 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:f43bb6568d459ea684ddacde33420076da59f652-3.1.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:22 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:f43bb6568d459ea684ddacde33420076da59f652-3.1.0-dev.7 20:46:22 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:46:22 63b2540f098d: Preparing 20:46:22 55501c3e120d: Preparing 20:46:22 d4eddc53e8a0: Preparing 20:46:22 60c793a74e3d: Preparing 20:46:22 d2d9d24a8c2a: Preparing 20:46:22 63b2540f098d: Layer already exists 20:46:22 55501c3e120d: Layer already exists 20:46:22 d2d9d24a8c2a: Layer already exists 20:46:22 d4eddc53e8a0: Layer already exists 20:46:22 60c793a74e3d: Layer already exists 20:46:22 f43bb6568d459ea684ddacde33420076da59f652-3.1.0-dev.7: digest: sha256:93d7fa9ed4cdde64bcc9c739ee8512cfde6b4ee196f45fc45c4f92271e053acc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:22 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:23 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 20:46:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:46:23 63b2540f098d: Preparing 20:46:23 55501c3e120d: Preparing 20:46:23 d4eddc53e8a0: Preparing 20:46:23 60c793a74e3d: Preparing 20:46:23 d2d9d24a8c2a: Preparing 20:46:23 d4eddc53e8a0: Layer already exists 20:46:23 60c793a74e3d: Layer already exists 20:46:23 d2d9d24a8c2a: Layer already exists 20:46:23 55501c3e120d: Layer already exists 20:46:23 63b2540f098d: Layer already exists 20:46:23 main: digest: sha256:93d7fa9ed4cdde64bcc9c739ee8512cfde6b4ee196f45fc45c4f92271e053acc size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:46:23 ===================================================== [Pipeline] echo 20:46:23 taggedImages: 20:46:23 - nexus3.edgexfoundry.org:10004/device-rest-arm64:f43bb6568d459ea684ddacde33420076da59f652 20:46:23 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 20:46:23 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.7 20:46:23 - nexus3.edgexfoundry.org:10004/device-rest-arm64:f43bb6568d459ea684ddacde33420076da59f652-3.1.0-dev.7 20:46:23 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:46:23 20:46:23 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:23 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:46:23 arm64: Pulling from edgex-lftools-log-publisher 20:46:23 8998bd30e6a1: Pulling fs layer 20:46:23 04944245beec: Pulling fs layer 20:46:23 699f458cf7ca: Pulling fs layer 20:46:23 765212b225bb: Pulling fs layer 20:46:23 f23df028b6ca: Pulling fs layer 20:46:23 d65c8cfc05b1: Pulling fs layer 20:46:23 2437ff75d9bd: Pulling fs layer 20:46:23 765212b225bb: Waiting 20:46:23 f23df028b6ca: Waiting 20:46:23 d65c8cfc05b1: Waiting 20:46:23 2437ff75d9bd: Waiting 20:46:24 04944245beec: Verifying Checksum 20:46:24 04944245beec: Download complete 20:46:24 765212b225bb: Verifying Checksum 20:46:24 765212b225bb: Download complete 20:46:24 f23df028b6ca: Verifying Checksum 20:46:24 f23df028b6ca: Download complete 20:46:24 d65c8cfc05b1: Verifying Checksum 20:46:24 d65c8cfc05b1: Download complete 20:46:24 699f458cf7ca: Verifying Checksum 20:46:24 8998bd30e6a1: Verifying Checksum 20:46:24 8998bd30e6a1: Download complete 20:46:26 2437ff75d9bd: Verifying Checksum 20:46:26 2437ff75d9bd: Download complete 20:46:28 8998bd30e6a1: Pull complete 20:46:29 04944245beec: Pull complete 20:46:31 699f458cf7ca: Pull complete 20:46:31 765212b225bb: Pull complete 20:46:31 f23df028b6ca: Pull complete 20:46:31 d65c8cfc05b1: Pull complete 20:46:46 2437ff75d9bd: Pull complete 20:46:46 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:46:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:46:46 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:46:47 prd-ubuntu20.04-docker-arm64-4c-16g-4934 does not seem to be running inside a container 20:46:47 $ 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/127 -v /w/workspace/device-rest-go/127:/w/workspace/device-rest-go/127:rw,z -v /w/workspace/device-rest-go/127@tmp:/w/workspace/device-rest-go/127@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:46:49 $ docker top 34733ee57a2905173f2a9b800cf2b94964a91bd13f8bed524f11101d189ba767 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:46:50 ---> job-cost.sh 20:46:50 lf-activate-venv: SKIPPING 20:46:50 INFO: No Stack... 20:46:50 INFO: Retrieving Pricing Info for: v3-standard-4 20:46:51 INFO: Archiving Costs [Pipeline] sh 20:46:52 + cat /w/workspace/device-rest-go/127/archives/cost.csv 20:46:52 + cut -d, -f6 [Pipeline] lock 20:46:52 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-127-stack-cost] 20:46:52 Resource [jenkins-edgexfoundry-device-rest-go-main-127-stack-cost] did not exist. Created. 20:46:52 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-127-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:46:52 /w/workspace/device-rest-go/127@tmp/durable-a812526a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:46:53 + echo total: 0.10999999940395355 [Pipeline] stash 20:46:53 Warning: overwriting stash ‘stack-cost’ 20:46:53 Stashed 1 file(s) [Pipeline] } 20:46:53 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-127-stack-cost] [Pipeline] // lock [Pipeline] } 20:46:53 $ docker stop --time=1 34733ee57a2905173f2a9b800cf2b94964a91bd13f8bed524f11101d189ba767 20:46:54 $ docker rm -f --volumes 34733ee57a2905173f2a9b800cf2b94964a91bd13f8bed524f11101d189ba767 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 20:46:55 provisioning config files... 20:46:55 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17407403650320079506tmp [Pipeline] { [Pipeline] sh 20:46:55 + set +x 20:46:55 + curl -s https://codecov.io/bash 20:46:55 + bash -s -- 20:46:55 20:46:55 _____ _ 20:46:55 / ____| | | 20:46:55 | | ___ __| | ___ ___ _____ __ 20:46:55 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:46:55 | |___| (_) | (_| | __/ (_| (_) \ V / 20:46:55 \_____\___/ \__,_|\___|\___\___/ \_/ 20:46:55 Bash-1.0.6 20:46:55 20:46:55 20:46:55 ==> git version 2.25.1 found 20:46:55 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 20:46:55 Release-Date: 2020-01-08 20:46:55 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:46:55 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:46:55 ==> Jenkins CI detected. 20:46:55 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 20:46:55 project root: . 20:46:55 --> token set from env 20:46:55 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:46:55 ==> Running gcov in . (disable via -X gcov) 20:46:55 ==> Python coveragepy not found 20:46:55 ==> Searching for coverage reports in: 20:46:55 + . 20:46:55 -> Found 1 reports 20:46:55 ==> Detecting git/mercurial file structure 20:46:55 ==> Reading reports 20:46:55 + ./coverage.out bytes=14499 20:46:55 ==> Appending adjustments 20:46:55 https://docs.codecov.io/docs/fixing-reports 20:46:55 + Found adjustments 20:46:55 ==> Gzipping contents 20:46:55 4.0K /tmp/codecov.fB4Mfy.gz 20:46:55 ==> Uploading reports 20:46:55 url: https://codecov.io 20:46:55 query: branch=main&commit=f43bb6568d459ea684ddacde33420076da59f652&build=127&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F127%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:46:55 -> Pinging Codecov 20:46:55 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=f43bb6568d459ea684ddacde33420076da59f652&build=127&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F127%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:46:55 -> Uploading to 20:46:55 https://storage.googleapis.com/codecov/v4/raw/2023-08-30/4E5D53B4F1F92C436F7061BF334D961C/f43bb6568d459ea684ddacde33420076da59f652/ea0681f7-d4ed-435d-a425-b5a90059b283.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230830%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230830T204655Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=adf11bdfc215efe1b5a656e60267c85c2f632a47a8cfe9f911c5f446a25966d9 20:46:55 % Total % Received % Xferd Average Speed Time Time Time Current 20:46:55 Dload Upload Total Spent Left Speed 20:46:55 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 12280 --:--:-- --:--:-- --:--:-- 12280 20:46:55 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/f43bb6568d459ea684ddacde33420076da59f652 [Pipeline] } 20:46:55 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:46:56 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:46:56 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:56 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:46:56 20:46:56 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:46:56 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:46:56 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:46:56 df9b9388f04a: Pulling fs layer 20:46:56 52dc419b0ee2: Pulling fs layer 20:46:56 25bc292e5bac: Pulling fs layer 20:46:56 114826534d7a: Pulling fs layer 20:46:56 4657fd5d0bcf: Pulling fs layer 20:46:56 6ad1cebc031e: Pulling fs layer 20:46:56 8a3aa393b2d8: Pulling fs layer 20:46:56 114826534d7a: Waiting 20:46:56 4657fd5d0bcf: Waiting 20:46:56 6ad1cebc031e: Waiting 20:46:56 8a3aa393b2d8: Waiting 20:46:56 25bc292e5bac: Verifying Checksum 20:46:56 25bc292e5bac: Download complete 20:46:56 52dc419b0ee2: Download complete 20:46:56 4657fd5d0bcf: Verifying Checksum 20:46:56 4657fd5d0bcf: Download complete 20:46:56 df9b9388f04a: Download complete 20:46:57 df9b9388f04a: Pull complete 20:46:57 6ad1cebc031e: Verifying Checksum 20:46:57 6ad1cebc031e: Download complete 20:46:57 52dc419b0ee2: Pull complete 20:46:57 25bc292e5bac: Pull complete 20:46:57 114826534d7a: Verifying Checksum 20:46:57 114826534d7a: Download complete 20:46:57 8a3aa393b2d8: Verifying Checksum 20:46:57 8a3aa393b2d8: Download complete 20:47:00 114826534d7a: Pull complete 20:47:00 4657fd5d0bcf: Pull complete 20:47:01 6ad1cebc031e: Pull complete 20:47:09 8a3aa393b2d8: Pull complete 20:47:09 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 20:47:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:47:09 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:47:09 prd-ubuntu20.04-docker-8c-8g-4933 does not seem to be running inside a container 20:47:09 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 20:47:13 $ docker top b8400ec9bcbb4458f772349b8c503e08120c558b88c21578ce48e562b48a2107 -eo pid,comm [Pipeline] { [Pipeline] echo 20:47:13 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 20:47:14 + set -o pipefail 20:47:14 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 20:47:19 20:47:19 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 20:47:19 20:47:19 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/f9ac37e5-f1fe-4de1-ae84-b1da88611da0 20:47:19 20:47:19 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 20:47:19 20:47:19 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:47:19 20:47:19 20:47:19 A medium severity vulnerability was found in the Snyk CLI versions you are using. 20:47:19 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 20:47:19 More details here: https://snyk.co/ue1NS [Pipeline] } 20:47:19 $ docker stop --time=1 b8400ec9bcbb4458f772349b8c503e08120c558b88c21578ce48e562b48a2107 20:47:24 $ docker rm -f --volumes b8400ec9bcbb4458f772349b8c503e08120c558b88c21578ce48e562b48a2107 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:47:25 + git log --format=format:%s -1 f43bb6568d459ea684ddacde33420076da59f652 [Pipeline] sh 20:47:25 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:47:25 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:47:25 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:47:25 prd-ubuntu20.04-docker-8c-8g-4933 does not seem to be running inside a container 20:47:25 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:47:26 $ docker top 86057e73ab98a8cbf42bd80e37a9ca63942a119599bb6c479c58f57b159e3be1 -eo pid,comm 20:47:26 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:47:26 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:47:26 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:47:26 [ssh-agent] Looking for ssh-agent implementation... 20:47:26 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:47:26 $ docker exec 86057e73ab98a8cbf42bd80e37a9ca63942a119599bb6c479c58f57b159e3be1 ssh-agent 20:47:26 SSH_AUTH_SOCK=/tmp/ssh-w9aFvxDKjgTm/agent.31 20:47:26 SSH_AGENT_PID=37 20:47:26 Running ssh-add (command line suppressed) 20:47:26 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7796031902687568971.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7796031902687568971.key) 20:47:26 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:47:27 + git semver tag 20:47:27 2023-08-30 20:47:27,259 [run_tag] DEBUG tag force:False 20:47:27 2023-08-30 20:47:27,259 [check_head_tag] DEBUG check head tag 20:47:27 2023-08-30 20:47:27,260 [execute] INFO git cat-file --batch-check 20:47:27 2023-08-30 20:47:27,260 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 20:47:27 2023-08-30 20:47:27,263 [execute] INFO git cat-file --batch 20:47:27 2023-08-30 20:47:27,263 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 20:47:27 2023-08-30 20:47:27,272 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:47:27 2023-08-30 20:47:27,272 [execute] INFO git tag -a v3.1.0-dev.7 -m v3.1.0-dev.7 20:47:27 2023-08-30 20:47:27,273 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.7', '-m', 'v3.1.0-dev.7'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 20:47:27 2023-08-30 20:47:27,276 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:47:27 3.1.0-dev.7 [Pipeline] } 20:47:27 $ docker exec --env ******** --env ******** 86057e73ab98a8cbf42bd80e37a9ca63942a119599bb6c479c58f57b159e3be1 ssh-agent -k 20:47:27 unset SSH_AUTH_SOCK; 20:47:27 unset SSH_AGENT_PID; 20:47:27 echo Agent pid 37 killed; 20:47:27 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:47:27 + git semver [Pipeline] } 20:47:28 $ docker stop --time=1 86057e73ab98a8cbf42bd80e37a9ca63942a119599bb6c479c58f57b159e3be1 20:47:29 $ docker rm -f --volumes 86057e73ab98a8cbf42bd80e37a9ca63942a119599bb6c479c58f57b159e3be1 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:47:29 20:47:29 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:29 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:47:29 0.23.1-centos7: Pulling from edgex-lftools 20:47:29 ab5ef0e58194: Pulling fs layer 20:47:29 9712f1f96733: Pulling fs layer 20:47:29 63f879dbbcfc: Pulling fs layer 20:47:29 0d9ebad4ef96: Pulling fs layer 20:47:29 e9a5061849ea: Pulling fs layer 20:47:29 d747dcd14b5f: Pulling fs layer 20:47:29 2de7ff778b66: Pulling fs layer 20:47:29 e9a5061849ea: Waiting 20:47:29 d747dcd14b5f: Waiting 20:47:29 2de7ff778b66: Waiting 20:47:29 0d9ebad4ef96: Waiting 20:47:29 9712f1f96733: Verifying Checksum 20:47:29 9712f1f96733: Download complete 20:47:30 63f879dbbcfc: Verifying Checksum 20:47:30 63f879dbbcfc: Download complete 20:47:30 0d9ebad4ef96: Download complete 20:47:30 d747dcd14b5f: Verifying Checksum 20:47:30 d747dcd14b5f: Download complete 20:47:30 e9a5061849ea: Verifying Checksum 20:47:30 e9a5061849ea: Download complete 20:47:30 ab5ef0e58194: Download complete 20:47:30 2de7ff778b66: Verifying Checksum 20:47:30 2de7ff778b66: Download complete 20:47:33 ab5ef0e58194: Pull complete 20:47:33 9712f1f96733: Pull complete 20:47:34 63f879dbbcfc: Pull complete 20:47:37 0d9ebad4ef96: Pull complete 20:47:37 e9a5061849ea: Pull complete 20:47:37 d747dcd14b5f: Pull complete 20:47:38 2de7ff778b66: Pull complete 20:47:39 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:47:39 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:47:39 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:47:39 prd-ubuntu20.04-docker-8c-8g-4933 does not seem to be running inside a container 20:47:39 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 20:47:48 $ docker top b8a1ec1568c668fa025c1ac2f16af5caf79fe3f2b2a8552e31606e89d8273d2f -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:47:49 provisioning config files... 20:47:49 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13388849429867284555tmp 20:47:49 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4463984416422161387tmp 20:47:49 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7169031735181113335tmp [Pipeline] { [Pipeline] echo 20:47:49 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:47:49 ---> sigul-configuration.sh 20:47:49 gpg: directory `/root/.gnupg' created 20:47:49 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:47:49 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:47:49 gpg: keyring `/root/.gnupg/secring.gpg' created 20:47:49 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:47:49 gpg: CAST5 encrypted data 20:47:49 gpg: encrypted with 1 passphrase 20:47:49 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:47:49 + mkdir /home/jenkins 20:47:49 + mkdir /home/jenkins/sigul [Pipeline] sh 20:47:49 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 20:47:49 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:47:50 ---> sigul-install.sh 20:47:50 Sigul already installed; skipping installation. [Pipeline] sh 20:47:50 + git tag --list 20:47:50 v1.0.0 20:47:50 v1.1.0 20:47:50 v1.1.1 20:47:50 v1.1.2 20:47:50 v1.2.0 20:47:50 v1.2.1 20:47:50 v2.0.0 20:47:50 v2.1.0 20:47:50 v2.1.1 20:47:50 v2.2.0 20:47:50 v2.3.0 20:47:50 v3.0 20:47:50 v3.0.0 20:47:50 v3.1.0-dev.1 20:47:50 v3.1.0-dev.2 20:47:50 v3.1.0-dev.3 20:47:50 v3.1.0-dev.4 20:47:50 v3.1.0-dev.5 20:47:50 v3.1.0-dev.6 20:47:50 v3.1.0-dev.7 [Pipeline] sh 20:47:50 + lftools sign git-tag v3.1.0-dev.7 20:47:51 Signing Git tag with Sigul... 20:47:51 Signing v3.1.0-dev.7 [Pipeline] echo 20:47:51 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:47:52 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:47:52 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:47:52 $ docker stop --time=1 b8a1ec1568c668fa025c1ac2f16af5caf79fe3f2b2a8552e31606e89d8273d2f 20:47:53 $ docker rm -f --volumes b8a1ec1568c668fa025c1ac2f16af5caf79fe3f2b2a8552e31606e89d8273d2f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:47:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:47:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:47:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:47:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:47:54 prd-ubuntu20.04-docker-8c-8g-4933 does not seem to be running inside a container 20:47:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:47:55 $ docker top 435a23fe66134a176851efbd3e36c39d21364ccec19770197261b2fac6db68d3 -eo pid,comm 20:47:55 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:47:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:47:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:47:55 [ssh-agent] Looking for ssh-agent implementation... 20:47:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:47:56 $ docker exec 435a23fe66134a176851efbd3e36c39d21364ccec19770197261b2fac6db68d3 ssh-agent 20:47:56 SSH_AUTH_SOCK=/tmp/ssh-Lrdq4C5qqk8d/agent.14 20:47:56 SSH_AGENT_PID=20 20:47:56 Running ssh-add (command line suppressed) 20:47:56 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10000324124800477557.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10000324124800477557.key) 20:47:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:47:56 + git semver bump pre 20:47:56 2023-08-30 20:47:56,829 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:47:56 2023-08-30 20:47:56,829 [bump_version] DEBUG bumping version:3.1.0-dev.7 on axis:pre with prefix:dev 20:47:56 2023-08-30 20:47:56,829 [bump_version] DEBUG bumped version:3.1.0-dev.8 20:47:56 2023-08-30 20:47:56,829 [write_version] DEBUG write version:3.1.0-dev.8 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 20:47:56 2023-08-30 20:47:56,829 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:47:56 2023-08-30 20:47:56,829 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:47:56 2023-08-30 20:47:56,831 [execute] INFO git cat-file --batch-check 20:47:56 2023-08-30 20:47:56,831 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:47:56 2023-08-30 20:47:56,837 [execute] INFO git cat-file --batch 20:47:56 2023-08-30 20:47:56,837 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:47:56 2023-08-30 20:47:56,842 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:47:56 3.1.0-dev.8 [Pipeline] } 20:47:57 $ docker exec --env ******** --env ******** 435a23fe66134a176851efbd3e36c39d21364ccec19770197261b2fac6db68d3 ssh-agent -k 20:47:57 unset SSH_AUTH_SOCK; 20:47:57 unset SSH_AGENT_PID; 20:47:57 echo Agent pid 20 killed; 20:47:57 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:47:57 + git semver [Pipeline] } 20:47:58 $ docker stop --time=1 435a23fe66134a176851efbd3e36c39d21364ccec19770197261b2fac6db68d3 20:47:59 $ docker rm -f --volumes 435a23fe66134a176851efbd3e36c39d21364ccec19770197261b2fac6db68d3 [Pipeline] // withDockerContainer [Pipeline] sh 20:47:59 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:47:59 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:48:00 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:48:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:48:00 prd-ubuntu20.04-docker-8c-8g-4933 does not seem to be running inside a container 20:48:00 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:48:00 $ docker top cfb31747b2135e5780ba25d589e2e8b129954743df79f6238b4d94469230f64f -eo pid,comm 20:48:00 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:48:00 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:48:00 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:48:00 [ssh-agent] Looking for ssh-agent implementation... 20:48:00 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:48:00 $ docker exec cfb31747b2135e5780ba25d589e2e8b129954743df79f6238b4d94469230f64f ssh-agent 20:48:00 SSH_AUTH_SOCK=/tmp/ssh-nMTKj6dojT96/agent.32 20:48:00 SSH_AGENT_PID=38 20:48:00 Running ssh-add (command line suppressed) 20:48:00 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4659859696990259637.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4659859696990259637.key) 20:48:00 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:48:01 + git semver push 20:48:01 2023-08-30 20:48:01,412 [run_push] DEBUG push 20:48:01 2023-08-30 20:48:01,412 [execute] INFO git cat-file --batch-check 20:48:01 2023-08-30 20:48:01,412 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:48:01 2023-08-30 20:48:01,415 [execute] INFO git rev-list eb728bacbdfed1ebe22cf4dfeaf3f9c22083749c -- 20:48:01 2023-08-30 20:48:01,416 [execute] DEBUG Popen(['git', 'rev-list', 'eb728bacbdfed1ebe22cf4dfeaf3f9c22083749c', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 20:48:01 2023-08-30 20:48:01,423 [execute] INFO git fetch -v origin 20:48:01 2023-08-30 20:48:01,424 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 20:48:02 2023-08-30 20:48:01,904 [run_push] DEBUG no remote changes detected 20:48:02 2023-08-30 20:48:01,905 [execute] INFO git push origin semver 20:48:02 2023-08-30 20:48:01,905 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 20:48:02 2023-08-30 20:48:02,711 [run_push] DEBUG push all version tags 20:48:02 2023-08-30 20:48:02,712 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 20:48:02 2023-08-30 20:48:02,712 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 20:48:03 2023-08-30 20:48:03,533 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:48:03 3.1.0-dev.8 [Pipeline] } 20:48:03 $ docker exec --env ******** --env ******** cfb31747b2135e5780ba25d589e2e8b129954743df79f6238b4d94469230f64f ssh-agent -k 20:48:03 unset SSH_AUTH_SOCK; 20:48:03 unset SSH_AGENT_PID; 20:48:03 echo Agent pid 38 killed; 20:48:03 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:48:04 + git semver [Pipeline] } 20:48:04 $ docker stop --time=1 cfb31747b2135e5780ba25d589e2e8b129954743df79f6238b4d94469230f64f 20:48:06 $ docker rm -f --volumes cfb31747b2135e5780ba25d589e2e8b129954743df79f6238b4d94469230f64f [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:48:06 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 20:48:06 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 20:48:06 total 16 20:48:06 drwxr-xr-x 3 root root 4096 Aug 30 20:38 . 20:48:06 drwxrwxr-x 10 jenkins jenkins 4096 Aug 30 20:47 .. 20:48:06 drwxr-xr-x 2 root root 4096 Aug 30 20:38 cost 20:48:06 -rw-r--r-- 1 root root 86 Aug 30 20:38 cost.csv 20:48:06 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 20:48:06 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 20:48:06 total 16 20:48:06 drwxr-xr-x 3 jenkins jenkins 4096 Aug 30 20:38 . 20:48:06 drwxrwxr-x 10 jenkins jenkins 4096 Aug 30 20:47 .. 20:48:06 drwxr-xr-x 2 jenkins jenkins 4096 Aug 30 20:38 cost 20:48:06 -rw-r--r-- 1 jenkins jenkins 86 Aug 30 20:38 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:48:06 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:48:07 ---> package-listing.sh 20:48:07 ++ facter osfamily 20:48:07 ++ tr '[:upper:]' '[:lower:]' 20:48:08 + OS_FAMILY=debian 20:48:08 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 20:48:08 + START_PACKAGES=/tmp/packages_start.txt 20:48:08 + END_PACKAGES=/tmp/packages_end.txt 20:48:08 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:48:08 + PACKAGES=/tmp/packages_start.txt 20:48:08 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 20:48:08 + PACKAGES=/tmp/packages_end.txt 20:48:08 + case "${OS_FAMILY}" in 20:48:08 + dpkg -l 20:48:08 + grep '^ii' 20:48:08 + '[' -f /tmp/packages_start.txt ']' 20:48:08 + '[' -f /tmp/packages_end.txt ']' 20:48:08 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:48:08 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 20:48:08 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 20:48:08 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 20:48:08 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:48:08 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:48:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:48:08 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:48:08 prd-ubuntu20.04-docker-8c-8g-4933 does not seem to be running inside a container 20:48:09 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:48:09 $ docker top 2caaf5a7c883cffa52060fc8a29a13e0f85a1c6a303a857623dfdd51569bf7f7 -eo pid,comm [Pipeline] { [Pipeline] sh 20:48:09 + touch /tmp/pre-build-complete [Pipeline] sh 20:48:09 + mkdir -p /var/log/sysstat [Pipeline] sh 20:48:10 + ls /var/log/sa-host 20:48:10 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:48:10 provisioning config files... 20:48:10 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11435627834044886499tmp [Pipeline] { [Pipeline] echo 20:48:10 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:48:10 ---> create-netrc.sh [Pipeline] } 20:48:10 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:48:10 ---> python-tools-install.sh [Pipeline] echo 20:48:10 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:48:11 ---> sudo-logs.sh 20:48:11 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:48:11 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:48:11 ---> job-cost.sh 20:48:11 lf-activate-venv: SKIPPING 20:48:11 DEBUG: total: 0.2199999988079071 20:48:11 INFO: Retrieving Stack Cost... 20:48:11 INFO: Retrieving Pricing Info for: v3-standard-8 20:48:12 INFO: Archiving Costs [Pipeline] echo 20:48:12 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:48:12 ---> logs-deploy.sh 20:48:12 lf-activate-venv: SKIPPING 20:48:12 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/127 20:48:12 INFO: archiving workspace using pattern(s): 20:48:13 Archives upload complete. 20:48:13 INFO: archiving logs to Nexus