Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 9b53cce74fa8bad39d84f8d6d5cef51853259bec 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-ssh15672322859936631964.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-ssh10732758532260859774.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-ssh9043907329920210922.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-ssh10656375194173767108.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-ssh10807526773966278257.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.21 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-9180’ Running on prd-ubuntu20.04-docker-8c-8g-9183 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 9b53cce74fa8bad39d84f8d6d5cef51853259bec (main) Commit message: "Merge pull request #351 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.34" > 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 9b53cce74fa8bad39d84f8d6d5cef51853259bec # timeout=10 > git rev-list --no-walk 7254ae82036954a30da847ceb4fb6fc335c14613 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 03:11:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 03:11:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 03:11:58 ========================================================= 03:11:58 EdgeX Global Pipelines Version Info 03:11:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 03:11:59 ------------------- 03:11:59 stable info: 03:11:59 ------------------- 03:11:59 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 03:11:59 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 03:11:59 Message: update stable to v1.0.254 03:12:00 ------------------- 03:12:00 experimental info: 03:12:00 ------------------- 03:12:00 Commited By: **** collab-it+edgex@linuxfoundation.org 03:12:00 Commit SHA: e143027787c0ac28563f7e92b6cefc600d3b7107 03:12:00 Message: update experimental to v1.0.254 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 03:12:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 03:12:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 03:12:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 03:12:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 03:12:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 03:12:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo 03:12:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 03:12:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 03:12:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 03:12:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 03:12:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 03:12:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 03:12:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 03:12:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 03:12:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 03:12:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 03:12:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 03:12:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 03:12:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 03:12:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 03:12:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 03:12:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 03:12:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 03:12:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 03:12:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 03:12:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 03:12:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 03:12:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 03:12:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 03:12:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 03:12:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 9b53cce74fa8bad39d84f8d6d5cef51853259bec [Pipeline] echo 03:12:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 9b53cce [Pipeline] echo 03:12:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:12:00 provisioning config files... 03:12:00 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13655888015884097221tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:12:01 ---> docker-login.sh 03:12:01 nexus3.edgexfoundry.org:10001 03:12:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:01 Configure a credential helper to remove this warning. See 03:12:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:01 03:12:01 Login Succeeded 03:12:01 nexus3.edgexfoundry.org:10002 03:12:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:01 Configure a credential helper to remove this warning. See 03:12:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:01 03:12:01 Login Succeeded 03:12:01 nexus3.edgexfoundry.org:10003 03:12:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:01 Configure a credential helper to remove this warning. See 03:12:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:01 03:12:01 Login Succeeded 03:12:01 nexus3.edgexfoundry.org:10004 03:12:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:01 Configure a credential helper to remove this warning. See 03:12:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:01 03:12:01 Login Succeeded 03:12:01 docker.io 03:12:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:01 Configure a credential helper to remove this warning. See 03:12:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:01 03:12:01 Login Succeeded 03:12:01 ---> docker-login.sh ends [Pipeline] } 03:12:01 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 03:12:02 + git rev-list -1 --merges 9b53cce74fa8bad39d84f8d6d5cef51853259bec~1..9b53cce74fa8bad39d84f8d6d5cef51853259bec [Pipeline] echo 03:12:02 -----------> git rev-list -1 --merges 9b53cce74fa8bad39d84f8d6d5cef51853259bec~1..9b53cce74fa8bad39d84f8d6d5cef51853259bec 9b53cce74fa8bad39d84f8d6d5cef51853259bec 03:12:02 9b53cce74fa8bad39d84f8d6d5cef51853259bec [false] [Pipeline] sh 03:12:02 + git log --format=format:%s -1 9b53cce74fa8bad39d84f8d6d5cef51853259bec [Pipeline] echo 03:12:02 ========================================================= 03:12:02 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 03:12:02 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:12:02 + git log --format=format:%s -1 9b53cce74fa8bad39d84f8d6d5cef51853259bec [Pipeline] echo 03:12:02 [semverPrep] GIT_COMMIT: 9b53cce74fa8bad39d84f8d6d5cef51853259bec, Commit Message: Merge pull request #351 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.34 [Pipeline] echo 03:12:02 [semverPrep] This is not a build commit. [Pipeline] sh 03:12:03 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:12:03 + grep -v github /etc/ssh/ssh_known_hosts 03:12:03 + [ -e /tmp/ssh_known_hosts ] 03:12:03 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 03:12:03 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 03:12:03 + sudo tee -a /etc/ssh/ssh_known_hosts 03:12:03 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:12:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:12:03 03:12:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:12:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:12:03 0.1.4: Pulling from edgex-devops/py-git-semver 03:12:03 b85a868b505f: Pulling fs layer 03:12:03 e2be974225ed: Pulling fs layer 03:12:03 339a4e72a1f5: Pulling fs layer 03:12:03 988bab9f4d93: Pulling fs layer 03:12:03 1469e6f7b9e6: Pulling fs layer 03:12:03 eaf3925da568: Pulling fs layer 03:12:03 bab4dde63d76: Pulling fs layer 03:12:03 bde34c3a00c8: Pulling fs layer 03:12:03 b352a97aabf1: Pulling fs layer 03:12:03 4872d77fe225: Pulling fs layer 03:12:03 5851b861e8e6: Pulling fs layer 03:12:03 bde34c3a00c8: Waiting 03:12:03 988bab9f4d93: Waiting 03:12:03 1469e6f7b9e6: Waiting 03:12:03 eaf3925da568: Waiting 03:12:03 bab4dde63d76: Waiting 03:12:03 b352a97aabf1: Waiting 03:12:03 4872d77fe225: Waiting 03:12:03 e2be974225ed: Verifying Checksum 03:12:03 e2be974225ed: Download complete 03:12:03 988bab9f4d93: Download complete 03:12:03 1469e6f7b9e6: Verifying Checksum 03:12:03 1469e6f7b9e6: Download complete 03:12:03 eaf3925da568: Verifying Checksum 03:12:03 339a4e72a1f5: Verifying Checksum 03:12:03 339a4e72a1f5: Download complete 03:12:04 bde34c3a00c8: Verifying Checksum 03:12:04 bde34c3a00c8: Download complete 03:12:04 b352a97aabf1: Verifying Checksum 03:12:04 b352a97aabf1: Download complete 03:12:04 4872d77fe225: Verifying Checksum 03:12:04 4872d77fe225: Download complete 03:12:04 5851b861e8e6: Verifying Checksum 03:12:04 5851b861e8e6: Download complete 03:12:04 b85a868b505f: Verifying Checksum 03:12:04 b85a868b505f: Download complete 03:12:04 bab4dde63d76: Verifying Checksum 03:12:04 bab4dde63d76: Download complete 03:12:05 b85a868b505f: Pull complete 03:12:05 e2be974225ed: Pull complete 03:12:05 339a4e72a1f5: Pull complete 03:12:05 988bab9f4d93: Pull complete 03:12:06 1469e6f7b9e6: Pull complete 03:12:06 eaf3925da568: Pull complete 03:12:08 bab4dde63d76: Pull complete 03:12:08 bde34c3a00c8: Pull complete 03:12:08 b352a97aabf1: Pull complete 03:12:08 4872d77fe225: Pull complete 03:12:08 5851b861e8e6: Pull complete 03:12:08 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 03:12:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:12:08 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:12:08 prd-ubuntu20.04-docker-8c-8g-9183 does not seem to be running inside a container 03:12:08 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:12:11 $ docker top b9f020eda38f9b999f1b1778393f2175fb5818e1a206abe1d19a392b3f47d630 -eo pid,comm 03:12:11 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 03:12:11 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:12:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:12:11 [ssh-agent] Looking for ssh-agent implementation... 03:12:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:12:11 $ docker exec b9f020eda38f9b999f1b1778393f2175fb5818e1a206abe1d19a392b3f47d630 ssh-agent 03:12:11 SSH_AUTH_SOCK=/tmp/ssh-Ts1gGePZFKw0/agent.33 03:12:11 SSH_AGENT_PID=39 03:12:11 Running ssh-add (command line suppressed) 03:12:12 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10503711585541424327.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10503711585541424327.key) 03:12:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:12:12 + git tag --points-at HEAD [Pipeline] } 03:12:12 $ docker exec --env ******** --env ******** b9f020eda38f9b999f1b1778393f2175fb5818e1a206abe1d19a392b3f47d630 ssh-agent -k 03:12:12 unset SSH_AUTH_SOCK; 03:12:12 unset SSH_AGENT_PID; 03:12:12 echo Agent pid 39 killed; 03:12:12 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 03:12:12 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:12:12 [ssh-agent] Looking for ssh-agent implementation... 03:12:12 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:12:12 $ docker exec b9f020eda38f9b999f1b1778393f2175fb5818e1a206abe1d19a392b3f47d630 ssh-agent 03:12:12 SSH_AUTH_SOCK=/tmp/ssh-DiPQf5AwHf4J/agent.71 03:12:12 SSH_AGENT_PID=77 03:12:12 Running ssh-add (command line suppressed) 03:12:12 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12502087828143550598.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12502087828143550598.key) 03:12:12 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:12:13 + git semver init 03:12:13 2023-10-13 03:12:13,307 [run_init] DEBUG init version:0.0.0 force:False 03:12:13 2023-10-13 03:12:13,308 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 03:12:13 2023-10-13 03:12:13,308 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 03:12:13 2023-10-13 03:12:13,309 [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) 03:12:14 2023-10-13 03:12:14,443 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 03:12:14 2023-10-13 03:12:14,444 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 03:12:14 2023-10-13 03:12:14,444 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:12:14 2023-10-13 03:12:14,444 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:12:14 3.1.0-dev.21 [Pipeline] } 03:12:14 $ docker exec --env ******** --env ******** b9f020eda38f9b999f1b1778393f2175fb5818e1a206abe1d19a392b3f47d630 ssh-agent -k 03:12:14 unset SSH_AUTH_SOCK; 03:12:14 unset SSH_AGENT_PID; 03:12:14 echo Agent pid 77 killed; 03:12:14 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:12:15 + git semver [Pipeline] } 03:12:15 $ docker stop --time=1 b9f020eda38f9b999f1b1778393f2175fb5818e1a206abe1d19a392b3f47d630 03:12:16 $ docker rm -f --volumes b9f020eda38f9b999f1b1778393f2175fb5818e1a206abe1d19a392b3f47d630 [Pipeline] // withDockerContainer [Pipeline] sh 03:12:17 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 03:12:17 Stashed 1 file(s) [Pipeline] echo 03:12:17 [edgeXSemver]: initialized semver on version 3.1.0-dev.21 [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 03:12:17 provisioning config files... 03:12:17 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8992726039543419379tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:12:17 ---> docker-login.sh 03:12:17 nexus3.edgexfoundry.org:10001 03:12:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:17 Configure a credential helper to remove this warning. See 03:12:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:17 03:12:17 Login Succeeded 03:12:17 nexus3.edgexfoundry.org:10002 03:12:17 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:17 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:17 Configure a credential helper to remove this warning. See 03:12:17 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:17 03:12:17 Login Succeeded 03:12:17 nexus3.edgexfoundry.org:10003 03:12:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:18 Configure a credential helper to remove this warning. See 03:12:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:18 03:12:18 Login Succeeded 03:12:18 nexus3.edgexfoundry.org:10004 03:12:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:18 Configure a credential helper to remove this warning. See 03:12:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:18 03:12:18 Login Succeeded 03:12:18 docker.io 03:12:18 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:12:18 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:12:18 Configure a credential helper to remove this warning. See 03:12:18 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:12:18 03:12:18 Login Succeeded 03:12:18 ---> docker-login.sh ends [Pipeline] } 03:12:18 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:12:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:12:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:12:18 ========================================================= 03:12:18 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine] 03:12:18 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:12:18 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine --build-arg MAKE=echo noop --target=builder . 03:12:18 Sending build context to Docker daemon 10.94MB 03:12:18 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 03:12:18 Step 2/12 : FROM ${BASE} AS builder 03:12:18 1.21-alpine: Pulling from edgex-devops/edgex-golang-base 03:12:18 7264a8db6415: Pulling fs layer 03:12:18 c4d48a809fc2: Pulling fs layer 03:12:18 4f1c88b9dad5: Pulling fs layer 03:12:18 ad3a456e5733: Pulling fs layer 03:12:18 33e27b845d1e: Pulling fs layer 03:12:18 c68163c4e522: Pulling fs layer 03:12:18 50da416c3ac9: Pulling fs layer 03:12:18 23d2d4c4bb30: Pulling fs layer 03:12:18 ad3a456e5733: Waiting 03:12:18 33e27b845d1e: Waiting 03:12:18 c68163c4e522: Waiting 03:12:18 50da416c3ac9: Waiting 03:12:18 23d2d4c4bb30: Waiting 03:12:18 c4d48a809fc2: Download complete 03:12:18 ad3a456e5733: Verifying Checksum 03:12:18 ad3a456e5733: Download complete 03:12:19 33e27b845d1e: Verifying Checksum 03:12:19 7264a8db6415: Verifying Checksum 03:12:19 7264a8db6415: Download complete 03:12:19 c68163c4e522: Verifying Checksum 03:12:19 c68163c4e522: Download complete 03:12:19 7264a8db6415: Pull complete 03:12:19 23d2d4c4bb30: Verifying Checksum 03:12:19 23d2d4c4bb30: Download complete 03:12:19 c4d48a809fc2: Pull complete 03:12:19 4f1c88b9dad5: Download complete 03:12:20 50da416c3ac9: Verifying Checksum 03:12:20 50da416c3ac9: Download complete 03:12:23 4f1c88b9dad5: Pull complete 03:12:23 ad3a456e5733: Pull complete 03:12:23 33e27b845d1e: Pull complete 03:12:23 c68163c4e522: Pull complete 03:12:25 50da416c3ac9: Pull complete 03:12:25 23d2d4c4bb30: Pull complete 03:12:26 Digest: sha256:869f8081a9cc57a47d9be3c92245bb8518e7edea9beab93563b77b0fbed5fa8c 03:12:26 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.21-alpine 03:12:26 ---> 0786185ac409 03:12:26 Step 3/12 : ARG ADD_BUILD_TAGS="" 03:12:29 ---> Running in c8ffb417e943 03:12:29 Removing intermediate container c8ffb417e943 03:12:29 ---> 6c7d2164522d 03:12:29 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:12:29 ---> Running in f8f2c0eaa12c 03:12:29 Removing intermediate container f8f2c0eaa12c 03:12:29 ---> 87a7d8a50421 03:12:29 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:12:29 ---> Running in 637f7f8d4403 03:12:29 Removing intermediate container 637f7f8d4403 03:12:29 ---> 9a3b7533365d 03:12:29 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 03:12:29 ---> Running in ca1552fe7fa3 03:12:29 Removing intermediate container ca1552fe7fa3 03:12:29 ---> f0e46f871a85 03:12:29 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:12:29 ---> Running in 4b324042f325 03:12:29 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:12:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:12:30 (1/4) Installing openssh-keygen (9.3_p2-r0) 03:12:30 (2/4) Installing libedit (20221030.3.1-r1) 03:12:30 (3/4) Installing openssh-client-common (9.3_p2-r0) 03:12:30 (4/4) Installing openssh-client-default (9.3_p2-r0) 03:12:30 Executing busybox-1.36.1-r2.trigger 03:12:30 OK: 268 MiB in 56 packages 03:12:30 Removing intermediate container 4b324042f325 03:12:30 ---> 49c3f00ac604 03:12:30 Step 8/12 : WORKDIR /device-rest-go 03:12:30 ---> Running in 13e220e2a2a9 03:12:30 Removing intermediate container 13e220e2a2a9 03:12:30 ---> 7c747c69ea61 03:12:30 Step 9/12 : COPY go.mod vendor* ./ 03:12:30 ---> 93f23f215eb0 03:12:30 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:12:30 ---> Running in 4682b4859534 03:12:32 Still waiting to schedule task 03:12:32 Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-9182’ 03:13:17 Removing intermediate container 4682b4859534 03:13:17 ---> 3d2c00662fb7 03:13:17 Step 11/12 : COPY . . 03:13:17 ---> f9db0ab817ea 03:13:17 Step 12/12 : RUN $MAKE 03:13:17 ---> Running in b658ff1eb50a 03:13:17 noop 03:13:17 Removing intermediate container b658ff1eb50a 03:13:17 ---> 2195f48a3045 03:13:17 Successfully built 2195f48a3045 03:13:17 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:13:17 + docker inspect -f . ci-base-image-x86_64 03:13:17 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:13:18 prd-ubuntu20.04-docker-8c-8g-9183 does not seem to be running inside a container 03:13:18 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:13:18 $ docker top de153b32bb02f6b7a2118a59be6da47e5c66119162298f21f1eff6eabe300f33 -eo pid,comm [Pipeline] { [Pipeline] sh 03:13:18 + go version 03:13:18 go version go1.21.0 linux/amd64 [Pipeline] } 03:13:18 $ docker stop --time=1 de153b32bb02f6b7a2118a59be6da47e5c66119162298f21f1eff6eabe300f33 03:13:20 $ docker rm -f --volumes de153b32bb02f6b7a2118a59be6da47e5c66119162298f21f1eff6eabe300f33 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:13:20 + docker inspect -f . ci-base-image-x86_64 03:13:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:13:20 prd-ubuntu20.04-docker-8c-8g-9183 does not seem to be running inside a container 03:13:20 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 03:13:20 $ docker top c4310c81723d3c8ca9eac63b77285a9f834c600e017381398fe6c35fcb0eeed2 -eo pid,comm [Pipeline] { [Pipeline] sh 03:13:21 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 03:13:21 + make test 03:13:21 go test ./... -coverprofile=coverage.out ./... 03:13:22 ? github.com/edgexfoundry/device-rest-go [no test files] 03:13:32 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 03:13:32 ok github.com/edgexfoundry/device-rest-go/driver 0.010s coverage: 33.2% of statements 03:13:39 go vet ./... 03:13:43 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:13:43 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:13:43 ./bin/test-attribution-txt.sh [Pipeline] echo 03:13:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:13:43 $ docker stop --time=1 c4310c81723d3c8ca9eac63b77285a9f834c600e017381398fe6c35fcb0eeed2 03:13:46 $ docker rm -f --volumes c4310c81723d3c8ca9eac63b77285a9f834c600e017381398fe6c35fcb0eeed2 [Pipeline] // withDockerContainer [Pipeline] sh 03:13:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:13:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 03:13:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:13:47 + ls -al . 03:13:47 total 188 03:13:47 drwxrwxr-x 9 jenkins jenkins 4096 Oct 13 03:13 . 03:13:47 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 03:11 .. 03:13:47 -rw-rw-r-- 1 jenkins jenkins 151 Oct 13 03:11 .dockerignore 03:13:47 drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 03:13 .git 03:13:47 drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 03:11 .github 03:13:47 -rw-rw-r-- 1 jenkins jenkins 329 Oct 13 03:11 .gitignore 03:13:47 -rw-rw-r-- 1 jenkins jenkins 41 Oct 13 03:11 .golangci.yml 03:13:47 drwxr-xr-x 3 jenkins jenkins 4096 Oct 13 03:12 .semver 03:13:47 -rw-rw-r-- 1 jenkins jenkins 10300 Oct 13 03:11 Attribution.txt 03:13:47 -rw-rw-r-- 1 jenkins jenkins 15709 Oct 13 03:11 CHANGELOG.md 03:13:47 -rw-rw-r-- 1 jenkins jenkins 1578 Oct 13 03:11 Dockerfile 03:13:47 -rw-rw-r-- 1 jenkins jenkins 677 Oct 13 03:11 GOVERNANCE.md 03:13:47 -rw-rw-r-- 1 jenkins jenkins 680 Oct 13 03:11 Jenkinsfile 03:13:47 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 13 03:11 LICENSE 03:13:47 -rw-rw-r-- 1 jenkins jenkins 2010 Oct 13 03:11 Makefile 03:13:47 -rw-rw-r-- 1 jenkins jenkins 620 Oct 13 03:11 OWNERS.md 03:13:47 -rw-rw-r-- 1 jenkins jenkins 15827 Oct 13 03:11 README.md 03:13:47 -rw-rw-r-- 1 jenkins jenkins 12 Oct 13 03:12 VERSION 03:13:47 drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 03:11 bin 03:13:47 drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 03:11 cmd 03:13:47 -rw-r--r-- 1 jenkins jenkins 14499 Oct 13 03:13 coverage.out 03:13:47 drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 03:11 driver 03:13:47 -rw-rw-r-- 1 jenkins jenkins 3891 Oct 13 03:11 go.mod 03:13:47 -rw-rw-r-- 1 jenkins jenkins 35625 Oct 13 03:11 go.sum 03:13:47 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 03:11 snap 03:13:47 -rw-rw-r-- 1 jenkins jenkins 713 Oct 13 03:11 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:13:47 + 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=9b53cce74fa8bad39d84f8d6d5cef51853259bec --label arch=amd64 --label version=3.1.0-dev.21 . 03:13:47 Sending build context to Docker daemon 10.95MB 03:13:47 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 03:13:47 Step 2/25 : FROM ${BASE} AS builder 03:13:47 ---> 2195f48a3045 03:13:47 Step 3/25 : ARG ADD_BUILD_TAGS="" 03:13:48 ---> Running in e9edaa3d8e19 03:13:48 Removing intermediate container e9edaa3d8e19 03:13:48 ---> 6ec4cf137e7a 03:13:48 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:13:48 ---> Running in 572f79a80eef 03:13:48 Removing intermediate container 572f79a80eef 03:13:48 ---> 452d57f85673 03:13:48 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:13:48 ---> Running in f8e3c30ef6b4 03:13:48 Removing intermediate container f8e3c30ef6b4 03:13:48 ---> ce09a8801468 03:13:48 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 03:13:48 ---> Running in 8df8f75684c3 03:13:48 Removing intermediate container 8df8f75684c3 03:13:48 ---> c1155345e00a 03:13:48 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:13:48 ---> Running in e94524508146 03:13:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:13:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:13:49 OK: 268 MiB in 56 packages 03:13:49 Removing intermediate container e94524508146 03:13:49 ---> 8a1439e4c5dc 03:13:49 Step 8/25 : WORKDIR /device-rest-go 03:13:49 ---> Running in da924c608b36 03:13:49 Removing intermediate container da924c608b36 03:13:49 ---> 6af7c9bdfb9b 03:13:49 Step 9/25 : COPY go.mod vendor* ./ 03:13:49 ---> 5051dbf26f64 03:13:49 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:13:49 ---> Running in f0c1cf92171f 03:13:50 Removing intermediate container f0c1cf92171f 03:13:50 ---> c359cc86ce11 03:13:50 Step 11/25 : COPY . . 03:13:51 ---> 75587054f188 03:13:51 Step 12/25 : RUN $MAKE 03:13:51 ---> Running in 817e6444018e 03:13:51 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.21 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.34" -trimpath -mod=readonly -o cmd/device-rest ./cmd 03:14:09 Removing intermediate container 817e6444018e 03:14:09 ---> 01acf11903c5 03:14:09 Step 13/25 : FROM alpine:3.18 03:14:09 3.18: Pulling from library/alpine 03:14:09 96526aa774ef: Pulling fs layer 03:14:09 96526aa774ef: Download complete 03:14:09 96526aa774ef: Pull complete 03:14:09 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 03:14:09 Status: Downloaded newer image for alpine:3.18 03:14:09 ---> 8ca4688f4f35 03:14:09 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:14:10 ---> Running in f51a92e7242b 03:14:10 Removing intermediate container f51a92e7242b 03:14:10 ---> cc583e2dd678 03:14:10 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 03:14:10 ---> Running in f9afb4f08d24 03:14:10 Removing intermediate container f9afb4f08d24 03:14:10 ---> 640070bf1318 03:14:10 Step 16/25 : RUN apk add --update --no-cache dumb-init 03:14:10 ---> Running in 7fe920ca485b 03:14:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz 03:14:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz 03:14:10 (1/1) Installing dumb-init (1.2.5-r2) 03:14:10 Executing busybox-1.36.1-r2.trigger 03:14:10 OK: 7 MiB in 16 packages 03:14:11 Removing intermediate container 7fe920ca485b 03:14:11 ---> d63b2361841d 03:14:11 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 03:14:12 ---> 866d7b2d73c5 03:14:12 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 03:14:12 ---> f44ceee395d1 03:14:12 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 03:14:12 ---> 785ff5f35b0e 03:14:12 Step 20/25 : EXPOSE 59986 03:14:12 ---> Running in bde365ce49c0 03:14:12 Removing intermediate container bde365ce49c0 03:14:12 ---> 462ced0fe505 03:14:12 Step 21/25 : ENTRYPOINT ["/device-rest"] 03:14:12 ---> Running in 0e09d0db5927 03:14:12 Removing intermediate container 0e09d0db5927 03:14:12 ---> 0e5e81065fbf 03:14:12 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 03:14:12 ---> Running in 7e9f994ccf03 03:14:12 Removing intermediate container 7e9f994ccf03 03:14:12 ---> 9504cbdbe3de 03:14:12 Step 23/25 : LABEL arch=amd64 03:14:12 ---> Running in d44a9ccf3333 03:14:12 Removing intermediate container d44a9ccf3333 03:14:12 ---> 481abd6d50d8 03:14:12 Step 24/25 : LABEL git_sha=9b53cce74fa8bad39d84f8d6d5cef51853259bec 03:14:12 ---> Running in e7fac9b94881 03:14:12 Removing intermediate container e7fac9b94881 03:14:12 ---> 020e1c5db077 03:14:12 Step 25/25 : LABEL version=3.1.0-dev.21 03:14:12 ---> Running in 8c7ce8e5829c 03:14:12 Removing intermediate container 8c7ce8e5829c 03:14:12 ---> 24d167f2ecd1 03:14:12 [Warning] One or more build-args [ARCH] were not consumed 03:14:12 Successfully built 24d167f2ecd1 03:14:12 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:14:12 provisioning config files... 03:14:12 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3722351383756445160tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:14:13 ---> docker-login.sh 03:14:13 nexus3.edgexfoundry.org:10001 03:14:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:13 Configure a credential helper to remove this warning. See 03:14:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:13 03:14:13 Login Succeeded 03:14:13 nexus3.edgexfoundry.org:10002 03:14:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:13 Configure a credential helper to remove this warning. See 03:14:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:13 03:14:13 Login Succeeded 03:14:13 nexus3.edgexfoundry.org:10003 03:14:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:13 Configure a credential helper to remove this warning. See 03:14:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:13 03:14:13 Login Succeeded 03:14:13 nexus3.edgexfoundry.org:10004 03:14:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:13 Configure a credential helper to remove this warning. See 03:14:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:13 03:14:13 Login Succeeded 03:14:13 docker.io 03:14:13 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:14:13 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:14:13 Configure a credential helper to remove this warning. See 03:14:13 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:14:13 03:14:13 Login Succeeded 03:14:13 ---> docker-login.sh ends [Pipeline] } 03:14:13 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:14:13 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:14:13 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 03:14:13 9b53cce74fa8bad39d84f8d6d5cef51853259bec 03:14:13 latest 03:14:13 3.1.0-dev.21 03:14:13 9b53cce74fa8bad39d84f8d6d5cef51853259bec-3.1.0-dev.21 03:14:13 main 03:14:13 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:14:14 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:9b53cce74fa8bad39d84f8d6d5cef51853259bec [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:14:14 + docker push nexus3.edgexfoundry.org:10004/device-rest:9b53cce74fa8bad39d84f8d6d5cef51853259bec 03:14:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:14:14 c478ba80ef77: Preparing 03:14:14 bb8e5d0fbbe5: Preparing 03:14:14 4ad68b3d335d: Preparing 03:14:14 3a7539a9e858: Preparing 03:14:14 cc2447e1835a: Preparing 03:14:14 cc2447e1835a: Layer already exists 03:14:14 c478ba80ef77: Pushed 03:14:14 bb8e5d0fbbe5: Pushed 03:14:14 3a7539a9e858: Pushed 03:14:17 4ad68b3d335d: Pushed 03:14:17 9b53cce74fa8bad39d84f8d6d5cef51853259bec: digest: sha256:0356a66ff7c171fb39aa46c21edeaaae6f876ca9876c8f8d2b8c789ad8879dc9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:14:18 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:14:18 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 03:14:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:14:18 c478ba80ef77: Preparing 03:14:18 bb8e5d0fbbe5: Preparing 03:14:18 4ad68b3d335d: Preparing 03:14:18 3a7539a9e858: Preparing 03:14:18 cc2447e1835a: Preparing 03:14:18 3a7539a9e858: Layer already exists 03:14:18 bb8e5d0fbbe5: Layer already exists 03:14:18 cc2447e1835a: Layer already exists 03:14:18 c478ba80ef77: Layer already exists 03:14:18 4ad68b3d335d: Layer already exists 03:14:18 latest: digest: sha256:0356a66ff7c171fb39aa46c21edeaaae6f876ca9876c8f8d2b8c789ad8879dc9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:14:18 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:14:19 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.21 03:14:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:14:19 c478ba80ef77: Preparing 03:14:19 bb8e5d0fbbe5: Preparing 03:14:19 4ad68b3d335d: Preparing 03:14:19 3a7539a9e858: Preparing 03:14:19 cc2447e1835a: Preparing 03:14:19 cc2447e1835a: Layer already exists 03:14:19 4ad68b3d335d: Layer already exists 03:14:19 bb8e5d0fbbe5: Layer already exists 03:14:19 c478ba80ef77: Layer already exists 03:14:19 3a7539a9e858: Layer already exists 03:14:19 3.1.0-dev.21: digest: sha256:0356a66ff7c171fb39aa46c21edeaaae6f876ca9876c8f8d2b8c789ad8879dc9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:14:19 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:9b53cce74fa8bad39d84f8d6d5cef51853259bec-3.1.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:14:19 + docker push nexus3.edgexfoundry.org:10004/device-rest:9b53cce74fa8bad39d84f8d6d5cef51853259bec-3.1.0-dev.21 03:14:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:14:19 c478ba80ef77: Preparing 03:14:19 bb8e5d0fbbe5: Preparing 03:14:19 4ad68b3d335d: Preparing 03:14:19 3a7539a9e858: Preparing 03:14:19 cc2447e1835a: Preparing 03:14:19 cc2447e1835a: Layer already exists 03:14:19 3a7539a9e858: Layer already exists 03:14:19 4ad68b3d335d: Layer already exists 03:14:19 bb8e5d0fbbe5: Layer already exists 03:14:19 c478ba80ef77: Layer already exists 03:14:19 9b53cce74fa8bad39d84f8d6d5cef51853259bec-3.1.0-dev.21: digest: sha256:0356a66ff7c171fb39aa46c21edeaaae6f876ca9876c8f8d2b8c789ad8879dc9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:14:20 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:14:20 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 03:14:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 03:14:20 c478ba80ef77: Preparing 03:14:20 bb8e5d0fbbe5: Preparing 03:14:20 4ad68b3d335d: Preparing 03:14:20 3a7539a9e858: Preparing 03:14:20 cc2447e1835a: Preparing 03:14:20 4ad68b3d335d: Layer already exists 03:14:20 c478ba80ef77: Layer already exists 03:14:20 cc2447e1835a: Layer already exists 03:14:20 bb8e5d0fbbe5: Layer already exists 03:14:20 3a7539a9e858: Layer already exists 03:14:20 main: digest: sha256:0356a66ff7c171fb39aa46c21edeaaae6f876ca9876c8f8d2b8c789ad8879dc9 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:14:20 ===================================================== [Pipeline] echo 03:14:20 taggedImages: 03:14:20 - nexus3.edgexfoundry.org:10004/device-rest:9b53cce74fa8bad39d84f8d6d5cef51853259bec 03:14:20 - nexus3.edgexfoundry.org:10004/device-rest:latest 03:14:20 - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.21 03:14:20 - nexus3.edgexfoundry.org:10004/device-rest:9b53cce74fa8bad39d84f8d6d5cef51853259bec-3.1.0-dev.21 03:14:20 - 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 03:14:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:14:20 03:14:20 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:14:21 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:14:21 latest: Pulling from edgex-lftools-log-publisher 03:14:21 5eb5b503b376: Pulling fs layer 03:14:21 5c69ac0246d0: Pulling fs layer 03:14:21 ec43610c2a17: Pulling fs layer 03:14:21 3a2ae6a8a46f: Pulling fs layer 03:14:21 33b1e0a273af: Pulling fs layer 03:14:21 5d3b04190fa2: Pulling fs layer 03:14:21 2f39f015ded8: Pulling fs layer 03:14:21 33b1e0a273af: Waiting 03:14:21 2f39f015ded8: Waiting 03:14:21 5d3b04190fa2: Waiting 03:14:21 3a2ae6a8a46f: Waiting 03:14:21 5c69ac0246d0: Download complete 03:14:21 3a2ae6a8a46f: Verifying Checksum 03:14:21 3a2ae6a8a46f: Download complete 03:14:21 33b1e0a273af: Verifying Checksum 03:14:21 33b1e0a273af: Download complete 03:14:21 5d3b04190fa2: Verifying Checksum 03:14:21 5d3b04190fa2: Download complete 03:14:21 ec43610c2a17: Download complete 03:14:21 5eb5b503b376: Verifying Checksum 03:14:21 5eb5b503b376: Download complete 03:14:21 2f39f015ded8: Download complete 03:14:22 5eb5b503b376: Pull complete 03:14:22 5c69ac0246d0: Pull complete 03:14:23 ec43610c2a17: Pull complete 03:14:23 3a2ae6a8a46f: Pull complete 03:14:23 33b1e0a273af: Pull complete 03:14:23 5d3b04190fa2: Pull complete 03:14:27 2f39f015ded8: Pull complete 03:14:27 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 03:14:27 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:14:27 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:14:27 prd-ubuntu20.04-docker-8c-8g-9183 does not seem to be running inside a container 03:14:27 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:14:30 $ docker top 9f058f2a2760dd20cfd03a89630afb06f8b17f5077e902a15bcea0ba26b4e915 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:14:30 ---> job-cost.sh 03:14:30 lf-activate-venv: SKIPPING 03:14:30 INFO: No Stack... 03:14:30 INFO: Retrieving Pricing Info for: v3-standard-8 03:14:31 INFO: Archiving Costs [Pipeline] sh 03:14:31 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 03:14:31 + cut -d, -f6 [Pipeline] lock 03:14:31 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-141-stack-cost] 03:14:31 Resource [jenkins-edgexfoundry-device-rest-go-main-141-stack-cost] did not exist. Created. 03:14:31 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-141-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:14:31 + echo total: 0.2199999988079071 [Pipeline] stash 03:14:31 Stashed 1 file(s) [Pipeline] } 03:14:31 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-141-stack-cost] [Pipeline] // lock [Pipeline] } 03:14:31 $ docker stop --time=1 9f058f2a2760dd20cfd03a89630afb06f8b17f5077e902a15bcea0ba26b4e915 03:14:32 $ docker rm -f --volumes 9f058f2a2760dd20cfd03a89630afb06f8b17f5077e902a15bcea0ba26b4e915 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 03:15:08 Running on prd-ubuntu20.04-docker-arm64-4c-16g-9187 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 03:15:08 Running in /w/workspace/device-rest-go/141 [Pipeline] { [Pipeline] checkout 03:15:08 The recommended git tool is: git 03:15:14 using credential edgex-jenkins-ssh 03:15:14 Cloning the remote Git repository 03:15:14 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 03:15:14 > git init /w/workspace/device-rest-go/141 # timeout=10 03:15:14 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 03:15:14 > git --version # timeout=10 03:15:14 > git --version # 'git version 2.25.1' 03:15:14 using GIT_SSH to set credentials SSH Credentials for GitHub 03:15:14 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 03:15:18 Avoid second fetch 03:15:18 Checking out Revision 9b53cce74fa8bad39d84f8d6d5cef51853259bec (main) 03:15:17 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 03:15:17 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 03:15:18 > git config core.sparsecheckout # timeout=10 03:15:18 > git checkout -f 9b53cce74fa8bad39d84f8d6d5cef51853259bec # timeout=10 03:15:19 Commit message: "Merge pull request #351 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.1.0-dev.34" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 03:15:20 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 03:15:20 % Total % Received % Xferd Average Speed Time Time Time Current 03:15:20 Dload Upload Total Spent Left Speed 03:15:20 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 166k 0 --:--:-- --:--:-- --:--:-- 168k [Pipeline] sh 03:15:20 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 03:15:21 + sudo+ jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.jsonsudo 03:15:21 tee /etc/docker/daemon.new 03:15:21 { 03:15:21 "registry-mirrors": [ 03:15:21 "https://nexus3.edgexfoundry.org:10001" 03:15:21 ], 03:15:21 "bip": "10.250.0.254/24", 03:15:21 "hosts": [ 03:15:21 "tcp://0.0.0.0:5555", 03:15:21 "unix:///var/run/docker.sock" 03:15:21 ], 03:15:21 "mtu": 1458, 03:15:21 "selinux-enabled": true, 03:15:21 "seccomp-profile": "/etc/docker/seccomp.json" 03:15:21 } [Pipeline] sh 03:15:21 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 03:15:21 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:15:40 provisioning config files... 03:15:40 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/141@tmp/config16556106163711130863tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:15:40 ---> docker-login.sh 03:15:40 nexus3.edgexfoundry.org:10001 03:15:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:41 Configure a credential helper to remove this warning. See 03:15:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:41 03:15:41 Login Succeeded 03:15:41 nexus3.edgexfoundry.org:10002 03:15:41 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:41 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:41 Configure a credential helper to remove this warning. See 03:15:41 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:41 03:15:41 Login Succeeded 03:15:41 nexus3.edgexfoundry.org:10003 03:15:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:42 Configure a credential helper to remove this warning. See 03:15:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:42 03:15:42 Login Succeeded 03:15:42 nexus3.edgexfoundry.org:10004 03:15:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:42 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:42 Configure a credential helper to remove this warning. See 03:15:42 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:42 03:15:42 Login Succeeded 03:15:42 docker.io 03:15:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:15:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:15:43 Configure a credential helper to remove this warning. See 03:15:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:15:43 03:15:43 Login Succeeded 03:15:43 ---> docker-login.sh ends [Pipeline] } 03:15:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 03:15:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:15:43 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:15:43 ========================================================= 03:15:43 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine] 03:15:43 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:15:43 + 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 . 03:15:43 Sending build context to Docker daemon 144.4kB 03:15:44 Step 1/12 : ARG BASE=golang:1.21-alpine3.18 03:15:44 Step 2/12 : FROM ${BASE} AS builder 03:15:44 1.21-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 03:15:44 9fda8d8052c6: Pulling fs layer 03:15:44 5d54e960e981: Pulling fs layer 03:15:44 c4a7e357bf2a: Pulling fs layer 03:15:44 f0e02332f6b5: Pulling fs layer 03:15:44 cefa15bbcfad: Pulling fs layer 03:15:44 17808c966233: Pulling fs layer 03:15:44 f4c1fc716caa: Pulling fs layer 03:15:44 f0e02332f6b5: Waiting 03:15:44 cefa15bbcfad: Waiting 03:15:44 17808c966233: Waiting 03:15:44 f4c1fc716caa: Waiting 03:15:44 5d54e960e981: Verifying Checksum 03:15:44 5d54e960e981: Download complete 03:15:44 f0e02332f6b5: Verifying Checksum 03:15:44 f0e02332f6b5: Download complete 03:15:44 cefa15bbcfad: Verifying Checksum 03:15:44 cefa15bbcfad: Download complete 03:15:44 9fda8d8052c6: Verifying Checksum 03:15:44 9fda8d8052c6: Download complete 03:15:45 f4c1fc716caa: Verifying Checksum 03:15:45 f4c1fc716caa: Download complete 03:15:45 9fda8d8052c6: Pull complete 03:15:46 5d54e960e981: Pull complete 03:15:46 c4a7e357bf2a: Download complete 03:15:47 17808c966233: Verifying Checksum 03:15:47 17808c966233: Download complete 03:15:59 c4a7e357bf2a: Pull complete 03:15:59 f0e02332f6b5: Pull complete 03:16:00 cefa15bbcfad: Pull complete 03:16:10 17808c966233: Pull complete 03:16:11 f4c1fc716caa: Pull complete 03:16:11 Digest: sha256:f9b5da702465edd0a2564459334de068a24595700ad6c8d0b85b07445f0b3000 03:16:11 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.21-alpine 03:16:11 ---> ea914061e18c 03:16:11 Step 3/12 : ARG ADD_BUILD_TAGS="" 03:16:12 ---> Running in 4bcc70fb23e5 03:16:12 Removing intermediate container 4bcc70fb23e5 03:16:12 ---> a6eb43d942a4 03:16:12 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:16:12 ---> Running in 241f28b02980 03:16:12 Removing intermediate container 241f28b02980 03:16:12 ---> 698c48f8164b 03:16:12 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:16:13 ---> Running in ea73e1c27bef 03:16:13 Removing intermediate container ea73e1c27bef 03:16:13 ---> 256a3b64f11d 03:16:13 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 03:16:13 ---> Running in 25801acc5dc1 03:16:14 Removing intermediate container 25801acc5dc1 03:16:14 ---> aba622d80b96 03:16:14 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:16:14 ---> Running in 54e395f2854f 03:16:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:16:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:16:17 (1/4) Installing openssh-keygen (9.3_p2-r0) 03:16:17 (2/4) Installing libedit (20221030.3.1-r1) 03:16:17 (3/4) Installing openssh-client-common (9.3_p2-r0) 03:16:17 (4/4) Installing openssh-client-default (9.3_p2-r0) 03:16:17 Executing busybox-1.36.1-r2.trigger 03:16:17 OK: 270 MiB in 56 packages 03:16:18 Removing intermediate container 54e395f2854f 03:16:18 ---> 84ee7a869259 03:16:18 Step 8/12 : WORKDIR /device-rest-go 03:16:18 ---> Running in dadb68054dfd 03:16:19 Removing intermediate container dadb68054dfd 03:16:19 ---> 96464d866090 03:16:19 Step 9/12 : COPY go.mod vendor* ./ 03:16:19 ---> e16a7a67188f 03:16:19 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:16:19 ---> Running in 36af98a62dc3 03:17:56 Removing intermediate container 36af98a62dc3 03:17:56 ---> b66eac7cd2d4 03:17:56 Step 11/12 : COPY . . 03:17:56 ---> d001a6d477a3 03:17:56 Step 12/12 : RUN $MAKE 03:17:56 ---> Running in fe18e5963c6e 03:17:56 noop 03:17:56 Removing intermediate container fe18e5963c6e 03:17:56 ---> 90a6d5d26ddd 03:17:56 Successfully built 90a6d5d26ddd 03:17:56 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:17:57 + docker inspect -f . ci-base-image-arm64 03:17:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:17:57 prd-ubuntu20.04-docker-arm64-4c-16g-9187 does not seem to be running inside a container 03:17:57 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/141 -v /w/workspace/device-rest-go/141:/w/workspace/device-rest-go/141:rw,z -v /w/workspace/device-rest-go/141@tmp:/w/workspace/device-rest-go/141@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 03:17:58 $ docker top 8a700a18e606581585c57c3dbe8c5f1760f88b27901dce6c616af9f4368121ba -eo pid,comm [Pipeline] { [Pipeline] sh 03:17:59 + go version 03:17:59 go version go1.21.0 linux/arm64 [Pipeline] } 03:17:59 $ docker stop --time=1 8a700a18e606581585c57c3dbe8c5f1760f88b27901dce6c616af9f4368121ba 03:18:04 $ docker rm -f --volumes 8a700a18e606581585c57c3dbe8c5f1760f88b27901dce6c616af9f4368121ba [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:18:05 + docker inspect -f . ci-base-image-arm64 03:18:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:18:05 prd-ubuntu20.04-docker-arm64-4c-16g-9187 does not seem to be running inside a container 03:18:05 $ 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/141 -v /w/workspace/device-rest-go/141:/w/workspace/device-rest-go/141:rw,z -v /w/workspace/device-rest-go/141@tmp:/w/workspace/device-rest-go/141@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 03:18:06 $ docker top 578bb469235709042160df226abf0ea386196861d70510f50689f8a0318d8579 -eo pid,comm [Pipeline] { [Pipeline] sh 03:18:07 + git config --global --add safe.directory /w/workspace/device-rest-go/141 [Pipeline] fileExists [Pipeline] sh 03:18:08 + make test 03:18:08 go test ./... -coverprofile=coverage.out ./... 03:18:13 ? github.com/edgexfoundry/device-rest-go [no test files] 03:20:20 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 03:20:20 ok github.com/edgexfoundry/device-rest-go/driver 0.053s coverage: 33.2% of statements 03:20:20 WARNING: Linting skipped (not on x86_64 or linter not installed) 03:20:20 go vet ./... 03:20:35 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 03:20:35 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 03:20:35 ./bin/test-attribution-txt.sh [Pipeline] echo 03:20:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 03:20:36 $ docker stop --time=1 578bb469235709042160df226abf0ea386196861d70510f50689f8a0318d8579 03:20:38 $ docker rm -f --volumes 578bb469235709042160df226abf0ea386196861d70510f50689f8a0318d8579 [Pipeline] // withDockerContainer [Pipeline] sh 03:20:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 03:20:39 Warning: overwriting stash ‘coverage-report’ 03:20:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 03:20:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 03:20:40 + ls -al . 03:20:40 total 184 03:20:40 drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 03:18 . 03:20:40 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 03:15 .. 03:20:40 -rw-rw-r-- 1 jenkins jenkins 151 Oct 13 03:15 .dockerignore 03:20:40 drwxrwxr-x 8 jenkins jenkins 4096 Oct 13 03:15 .git 03:20:40 drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 03:15 .github 03:20:40 -rw-rw-r-- 1 jenkins jenkins 329 Oct 13 03:15 .gitignore 03:20:40 -rw-rw-r-- 1 jenkins jenkins 41 Oct 13 03:15 .golangci.yml 03:20:40 -rw-rw-r-- 1 jenkins jenkins 10300 Oct 13 03:15 Attribution.txt 03:20:40 -rw-rw-r-- 1 jenkins jenkins 15709 Oct 13 03:15 CHANGELOG.md 03:20:40 -rw-rw-r-- 1 jenkins jenkins 1578 Oct 13 03:15 Dockerfile 03:20:40 -rw-rw-r-- 1 jenkins jenkins 677 Oct 13 03:15 GOVERNANCE.md 03:20:40 -rw-rw-r-- 1 jenkins jenkins 680 Oct 13 03:15 Jenkinsfile 03:20:40 -rw-rw-r-- 1 jenkins jenkins 11340 Oct 13 03:15 LICENSE 03:20:40 -rw-rw-r-- 1 jenkins jenkins 2010 Oct 13 03:15 Makefile 03:20:40 -rw-rw-r-- 1 jenkins jenkins 620 Oct 13 03:15 OWNERS.md 03:20:40 -rw-rw-r-- 1 jenkins jenkins 15827 Oct 13 03:15 README.md 03:20:40 -rw-rw-r-- 1 jenkins jenkins 12 Oct 13 03:12 VERSION 03:20:40 drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 03:15 bin 03:20:40 drwxrwxr-x 3 jenkins jenkins 4096 Oct 13 03:15 cmd 03:20:40 -rw-r--r-- 1 jenkins jenkins 14499 Oct 13 03:20 coverage.out 03:20:40 drwxrwxr-x 2 jenkins jenkins 4096 Oct 13 03:15 driver 03:20:40 -rw-rw-r-- 1 jenkins jenkins 3891 Oct 13 03:15 go.mod 03:20:40 -rw-rw-r-- 1 jenkins jenkins 35625 Oct 13 03:15 go.sum 03:20:40 drwxrwxr-x 4 jenkins jenkins 4096 Oct 13 03:15 snap 03:20:40 -rw-rw-r-- 1 jenkins jenkins 713 Oct 13 03:15 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:20:40 + 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=9b53cce74fa8bad39d84f8d6d5cef51853259bec --label arch=arm64 --label version=3.1.0-dev.21 . 03:20:40 Sending build context to Docker daemon 159.7kB 03:20:41 Step 1/25 : ARG BASE=golang:1.21-alpine3.18 03:20:41 Step 2/25 : FROM ${BASE} AS builder 03:20:41 ---> 90a6d5d26ddd 03:20:41 Step 3/25 : ARG ADD_BUILD_TAGS="" 03:20:41 ---> Running in bf08f8ae8cd5 03:20:41 Removing intermediate container bf08f8ae8cd5 03:20:41 ---> 9a9bc81b5842 03:20:41 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 03:20:41 ---> Running in ef3f0a3d9781 03:20:42 Removing intermediate container ef3f0a3d9781 03:20:42 ---> cbd2d8b2560d 03:20:42 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 03:20:42 ---> Running in a98843a242f8 03:20:42 Removing intermediate container a98843a242f8 03:20:42 ---> daac7b08f94a 03:20:42 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 03:20:42 ---> Running in 7418e2c142f2 03:20:43 Removing intermediate container 7418e2c142f2 03:20:43 ---> ac61b8bb7956 03:20:43 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 03:20:43 ---> Running in 0896b72c3b13 03:20:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:20:44 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:20:46 OK: 270 MiB in 56 packages 03:20:47 Removing intermediate container 0896b72c3b13 03:20:47 ---> 9c6ac4099b1e 03:20:47 Step 8/25 : WORKDIR /device-rest-go 03:20:47 ---> Running in 2c7e595d0cb3 03:20:47 Removing intermediate container 2c7e595d0cb3 03:20:47 ---> 8d864221739a 03:20:47 Step 9/25 : COPY go.mod vendor* ./ 03:20:48 ---> 49b34a8b7f98 03:20:48 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 03:20:48 ---> Running in 4944dbb60c0c 03:20:50 Removing intermediate container 4944dbb60c0c 03:20:50 ---> 7b3103e18767 03:20:50 Step 11/25 : COPY . . 03:20:50 ---> 9308939af365 03:20:50 Step 12/25 : RUN $MAKE 03:20:51 ---> Running in 6b684879d055 03:20:52 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.21 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.0-dev.34" -trimpath -mod=readonly -o cmd/device-rest ./cmd 03:22:58 Removing intermediate container 6b684879d055 03:22:58 ---> ad913ab19d26 03:22:58 Step 13/25 : FROM alpine:3.18 03:22:58 3.18: Pulling from library/alpine 03:22:58 579b34f0a95b: Pulling fs layer 03:22:58 579b34f0a95b: Verifying Checksum 03:22:58 579b34f0a95b: Download complete 03:22:58 579b34f0a95b: Pull complete 03:22:58 Digest: sha256:eece025e432126ce23f223450a0326fbebde39cdf496a85d8c016293fc851978 03:22:58 Status: Downloaded newer image for alpine:3.18 03:22:58 ---> 3cc203321400 03:22:58 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' 03:22:58 ---> Running in 47fd6b11a443 03:22:58 Removing intermediate container 47fd6b11a443 03:22:58 ---> 010e33df69c5 03:22:58 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 03:22:58 ---> Running in a84f8309b9ee 03:22:58 Removing intermediate container a84f8309b9ee 03:22:58 ---> cead204402a5 03:22:58 Step 16/25 : RUN apk add --update --no-cache dumb-init 03:22:58 ---> Running in 7a2499feaee0 03:22:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz 03:22:58 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz 03:22:59 (1/1) Installing dumb-init (1.2.5-r2) 03:22:59 Executing busybox-1.36.1-r2.trigger 03:22:59 OK: 8 MiB in 16 packages 03:23:02 Removing intermediate container 7a2499feaee0 03:23:02 ---> 8168407e279e 03:23:02 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 03:23:03 ---> 73f45611b7a8 03:23:03 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 03:23:04 ---> d367be6bdd50 03:23:04 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 03:23:05 ---> fddc6ac11e49 03:23:05 Step 20/25 : EXPOSE 59986 03:23:05 ---> Running in b55f79fb5ffc 03:23:05 Removing intermediate container b55f79fb5ffc 03:23:05 ---> 5cc9493ca281 03:23:05 Step 21/25 : ENTRYPOINT ["/device-rest"] 03:23:05 ---> Running in 7d9772b145c9 03:23:05 Removing intermediate container 7d9772b145c9 03:23:05 ---> de5c1fff3212 03:23:05 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 03:23:05 ---> Running in 9085b1a7de80 03:23:06 Removing intermediate container 9085b1a7de80 03:23:06 ---> 2a61941eed5f 03:23:06 Step 23/25 : LABEL arch=arm64 03:23:06 ---> Running in e00f33909ed8 03:23:06 Removing intermediate container e00f33909ed8 03:23:06 ---> fad04215b94a 03:23:06 Step 24/25 : LABEL git_sha=9b53cce74fa8bad39d84f8d6d5cef51853259bec 03:23:06 ---> Running in 25a45dd75097 03:23:06 Removing intermediate container 25a45dd75097 03:23:06 ---> 08cd98c0cf4a 03:23:06 Step 25/25 : LABEL version=3.1.0-dev.21 03:23:06 ---> Running in 6d5ef7b21f7d 03:23:07 Removing intermediate container 6d5ef7b21f7d 03:23:07 ---> b6f10469bf1e 03:23:07 [Warning] One or more build-args [ARCH] were not consumed 03:23:07 Successfully built b6f10469bf1e 03:23:07 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 03:23:07 provisioning config files... 03:23:07 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/141@tmp/config5842433479506011438tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:23:07 ---> docker-login.sh 03:23:07 nexus3.edgexfoundry.org:10001 03:23:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:23:07 Configure a credential helper to remove this warning. See 03:23:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:23:07 03:23:07 Login Succeeded 03:23:07 nexus3.edgexfoundry.org:10002 03:23:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:23:08 Configure a credential helper to remove this warning. See 03:23:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:23:08 03:23:08 Login Succeeded 03:23:08 nexus3.edgexfoundry.org:10003 03:23:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:23:08 Configure a credential helper to remove this warning. See 03:23:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:23:08 03:23:08 Login Succeeded 03:23:08 nexus3.edgexfoundry.org:10004 03:23:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:23:08 Configure a credential helper to remove this warning. See 03:23:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:23:08 03:23:08 Login Succeeded 03:23:08 docker.io 03:23:09 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 03:23:09 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 03:23:09 Configure a credential helper to remove this warning. See 03:23:09 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 03:23:09 03:23:09 Login Succeeded 03:23:09 ---> docker-login.sh ends [Pipeline] } 03:23:09 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:23:09 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 03:23:09 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 03:23:09 9b53cce74fa8bad39d84f8d6d5cef51853259bec 03:23:09 latest 03:23:09 3.1.0-dev.21 03:23:09 9b53cce74fa8bad39d84f8d6d5cef51853259bec-3.1.0-dev.21 03:23:09 main 03:23:09 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:09 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:9b53cce74fa8bad39d84f8d6d5cef51853259bec [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:10 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:9b53cce74fa8bad39d84f8d6d5cef51853259bec 03:23:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:23:10 6546cb85d3c6: Preparing 03:23:10 f9ca6610c465: Preparing 03:23:10 a839a76329ba: Preparing 03:23:10 81563985f781: Preparing 03:23:10 5f4d9fc4d98d: Preparing 03:23:10 5f4d9fc4d98d: Layer already exists 03:23:10 6546cb85d3c6: Pushed 03:23:10 f9ca6610c465: Pushed 03:23:10 81563985f781: Pushed 03:23:17 a839a76329ba: Pushed 03:23:17 9b53cce74fa8bad39d84f8d6d5cef51853259bec: digest: sha256:b9f6e0d736a3da6bda4ffd3ae51d730123d28a2693a36b46a2f5062ab4b337ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:17 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:17 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 03:23:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:23:17 6546cb85d3c6: Preparing 03:23:17 f9ca6610c465: Preparing 03:23:17 a839a76329ba: Preparing 03:23:17 81563985f781: Preparing 03:23:17 5f4d9fc4d98d: Preparing 03:23:17 a839a76329ba: Layer already exists 03:23:17 6546cb85d3c6: Layer already exists 03:23:17 5f4d9fc4d98d: Layer already exists 03:23:17 f9ca6610c465: Layer already exists 03:23:17 81563985f781: Layer already exists 03:23:18 latest: digest: sha256:b9f6e0d736a3da6bda4ffd3ae51d730123d28a2693a36b46a2f5062ab4b337ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:18 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:18 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.21 03:23:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:23:18 6546cb85d3c6: Preparing 03:23:18 f9ca6610c465: Preparing 03:23:18 a839a76329ba: Preparing 03:23:18 81563985f781: Preparing 03:23:18 5f4d9fc4d98d: Preparing 03:23:18 5f4d9fc4d98d: Layer already exists 03:23:18 6546cb85d3c6: Layer already exists 03:23:18 f9ca6610c465: Layer already exists 03:23:18 81563985f781: Layer already exists 03:23:18 a839a76329ba: Layer already exists 03:23:19 3.1.0-dev.21: digest: sha256:b9f6e0d736a3da6bda4ffd3ae51d730123d28a2693a36b46a2f5062ab4b337ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:19 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:9b53cce74fa8bad39d84f8d6d5cef51853259bec-3.1.0-dev.21 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:19 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:9b53cce74fa8bad39d84f8d6d5cef51853259bec-3.1.0-dev.21 03:23:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:23:19 6546cb85d3c6: Preparing 03:23:19 f9ca6610c465: Preparing 03:23:19 a839a76329ba: Preparing 03:23:19 81563985f781: Preparing 03:23:19 5f4d9fc4d98d: Preparing 03:23:19 81563985f781: Layer already exists 03:23:19 6546cb85d3c6: Layer already exists 03:23:19 5f4d9fc4d98d: Layer already exists 03:23:19 f9ca6610c465: Layer already exists 03:23:19 a839a76329ba: Layer already exists 03:23:19 9b53cce74fa8bad39d84f8d6d5cef51853259bec-3.1.0-dev.21: digest: sha256:b9f6e0d736a3da6bda4ffd3ae51d730123d28a2693a36b46a2f5062ab4b337ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:20 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:21 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 03:23:21 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 03:23:21 6546cb85d3c6: Preparing 03:23:21 f9ca6610c465: Preparing 03:23:21 a839a76329ba: Preparing 03:23:21 81563985f781: Preparing 03:23:21 5f4d9fc4d98d: Preparing 03:23:21 81563985f781: Layer already exists 03:23:21 6546cb85d3c6: Layer already exists 03:23:21 a839a76329ba: Layer already exists 03:23:21 f9ca6610c465: Layer already exists 03:23:21 5f4d9fc4d98d: Layer already exists 03:23:21 main: digest: sha256:b9f6e0d736a3da6bda4ffd3ae51d730123d28a2693a36b46a2f5062ab4b337ab size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 03:23:21 ===================================================== [Pipeline] echo 03:23:21 taggedImages: 03:23:21 - nexus3.edgexfoundry.org:10004/device-rest-arm64:9b53cce74fa8bad39d84f8d6d5cef51853259bec 03:23:21 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 03:23:21 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.21 03:23:21 - nexus3.edgexfoundry.org:10004/device-rest-arm64:9b53cce74fa8bad39d84f8d6d5cef51853259bec-3.1.0-dev.21 03:23:21 - 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 03:23:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:23:21 03:23:21 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:22 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:23:22 arm64: Pulling from edgex-lftools-log-publisher 03:23:22 8998bd30e6a1: Pulling fs layer 03:23:22 04944245beec: Pulling fs layer 03:23:22 699f458cf7ca: Pulling fs layer 03:23:22 765212b225bb: Pulling fs layer 03:23:22 f23df028b6ca: Pulling fs layer 03:23:22 d65c8cfc05b1: Pulling fs layer 03:23:22 2437ff75d9bd: Pulling fs layer 03:23:22 f23df028b6ca: Waiting 03:23:22 d65c8cfc05b1: Waiting 03:23:22 2437ff75d9bd: Waiting 03:23:22 765212b225bb: Waiting 03:23:22 04944245beec: Verifying Checksum 03:23:22 04944245beec: Download complete 03:23:22 765212b225bb: Verifying Checksum 03:23:22 765212b225bb: Download complete 03:23:22 f23df028b6ca: Download complete 03:23:22 d65c8cfc05b1: Download complete 03:23:22 699f458cf7ca: Verifying Checksum 03:23:22 699f458cf7ca: Download complete 03:23:22 8998bd30e6a1: Verifying Checksum 03:23:22 8998bd30e6a1: Download complete 03:23:25 2437ff75d9bd: Verifying Checksum 03:23:25 2437ff75d9bd: Download complete 03:23:29 8998bd30e6a1: Pull complete 03:23:30 04944245beec: Pull complete 03:23:31 699f458cf7ca: Pull complete 03:23:31 765212b225bb: Pull complete 03:23:32 f23df028b6ca: Pull complete 03:23:33 d65c8cfc05b1: Pull complete 03:23:48 2437ff75d9bd: Pull complete 03:23:48 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 03:23:48 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 03:23:48 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:23:48 prd-ubuntu20.04-docker-arm64-4c-16g-9187 does not seem to be running inside a container 03:23:48 $ 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/141 -v /w/workspace/device-rest-go/141:/w/workspace/device-rest-go/141:rw,z -v /w/workspace/device-rest-go/141@tmp:/w/workspace/device-rest-go/141@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 03:23:51 $ docker top ca7fc5f8a84e387e8301feaf80a750d4f2b3be3118a3ef6da7b86a06bc491e47 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 03:23:52 ---> job-cost.sh 03:23:52 lf-activate-venv: SKIPPING 03:23:52 INFO: No Stack... 03:23:52 INFO: Retrieving Pricing Info for: v3-standard-4 03:23:53 INFO: Archiving Costs [Pipeline] sh 03:23:53 + cat /w/workspace/device-rest-go/141/archives/cost.csv 03:23:53 + cut -d, -f6 [Pipeline] lock 03:23:54 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-141-stack-cost] 03:23:54 Resource [jenkins-edgexfoundry-device-rest-go-main-141-stack-cost] did not exist. Created. 03:23:54 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-141-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 03:23:54 /w/workspace/device-rest-go/141@tmp/durable-677a25c8/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 03:23:55 + echo total: 0.10999999940395355 [Pipeline] stash 03:23:55 Warning: overwriting stash ‘stack-cost’ 03:23:55 Stashed 1 file(s) [Pipeline] } 03:23:55 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-141-stack-cost] [Pipeline] // lock [Pipeline] } 03:23:55 $ docker stop --time=1 ca7fc5f8a84e387e8301feaf80a750d4f2b3be3118a3ef6da7b86a06bc491e47 03:23:58 $ docker rm -f --volumes ca7fc5f8a84e387e8301feaf80a750d4f2b3be3118a3ef6da7b86a06bc491e47 [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 03:23:58 provisioning config files... 03:23:58 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4710072526336472470tmp [Pipeline] { [Pipeline] sh 03:23:58 + set +x 03:23:58 + + curl -s https://codecov.io/bash 03:23:58 bash -s -- 03:23:58 03:23:58 _____ _ 03:23:58 / ____| | | 03:23:58 | | ___ __| | ___ ___ _____ __ 03:23:58 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 03:23:58 | |___| (_) | (_| | __/ (_| (_) \ V / 03:23:58 \_____\___/ \__,_|\___|\___\___/ \_/ 03:23:58 Bash-1.0.6 03:23:58 03:23:58 03:23:58 ==> git version 2.25.1 found 03:23:58 ==> 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 03:23:58 Release-Date: 2020-01-08 03:23:58 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 03:23:58 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 03:23:58 ==> Jenkins CI detected. 03:23:58 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 03:23:58 project root: . 03:23:58 --> token set from env 03:23:58 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 03:23:58 ==> Running gcov in . (disable via -X gcov) 03:23:58 ==> Python coveragepy not found 03:23:58 ==> Searching for coverage reports in: 03:23:58 + . 03:23:58 -> Found 1 reports 03:23:58 ==> Detecting git/mercurial file structure 03:23:58 ==> Reading reports 03:23:58 + ./coverage.out bytes=14499 03:23:58 ==> Appending adjustments 03:23:58 https://docs.codecov.io/docs/fixing-reports 03:23:59 + Found adjustments 03:23:59 ==> Gzipping contents 03:23:59 4.0K /tmp/codecov.ElQReO.gz 03:23:59 ==> Uploading reports 03:23:59 url: https://codecov.io 03:23:59 query: branch=main&commit=9b53cce74fa8bad39d84f8d6d5cef51853259bec&build=141&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F141%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:23:59 -> Pinging Codecov 03:23:59 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=9b53cce74fa8bad39d84f8d6d5cef51853259bec&build=141&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F141%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 03:23:59 -> Uploading to 03:23:59 https://storage.googleapis.com/codecov/v4/raw/2023-10-13/4E5D53B4F1F92C436F7061BF334D961C/9b53cce74fa8bad39d84f8d6d5cef51853259bec/8329af0e-2028-462b-8385-e2dae0d7c134.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20231013%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20231013T032359Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c069fff6b0cdc535e06ef42dd54112c83c8b61cf8966e9abfcd096c4d3f9370c 03:23:59 % Total % Received % Xferd Average Speed Time Time Time Current 03:23:59 Dload Upload Total Spent Left Speed 03:23:59 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 8903 --:--:-- --:--:-- --:--:-- 8903 03:23:59 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/9b53cce74fa8bad39d84f8d6d5cef51853259bec [Pipeline] } 03:23:59 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 03:23:59 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 03:23:59 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:23:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:23:59 03:23:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:00 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:24:00 1.410.4: Pulling from edgex-devops/edgex-snyk-go 03:24:00 df9b9388f04a: Pulling fs layer 03:24:00 52dc419b0ee2: Pulling fs layer 03:24:00 25bc292e5bac: Pulling fs layer 03:24:00 114826534d7a: Pulling fs layer 03:24:00 4657fd5d0bcf: Pulling fs layer 03:24:00 6ad1cebc031e: Pulling fs layer 03:24:00 8a3aa393b2d8: Pulling fs layer 03:24:00 4657fd5d0bcf: Waiting 03:24:00 6ad1cebc031e: Waiting 03:24:00 114826534d7a: Waiting 03:24:00 8a3aa393b2d8: Waiting 03:24:00 25bc292e5bac: Verifying Checksum 03:24:00 25bc292e5bac: Download complete 03:24:00 52dc419b0ee2: Download complete 03:24:00 4657fd5d0bcf: Verifying Checksum 03:24:00 4657fd5d0bcf: Download complete 03:24:00 df9b9388f04a: Download complete 03:24:00 6ad1cebc031e: Verifying Checksum 03:24:00 6ad1cebc031e: Download complete 03:24:00 df9b9388f04a: Pull complete 03:24:00 52dc419b0ee2: Pull complete 03:24:00 25bc292e5bac: Pull complete 03:24:01 114826534d7a: Verifying Checksum 03:24:01 114826534d7a: Download complete 03:24:01 8a3aa393b2d8: Verifying Checksum 03:24:01 8a3aa393b2d8: Download complete 03:24:04 114826534d7a: Pull complete 03:24:04 4657fd5d0bcf: Pull complete 03:24:04 6ad1cebc031e: Pull complete 03:24:06 8a3aa393b2d8: Pull complete 03:24:06 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 03:24:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 03:24:06 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:24:06 prd-ubuntu20.04-docker-8c-8g-9183 does not seem to be running inside a container 03:24:06 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 03:24:10 $ docker top da49dfd997c34fa3576637a50292580197755aa567f1563f8bc1eddd199eaa0f -eo pid,comm [Pipeline] { [Pipeline] echo 03:24:10 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 03:24:10 + set -o pipefail 03:24:10 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 03:24:16 03:24:16 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 03:24:16 03:24:16 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/f67f49e4-f83f-4c30-9321-a59caa32b14a 03:24:16 03:24:16 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 03:24:16 03:24:16 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 03:24:16 03:24:16 03:24:16 A medium severity vulnerability was found in the Snyk CLI versions you are using. 03:24:16 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 03:24:16 More details here: https://snyk.co/ue1NS 03:24:16 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 03:24:16 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 03:24:16 $ docker stop --time=1 da49dfd997c34fa3576637a50292580197755aa567f1563f8bc1eddd199eaa0f 03:24:19 $ docker rm -f --volumes da49dfd997c34fa3576637a50292580197755aa567f1563f8bc1eddd199eaa0f [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 03:24:20 + git log --format=format:%s -1 9b53cce74fa8bad39d84f8d6d5cef51853259bec [Pipeline] sh 03:24:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:24:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:21 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:24:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:24:21 prd-ubuntu20.04-docker-8c-8g-9183 does not seem to be running inside a container 03:24:21 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:24:21 $ docker top d109f51a1902e6ba382a189af5736f3069af2ea8bc28ba91d736b11b3aef70ae -eo pid,comm 03:24:21 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). 03:24:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:24:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:24:21 [ssh-agent] Looking for ssh-agent implementation... 03:24:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:24:21 $ docker exec d109f51a1902e6ba382a189af5736f3069af2ea8bc28ba91d736b11b3aef70ae ssh-agent 03:24:21 SSH_AUTH_SOCK=/tmp/ssh-18nxw0L5XXsI/agent.32 03:24:21 SSH_AGENT_PID=38 03:24:21 Running ssh-add (command line suppressed) 03:24:21 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9153381468520164818.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9153381468520164818.key) 03:24:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:24:22 + git semver tag 03:24:22 2023-10-13 03:24:22,411 [run_tag] DEBUG tag force:False 03:24:22 2023-10-13 03:24:22,411 [check_head_tag] DEBUG check head tag 03:24:22 2023-10-13 03:24:22,411 [execute] INFO git cat-file --batch-check 03:24:22 2023-10-13 03:24:22,412 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 03:24:22 2023-10-13 03:24:22,415 [execute] INFO git cat-file --batch 03:24:22 2023-10-13 03:24:22,415 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 03:24:22 2023-10-13 03:24:22,427 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:24:22 2023-10-13 03:24:22,427 [execute] INFO git tag -a v3.1.0-dev.21 -m v3.1.0-dev.21 03:24:22 2023-10-13 03:24:22,427 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.21', '-m', 'v3.1.0-dev.21'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 03:24:22 2023-10-13 03:24:22,431 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:24:22 3.1.0-dev.21 [Pipeline] } 03:24:22 $ docker exec --env ******** --env ******** d109f51a1902e6ba382a189af5736f3069af2ea8bc28ba91d736b11b3aef70ae ssh-agent -k 03:24:22 unset SSH_AUTH_SOCK; 03:24:22 unset SSH_AGENT_PID; 03:24:22 echo Agent pid 38 killed; 03:24:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:24:22 + git semver [Pipeline] } 03:24:23 $ docker stop --time=1 d109f51a1902e6ba382a189af5736f3069af2ea8bc28ba91d736b11b3aef70ae 03:24:24 $ docker rm -f --volumes d109f51a1902e6ba382a189af5736f3069af2ea8bc28ba91d736b11b3aef70ae [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:24:24 03:24:24 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:24:25 0.23.1-centos7: Pulling from edgex-lftools 03:24:25 ab5ef0e58194: Pulling fs layer 03:24:25 9712f1f96733: Pulling fs layer 03:24:25 63f879dbbcfc: Pulling fs layer 03:24:25 0d9ebad4ef96: Pulling fs layer 03:24:25 e9a5061849ea: Pulling fs layer 03:24:25 d747dcd14b5f: Pulling fs layer 03:24:25 2de7ff778b66: Pulling fs layer 03:24:25 e9a5061849ea: Waiting 03:24:25 d747dcd14b5f: Waiting 03:24:25 0d9ebad4ef96: Waiting 03:24:25 2de7ff778b66: Waiting 03:24:25 9712f1f96733: Download complete 03:24:25 63f879dbbcfc: Verifying Checksum 03:24:25 63f879dbbcfc: Download complete 03:24:25 0d9ebad4ef96: Verifying Checksum 03:24:25 0d9ebad4ef96: Download complete 03:24:25 d747dcd14b5f: Verifying Checksum 03:24:25 d747dcd14b5f: Download complete 03:24:25 e9a5061849ea: Verifying Checksum 03:24:25 ab5ef0e58194: Verifying Checksum 03:24:25 ab5ef0e58194: Download complete 03:24:25 2de7ff778b66: Verifying Checksum 03:24:25 2de7ff778b66: Download complete 03:24:28 ab5ef0e58194: Pull complete 03:24:28 9712f1f96733: Pull complete 03:24:28 63f879dbbcfc: Pull complete 03:24:32 0d9ebad4ef96: Pull complete 03:24:32 e9a5061849ea: Pull complete 03:24:32 d747dcd14b5f: Pull complete 03:24:33 2de7ff778b66: Pull complete 03:24:33 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 03:24:33 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 03:24:33 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:24:33 prd-ubuntu20.04-docker-8c-8g-9183 does not seem to be running inside a container 03:24: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 ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 03:24:36 $ docker top c40b70fad59bfd0de130ea38a2ac9dfe4738b82fbdcae7475bacdd8232ab8d25 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 03:24:36 provisioning config files... 03:24:36 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12362850901162605359tmp 03:24:36 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15139398279402524312tmp 03:24:36 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7164465768406175262tmp [Pipeline] { [Pipeline] echo 03:24:36 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 03:24:36 ---> sigul-configuration.sh 03:24:36 gpg: directory `/root/.gnupg' created 03:24:36 gpg: new configuration file `/root/.gnupg/gpg.conf' created 03:24:36 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 03:24:36 gpg: keyring `/root/.gnupg/secring.gpg' created 03:24:36 gpg: keyring `/root/.gnupg/pubring.gpg' created 03:24:36 gpg: CAST5 encrypted data 03:24:36 gpg: encrypted with 1 passphrase 03:24:36 gpg: WARNING: message was not integrity protected [Pipeline] sh 03:24:37 + mkdir /home/jenkins 03:24:37 + mkdir /home/jenkins/sigul [Pipeline] sh 03:24:37 + 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 03:24:37 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 03:24:37 ---> sigul-install.sh 03:24:37 Sigul already installed; skipping installation. [Pipeline] sh 03:24:37 + git tag --list 03:24:37 v1.0.0 03:24:37 v1.1.0 03:24:37 v1.1.1 03:24:37 v1.1.2 03:24:37 v1.2.0 03:24:37 v1.2.1 03:24:37 v2.0.0 03:24:37 v2.1.0 03:24:37 v2.1.1 03:24:37 v2.2.0 03:24:37 v2.3.0 03:24:37 v3.0 03:24:37 v3.0.0 03:24:37 v3.1.0-dev.1 03:24:37 v3.1.0-dev.10 03:24:37 v3.1.0-dev.11 03:24:37 v3.1.0-dev.12 03:24:37 v3.1.0-dev.13 03:24:37 v3.1.0-dev.14 03:24:37 v3.1.0-dev.15 03:24:37 v3.1.0-dev.16 03:24:37 v3.1.0-dev.17 03:24:37 v3.1.0-dev.18 03:24:37 v3.1.0-dev.19 03:24:37 v3.1.0-dev.2 03:24:37 v3.1.0-dev.20 03:24:37 v3.1.0-dev.21 03:24:37 v3.1.0-dev.3 03:24:37 v3.1.0-dev.4 03:24:37 v3.1.0-dev.5 03:24:37 v3.1.0-dev.6 03:24:37 v3.1.0-dev.7 03:24:37 v3.1.0-dev.8 03:24:37 v3.1.0-dev.9 [Pipeline] sh 03:24:38 + lftools sign git-tag v3.1.0-dev.21 03:24:38 Signing Git tag with Sigul... 03:24:38 Signing v3.1.0-dev.21 [Pipeline] echo 03:24:38 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 03:24:39 ---> sigul-configuration-cleanup.sh [Pipeline] } 03:24:39 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 03:24:39 $ docker stop --time=1 c40b70fad59bfd0de130ea38a2ac9dfe4738b82fbdcae7475bacdd8232ab8d25 03:24:40 $ docker rm -f --volumes c40b70fad59bfd0de130ea38a2ac9dfe4738b82fbdcae7475bacdd8232ab8d25 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 03:24:40 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:24:40 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:41 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:24:41 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:24:41 prd-ubuntu20.04-docker-8c-8g-9183 does not seem to be running inside a container 03:24:41 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:24:41 $ docker top 42a4e9274e3c4f734ae3a1904becd8bafc2b5c6f36825084913fdeef279c9f26 -eo pid,comm 03:24:41 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). 03:24:41 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:24:41 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:24:41 [ssh-agent] Looking for ssh-agent implementation... 03:24:41 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:24:41 $ docker exec 42a4e9274e3c4f734ae3a1904becd8bafc2b5c6f36825084913fdeef279c9f26 ssh-agent 03:24:41 SSH_AUTH_SOCK=/tmp/ssh-rnxPu5wCli7y/agent.33 03:24:41 SSH_AGENT_PID=39 03:24:41 Running ssh-add (command line suppressed) 03:24:42 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13191089410452288510.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13191089410452288510.key) 03:24:42 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:24:42 + git semver bump pre 03:24:42 2023-10-13 03:24:42,567 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:24:42 2023-10-13 03:24:42,567 [bump_version] DEBUG bumping version:3.1.0-dev.21 on axis:pre with prefix:dev 03:24:42 2023-10-13 03:24:42,567 [bump_version] DEBUG bumped version:3.1.0-dev.22 03:24:42 2023-10-13 03:24:42,567 [write_version] DEBUG write version:3.1.0-dev.22 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 03:24:42 2023-10-13 03:24:42,567 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:24:42 2023-10-13 03:24:42,567 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:24:42 2023-10-13 03:24:42,569 [execute] INFO git cat-file --batch-check 03:24:42 2023-10-13 03:24:42,569 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:24:42 2023-10-13 03:24:42,574 [execute] INFO git cat-file --batch 03:24:42 2023-10-13 03:24:42,575 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:24:42 2023-10-13 03:24:42,579 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:24:42 3.1.0-dev.22 [Pipeline] } 03:24:42 $ docker exec --env ******** --env ******** 42a4e9274e3c4f734ae3a1904becd8bafc2b5c6f36825084913fdeef279c9f26 ssh-agent -k 03:24:42 unset SSH_AUTH_SOCK; 03:24:42 unset SSH_AGENT_PID; 03:24:42 echo Agent pid 39 killed; 03:24:42 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:24:43 + git semver [Pipeline] } 03:24:43 $ docker stop --time=1 42a4e9274e3c4f734ae3a1904becd8bafc2b5c6f36825084913fdeef279c9f26 03:24:44 $ docker rm -f --volumes 42a4e9274e3c4f734ae3a1904becd8bafc2b5c6f36825084913fdeef279c9f26 [Pipeline] // withDockerContainer [Pipeline] sh 03:24:45 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 03:24:45 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:45 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 03:24:45 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:24:45 prd-ubuntu20.04-docker-8c-8g-9183 does not seem to be running inside a container 03:24:45 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 03:24:46 $ docker top 928c668a9224842fdead984d6208c608030b458fff497274184cafbb9ee2b439 -eo pid,comm 03:24: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). 03:24:46 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 03:24:46 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 03:24:46 [ssh-agent] Looking for ssh-agent implementation... 03:24:46 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 03:24:46 $ docker exec 928c668a9224842fdead984d6208c608030b458fff497274184cafbb9ee2b439 ssh-agent 03:24:46 SSH_AUTH_SOCK=/tmp/ssh-e5tpNS2kQRTv/agent.33 03:24:46 SSH_AGENT_PID=39 03:24:46 Running ssh-add (command line suppressed) 03:24:46 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_716324376339639596.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_716324376339639596.key) 03:24:46 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 03:24:46 + git semver push 03:24:47 2023-10-13 03:24:46,951 [run_push] DEBUG push 03:24:47 2023-10-13 03:24:46,952 [execute] INFO git cat-file --batch-check 03:24:47 2023-10-13 03:24:46,952 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 03:24:47 2023-10-13 03:24:46,955 [execute] INFO git rev-list cede06349b4b276652a024eadb1dd3ba07442cad -- 03:24:47 2023-10-13 03:24:46,956 [execute] DEBUG Popen(['git', 'rev-list', 'cede06349b4b276652a024eadb1dd3ba07442cad', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:24:47 2023-10-13 03:24:46,964 [execute] INFO git fetch -v origin 03:24:47 2023-10-13 03:24:46,964 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 03:24:47 2023-10-13 03:24:47,518 [run_push] DEBUG no remote changes detected 03:24:47 2023-10-13 03:24:47,518 [execute] INFO git push origin semver 03:24:47 2023-10-13 03:24:47,518 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 03:24:48 2023-10-13 03:24:48,291 [run_push] DEBUG push all version tags 03:24:48 2023-10-13 03:24:48,291 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 03:24:48 2023-10-13 03:24:48,292 [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) 03:24:49 2023-10-13 03:24:49,044 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 03:24:49 3.1.0-dev.22 [Pipeline] } 03:24:49 $ docker exec --env ******** --env ******** 928c668a9224842fdead984d6208c608030b458fff497274184cafbb9ee2b439 ssh-agent -k 03:24:49 unset SSH_AUTH_SOCK; 03:24:49 unset SSH_AGENT_PID; 03:24:49 echo Agent pid 39 killed; 03:24:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 03:24:49 + git semver [Pipeline] } 03:24:49 $ docker stop --time=1 928c668a9224842fdead984d6208c608030b458fff497274184cafbb9ee2b439 03:24:51 $ docker rm -f --volumes 928c668a9224842fdead984d6208c608030b458fff497274184cafbb9ee2b439 [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 03:24:51 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 03:24:51 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 03:24:51 total 16 03:24:51 drwxr-xr-x 3 root root 4096 Oct 13 03:14 . 03:24:51 drwxrwxr-x 10 jenkins jenkins 4096 Oct 13 03:24 .. 03:24:51 drwxr-xr-x 2 root root 4096 Oct 13 03:14 cost 03:24:51 -rw-r--r-- 1 root root 86 Oct 13 03:14 cost.csv 03:24:51 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 03:24:51 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 03:24:51 total 16 03:24:51 drwxr-xr-x 3 jenkins jenkins 4096 Oct 13 03:14 . 03:24:51 drwxrwxr-x 10 jenkins jenkins 4096 Oct 13 03:24 .. 03:24:51 drwxr-xr-x 2 jenkins jenkins 4096 Oct 13 03:14 cost 03:24:51 -rw-r--r-- 1 jenkins jenkins 86 Oct 13 03:14 cost.csv [Pipeline] libraryResource [Pipeline] sh 03:24:52 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 03:24:52 ---> package-listing.sh 03:24:52 ++ facter osfamily 03:24:52 ++ tr '[:upper:]' '[:lower:]' 03:24:53 + OS_FAMILY=debian 03:24:53 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 03:24:53 + START_PACKAGES=/tmp/packages_start.txt 03:24:53 + END_PACKAGES=/tmp/packages_end.txt 03:24:53 + DIFF_PACKAGES=/tmp/packages_diff.txt 03:24:53 + PACKAGES=/tmp/packages_start.txt 03:24:53 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 03:24:53 + PACKAGES=/tmp/packages_end.txt 03:24:53 + case "${OS_FAMILY}" in 03:24:53 + dpkg -l 03:24:53 + grep '^ii' 03:24:53 + '[' -f /tmp/packages_start.txt ']' 03:24:53 + '[' -f /tmp/packages_end.txt ']' 03:24:53 + diff /tmp/packages_start.txt /tmp/packages_end.txt 03:24:53 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 03:24:53 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 03:24:53 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 03:24:53 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 03:24:53 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 03:24:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 03:24:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 03:24:54 prd-ubuntu20.04-docker-8c-8g-9183 does not seem to be running inside a container 03:24:54 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 03:24:55 $ docker top 461c57ef85f2b37198686dcc09bb396ec42c63e939ce85ff35a695e9e3d464c5 -eo pid,comm [Pipeline] { [Pipeline] sh 03:24:55 + touch /tmp/pre-build-complete [Pipeline] sh 03:24:55 + mkdir -p /var/log/sysstat [Pipeline] sh 03:24:56 + ls /var/log/sa-host 03:24:56 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 03:24:56 provisioning config files... 03:24:56 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1188534611316239143tmp [Pipeline] { [Pipeline] echo 03:24:56 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 03:24:56 ---> create-netrc.sh [Pipeline] } 03:24:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 03:24:56 ---> python-tools-install.sh [Pipeline] echo 03:24:56 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 03:24:56 ---> sudo-logs.sh 03:24:56 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 03:24:57 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 03:24:57 ---> job-cost.sh 03:24:57 lf-activate-venv: SKIPPING 03:24:57 DEBUG: total: 0.2199999988079071 03:24:57 INFO: Retrieving Stack Cost... 03:24:57 INFO: Retrieving Pricing Info for: v3-standard-8 03:24:58 INFO: Archiving Costs [Pipeline] echo 03:24:58 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 03:24:58 ---> logs-deploy.sh 03:24:58 lf-activate-venv: SKIPPING 03:24:58 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/141 03:24:58 INFO: archiving workspace using pattern(s): 03:24:59 Archives upload complete. 03:24:59 INFO: archiving logs to Nexus