Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 758b2bed15a3d13a7bac802538a1e1661ebd32c9 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-ssh14774258305350605565.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 Resolving tag commit... (remote references may be a lightweight tag or an annotated tag) > git rev-parse --resolve-git-dir /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f/.git # timeout=10 Setting origin to git@github.com:edgexfoundry/edgex-global-pipelines.git > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching origin... Fetching upstream changes from origin > git --version # timeout=10 > git --version # 'git version 2.16.6' > git config --get remote.origin.url # timeout=10 using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/caches/git-95b00d7e16de695d9f4849f078f37a0f@tmp/jenkins-gitclient-ssh7627912510640037727.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision e143027787c0ac28563f7e92b6cefc600d3b7107 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh12335472362838005532.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision e143027787c0ac28563f7e92b6cefc600d3b7107 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f e143027787c0ac28563f7e92b6cefc600d3b7107 # timeout=10 Commit message: "Merge pull request #442 from ernestojeda/golang-1.21" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:edgexfoundry/edgex-global-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. Loading library lf-pipelines@master Attempting to resolve master from remote references... > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /tmp/jenkins-gitclient-ssh13503297015955316882.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-ssh4330245791077397519.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-9952 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 758b2bed15a3d13a7bac802538a1e1661ebd32c9 (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 758b2bed15a3d13a7bac802538a1e1661ebd32c9 # timeout=10 Commit message: "feat!: Remove snap packaging (#353)" > git rev-list --no-walk 8f56d306fd858ae3d3367190115f2cbc940f5ff8 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:05:05 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:05:06 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:05:06 ========================================================= 16:05:06 EdgeX Global Pipelines Version Info 16:05:06 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:05:06 ------------------- 16:05:06 stable info: 16:05:06 ------------------- 16:05:06 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:05:06 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 16:05:06 Message: update stable to v1.0.254 16:05:07 ------------------- 16:05:07 experimental info: 16:05:07 ------------------- 16:05:07 Commited By: **** collab-it+edgex@linuxfoundation.org 16:05:07 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 16:05:07 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:05:07 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 16:05:07 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 16:05:07 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:05:07 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:05:07 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:05:07 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 16:05:07 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:05:07 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:05:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:05:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:05:07 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:05:07 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 16:05:07 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:05:07 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:05:07 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:05:07 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:05:07 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:05:07 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:05:07 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:05:07 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:05:07 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:05:07 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:05:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:05:07 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:05:07 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:05:07 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:05:07 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:05:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:05:07 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:05:07 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:05:07 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 758b2bed15a3d13a7bac802538a1e1661ebd32c9 [Pipeline] echo 16:05:07 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 758b2be [Pipeline] echo 16:05:07 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:05:08 provisioning config files... 16:05:08 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3691033292081980403tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:05:08 ---> docker-login.sh 16:05:08 nexus3.edgexfoundry.org:10001 16:05:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:08 Configure a credential helper to remove this warning. See 16:05:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:08 16:05:08 Login Succeeded 16:05:08 nexus3.edgexfoundry.org:10002 16:05:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:08 Configure a credential helper to remove this warning. See 16:05:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:08 16:05:08 Login Succeeded 16:05:08 nexus3.edgexfoundry.org:10003 16:05:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:08 Configure a credential helper to remove this warning. See 16:05:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:08 16:05:08 Login Succeeded 16:05:08 nexus3.edgexfoundry.org:10004 16:05:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:08 Configure a credential helper to remove this warning. See 16:05:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:08 16:05:08 Login Succeeded 16:05:08 docker.io 16:05:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:09 Configure a credential helper to remove this warning. See 16:05:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:09 16:05:09 Login Succeeded 16:05:09 ---> docker-login.sh ends [Pipeline] } 16:05:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:05:09 + git rev-list -1 --merges 758b2bed15a3d13a7bac802538a1e1661ebd32c9~1..758b2bed15a3d13a7bac802538a1e1661ebd32c9 [Pipeline] echo 16:05:09 -----------> git rev-list -1 --merges 758b2bed15a3d13a7bac802538a1e1661ebd32c9~1..758b2bed15a3d13a7bac802538a1e1661ebd32c9 758b2bed15a3d13a7bac802538a1e1661ebd32c9 [false] [Pipeline] sh 16:05:10 + git log --format=format:%s -1 758b2bed15a3d13a7bac802538a1e1661ebd32c9 [Pipeline] echo 16:05:10 ========================================================= 16:05:10 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:05:10 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:05:10 + git log --format=format:%s -1 758b2bed15a3d13a7bac802538a1e1661ebd32c9 [Pipeline] echo 16:05:10 [semverPrep] GIT_COMMIT: 758b2bed15a3d13a7bac802538a1e1661ebd32c9, Commit Message: feat!: Remove snap packaging (#353) [Pipeline] echo 16:05:10 [semverPrep] This is not a build commit. [Pipeline] sh 16:05:10 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:05:10 + grep -v github /etc/ssh/ssh_known_hosts 16:05:10 + [ -e /tmp/ssh_known_hosts ] 16:05:10 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:05:10 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:05:10 + sudo tee -a /etc/ssh/ssh_known_hosts 16:05:10 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:11 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:05:11 16:05:11 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:11 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:05:11 0.1.4: Pulling from edgex-devops/py-git-semver 16:05:11 b85a868b505f: Pulling fs layer 16:05:11 e2be974225ed: Pulling fs layer 16:05:11 339a4e72a1f5: Pulling fs layer 16:05:11 988bab9f4d93: Pulling fs layer 16:05:11 1469e6f7b9e6: Pulling fs layer 16:05:11 eaf3925da568: Pulling fs layer 16:05:11 988bab9f4d93: Waiting 16:05:11 1469e6f7b9e6: Waiting 16:05:11 bab4dde63d76: Pulling fs layer 16:05:11 eaf3925da568: Waiting 16:05:11 bde34c3a00c8: Pulling fs layer 16:05:11 b352a97aabf1: Pulling fs layer 16:05:11 4872d77fe225: Pulling fs layer 16:05:11 bab4dde63d76: Waiting 16:05:11 5851b861e8e6: Pulling fs layer 16:05:11 bde34c3a00c8: Waiting 16:05:11 b352a97aabf1: Waiting 16:05:11 4872d77fe225: Waiting 16:05:11 5851b861e8e6: Waiting 16:05:11 e2be974225ed: Verifying Checksum 16:05:11 e2be974225ed: Download complete 16:05:11 988bab9f4d93: Download complete 16:05:11 339a4e72a1f5: Verifying Checksum 16:05:11 339a4e72a1f5: Download complete 16:05:11 1469e6f7b9e6: Verifying Checksum 16:05:11 1469e6f7b9e6: Download complete 16:05:11 eaf3925da568: Verifying Checksum 16:05:11 eaf3925da568: Download complete 16:05:13 bde34c3a00c8: Download complete 16:05:13 b352a97aabf1: Download complete 16:05:13 4872d77fe225: Verifying Checksum 16:05:13 4872d77fe225: Download complete 16:05:13 5851b861e8e6: Verifying Checksum 16:05:13 5851b861e8e6: Download complete 16:05:13 b85a868b505f: Verifying Checksum 16:05:13 b85a868b505f: Download complete 16:05:13 b85a868b505f: Pull complete 16:05:13 e2be974225ed: Pull complete 16:05:13 339a4e72a1f5: Pull complete 16:05:13 988bab9f4d93: Pull complete 16:05:14 1469e6f7b9e6: Pull complete 16:05:14 bab4dde63d76: Verifying Checksum 16:05:14 bab4dde63d76: Download complete 16:05:14 eaf3925da568: Pull complete 16:05:16 bab4dde63d76: Pull complete 16:05:16 bde34c3a00c8: Pull complete 16:05:16 b352a97aabf1: Pull complete 16:05:16 4872d77fe225: Pull complete 16:05:16 5851b861e8e6: Pull complete 16:05:16 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:05:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:05:16 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:05:16 prd-ubuntu20.04-docker-8c-8g-9952 does not seem to be running inside a container 16:05:16 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:05:20 $ docker top 9093052482dbf2c6a6195f52db7ed7619c70a6db61858822964ed33eb79c3b8b -eo pid,comm 16:05:20 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). 16:05:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:05:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:05:20 [ssh-agent] Looking for ssh-agent implementation... 16:05:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:05:20 $ docker exec 9093052482dbf2c6a6195f52db7ed7619c70a6db61858822964ed33eb79c3b8b ssh-agent 16:05:20 SSH_AUTH_SOCK=/tmp/ssh-PDcRGJIpw45h/agent.33 16:05:20 SSH_AGENT_PID=39 16:05:20 Running ssh-add (command line suppressed) 16:05:20 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15599502509856917856.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15599502509856917856.key) 16:05:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:05:21 + git tag --points-at HEAD [Pipeline] } 16:05:21 $ docker exec --env ******** --env ******** 9093052482dbf2c6a6195f52db7ed7619c70a6db61858822964ed33eb79c3b8b ssh-agent -k 16:05:21 unset SSH_AUTH_SOCK; 16:05:21 unset SSH_AGENT_PID; 16:05:21 echo Agent pid 39 killed; 16:05:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:05:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:05:21 [ssh-agent] Looking for ssh-agent implementation... 16:05:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:05:21 $ docker exec 9093052482dbf2c6a6195f52db7ed7619c70a6db61858822964ed33eb79c3b8b ssh-agent 16:05:21 SSH_AUTH_SOCK=/tmp/ssh-bOPv2OdZLvdf/agent.71 16:05:21 SSH_AGENT_PID=77 16:05:21 Running ssh-add (command line suppressed) 16:05:21 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14443994833680409331.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14443994833680409331.key) 16:05:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:05:21 + git semver init 16:05:22 2023-10-24 16:05:22,009 [run_init] DEBUG init version:0.0.0 force:False 16:05:22 2023-10-24 16:05:22,009 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 16:05:22 2023-10-24 16:05:22,010 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 16:05:22 2023-10-24 16:05:22,010 [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) 16:05:23 2023-10-24 16:05:23,163 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 16:05:23 2023-10-24 16:05:23,163 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 16:05:23 2023-10-24 16:05:23,163 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:05:23 2023-10-24 16:05:23,163 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:05:23 3.1.0-dev.23 [Pipeline] } 16:05:23 $ docker exec --env ******** --env ******** 9093052482dbf2c6a6195f52db7ed7619c70a6db61858822964ed33eb79c3b8b ssh-agent -k 16:05:23 unset SSH_AUTH_SOCK; 16:05:23 unset SSH_AGENT_PID; 16:05:23 echo Agent pid 77 killed; 16:05:23 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:05:23 + git semver [Pipeline] } 16:05:24 $ docker stop --time=1 9093052482dbf2c6a6195f52db7ed7619c70a6db61858822964ed33eb79c3b8b 16:05:25 $ docker rm -f --volumes 9093052482dbf2c6a6195f52db7ed7619c70a6db61858822964ed33eb79c3b8b [Pipeline] // withDockerContainer [Pipeline] sh 16:05:25 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:05:25 Stashed 1 file(s) [Pipeline] echo 16:05:25 [edgeXSemver]: initialized semver on version 3.1.0-dev.23 [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 16:05:26 provisioning config files... 16:05:26 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12980943083448178453tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:05:26 ---> docker-login.sh 16:05:26 nexus3.edgexfoundry.org:10001 16:05:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:26 Configure a credential helper to remove this warning. See 16:05:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:26 16:05:26 Login Succeeded 16:05:26 nexus3.edgexfoundry.org:10002 16:05:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:26 Configure a credential helper to remove this warning. See 16:05:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:26 16:05:26 Login Succeeded 16:05:26 nexus3.edgexfoundry.org:10003 16:05:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:26 Configure a credential helper to remove this warning. See 16:05:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:26 16:05:26 Login Succeeded 16:05:26 nexus3.edgexfoundry.org:10004 16:05:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:26 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:26 Configure a credential helper to remove this warning. See 16:05:26 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:26 16:05:26 Login Succeeded 16:05:26 docker.io 16:05:26 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:05:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:05:27 Configure a credential helper to remove this warning. See 16:05:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:05:27 16:05:27 Login Succeeded 16:05:27 ---> docker-login.sh ends [Pipeline] } 16:05:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:05:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:05:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:05:27 ========================================================= 16:05:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 16:05:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:05:27 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 16:05:27 Sending build context to Docker daemon 10.93MB 16:05:27 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 16:05:27 Step 2/12 : FROM ${BASE} AS builder 16:05:27 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 16:05:27 7264a8db6415: Pulling fs layer 16:05:27 c4d48a809fc2: Pulling fs layer 16:05:27 4f1c88b9dad5: Pulling fs layer 16:05:27 ad3a456e5733: Pulling fs layer 16:05:27 33e27b845d1e: Pulling fs layer 16:05:27 c68163c4e522: Pulling fs layer 16:05:27 50da416c3ac9: Pulling fs layer 16:05:27 23d2d4c4bb30: Pulling fs layer 16:05:27 ad3a456e5733: Waiting 16:05:27 33e27b845d1e: Waiting 16:05:27 50da416c3ac9: Waiting 16:05:27 23d2d4c4bb30: Waiting 16:05:27 c68163c4e522: Waiting 16:05:27 c4d48a809fc2: Download complete 16:05:27 ad3a456e5733: Download complete 16:05:27 33e27b845d1e: Download complete 16:05:27 7264a8db6415: Verifying Checksum 16:05:27 7264a8db6415: Download complete 16:05:27 c68163c4e522: Verifying Checksum 16:05:27 c68163c4e522: Download complete 16:05:27 7264a8db6415: Pull complete 16:05:28 23d2d4c4bb30: Verifying Checksum 16:05:28 23d2d4c4bb30: Download complete 16:05:28 c4d48a809fc2: Pull complete 16:05:28 4f1c88b9dad5: Download complete 16:05:28 50da416c3ac9: Verifying Checksum 16:05:28 50da416c3ac9: Download complete 16:05:31 4f1c88b9dad5: Pull complete 16:05:31 ad3a456e5733: Pull complete 16:05:31 33e27b845d1e: Pull complete 16:05:31 c68163c4e522: Pull complete 16:05:33 50da416c3ac9: Pull complete 16:05:33 23d2d4c4bb30: Pull complete 16:05:33 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 16:05:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 16:05:33 ---> 0786185ac409 16:05:33 Step 3/12 : ARG ADD_BUILD_TAGS="" 16:05:38 ---> Running in 43f68562c75b 16:05:38 Removing intermediate container 43f68562c75b 16:05:38 ---> 3eb8f8c7b4ba 16:05:38 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:05:38 ---> Running in 839f58baa856 16:05:38 Removing intermediate container 839f58baa856 16:05:38 ---> fcde085af581 16:05:38 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:05:38 ---> Running in e5fc879ce292 16:05:38 Removing intermediate container e5fc879ce292 16:05:38 ---> ccb465589347 16:05:38 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 16:05:38 ---> Running in e2334fc65b84 16:05:38 Removing intermediate container e2334fc65b84 16:05:38 ---> 0bbd4a13f799 16:05:38 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:05:38 ---> Running in fe0103bb6c10 16:05:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 16:05:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 16:05:38 (1/4) Installing openssh-keygen (9.3_p2-r0) 16:05:38 (2/4) Installing libedit (20221030.3.1-r1) 16:05:38 (3/4) Installing openssh-client-common (9.3_p2-r0) 16:05:38 (4/4) Installing openssh-client-default (9.3_p2-r0) 16:05:38 Executing busybox-1.36.1-r2.trigger 16:05:38 OK: 268 MiB in 56 packages 16:05:38 Removing intermediate container fe0103bb6c10 16:05:38 ---> db4149070652 16:05:38 Step 8/12 : WORKDIR /device-rest-go 16:05:39 ---> Running in 366d895b2aa6 16:05:39 Removing intermediate container 366d895b2aa6 16:05:39 ---> 933e51bff90d 16:05:39 Step 9/12 : COPY go.mod vendor* ./ 16:05:39 ---> e61e05419620 16:05:39 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:05:39 ---> Running in 20ddcbcf1207 16:05:41 Still waiting to schedule task 16:05:41 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 16:06:35 Removing intermediate container 20ddcbcf1207 16:06:35 ---> d0f6ef65ed39 16:06:35 Step 11/12 : COPY . . 16:06:35 ---> 3d93de6f813d 16:06:35 Step 12/12 : RUN $MAKE 16:06:35 ---> Running in 1827ee49a4e0 16:06:35 noop 16:06:35 Removing intermediate container 1827ee49a4e0 16:06:35 ---> 4b11361de319 16:06:35 Successfully built 4b11361de319 16:06:35 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:35 + docker inspect -f . ci-base-image-x86_64 16:06:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:06:35 prd-ubuntu20.04-docker-8c-8g-9952 does not seem to be running inside a container 16:06: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 ******** ci-base-image-x86_64 cat 16:06:36 $ docker top 92a7874574e3a82dae208390e012c7fb8cd077d3c40d1ff23c99feb6f65ed07a -eo pid,comm [Pipeline] { [Pipeline] sh 16:06:36 + go version 16:06:36 go version go1.21.0 linux/amd64 [Pipeline] } 16:06:36 $ docker stop --time=1 92a7874574e3a82dae208390e012c7fb8cd077d3c40d1ff23c99feb6f65ed07a 16:06:37 $ docker rm -f --volumes 92a7874574e3a82dae208390e012c7fb8cd077d3c40d1ff23c99feb6f65ed07a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:06:38 + docker inspect -f . ci-base-image-x86_64 16:06:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:06:38 prd-ubuntu20.04-docker-8c-8g-9952 does not seem to be running inside a container 16:06:38 $ 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 ******** ci-base-image-x86_64 cat 16:06:38 $ docker top 457dedc899a19c397dceb16c349a19b503b48f659acf62053b083979bfc5d459 -eo pid,comm [Pipeline] { [Pipeline] sh 16:06:38 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 16:06:39 + make test 16:06:39 go test ./... -coverprofile=coverage.out ./... 16:06:40 ? github.com/edgexfoundry/device-rest-go [no test files] 16:06:50 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 16:06:50 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 33.2% of statements 16:06:55 go vet ./... 16:06:58 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:06:58 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:06:58 ./bin/test-attribution-txt.sh [Pipeline] echo 16:06:58 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:06:58 $ docker stop --time=1 457dedc899a19c397dceb16c349a19b503b48f659acf62053b083979bfc5d459 16:07:01 $ docker rm -f --volumes 457dedc899a19c397dceb16c349a19b503b48f659acf62053b083979bfc5d459 [Pipeline] // withDockerContainer [Pipeline] sh 16:07:02 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:07:02 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:07:02 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:07:02 + ls -al . 16:07:02 total 184 16:07:02 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 16:06 . 16:07:02 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 16:05 .. 16:07:02 -rw-rw-r-- 1 jenkins jenkins 151 Oct 24 16:05 .dockerignore 16:07:02 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 16:06 .git 16:07:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 16:05 .github 16:07:02 -rw-rw-r-- 1 jenkins jenkins 264 Oct 24 16:05 .gitignore 16:07:02 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 16:05 .golangci.yml 16:07:02 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 16:05 .semver 16:07:02 -rw-rw-r-- 1 jenkins jenkins 10300 Oct 24 16:05 Attribution.txt 16:07:02 -rw-rw-r-- 1 jenkins jenkins 15709 Oct 24 16:05 CHANGELOG.md 16:07:02 -rw-rw-r-- 1 jenkins jenkins 1578 Oct 24 16:05 Dockerfile 16:07:02 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 16:05 GOVERNANCE.md 16:07:02 -rw-rw-r-- 1 jenkins jenkins 680 Oct 24 16:05 Jenkinsfile 16:07:02 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 16:05 LICENSE 16:07:02 -rw-rw-r-- 1 jenkins jenkins 2010 Oct 24 16:05 Makefile 16:07:02 -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 16:05 OWNERS.md 16:07:02 -rw-rw-r-- 1 jenkins jenkins 15738 Oct 24 16:05 README.md 16:07:02 -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 16:05 VERSION 16:07:02 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 16:05 bin 16:07:02 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 16:05 cmd 16:07:02 -rw-r--r-- 1 jenkins jenkins 14499 Oct 24 16:06 coverage.out 16:07:02 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 16:05 driver 16:07:02 -rw-rw-r-- 1 jenkins jenkins 3891 Oct 24 16:05 go.mod 16:07:02 -rw-rw-r-- 1 jenkins jenkins 35094 Oct 24 16:05 go.sum 16:07:02 -rw-rw-r-- 1 jenkins jenkins 713 Oct 24 16:05 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:03 + 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=758b2bed15a3d13a7bac802538a1e1661ebd32c9 --label arch=amd64 --label version=3.1.0-dev.23 . 16:07:03 Sending build context to Docker daemon 10.95MB 16:07:03 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 16:07:03 Step 2/25 : FROM ${BASE} AS builder 16:07:03 ---> 4b11361de319 16:07:03 Step 3/25 : ARG ADD_BUILD_TAGS="" 16:07:03 ---> Running in 2752aae327ee 16:07:03 Removing intermediate container 2752aae327ee 16:07:03 ---> 3dec0a9e1f38 16:07:03 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:07:03 ---> Running in 59a319833dce 16:07:03 Removing intermediate container 59a319833dce 16:07:03 ---> a918713abb9b 16:07:03 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:07:03 ---> Running in fa7da7bf485c 16:07:03 Removing intermediate container fa7da7bf485c 16:07:03 ---> 9db8838f9548 16:07:03 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 16:07:03 ---> Running in 1bec2680b37f 16:07:03 Removing intermediate container 1bec2680b37f 16:07:03 ---> 2f5a663b260e 16:07:03 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:07:03 ---> Running in afe503e4d21a 16:07:03 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 16:07:04 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 16:07:04 OK: 268 MiB in 56 packages 16:07:04 Removing intermediate container afe503e4d21a 16:07:04 ---> 34f1ed5ea1ef 16:07:04 Step 8/25 : WORKDIR /device-rest-go 16:07:04 ---> Running in 226e0688c01c 16:07:04 Removing intermediate container 226e0688c01c 16:07:04 ---> c8b73eb1ba24 16:07:04 Step 9/25 : COPY go.mod vendor* ./ 16:07:05 ---> 58e1c8f940da 16:07:05 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:07:05 ---> Running in 80741e226cb1 16:07:05 Removing intermediate container 80741e226cb1 16:07:05 ---> 57315ed69466 16:07:05 Step 11/25 : COPY . . 16:07:06 ---> 5b19796a1e7e 16:07:06 Step 12/25 : RUN $MAKE 16:07:06 ---> Running in 66cedf8750c0 16:07:06 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.23 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-rest ./cmd 16:07:24 Removing intermediate container 66cedf8750c0 16:07:24 ---> a7b120ba52eb 16:07:24 Step 13/25 : FROM alpine:3.18 16:07:24 3.18: Pulling from library/alpine 16:07:24 96526aa774ef: Pulling fs layer 16:07:24 96526aa774ef: Verifying Checksum 16:07:24 96526aa774ef: Download complete 16:07:24 96526aa774ef: Pull complete 16:07:24 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 16:07:24 Status: Downloaded newer image for alpine:3.18 16:07:24 ---> 8ca4688f4f35 16:07:24 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:07:24 ---> Running in e144933cc648 16:07:24 Removing intermediate container e144933cc648 16:07:24 ---> 92695ddfcc81 16:07:24 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 16:07:25 ---> Running in 1c4261b4ca82 16:07:25 Removing intermediate container 1c4261b4ca82 16:07:25 ---> b0cc6207d863 16:07:25 Step 16/25 : RUN apk add --update --no-cache dumb-init 16:07:25 ---> Running in c705d870bf1c 16:07:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 16:07:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 16:07:25 (1/1) Installing dumb-init (1.2.5-r2) 16:07:25 Executing busybox-1.36.1-r2.trigger 16:07:25 OK: 7 MiB in 16 packages 16:07:25 Removing intermediate container c705d870bf1c 16:07:25 ---> 8c9f0e44edaa 16:07:25 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 16:07:26 ---> e2ad3c5f715c 16:07:26 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 16:07:26 ---> 6d26acd5116f 16:07:26 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 16:07:27 ---> b1f852132498 16:07:27 Step 20/25 : EXPOSE 59986 16:07:27 ---> Running in 3165988427dc 16:07:27 Removing intermediate container 3165988427dc 16:07:27 ---> b8bc3ef9adda 16:07:27 Step 21/25 : ENTRYPOINT ["/device-rest"] 16:07:27 ---> Running in e376446bc60d 16:07:27 Removing intermediate container e376446bc60d 16:07:27 ---> b7ef6c118393 16:07:27 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 16:07:27 ---> Running in 3191318ee004 16:07:27 Removing intermediate container 3191318ee004 16:07:27 ---> dded606ccd46 16:07:27 Step 23/25 : LABEL arch=amd64 16:07:27 ---> Running in eda116fa3a1f 16:07:27 Removing intermediate container eda116fa3a1f 16:07:27 ---> d0b0be17d873 16:07:27 Step 24/25 : LABEL git_sha=758b2bed15a3d13a7bac802538a1e1661ebd32c9 16:07:27 ---> Running in ca4df754efae 16:07:27 Removing intermediate container ca4df754efae 16:07:27 ---> eeb7d0d0cba6 16:07:27 Step 25/25 : LABEL version=3.1.0-dev.23 16:07:27 ---> Running in 25ec0b3b5623 16:07:27 Removing intermediate container 25ec0b3b5623 16:07:27 ---> 4752e28ed179 16:07:27 [Warning] One or more build-args [ARCH] were not consumed 16:07:27 Successfully built 4752e28ed179 16:07:27 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:07:27 provisioning config files... 16:07:27 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5687837010972890008tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:07:28 ---> docker-login.sh 16:07:28 nexus3.edgexfoundry.org:10001 16:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:28 Configure a credential helper to remove this warning. See 16:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:28 16:07:28 Login Succeeded 16:07:28 nexus3.edgexfoundry.org:10002 16:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:28 Configure a credential helper to remove this warning. See 16:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:28 16:07:28 Login Succeeded 16:07:28 nexus3.edgexfoundry.org:10003 16:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:28 Configure a credential helper to remove this warning. See 16:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:28 16:07:28 Login Succeeded 16:07:28 nexus3.edgexfoundry.org:10004 16:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:28 Configure a credential helper to remove this warning. See 16:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:28 16:07:28 Login Succeeded 16:07:28 docker.io 16:07:28 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:07:28 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:07:28 Configure a credential helper to remove this warning. See 16:07:28 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:07:28 16:07:28 Login Succeeded 16:07:28 ---> docker-login.sh ends [Pipeline] } 16:07:28 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:07:28 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:07:28 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 16:07:28 758b2bed15a3d13a7bac802538a1e1661ebd32c9 16:07:28 latest 16:07:28 3.1.0-dev.23 16:07:28 758b2bed15a3d13a7bac802538a1e1661ebd32c9-3.1.0-dev.23 16:07:28 main 16:07:28 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:28 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:758b2bed15a3d13a7bac802538a1e1661ebd32c9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:29 + docker push nexus3.edgexfoundry.org:10004/device-rest:758b2bed15a3d13a7bac802538a1e1661ebd32c9 16:07:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 16:07:29 d926c574eee1: Preparing 16:07:29 d73d06f9812b: Preparing 16:07:29 9bb270cc1872: Preparing 16:07:29 04f9a6c4754b: Preparing 16:07:29 cc2447e1835a: Preparing 16:07:29 cc2447e1835a: Layer already exists 16:07:29 d926c574eee1: Pushed 16:07:29 d73d06f9812b: Pushed 16:07:29 04f9a6c4754b: Pushed 16:07:31 9bb270cc1872: Pushed 16:07:31 758b2bed15a3d13a7bac802538a1e1661ebd32c9: digest: sha256:aadeeac779f04dbafa5bbe08634d8461d3263c2fb70f5e767b589d303362a111 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:32 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:32 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 16:07:32 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 16:07:32 d926c574eee1: Preparing 16:07:32 d73d06f9812b: Preparing 16:07:32 9bb270cc1872: Preparing 16:07:32 04f9a6c4754b: Preparing 16:07:32 cc2447e1835a: Preparing 16:07:32 d73d06f9812b: Layer already exists 16:07:32 cc2447e1835a: Layer already exists 16:07:32 9bb270cc1872: Layer already exists 16:07:32 d926c574eee1: Layer already exists 16:07:32 04f9a6c4754b: Layer already exists 16:07:32 latest: digest: sha256:aadeeac779f04dbafa5bbe08634d8461d3263c2fb70f5e767b589d303362a111 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:32 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:33 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.23 16:07:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 16:07:33 d926c574eee1: Preparing 16:07:33 d73d06f9812b: Preparing 16:07:33 9bb270cc1872: Preparing 16:07:33 04f9a6c4754b: Preparing 16:07:33 cc2447e1835a: Preparing 16:07:33 d926c574eee1: Layer already exists 16:07:33 04f9a6c4754b: Layer already exists 16:07:33 cc2447e1835a: Layer already exists 16:07:33 9bb270cc1872: Layer already exists 16:07:33 d73d06f9812b: Layer already exists 16:07:33 3.1.0-dev.23: digest: sha256:aadeeac779f04dbafa5bbe08634d8461d3263c2fb70f5e767b589d303362a111 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:33 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:758b2bed15a3d13a7bac802538a1e1661ebd32c9-3.1.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:33 + docker push nexus3.edgexfoundry.org:10004/device-rest:758b2bed15a3d13a7bac802538a1e1661ebd32c9-3.1.0-dev.23 16:07:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 16:07:33 d926c574eee1: Preparing 16:07:33 d73d06f9812b: Preparing 16:07:33 9bb270cc1872: Preparing 16:07:33 04f9a6c4754b: Preparing 16:07:33 cc2447e1835a: Preparing 16:07:33 d73d06f9812b: Layer already exists 16:07:33 cc2447e1835a: Layer already exists 16:07:33 d926c574eee1: Layer already exists 16:07:33 9bb270cc1872: Layer already exists 16:07:33 04f9a6c4754b: Layer already exists 16:07:33 758b2bed15a3d13a7bac802538a1e1661ebd32c9-3.1.0-dev.23: digest: sha256:aadeeac779f04dbafa5bbe08634d8461d3263c2fb70f5e767b589d303362a111 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:33 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:34 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 16:07:34 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 16:07:34 d926c574eee1: Preparing 16:07:34 d73d06f9812b: Preparing 16:07:34 9bb270cc1872: Preparing 16:07:34 04f9a6c4754b: Preparing 16:07:34 cc2447e1835a: Preparing 16:07:34 d73d06f9812b: Layer already exists 16:07:34 04f9a6c4754b: Layer already exists 16:07:34 cc2447e1835a: Layer already exists 16:07:34 d926c574eee1: Layer already exists 16:07:34 9bb270cc1872: Layer already exists 16:07:34 main: digest: sha256:aadeeac779f04dbafa5bbe08634d8461d3263c2fb70f5e767b589d303362a111 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:07:34 ===================================================== [Pipeline] echo 16:07:34 taggedImages: 16:07:34 - nexus3.edgexfoundry.org:10004/device-rest:758b2bed15a3d13a7bac802538a1e1661ebd32c9 16:07:34 - nexus3.edgexfoundry.org:10004/device-rest:latest 16:07:34 - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.23 16:07:34 - nexus3.edgexfoundry.org:10004/device-rest:758b2bed15a3d13a7bac802538a1e1661ebd32c9-3.1.0-dev.23 16:07:34 - 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 16:07:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:07:34 16:07:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:07:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:07:34 latest: Pulling from edgex-lftools-log-publisher 16:07:34 5eb5b503b376: Pulling fs layer 16:07:34 5c69ac0246d0: Pulling fs layer 16:07:34 ec43610c2a17: Pulling fs layer 16:07:34 3a2ae6a8a46f: Pulling fs layer 16:07:34 33b1e0a273af: Pulling fs layer 16:07:34 5d3b04190fa2: Pulling fs layer 16:07:34 2f39f015ded8: Pulling fs layer 16:07:34 3a2ae6a8a46f: Waiting 16:07:34 2f39f015ded8: Waiting 16:07:34 5d3b04190fa2: Waiting 16:07:34 5c69ac0246d0: Verifying Checksum 16:07:34 5c69ac0246d0: Download complete 16:07:34 33b1e0a273af: Verifying Checksum 16:07:34 33b1e0a273af: Download complete 16:07:34 ec43610c2a17: Verifying Checksum 16:07:34 ec43610c2a17: Download complete 16:07:34 5d3b04190fa2: Verifying Checksum 16:07:34 5d3b04190fa2: Download complete 16:07:35 5eb5b503b376: Verifying Checksum 16:07:35 5eb5b503b376: Download complete 16:07:35 2f39f015ded8: Verifying Checksum 16:07:35 2f39f015ded8: Download complete 16:07:36 5eb5b503b376: Pull complete 16:07:36 5c69ac0246d0: Pull complete 16:07:36 ec43610c2a17: Pull complete 16:07:36 3a2ae6a8a46f: Pull complete 16:07:37 33b1e0a273af: Pull complete 16:07:37 5d3b04190fa2: Pull complete 16:07:41 2f39f015ded8: Pull complete 16:07:41 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:07:41 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:07:41 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:07:41 prd-ubuntu20.04-docker-8c-8g-9952 does not seem to be running inside a container 16:07:41 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:07:46 $ docker top a65aa6868f184619495bb8fe4dba117d460982dcc0bade24be82613650f779fc -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:07:46 ---> job-cost.sh 16:07:46 lf-activate-venv: SKIPPING 16:07:46 INFO: No Stack... 16:07:46 INFO: Retrieving Pricing Info for: v3-standard-8 16:07:46 INFO: Archiving Costs [Pipeline] sh 16:07:47 + + cut -d, -f6 16:07:47 cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [Pipeline] lock 16:07:47 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-143-stack-cost] 16:07:47 Resource [jenkins-edgexfoundry-device-rest-go-main-143-stack-cost] did not exist. Created. 16:07:47 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-143-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:07:47 + echo total: 0.2199999988079071 [Pipeline] stash 16:07:47 Stashed 1 file(s) [Pipeline] } 16:07:47 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-143-stack-cost] [Pipeline] // lock [Pipeline] } 16:07:47 $ docker stop --time=1 a65aa6868f184619495bb8fe4dba117d460982dcc0bade24be82613650f779fc 16:07:48 $ docker rm -f --volumes a65aa6868f184619495bb8fe4dba117d460982dcc0bade24be82613650f779fc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:08:09 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9956 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 16:08:09 Running in /w/workspace/device-rest-go/143 [Pipeline] { [Pipeline] checkout 16:08:09 The recommended git tool is: git 16:08:15 using credential edgex-jenkins-ssh 16:08:15 Cloning the remote Git repository 16:08:15 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 16:08:15 > git init /w/workspace/device-rest-go/143 # timeout=10 16:08:16 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:08:16 > git --version # timeout=10 16:08:16 > git --version # 'git version 2.25.1' 16:08:16 using GIT_SSH to set credentials SSH Credentials for GitHub 16:08:16 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:08:18 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:08:18 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:08:19 Avoid second fetch 16:08:19 Checking out Revision 758b2bed15a3d13a7bac802538a1e1661ebd32c9 (main) 16:08:20 Commit message: "feat!: Remove snap packaging (#353)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:08:19 > git config core.sparsecheckout # timeout=10 16:08:19 > git checkout -f 758b2bed15a3d13a7bac802538a1e1661ebd32c9 # timeout=10 16:08:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:08:21 % Total % Received % Xferd Average Speed Time Time Time Current 16:08:21 Dload Upload Total Spent Left Speed 16:08:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 157k 0 --:--:-- --:--:-- --:--:-- 159k [Pipeline] sh 16:08:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:08:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 16:08:22 + sudo tee /etc/docker/daemon.new 16:08:22 { 16:08:22 "registry-mirrors": [ 16:08:22 "https://nexus3.edgexfoundry.org:10001" 16:08:22 ], 16:08:22 "bip": "10.250.0.254/24", 16:08:22 "hosts": [ 16:08:22 "tcp://0.0.0.0:5555", 16:08:22 "unix:///var/run/docker.sock" 16:08:22 ], 16:08:22 "mtu": 1458, 16:08:22 "selinux-enabled": true, 16:08:22 "seccomp-profile": "/etc/docker/seccomp.json" 16:08:22 } [Pipeline] sh 16:08:22 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:08:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:08:41 provisioning config files... 16:08:41 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/143@tmp/config4853738981762143501tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:08:42 ---> docker-login.sh 16:08:42 nexus3.edgexfoundry.org:10001 16:08:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:08:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:08:42 Configure a credential helper to remove this warning. See 16:08:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:08:42 16:08:42 Login Succeeded 16:08:42 nexus3.edgexfoundry.org:10002 16:08:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:08:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:08:43 Configure a credential helper to remove this warning. See 16:08:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:08:43 16:08:43 Login Succeeded 16:08:43 nexus3.edgexfoundry.org:10003 16:08:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:08:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:08:43 Configure a credential helper to remove this warning. See 16:08:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:08:43 16:08:43 Login Succeeded 16:08:43 nexus3.edgexfoundry.org:10004 16:08:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:08:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:08:43 Configure a credential helper to remove this warning. See 16:08:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:08:43 16:08:43 Login Succeeded 16:08:43 docker.io 16:08:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:08:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:08:44 Configure a credential helper to remove this warning. See 16:08:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:08:44 16:08:44 Login Succeeded 16:08:44 ---> docker-login.sh ends [Pipeline] } 16:08:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:08:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:08:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:08:44 ========================================================= 16:08:44 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 16:08:44 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:08:45 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine --build-arg MAKE=echo noop --target=builder . 16:08:45 Sending build context to Docker daemon 122.4kB 16:08:45 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 16:08:45 Step 2/12 : FROM ${BASE} AS builder 16:08:45 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:08:45 9fda8d8052c6: Pulling fs layer 16:08:45 5d54e960e981: Pulling fs layer 16:08:45 c4a7e357bf2a: Pulling fs layer 16:08:45 f0e02332f6b5: Pulling fs layer 16:08:45 cefa15bbcfad: Pulling fs layer 16:08:45 17808c966233: Pulling fs layer 16:08:45 f4c1fc716caa: Pulling fs layer 16:08:45 cefa15bbcfad: Waiting 16:08:45 17808c966233: Waiting 16:08:45 f4c1fc716caa: Waiting 16:08:45 f0e02332f6b5: Waiting 16:08:45 5d54e960e981: Verifying Checksum 16:08:45 5d54e960e981: Download complete 16:08:45 f0e02332f6b5: Download complete 16:08:45 cefa15bbcfad: Download complete 16:08:45 9fda8d8052c6: Download complete 16:08:46 f4c1fc716caa: Verifying Checksum 16:08:46 f4c1fc716caa: Download complete 16:08:46 9fda8d8052c6: Pull complete 16:08:47 5d54e960e981: Pull complete 16:08:47 c4a7e357bf2a: Verifying Checksum 16:08:47 c4a7e357bf2a: Download complete 16:08:48 17808c966233: Download complete 16:09:01 c4a7e357bf2a: Pull complete 16:09:01 f0e02332f6b5: Pull complete 16:09:01 cefa15bbcfad: Pull complete 16:09:11 17808c966233: Pull complete 16:09:12 f4c1fc716caa: Pull complete 16:09:12 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 16:09:12 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 16:09:12 ---> ea914061e18c 16:09:12 Step 3/12 : ARG ADD_BUILD_TAGS="" 16:09:14 ---> Running in cf4d1fa5eb08 16:09:15 Removing intermediate container cf4d1fa5eb08 16:09:15 ---> c9f971727bce 16:09:15 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:09:15 ---> Running in b0594090b7b1 16:09:15 Removing intermediate container b0594090b7b1 16:09:15 ---> 84df081b07a2 16:09:15 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:09:15 ---> Running in 2c3567518f5a 16:09:16 Removing intermediate container 2c3567518f5a 16:09:16 ---> 8225d8621289 16:09:16 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 16:09:16 ---> Running in 64fb478aac84 16:09:16 Removing intermediate container 64fb478aac84 16:09:16 ---> 7f50f497d11a 16:09:16 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:09:16 ---> Running in 65f1f8d7c585 16:09:18 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 16:09:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 16:09:23 (1/4) Installing openssh-keygen (9.3_p2-r0) 16:09:23 (2/4) Installing libedit (20221030.3.1-r1) 16:09:23 (3/4) Installing openssh-client-common (9.3_p2-r0) 16:09:23 (4/4) Installing openssh-client-default (9.3_p2-r0) 16:09:23 Executing busybox-1.36.1-r2.trigger 16:09:23 OK: 270 MiB in 56 packages 16:09:24 Removing intermediate container 65f1f8d7c585 16:09:24 ---> 5b57c1fac150 16:09:24 Step 8/12 : WORKDIR /device-rest-go 16:09:24 ---> Running in 0b73e9eb00ef 16:09:25 Removing intermediate container 0b73e9eb00ef 16:09:25 ---> b4229ba307e4 16:09:25 Step 9/12 : COPY go.mod vendor* ./ 16:09:25 ---> 19ae7f5227c9 16:09:25 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:09:26 ---> Running in 86b7100f6e6c 16:11:17 Removing intermediate container 86b7100f6e6c 16:11:17 ---> 43e28223a3eb 16:11:17 Step 11/12 : COPY . . 16:11:17 ---> 74d78c7ae8f0 16:11:17 Step 12/12 : RUN $MAKE 16:11:17 ---> Running in 9f2e2a4e3594 16:11:17 noop 16:11:17 Removing intermediate container 9f2e2a4e3594 16:11:17 ---> 1b3ad1f3521c 16:11:17 Successfully built 1b3ad1f3521c 16:11:17 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:18 + docker inspect -f . ci-base-image-arm64 16:11:18 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:11:18 prd-ubuntu20.04-docker-arm64-4c-16g-9956 does not seem to be running inside a container 16:11:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/143 -v /w/workspace/device-rest-go/143:/w/workspace/device-rest-go/143:rw,z -v /w/workspace/device-rest-go/143@tmp:/w/workspace/device-rest-go/143@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 16:11:20 $ docker top 96a08f9c488d885d81b2225388e921dc6f591c39bc4957b57f5d8b133e183a7b -eo pid,comm [Pipeline] { [Pipeline] sh 16:11:20 + go version 16:11:20 go version go1.21.0 linux/arm64 [Pipeline] } 16:11:20 $ docker stop --time=1 96a08f9c488d885d81b2225388e921dc6f591c39bc4957b57f5d8b133e183a7b 16:11:22 $ docker rm -f --volumes 96a08f9c488d885d81b2225388e921dc6f591c39bc4957b57f5d8b133e183a7b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:11:23 + docker inspect -f . ci-base-image-arm64 16:11:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:11:23 prd-ubuntu20.04-docker-arm64-4c-16g-9956 does not seem to be running inside a container 16:11:23 $ 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/143 -v /w/workspace/device-rest-go/143:/w/workspace/device-rest-go/143:rw,z -v /w/workspace/device-rest-go/143@tmp:/w/workspace/device-rest-go/143@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 16:11:25 $ docker top 5ea0e7951207f407fff89d059cba39f8d500d6398537b54004a5a9463c62004b -eo pid,comm [Pipeline] { [Pipeline] sh 16:11:26 + git config --global --add safe.directory /w/workspace/device-rest-go/143 [Pipeline] fileExists [Pipeline] sh 16:11:26 + make test 16:11:26 go test ./... -coverprofile=coverage.out ./... 16:11:32 ? github.com/edgexfoundry/device-rest-go [no test files] 16:14:24 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 16:14:24 ok github.com/edgexfoundry/device-rest-go/driver 0.080s coverage: 33.2% of statements 16:14:24 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:14:24 go vet ./... 16:14:46 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:14:46 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:14:46 ./bin/test-attribution-txt.sh [Pipeline] echo 16:14:46 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:14:46 $ docker stop --time=1 5ea0e7951207f407fff89d059cba39f8d500d6398537b54004a5a9463c62004b 16:14:48 $ docker rm -f --volumes 5ea0e7951207f407fff89d059cba39f8d500d6398537b54004a5a9463c62004b [Pipeline] // withDockerContainer [Pipeline] sh 16:14:49 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:14:49 Warning: overwriting stash ‘coverage-report’ 16:14:50 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:14:51 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:14:51 + ls -al . 16:14:51 total 180 16:14:51 drwxrwxr-x 7 jenkins jenkins 4096 Oct 24 16:11 . 16:14:51 drwxrwxr-x 4 jenkins jenkins 4096 Oct 24 16:08 .. 16:14:51 -rw-rw-r-- 1 jenkins jenkins 151 Oct 24 16:08 .dockerignore 16:14:51 drwxrwxr-x 8 jenkins jenkins 4096 Oct 24 16:08 .git 16:14:51 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 16:08 .github 16:14:51 -rw-rw-r-- 1 jenkins jenkins 264 Oct 24 16:08 .gitignore 16:14:51 -rw-rw-r-- 1 jenkins jenkins 41 Oct 24 16:08 .golangci.yml 16:14:51 -rw-rw-r-- 1 jenkins jenkins 10300 Oct 24 16:08 Attribution.txt 16:14:51 -rw-rw-r-- 1 jenkins jenkins 15709 Oct 24 16:08 CHANGELOG.md 16:14:51 -rw-rw-r-- 1 jenkins jenkins 1578 Oct 24 16:08 Dockerfile 16:14:51 -rw-rw-r-- 1 jenkins jenkins 677 Oct 24 16:08 GOVERNANCE.md 16:14:51 -rw-rw-r-- 1 jenkins jenkins 680 Oct 24 16:08 Jenkinsfile 16:14:51 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 24 16:08 LICENSE 16:14:51 -rw-rw-r-- 1 jenkins jenkins 2010 Oct 24 16:08 Makefile 16:14:51 -rw-rw-r-- 1 jenkins jenkins 620 Oct 24 16:08 OWNERS.md 16:14:51 -rw-rw-r-- 1 jenkins jenkins 15738 Oct 24 16:08 README.md 16:14:51 -rw-rw-r-- 1 jenkins jenkins 12 Oct 24 16:05 VERSION 16:14:51 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 16:08 bin 16:14:51 drwxrwxr-x 3 jenkins jenkins 4096 Oct 24 16:08 cmd 16:14:51 -rw-r--r-- 1 jenkins jenkins 14499 Oct 24 16:14 coverage.out 16:14:51 drwxrwxr-x 2 jenkins jenkins 4096 Oct 24 16:08 driver 16:14:51 -rw-rw-r-- 1 jenkins jenkins 3891 Oct 24 16:08 go.mod 16:14:51 -rw-rw-r-- 1 jenkins jenkins 35094 Oct 24 16:08 go.sum 16:14:51 -rw-rw-r-- 1 jenkins jenkins 713 Oct 24 16:08 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:14:51 + 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=758b2bed15a3d13a7bac802538a1e1661ebd32c9 --label arch=arm64 --label version=3.1.0-dev.23 . 16:14:51 Sending build context to Docker daemon 137.7kB 16:14:52 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 16:14:52 Step 2/25 : FROM ${BASE} AS builder 16:14:52 ---> 1b3ad1f3521c 16:14:52 Step 3/25 : ARG ADD_BUILD_TAGS="" 16:14:52 ---> Running in 28585ada044e 16:14:52 Removing intermediate container 28585ada044e 16:14:52 ---> f03b08fa5a6a 16:14:52 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:14:52 ---> Running in ddc451e16007 16:14:53 Removing intermediate container ddc451e16007 16:14:53 ---> 03434c19fff9 16:14:53 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:14:53 ---> Running in 85bdc33c4b08 16:14:53 Removing intermediate container 85bdc33c4b08 16:14:53 ---> e83aa10f2dcd 16:14:53 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 16:14:53 ---> Running in ff94672ad928 16:14:54 Removing intermediate container ff94672ad928 16:14:54 ---> b5908175079f 16:14:54 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:14:54 ---> Running in cd9bbda6fa91 16:14:55 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 16:14:56 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 16:14:57 OK: 270 MiB in 56 packages 16:14:58 Removing intermediate container cd9bbda6fa91 16:14:58 ---> e060c156a2a3 16:14:58 Step 8/25 : WORKDIR /device-rest-go 16:14:58 ---> Running in 92805981c59d 16:14:59 Removing intermediate container 92805981c59d 16:14:59 ---> 2b082e7cc760 16:14:59 Step 9/25 : COPY go.mod vendor* ./ 16:15:00 ---> a02b9212a605 16:15:00 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:15:00 ---> Running in 1bc5fd8851ae 16:15:04 Removing intermediate container 1bc5fd8851ae 16:15:04 ---> e9e1f08a96f3 16:15:04 Step 11/25 : COPY . . 16:15:04 ---> e527cb802ad0 16:15:04 Step 12/25 : RUN $MAKE 16:15:04 ---> Running in 10579f1652b2 16:15:06 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.23 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.35" -trimpath -mod=readonly -o cmd/device-rest ./cmd 16:17:35 Removing intermediate container 10579f1652b2 16:17:35 ---> c4331e4ab735 16:17:35 Step 13/25 : FROM alpine:3.18 16:17:35 3.18: Pulling from library/alpine 16:17:35 579b34f0a95b: Pulling fs layer 16:17:35 579b34f0a95b: Download complete 16:17:36 579b34f0a95b: Pull complete 16:17:36 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 16:17:36 Status: Downloaded newer image for alpine:3.18 16:17:36 ---> 3cc203321400 16:17:36 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 16:17:36 ---> Running in b5564de85462 16:17:36 Removing intermediate container b5564de85462 16:17:36 ---> 8fe07880e090 16:17:36 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 16:17:36 ---> Running in 1ba53970d6f3 16:17:37 Removing intermediate container 1ba53970d6f3 16:17:37 ---> 009a3ed8625c 16:17:37 Step 16/25 : RUN apk add --update --no-cache dumb-init 16:17:37 ---> Running in e9645f05a1d6 16:17:38 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 16:17:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 16:17:40 (1/1) Installing dumb-init (1.2.5-r2) 16:17:40 Executing busybox-1.36.1-r2.trigger 16:17:40 OK: 8 MiB in 16 packages 16:17:41 Removing intermediate container e9645f05a1d6 16:17:41 ---> 3212a1db387e 16:17:41 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 16:17:43 ---> 5426df619a77 16:17:43 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 16:17:44 ---> 14ad33c84e16 16:17:44 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 16:17:45 ---> e97cfaf5c668 16:17:45 Step 20/25 : EXPOSE 59986 16:17:45 ---> Running in 699c3f488961 16:17:48 Removing intermediate container 699c3f488961 16:17:48 ---> 28666f24703d 16:17:48 Step 21/25 : ENTRYPOINT ["/device-rest"] 16:17:48 ---> Running in fb1f1048e560 16:17:48 Removing intermediate container fb1f1048e560 16:17:48 ---> 19ba90d4f9c1 16:17:48 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 16:17:48 ---> Running in 24d50de510ca 16:17:49 Removing intermediate container 24d50de510ca 16:17:49 ---> a5883e36a205 16:17:49 Step 23/25 : LABEL arch=arm64 16:17:49 ---> Running in 8282f3d830f8 16:17:49 Removing intermediate container 8282f3d830f8 16:17:49 ---> 66aded8c1312 16:17:49 Step 24/25 : LABEL git_sha=758b2bed15a3d13a7bac802538a1e1661ebd32c9 16:17:50 ---> Running in e8c656309e35 16:17:50 Removing intermediate container e8c656309e35 16:17:50 ---> fac9b0d87fcf 16:17:50 Step 25/25 : LABEL version=3.1.0-dev.23 16:17:50 ---> Running in a14590403920 16:17:50 Removing intermediate container a14590403920 16:17:50 ---> 784f2fc45e68 16:17:50 [Warning] One or more build-args [ARCH] were not consumed 16:17:50 Successfully built 784f2fc45e68 16:17:50 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 16:17:50 provisioning config files... 16:17:51 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/143@tmp/config7924087820382785507tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:17:51 ---> docker-login.sh 16:17:51 nexus3.edgexfoundry.org:10001 16:17:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:51 Configure a credential helper to remove this warning. See 16:17:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:51 16:17:51 Login Succeeded 16:17:51 nexus3.edgexfoundry.org:10002 16:17:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:52 Configure a credential helper to remove this warning. See 16:17:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:52 16:17:52 Login Succeeded 16:17:52 nexus3.edgexfoundry.org:10003 16:17:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:52 Configure a credential helper to remove this warning. See 16:17:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:52 16:17:52 Login Succeeded 16:17:52 nexus3.edgexfoundry.org:10004 16:17:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:53 Configure a credential helper to remove this warning. See 16:17:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:53 16:17:53 Login Succeeded 16:17:53 docker.io 16:17:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:17:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:17:53 Configure a credential helper to remove this warning. See 16:17:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:17:53 16:17:53 Login Succeeded 16:17:53 ---> docker-login.sh ends [Pipeline] } 16:17:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:17:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:17:53 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 16:17:53 758b2bed15a3d13a7bac802538a1e1661ebd32c9 16:17:53 latest 16:17:53 3.1.0-dev.23 16:17:53 758b2bed15a3d13a7bac802538a1e1661ebd32c9-3.1.0-dev.23 16:17:53 main 16:17:53 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:17:54 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:758b2bed15a3d13a7bac802538a1e1661ebd32c9 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:17:54 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:758b2bed15a3d13a7bac802538a1e1661ebd32c9 16:17:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:17:54 c29a49ad3b05: Preparing 16:17:54 5ef9696bbd51: Preparing 16:17:54 d4374279f3d4: Preparing 16:17:54 ed111c20d494: Preparing 16:17:54 5f4d9fc4d98d: Preparing 16:17:54 5f4d9fc4d98d: Layer already exists 16:17:54 c29a49ad3b05: Pushed 16:17:54 ed111c20d494: Pushed 16:17:54 5ef9696bbd51: Pushed 16:18:01 d4374279f3d4: Pushed 16:18:01 758b2bed15a3d13a7bac802538a1e1661ebd32c9: digest: sha256:298f8f1a5853346af3d3f68011fcf638573a461ed548a4b2968f4981ec142806 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:02 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:02 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 16:18:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:18:02 c29a49ad3b05: Preparing 16:18:02 5ef9696bbd51: Preparing 16:18:02 d4374279f3d4: Preparing 16:18:02 ed111c20d494: Preparing 16:18:02 5f4d9fc4d98d: Preparing 16:18:02 5ef9696bbd51: Layer already exists 16:18:02 d4374279f3d4: Layer already exists 16:18:02 c29a49ad3b05: Layer already exists 16:18:02 ed111c20d494: Layer already exists 16:18:02 5f4d9fc4d98d: Layer already exists 16:18:02 latest: digest: sha256:298f8f1a5853346af3d3f68011fcf638573a461ed548a4b2968f4981ec142806 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:03 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:03 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.23 16:18:03 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:18:03 c29a49ad3b05: Preparing 16:18:03 5ef9696bbd51: Preparing 16:18:03 d4374279f3d4: Preparing 16:18:03 ed111c20d494: Preparing 16:18:03 5f4d9fc4d98d: Preparing 16:18:03 c29a49ad3b05: Layer already exists 16:18:03 d4374279f3d4: Layer already exists 16:18:03 5f4d9fc4d98d: Layer already exists 16:18:03 5ef9696bbd51: Layer already exists 16:18:03 ed111c20d494: Layer already exists 16:18:04 3.1.0-dev.23: digest: sha256:298f8f1a5853346af3d3f68011fcf638573a461ed548a4b2968f4981ec142806 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:05 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:758b2bed15a3d13a7bac802538a1e1661ebd32c9-3.1.0-dev.23 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:05 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:758b2bed15a3d13a7bac802538a1e1661ebd32c9-3.1.0-dev.23 16:18:05 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:18:05 c29a49ad3b05: Preparing 16:18:05 5ef9696bbd51: Preparing 16:18:05 d4374279f3d4: Preparing 16:18:05 ed111c20d494: Preparing 16:18:05 5f4d9fc4d98d: Preparing 16:18:05 ed111c20d494: Layer already exists 16:18:05 5f4d9fc4d98d: Layer already exists 16:18:05 5ef9696bbd51: Layer already exists 16:18:05 c29a49ad3b05: Layer already exists 16:18:05 d4374279f3d4: Layer already exists 16:18:05 758b2bed15a3d13a7bac802538a1e1661ebd32c9-3.1.0-dev.23: digest: sha256:298f8f1a5853346af3d3f68011fcf638573a461ed548a4b2968f4981ec142806 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:06 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:06 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 16:18:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:18:06 c29a49ad3b05: Preparing 16:18:06 5ef9696bbd51: Preparing 16:18:06 d4374279f3d4: Preparing 16:18:06 ed111c20d494: Preparing 16:18:06 5f4d9fc4d98d: Preparing 16:18:06 5ef9696bbd51: Layer already exists 16:18:06 5f4d9fc4d98d: Layer already exists 16:18:06 ed111c20d494: Layer already exists 16:18:06 d4374279f3d4: Layer already exists 16:18:06 c29a49ad3b05: Layer already exists 16:18:07 main: digest: sha256:298f8f1a5853346af3d3f68011fcf638573a461ed548a4b2968f4981ec142806 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:18:07 ===================================================== [Pipeline] echo 16:18:07 taggedImages: 16:18:07 - nexus3.edgexfoundry.org:10004/device-rest-arm64:758b2bed15a3d13a7bac802538a1e1661ebd32c9 16:18:07 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 16:18:07 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.23 16:18:07 - nexus3.edgexfoundry.org:10004/device-rest-arm64:758b2bed15a3d13a7bac802538a1e1661ebd32c9-3.1.0-dev.23 16:18:07 - 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 16:18:07 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:18:07 16:18:07 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:08 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:18:08 arm64: Pulling from edgex-lftools-log-publisher 16:18:08 8998bd30e6a1: Pulling fs layer 16:18:08 04944245beec: Pulling fs layer 16:18:08 699f458cf7ca: Pulling fs layer 16:18:08 765212b225bb: Pulling fs layer 16:18:08 f23df028b6ca: Pulling fs layer 16:18:08 d65c8cfc05b1: Pulling fs layer 16:18:08 2437ff75d9bd: Pulling fs layer 16:18:08 f23df028b6ca: Waiting 16:18:08 d65c8cfc05b1: Waiting 16:18:08 2437ff75d9bd: Waiting 16:18:08 765212b225bb: Waiting 16:18:08 04944245beec: Verifying Checksum 16:18:08 04944245beec: Download complete 16:18:08 765212b225bb: Verifying Checksum 16:18:08 765212b225bb: Download complete 16:18:08 f23df028b6ca: Verifying Checksum 16:18:08 f23df028b6ca: Download complete 16:18:08 d65c8cfc05b1: Verifying Checksum 16:18:08 d65c8cfc05b1: Download complete 16:18:08 699f458cf7ca: Verifying Checksum 16:18:08 699f458cf7ca: Download complete 16:18:08 8998bd30e6a1: Verifying Checksum 16:18:08 8998bd30e6a1: Download complete 16:18:12 2437ff75d9bd: Verifying Checksum 16:18:12 2437ff75d9bd: Download complete 16:18:14 8998bd30e6a1: Pull complete 16:18:16 04944245beec: Pull complete 16:18:18 699f458cf7ca: Pull complete 16:18:18 765212b225bb: Pull complete 16:18:19 f23df028b6ca: Pull complete 16:18:20 d65c8cfc05b1: Pull complete 16:18:38 2437ff75d9bd: Pull complete 16:18:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:18:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:18:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:18:38 prd-ubuntu20.04-docker-arm64-4c-16g-9956 does not seem to be running inside a container 16:18:38 $ 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/143 -v /w/workspace/device-rest-go/143:/w/workspace/device-rest-go/143:rw,z -v /w/workspace/device-rest-go/143@tmp:/w/workspace/device-rest-go/143@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 16:18:42 $ docker top 0921335ac2cb455fd78cb42d39ed99b57236224ff8e8f4307ef667608a6fdde2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:18:42 ---> job-cost.sh 16:18:42 lf-activate-venv: SKIPPING 16:18:42 INFO: No Stack... 16:18:43 INFO: Retrieving Pricing Info for: v3-standard-4 16:18:44 INFO: Archiving Costs [Pipeline] sh 16:18:44 + cat /w/workspace/device-rest-go/143/archives/cost.csv 16:18:44 + cut -d, -f6 [Pipeline] lock 16:18:44 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-143-stack-cost] 16:18:44 Resource [jenkins-edgexfoundry-device-rest-go-main-143-stack-cost] did not exist. Created. 16:18:44 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-143-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:18:45 /w/workspace/device-rest-go/143@tmp/durable-b0c04f2e/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:18:46 + echo total: 0.10999999940395355 [Pipeline] stash 16:18:46 Warning: overwriting stash ‘stack-cost’ 16:18:46 Stashed 1 file(s) [Pipeline] } 16:18:46 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-143-stack-cost] [Pipeline] // lock [Pipeline] } 16:18:46 $ docker stop --time=1 0921335ac2cb455fd78cb42d39ed99b57236224ff8e8f4307ef667608a6fdde2 16:18:47 $ docker rm -f --volumes 0921335ac2cb455fd78cb42d39ed99b57236224ff8e8f4307ef667608a6fdde2 [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 16:18:48 provisioning config files... 16:18:48 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config18070116436698905246tmp [Pipeline] { [Pipeline] sh 16:18:48 + set +x 16:18:48 + curl -s https://codecov.io/bash 16:18:48 + bash -s -- 16:18:48 16:18:48 _____ _ 16:18:48 / ____| | | 16:18:48 | | ___ __| | ___ ___ _____ __ 16:18:48 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:18:48 | |___| (_) | (_| | __/ (_| (_) \ V / 16:18:48 \_____\___/ \__,_|\___|\___\___/ \_/ 16:18:48 Bash-1.0.6 16:18:48 16:18:48 16:18:48 ==> git version 2.25.1 found 16:18:48 ==> 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 16:18:48 Release-Date: 2020-01-08 16:18:48 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:18:48 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:18:48 ==> Jenkins CI detected. 16:18:48 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 16:18:48 project root: . 16:18:48 --> token set from env 16:18:48 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:18:48 ==> Running gcov in . (disable via -X gcov) 16:18:48 ==> Python coveragepy not found 16:18:48 ==> Searching for coverage reports in: 16:18:48 + . 16:18:48 -> Found 1 reports 16:18:48 ==> Detecting git/mercurial file structure 16:18:48 ==> Reading reports 16:18:48 + ./coverage.out bytes=14499 16:18:48 ==> Appending adjustments 16:18:48 https://docs.codecov.io/docs/fixing-reports 16:18:48 + Found adjustments 16:18:48 ==> Gzipping contents 16:18:48 4.0K /tmp/codecov.kY5drG.gz 16:18:48 ==> Uploading reports 16:18:48 url: https://codecov.io 16:18:48 query: branch=main&commit=758b2bed15a3d13a7bac802538a1e1661ebd32c9&build=143&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F143%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:18:48 -> Pinging Codecov 16:18:48 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=758b2bed15a3d13a7bac802538a1e1661ebd32c9&build=143&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F143%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:18:48 -> Uploading to 16:18:48 https://storage.googleapis.com/codecov/v4/raw/2023-10-24/4E5D53B4F1F92C436F7061BF334D961C/758b2bed15a3d13a7bac802538a1e1661ebd32c9/023a008a-22c8-4569-ae6e-3f39864f9bea.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231024%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231024T161848Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=05f591d5a427345a1d2cc446e102e9359b7d3f97ea1f6c78db98fec0f9919506 16:18:48 % Total % Received % Xferd Average Speed Time Time Time Current 16:18:48 Dload Upload Total Spent Left Speed 16:18:49 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2321 0 0 100 2321 0 7841 --:--:-- --:--:-- --:--:-- 7814 100 2321 0 0 100 2321 0 7841 --:--:-- --:--:-- --:--:-- 7814 16:18:49 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/758b2bed15a3d13a7bac802538a1e1661ebd32c9 [Pipeline] } 16:18:49 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:18:49 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:18:49 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:49 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:18:49 16:18:49 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:18:50 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:18:50 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:18:50 df9b9388f04a: Pulling fs layer 16:18:50 52dc419b0ee2: Pulling fs layer 16:18:50 25bc292e5bac: Pulling fs layer 16:18:50 114826534d7a: Pulling fs layer 16:18:50 4657fd5d0bcf: Pulling fs layer 16:18:50 6ad1cebc031e: Pulling fs layer 16:18:50 8a3aa393b2d8: Pulling fs layer 16:18:50 114826534d7a: Waiting 16:18:50 4657fd5d0bcf: Waiting 16:18:50 6ad1cebc031e: Waiting 16:18:50 25bc292e5bac: Download complete 16:18:50 52dc419b0ee2: Download complete 16:18:50 4657fd5d0bcf: Download complete 16:18:50 df9b9388f04a: Download complete 16:18:50 6ad1cebc031e: Verifying Checksum 16:18:50 6ad1cebc031e: Download complete 16:18:50 df9b9388f04a: Pull complete 16:18:50 52dc419b0ee2: Pull complete 16:18:50 25bc292e5bac: Pull complete 16:18:50 114826534d7a: Verifying Checksum 16:18:50 114826534d7a: Download complete 16:18:51 8a3aa393b2d8: Verifying Checksum 16:18:51 8a3aa393b2d8: Download complete 16:18:54 114826534d7a: Pull complete 16:18:54 4657fd5d0bcf: Pull complete 16:18:54 6ad1cebc031e: Pull complete 16:18:57 8a3aa393b2d8: Pull complete 16:18:57 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:18:57 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:18:57 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:18:57 prd-ubuntu20.04-docker-8c-8g-9952 does not seem to be running inside a container 16:18:57 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:19:02 $ docker top d8260e53c4a94c3e83c43d6e18a1e515d515a8ebd6b2a9959e112006a47504fa -eo pid,comm [Pipeline] { [Pipeline] echo 16:19:02 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 16:19:03 + set -o pipefail 16:19:03 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 16:19:13 16:19:13 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 16:19:13 16:19:13 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/4e897205-5f43-4421-a764-8ba14b83fde2 16:19:13 16:19:13 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:19:13 16:19:13 16:19:13 A medium severity vulnerability was found in the Snyk CLI versions you are using. 16:19:13 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 16:19:13 More details here: https://snyk.co/ue1NS [Pipeline] } 16:19:13 $ docker stop --time=1 d8260e53c4a94c3e83c43d6e18a1e515d515a8ebd6b2a9959e112006a47504fa 16:19:19 $ docker rm -f --volumes d8260e53c4a94c3e83c43d6e18a1e515d515a8ebd6b2a9959e112006a47504fa [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 16:19:19 + git log --format=format:%s -1 758b2bed15a3d13a7bac802538a1e1661ebd32c9 [Pipeline] sh 16:19:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:19:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:19:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:19:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:19:20 prd-ubuntu20.04-docker-8c-8g-9952 does not seem to be running inside a container 16:19:20 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:19:21 $ docker top b7b3f3cd523bd1a2635e1c4bfc478c6e5995afae65f32aa01c921f72e82ae7e4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:19:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:19:21 [ssh-agent] Looking for ssh-agent implementation... 16:19:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:19:21 $ docker exec b7b3f3cd523bd1a2635e1c4bfc478c6e5995afae65f32aa01c921f72e82ae7e4 ssh-agent 16:19:21 SSH_AUTH_SOCK=/tmp/ssh-B7GEksHQZtSA/agent.32 16:19:21 SSH_AGENT_PID=38 16:19:21 Running ssh-add (command line suppressed) 16:19:21 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7986021112365765196.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7986021112365765196.key) 16:19:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:19:21 + git semver tag 16:19:22 2023-10-24 16:19:21,970 [run_tag] DEBUG tag force:False 16:19:22 2023-10-24 16:19:21,970 [check_head_tag] DEBUG check head tag 16:19:22 2023-10-24 16:19:21,971 [execute] INFO git cat-file --batch-check 16:19:22 2023-10-24 16:19:21,971 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 16:19:22 2023-10-24 16:19:21,974 [execute] INFO git cat-file --batch 16:19:22 2023-10-24 16:19:21,974 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 16:19:22 2023-10-24 16:19:21,985 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:19:22 2023-10-24 16:19:21,985 [execute] INFO git tag -a v3.1.0-dev.23 -m v3.1.0-dev.23 16:19:22 2023-10-24 16:19:21,985 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.23', '-m', 'v3.1.0-dev.23'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 16:19:22 2023-10-24 16:19:21,988 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:19:22 3.1.0-dev.23 [Pipeline] } 16:19:22 $ docker exec --env ******** --env ******** b7b3f3cd523bd1a2635e1c4bfc478c6e5995afae65f32aa01c921f72e82ae7e4 ssh-agent -k 16:19:22 unset SSH_AUTH_SOCK; 16:19:22 unset SSH_AGENT_PID; 16:19:22 echo Agent pid 38 killed; 16:19:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:19:22 + git semver [Pipeline] } 16:19:22 $ docker stop --time=1 b7b3f3cd523bd1a2635e1c4bfc478c6e5995afae65f32aa01c921f72e82ae7e4 16:19:24 $ docker rm -f --volumes b7b3f3cd523bd1a2635e1c4bfc478c6e5995afae65f32aa01c921f72e82ae7e4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:19:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:19:24 16:19:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:19:24 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:19:24 0.23.1-centos7: Pulling from edgex-lftools 16:19:24 ab5ef0e58194: Pulling fs layer 16:19:24 9712f1f96733: Pulling fs layer 16:19:24 63f879dbbcfc: Pulling fs layer 16:19:24 0d9ebad4ef96: Pulling fs layer 16:19:24 e9a5061849ea: Pulling fs layer 16:19:24 d747dcd14b5f: Pulling fs layer 16:19:24 2de7ff778b66: Pulling fs layer 16:19:24 0d9ebad4ef96: Waiting 16:19:24 2de7ff778b66: Waiting 16:19:24 e9a5061849ea: Waiting 16:19:24 d747dcd14b5f: Waiting 16:19:24 9712f1f96733: Verifying Checksum 16:19:24 9712f1f96733: Download complete 16:19:24 63f879dbbcfc: Verifying Checksum 16:19:24 63f879dbbcfc: Download complete 16:19:25 e9a5061849ea: Verifying Checksum 16:19:25 e9a5061849ea: Download complete 16:19:25 d747dcd14b5f: Verifying Checksum 16:19:25 d747dcd14b5f: Download complete 16:19:25 ab5ef0e58194: Download complete 16:19:25 0d9ebad4ef96: Verifying Checksum 16:19:25 0d9ebad4ef96: Download complete 16:19:25 2de7ff778b66: Verifying Checksum 16:19:25 2de7ff778b66: Download complete 16:19:28 ab5ef0e58194: Pull complete 16:19:28 9712f1f96733: Pull complete 16:19:28 63f879dbbcfc: Pull complete 16:19:31 0d9ebad4ef96: Pull complete 16:19:32 e9a5061849ea: Pull complete 16:19:32 d747dcd14b5f: Pull complete 16:19:33 2de7ff778b66: Pull complete 16:19:33 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:19:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:19:33 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:19:33 prd-ubuntu20.04-docker-8c-8g-9952 does not seem to be running inside a container 16:19:33 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:19:41 $ docker top eb1cdd5047d77ce1d6f61828c25678de2fd3558fdf3fb3f8b54938af38cdee73 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:19:41 provisioning config files... 16:19:41 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17378036813837338013tmp 16:19:41 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12895558333902577999tmp 16:19:41 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3055319353409384713tmp [Pipeline] { [Pipeline] echo 16:19:41 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:19:41 ---> sigul-configuration.sh 16:19:41 gpg: directory `/root/.gnupg' created 16:19:41 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:19:41 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:19:41 gpg: keyring `/root/.gnupg/secring.gpg' created 16:19:41 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:19:41 gpg: CAST5 encrypted data 16:19:41 gpg: encrypted with 1 passphrase 16:19:41 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:19:41 + mkdir /home/jenkins 16:19:41 + mkdir /home/jenkins/sigul [Pipeline] sh 16:19:42 + 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 16:19:42 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:19:42 ---> sigul-install.sh 16:19:42 Sigul already installed; skipping installation. [Pipeline] sh 16:19:42 + git tag --list 16:19:42 v1.0.0 16:19:42 v1.1.0 16:19:42 v1.1.1 16:19:42 v1.1.2 16:19:42 v1.2.0 16:19:42 v1.2.1 16:19:42 v2.0.0 16:19:42 v2.1.0 16:19:42 v2.1.1 16:19:42 v2.2.0 16:19:42 v2.3.0 16:19:42 v3.0 16:19:42 v3.0.0 16:19:42 v3.1.0-dev.1 16:19:42 v3.1.0-dev.10 16:19:42 v3.1.0-dev.11 16:19:42 v3.1.0-dev.12 16:19:42 v3.1.0-dev.13 16:19:42 v3.1.0-dev.14 16:19:42 v3.1.0-dev.15 16:19:42 v3.1.0-dev.16 16:19:42 v3.1.0-dev.17 16:19:42 v3.1.0-dev.18 16:19:42 v3.1.0-dev.19 16:19:42 v3.1.0-dev.2 16:19:42 v3.1.0-dev.20 16:19:42 v3.1.0-dev.21 16:19:42 v3.1.0-dev.22 16:19:42 v3.1.0-dev.23 16:19:42 v3.1.0-dev.3 16:19:42 v3.1.0-dev.4 16:19:42 v3.1.0-dev.5 16:19:42 v3.1.0-dev.6 16:19:42 v3.1.0-dev.7 16:19:42 v3.1.0-dev.8 16:19:42 v3.1.0-dev.9 [Pipeline] sh 16:19:42 + lftools sign git-tag v3.1.0-dev.23 16:19:43 Signing Git tag with Sigul... 16:19:43 Signing v3.1.0-dev.23 [Pipeline] echo 16:19:44 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:19:44 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:19:44 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:19:44 $ docker stop --time=1 eb1cdd5047d77ce1d6f61828c25678de2fd3558fdf3fb3f8b54938af38cdee73 16:19:45 $ docker rm -f --volumes eb1cdd5047d77ce1d6f61828c25678de2fd3558fdf3fb3f8b54938af38cdee73 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:19:46 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:19:46 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:19:46 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:19:46 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:19:46 prd-ubuntu20.04-docker-8c-8g-9952 does not seem to be running inside a container 16:19:46 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:19:46 $ docker top 794e8c36046db078b82fa7eecd0c70b965c6a0266bc2a9209d90f566f1224630 -eo pid,comm 16:19:46 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). 16:19:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:19:47 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:19:47 [ssh-agent] Looking for ssh-agent implementation... 16:19:47 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:19:47 $ docker exec 794e8c36046db078b82fa7eecd0c70b965c6a0266bc2a9209d90f566f1224630 ssh-agent 16:19:47 SSH_AUTH_SOCK=/tmp/ssh-eh8eIMQiUw5t/agent.32 16:19:47 SSH_AGENT_PID=38 16:19:47 Running ssh-add (command line suppressed) 16:19:47 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_991786489999533513.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_991786489999533513.key) 16:19:47 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:19:47 + git semver bump pre 16:19:47 2023-10-24 16:19:47,827 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:19:47 2023-10-24 16:19:47,827 [bump_version] DEBUG bumping version:3.1.0-dev.23 on axis:pre with prefix:dev 16:19:47 2023-10-24 16:19:47,827 [bump_version] DEBUG bumped version:3.1.0-dev.24 16:19:47 2023-10-24 16:19:47,828 [write_version] DEBUG write version:3.1.0-dev.24 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 16:19:47 2023-10-24 16:19:47,828 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:19:47 2023-10-24 16:19:47,828 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:19:47 2023-10-24 16:19:47,829 [execute] INFO git cat-file --batch-check 16:19:47 2023-10-24 16:19:47,830 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:19:47 2023-10-24 16:19:47,834 [execute] INFO git cat-file --batch 16:19:47 2023-10-24 16:19:47,835 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:19:47 2023-10-24 16:19:47,840 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:19:47 3.1.0-dev.24 [Pipeline] } 16:19:47 $ docker exec --env ******** --env ******** 794e8c36046db078b82fa7eecd0c70b965c6a0266bc2a9209d90f566f1224630 ssh-agent -k 16:19:48 unset SSH_AUTH_SOCK; 16:19:48 unset SSH_AGENT_PID; 16:19:48 echo Agent pid 38 killed; 16:19:48 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:19:48 + git semver [Pipeline] } 16:19:48 $ docker stop --time=1 794e8c36046db078b82fa7eecd0c70b965c6a0266bc2a9209d90f566f1224630 16:19:49 $ docker rm -f --volumes 794e8c36046db078b82fa7eecd0c70b965c6a0266bc2a9209d90f566f1224630 [Pipeline] // withDockerContainer [Pipeline] sh 16:19:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:19:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:19:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:19:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:19:50 prd-ubuntu20.04-docker-8c-8g-9952 does not seem to be running inside a container 16:19:50 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:19:50 $ docker top a43617706f86f759a43e66d2c04a3b1425ab29f4a1892ad43ec561531526b289 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:19:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:19:50 [ssh-agent] Looking for ssh-agent implementation... 16:19:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:19:51 $ docker exec a43617706f86f759a43e66d2c04a3b1425ab29f4a1892ad43ec561531526b289 ssh-agent 16:19:51 SSH_AUTH_SOCK=/tmp/ssh-6OjvikuHzS0B/agent.32 16:19:51 SSH_AGENT_PID=38 16:19:51 Running ssh-add (command line suppressed) 16:19:51 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4776066538802347183.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4776066538802347183.key) 16:19:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:19:51 + git semver push 16:19:51 2023-10-24 16:19:51,816 [run_push] DEBUG push 16:19:51 2023-10-24 16:19:51,817 [execute] INFO git cat-file --batch-check 16:19:51 2023-10-24 16:19:51,817 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:19:51 2023-10-24 16:19:51,821 [execute] INFO git rev-list 87ca30370c05f73931d61d1eae553cf76e312131 -- 16:19:51 2023-10-24 16:19:51,821 [execute] DEBUG Popen(['git', 'rev-list', '87ca30370c05f73931d61d1eae553cf76e312131', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:19:51 2023-10-24 16:19:51,831 [execute] INFO git fetch -v origin 16:19:51 2023-10-24 16:19:51,831 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 16:19:52 2023-10-24 16:19:52,391 [run_push] DEBUG no remote changes detected 16:19:52 2023-10-24 16:19:52,392 [execute] INFO git push origin semver 16:19:52 2023-10-24 16:19:52,392 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:19:53 2023-10-24 16:19:53,204 [run_push] DEBUG push all version tags 16:19:53 2023-10-24 16:19:53,204 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:19:53 2023-10-24 16:19:53,204 [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) 16:19:54 2023-10-24 16:19:53,987 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:19:54 3.1.0-dev.24 [Pipeline] } 16:19:54 $ docker exec --env ******** --env ******** a43617706f86f759a43e66d2c04a3b1425ab29f4a1892ad43ec561531526b289 ssh-agent -k 16:19:54 unset SSH_AUTH_SOCK; 16:19:54 unset SSH_AGENT_PID; 16:19:54 echo Agent pid 38 killed; 16:19:54 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:19:54 + git semver [Pipeline] } 16:19:55 $ docker stop --time=1 a43617706f86f759a43e66d2c04a3b1425ab29f4a1892ad43ec561531526b289 16:19:56 $ docker rm -f --volumes a43617706f86f759a43e66d2c04a3b1425ab29f4a1892ad43ec561531526b289 [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 16:19:56 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 16:19:56 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 16:19:56 total 16 16:19:56 drwxr-xr-x 3 root root 4096 Oct 24 16:07 . 16:19:56 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 16:19 .. 16:19:56 drwxr-xr-x 2 root root 4096 Oct 24 16:07 cost 16:19:56 -rw-r--r-- 1 root root 86 Oct 24 16:07 cost.csv 16:19:56 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 16:19:56 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 16:19:56 total 16 16:19:56 drwxr-xr-x 3 jenkins jenkins 4096 Oct 24 16:07 . 16:19:56 drwxrwxr-x 9 jenkins jenkins 4096 Oct 24 16:19 .. 16:19:56 drwxr-xr-x 2 jenkins jenkins 4096 Oct 24 16:07 cost 16:19:56 -rw-r--r-- 1 jenkins jenkins 86 Oct 24 16:07 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:19:57 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:19:57 ---> package-listing.sh 16:19:57 ++ facter osfamily 16:19:57 ++ tr '[:upper:]' '[:lower:]' 16:19:58 + OS_FAMILY=debian 16:19:58 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 16:19:58 + START_PACKAGES=/tmp/packages_start.txt 16:19:58 + END_PACKAGES=/tmp/packages_end.txt 16:19:58 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:19:58 + PACKAGES=/tmp/packages_start.txt 16:19:58 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 16:19:58 + PACKAGES=/tmp/packages_end.txt 16:19:58 + case "${OS_FAMILY}" in 16:19:58 + dpkg -l 16:19:58 + grep '^ii' 16:19:58 + '[' -f /tmp/packages_start.txt ']' 16:19:58 + '[' -f /tmp/packages_end.txt ']' 16:19:58 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:19:58 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 16:19:58 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 16:19:58 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 16:19:58 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 16:19:58 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:19:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:19:59 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:19:59 prd-ubuntu20.04-docker-8c-8g-9952 does not seem to be running inside a container 16:19:59 $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:19:59 $ docker top 872576da5df4cade701f960c651d446397e76d1b23fe7a8afa7f877be3e7b8ec -eo pid,comm [Pipeline] { [Pipeline] sh 16:19:59 + touch /tmp/pre-build-complete [Pipeline] sh 16:19:59 + mkdir -p /var/log/sysstat [Pipeline] sh 16:20:00 + ls /var/log/sa-host 16:20:00 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:20:00 provisioning config files... 16:20:00 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12338493213951954582tmp [Pipeline] { [Pipeline] echo 16:20:00 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:20:00 ---> create-netrc.sh [Pipeline] } 16:20:00 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:20:01 ---> python-tools-install.sh [Pipeline] echo 16:20:01 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:20:01 ---> sudo-logs.sh 16:20:01 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:20:01 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:20:01 ---> job-cost.sh 16:20:01 lf-activate-venv: SKIPPING 16:20:01 DEBUG: total: 0.2199999988079071 16:20:01 INFO: Retrieving Stack Cost... 16:20:02 INFO: Retrieving Pricing Info for: v3-standard-8 16:20:02 INFO: Archiving Costs [Pipeline] echo 16:20:02 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:20:02 ---> logs-deploy.sh 16:20:02 lf-activate-venv: SKIPPING 16:20:02 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/143 16:20:02 INFO: archiving workspace using pattern(s): 16:20:03 Archives upload complete. 16:20:03 INFO: archiving logs to Nexus