Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 2ded8c8301fa9285dc80bb471c5f0972abc0b73a 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-ssh15895986137457254878.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh3653384205564206270.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 66200e8eedfc470904d6b329e562ec5b45423d6a 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-ssh17533225435198100876.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 66200e8eedfc470904d6b329e562ec5b45423d6a (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 66200e8eedfc470904d6b329e562ec5b45423d6a # timeout=10 Commit message: "feat: add capability to use golang 1.20 (#427)" > 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-ssh12840021693417627764.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-ssh6240987289450487286.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Running on prd-ubuntu20.04-docker-8c-8g-1275 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 2ded8c8301fa9285dc80bb471c5f0972abc0b73a (main) Commit message: "refactor(snap): Update command and metadata sourcing (#266)" > 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 2ded8c8301fa9285dc80bb471c5f0972abc0b73a # timeout=10 > git rev-list --no-walk ae54ce6f1033167052867af1427946ef32cb9188 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 16:27:33 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 16:27:33 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 16:27:33 ========================================================= 16:27:33 EdgeX Global Pipelines Version Info 16:27:33 ========================================================= [Pipeline] libraryResource [Pipeline] sh 16:27:34 ------------------- 16:27:34 stable info: 16:27:34 ------------------- 16:27:34 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 16:27:34 Commit SHA: 66200e8eedfc470904d6b329e562ec5b45423d6a 16:27:34 Message: update stable to v1.0.245 16:27:35 ------------------- 16:27:35 experimental info: 16:27:35 ------------------- 16:27:35 Commited By: **** collab-it+edgex@linuxfoundation.org 16:27:35 Commit SHA: eb5041bb0874f6b7cdca3e6793e1ef87c0289dce 16:27:35 Message: update experimental to v1.0.246 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 16:27:35 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 16:27:35 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 16:27:35 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 16:27:35 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 16:27:35 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 16:27:35 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 16:27:35 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 16:27:35 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 16:27:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 16:27:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 16:27:35 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 16:27:35 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 16:27:35 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 16:27:35 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 16:27:35 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 16:27:35 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 16:27:35 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 16:27:35 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 16:27:35 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 16:27:35 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 16:27:35 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 16:27:35 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 16:27:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 16:27:35 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 16:27:35 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 16:27:35 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 16:27:35 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 16:27:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 16:27:35 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 16:27:35 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 16:27:35 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 2ded8c8301fa9285dc80bb471c5f0972abc0b73a [Pipeline] echo 16:27:35 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 2ded8c8 [Pipeline] echo 16:27:35 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:27:35 provisioning config files... 16:27:35 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config14698130085181903291tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:27:35 ---> docker-login.sh 16:27:35 nexus3.edgexfoundry.org:10001 16:27:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:36 Configure a credential helper to remove this warning. See 16:27:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:36 16:27:36 Login Succeeded 16:27:36 nexus3.edgexfoundry.org:10002 16:27:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:36 Configure a credential helper to remove this warning. See 16:27:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:36 16:27:36 Login Succeeded 16:27:36 nexus3.edgexfoundry.org:10003 16:27:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:37 Configure a credential helper to remove this warning. See 16:27:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:37 16:27:37 Login Succeeded 16:27:37 nexus3.edgexfoundry.org:10004 16:27:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:37 Configure a credential helper to remove this warning. See 16:27:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:37 16:27:37 Login Succeeded 16:27:37 docker.io 16:27:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:37 Configure a credential helper to remove this warning. See 16:27:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:37 16:27:37 Login Succeeded 16:27:37 ---> docker-login.sh ends [Pipeline] } 16:27:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 16:27:37 + git rev-list -1 --merges 2ded8c8301fa9285dc80bb471c5f0972abc0b73a~1..2ded8c8301fa9285dc80bb471c5f0972abc0b73a [Pipeline] echo 16:27:37 -----------> git rev-list -1 --merges 2ded8c8301fa9285dc80bb471c5f0972abc0b73a~1..2ded8c8301fa9285dc80bb471c5f0972abc0b73a 2ded8c8301fa9285dc80bb471c5f0972abc0b73a [false] [Pipeline] sh 16:27:38 + git log --format=format:%s -1 2ded8c8301fa9285dc80bb471c5f0972abc0b73a [Pipeline] echo 16:27:38 ========================================================= 16:27:38 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 16:27:38 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:27:38 + git log --format=format:%s -1 2ded8c8301fa9285dc80bb471c5f0972abc0b73a [Pipeline] echo 16:27:38 [semverPrep] GIT_COMMIT: 2ded8c8301fa9285dc80bb471c5f0972abc0b73a, Commit Message: refactor(snap): Update command and metadata sourcing (#266) [Pipeline] echo 16:27:38 [semverPrep] This is not a build commit. [Pipeline] sh 16:27:38 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:27:38 + grep -v github /etc/ssh/ssh_known_hosts 16:27:38 + [ -e /tmp/ssh_known_hosts ] 16:27:38 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 16:27:38 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 16:27:38 + sudo tee -a /etc/ssh/ssh_known_hosts 16:27:38 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:39 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:27:39 16:27:39 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:39 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:27:39 0.1.4: Pulling from edgex-devops/py-git-semver 16:27:39 b85a868b505f: Pulling fs layer 16:27:39 e2be974225ed: Pulling fs layer 16:27:39 339a4e72a1f5: Pulling fs layer 16:27:39 988bab9f4d93: Pulling fs layer 16:27:39 1469e6f7b9e6: Pulling fs layer 16:27:39 eaf3925da568: Pulling fs layer 16:27:39 bab4dde63d76: Pulling fs layer 16:27:39 bde34c3a00c8: Pulling fs layer 16:27:39 b352a97aabf1: Pulling fs layer 16:27:39 1469e6f7b9e6: Waiting 16:27:39 bab4dde63d76: Waiting 16:27:39 988bab9f4d93: Waiting 16:27:39 4872d77fe225: Pulling fs layer 16:27:39 5851b861e8e6: Pulling fs layer 16:27:39 4872d77fe225: Waiting 16:27:39 5851b861e8e6: Waiting 16:27:39 e2be974225ed: Verifying Checksum 16:27:39 e2be974225ed: Download complete 16:27:39 988bab9f4d93: Verifying Checksum 16:27:39 988bab9f4d93: Download complete 16:27:39 1469e6f7b9e6: Verifying Checksum 16:27:39 1469e6f7b9e6: Download complete 16:27:39 eaf3925da568: Download complete 16:27:39 339a4e72a1f5: Verifying Checksum 16:27:39 339a4e72a1f5: Download complete 16:27:39 bde34c3a00c8: Verifying Checksum 16:27:39 bde34c3a00c8: Download complete 16:27:39 b352a97aabf1: Verifying Checksum 16:27:39 4872d77fe225: Verifying Checksum 16:27:39 4872d77fe225: Download complete 16:27:39 5851b861e8e6: Verifying Checksum 16:27:39 5851b861e8e6: Download complete 16:27:39 b85a868b505f: Verifying Checksum 16:27:39 b85a868b505f: Download complete 16:27:40 bab4dde63d76: Verifying Checksum 16:27:40 bab4dde63d76: Download complete 16:27:41 b85a868b505f: Pull complete 16:27:41 e2be974225ed: Pull complete 16:27:41 339a4e72a1f5: Pull complete 16:27:41 988bab9f4d93: Pull complete 16:27:41 1469e6f7b9e6: Pull complete 16:27:41 eaf3925da568: Pull complete 16:27:43 bab4dde63d76: Pull complete 16:27:43 bde34c3a00c8: Pull complete 16:27:43 b352a97aabf1: Pull complete 16:27:43 4872d77fe225: Pull complete 16:27:43 5851b861e8e6: Pull complete 16:27:43 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 16:27:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:27:43 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:27:43 prd-ubuntu20.04-docker-8c-8g-1275 does not seem to be running inside a container 16:27:43 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:27:48 $ docker top acc11c1be138d891fe4c4528bf2db47f47517ca20d21fad3d00a65a6c0d53c1a -eo pid,comm 16:27:48 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:27:48 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:27:48 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:27:48 [ssh-agent] Looking for ssh-agent implementation... 16:27:48 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:27:48 $ docker exec acc11c1be138d891fe4c4528bf2db47f47517ca20d21fad3d00a65a6c0d53c1a ssh-agent 16:27:48 SSH_AUTH_SOCK=/tmp/ssh-vtT9CDhcjlso/agent.31 16:27:48 SSH_AGENT_PID=37 16:27:48 Running ssh-add (command line suppressed) 16:27:48 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18390898700341465205.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18390898700341465205.key) 16:27:48 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:27:49 + git tag --points-at HEAD [Pipeline] } 16:27:49 $ docker exec --env ******** --env ******** acc11c1be138d891fe4c4528bf2db47f47517ca20d21fad3d00a65a6c0d53c1a ssh-agent -k 16:27:49 unset SSH_AUTH_SOCK; 16:27:49 unset SSH_AGENT_PID; 16:27:49 echo Agent pid 37 killed; 16:27:49 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 16:27:49 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:27:49 [ssh-agent] Looking for ssh-agent implementation... 16:27:49 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:27:49 $ docker exec acc11c1be138d891fe4c4528bf2db47f47517ca20d21fad3d00a65a6c0d53c1a ssh-agent 16:27:49 SSH_AUTH_SOCK=/tmp/ssh-cIbZPEoEhNK0/agent.69 16:27:49 SSH_AGENT_PID=75 16:27:49 Running ssh-add (command line suppressed) 16:27:49 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3803472826532505932.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3803472826532505932.key) 16:27:49 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:27:50 + git semver init 16:27:50 2023-03-15 16:27:50,216 [run_init] DEBUG init version:0.0.0 force:False 16:27:50 2023-03-15 16:27:50,216 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 16:27:50 2023-03-15 16:27:50,217 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 16:27:50 2023-03-15 16:27:50,217 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 16:27:51 2023-03-15 16:27:51,217 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 16:27:51 2023-03-15 16:27:51,218 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 16:27:51 2023-03-15 16:27:51,218 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:27:51 2023-03-15 16:27:51,218 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:27:51 3.0.0-dev.20 [Pipeline] } 16:27:51 $ docker exec --env ******** --env ******** acc11c1be138d891fe4c4528bf2db47f47517ca20d21fad3d00a65a6c0d53c1a ssh-agent -k 16:27:51 unset SSH_AUTH_SOCK; 16:27:51 unset SSH_AGENT_PID; 16:27:51 echo Agent pid 75 killed; 16:27:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:27:51 + git semver [Pipeline] } 16:27:52 $ docker stop --time=1 acc11c1be138d891fe4c4528bf2db47f47517ca20d21fad3d00a65a6c0d53c1a 16:27:53 $ docker rm -f --volumes acc11c1be138d891fe4c4528bf2db47f47517ca20d21fad3d00a65a6c0d53c1a [Pipeline] // withDockerContainer [Pipeline] sh 16:27:53 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 16:27:54 Stashed 1 file(s) [Pipeline] echo 16:27:54 [edgeXSemver]: initialized semver on version 3.0.0-dev.20 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:27:54 provisioning config files... 16:27:54 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4418480108697888583tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:27:54 ---> docker-login.sh 16:27:54 nexus3.edgexfoundry.org:10001 16:27:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:54 Configure a credential helper to remove this warning. See 16:27:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:54 16:27:54 Login Succeeded 16:27:54 nexus3.edgexfoundry.org:10002 16:27:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:54 Configure a credential helper to remove this warning. See 16:27:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:54 16:27:54 Login Succeeded 16:27:54 nexus3.edgexfoundry.org:10003 16:27:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:54 Configure a credential helper to remove this warning. See 16:27:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:54 16:27:54 Login Succeeded 16:27:54 nexus3.edgexfoundry.org:10004 16:27:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:54 Configure a credential helper to remove this warning. See 16:27:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:54 16:27:54 Login Succeeded 16:27:54 docker.io 16:27:54 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:27:54 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:27:54 Configure a credential helper to remove this warning. See 16:27:54 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:27:54 16:27:54 Login Succeeded 16:27:54 ---> docker-login.sh ends [Pipeline] } 16:27:54 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:27:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:27:55 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:27:55 ========================================================= 16:27:55 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 16:27:55 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:27:55 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 16:27:55 Sending build context to Docker daemon 10.85MB 16:27:55 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 16:27:55 Step 2/12 : FROM ${BASE} AS builder 16:27:55 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 16:27:55 63b65145d645: Pulling fs layer 16:27:55 a2d21d5440eb: Pulling fs layer 16:27:55 935e6c44a52c: Pulling fs layer 16:27:55 94cc34f8dd06: Pulling fs layer 16:27:55 30dea6a524f1: Pulling fs layer 16:27:55 a2aff8979fd8: Pulling fs layer 16:27:55 6808be2612f2: Pulling fs layer 16:27:55 f25807f1079a: Pulling fs layer 16:27:55 30dea6a524f1: Waiting 16:27:55 6808be2612f2: Waiting 16:27:55 a2aff8979fd8: Waiting 16:27:55 f25807f1079a: Waiting 16:27:55 94cc34f8dd06: Waiting 16:27:55 a2d21d5440eb: Verifying Checksum 16:27:55 a2d21d5440eb: Download complete 16:27:55 94cc34f8dd06: Verifying Checksum 16:27:55 94cc34f8dd06: Download complete 16:27:55 30dea6a524f1: Verifying Checksum 16:27:55 30dea6a524f1: Download complete 16:27:55 63b65145d645: Verifying Checksum 16:27:55 63b65145d645: Download complete 16:27:55 a2aff8979fd8: Verifying Checksum 16:27:55 a2aff8979fd8: Download complete 16:27:55 63b65145d645: Pull complete 16:27:55 a2d21d5440eb: Pull complete 16:27:56 935e6c44a52c: Verifying Checksum 16:27:56 935e6c44a52c: Download complete 16:27:56 f25807f1079a: Verifying Checksum 16:27:56 f25807f1079a: Download complete 16:27:56 6808be2612f2: Verifying Checksum 16:27:56 6808be2612f2: Download complete 16:27:58 935e6c44a52c: Pull complete 16:27:59 94cc34f8dd06: Pull complete 16:27:59 30dea6a524f1: Pull complete 16:27:59 a2aff8979fd8: Pull complete 16:28:01 6808be2612f2: Pull complete 16:28:02 f25807f1079a: Pull complete 16:28:02 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 16:28:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 16:28:02 ---> 3b553350e43f 16:28:02 Step 3/12 : ARG ADD_BUILD_TAGS="" 16:28:06 ---> Running in 733b16396609 16:28:06 Removing intermediate container 733b16396609 16:28:06 ---> 64f5e33a68ef 16:28:06 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:28:06 ---> Running in 38eab3bd87bd 16:28:06 Removing intermediate container 38eab3bd87bd 16:28:06 ---> 846cf37154c0 16:28:06 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:28:06 ---> Running in ab840da01dd3 16:28:06 Removing intermediate container ab840da01dd3 16:28:06 ---> 5a3c57ffe225 16:28:06 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 16:28:06 ---> Running in a8fd08195f79 16:28:06 Removing intermediate container a8fd08195f79 16:28:06 ---> 40b5ac9cb0b3 16:28:06 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:28:06 ---> Running in acc60856faff 16:28:06 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:28:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:28:07 (1/4) Installing openssh-keygen (9.1_p1-r2) 16:28:07 (2/4) Installing libedit (20221030.3.1-r0) 16:28:07 (3/4) Installing openssh-client-common (9.1_p1-r2) 16:28:07 (4/4) Installing openssh-client-default (9.1_p1-r2) 16:28:07 Executing busybox-1.35.0-r29.trigger 16:28:07 OK: 269 MiB in 57 packages 16:28:07 Removing intermediate container acc60856faff 16:28:07 ---> c5fecb7aac0d 16:28:07 Step 8/12 : WORKDIR /device-rest-go 16:28:07 ---> Running in 46fb30074cd7 16:28:07 Removing intermediate container 46fb30074cd7 16:28:07 ---> a89f41c24ea6 16:28:07 Step 9/12 : COPY go.mod vendor* ./ 16:28:07 ---> a70cbce71169 16:28:07 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:28:08 ---> Running in e8af44bd678b 16:28:09 Still waiting to schedule task 16:28:09 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 16:28:34 Removing intermediate container e8af44bd678b 16:28:34 ---> 1c9b7cca7b26 16:28:34 Step 11/12 : COPY . . 16:28:34 ---> e829bf9f573b 16:28:34 Step 12/12 : RUN $MAKE 16:28:34 ---> Running in 0b010740f90c 16:28:34 noop 16:28:34 Removing intermediate container 0b010740f90c 16:28:34 ---> 17464eecb324 16:28:34 Successfully built 17464eecb324 16:28:34 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:35 + docker inspect -f . ci-base-image-x86_64 16:28:35 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:28:35 prd-ubuntu20.04-docker-8c-8g-1275 does not seem to be running inside a container 16:28:35 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:28:35 $ docker top 86fb9bbf8e94d41041091ae14bf42fdefe27626097bd69afacd668c9961e0ab0 -eo pid,comm [Pipeline] { [Pipeline] sh 16:28:35 + go version 16:28:35 go version go1.20.2 linux/amd64 [Pipeline] } 16:28:35 $ docker stop --time=1 86fb9bbf8e94d41041091ae14bf42fdefe27626097bd69afacd668c9961e0ab0 16:28:37 $ docker rm -f --volumes 86fb9bbf8e94d41041091ae14bf42fdefe27626097bd69afacd668c9961e0ab0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:28:37 + docker inspect -f . ci-base-image-x86_64 16:28:37 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:28:37 prd-ubuntu20.04-docker-8c-8g-1275 does not seem to be running inside a container 16:28:37 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 16:28:37 $ docker top ebaec11d8ba6208c45e4e74a7f5c5eb805729b17dc1be02806f0599d0e5af65f -eo pid,comm [Pipeline] { [Pipeline] sh 16:28:38 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 16:28:38 + make test 16:28:38 go test ./... -coverprofile=coverage.out ./... 16:28:43 ? github.com/edgexfoundry/device-rest-go [no test files] 16:28:53 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 16:28:53 ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 33.1% of statements 16:29:01 go vet ./... 16:29:05 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:29:05 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:29:05 ./bin/test-attribution-txt.sh [Pipeline] echo 16:29:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:29:05 $ docker stop --time=1 ebaec11d8ba6208c45e4e74a7f5c5eb805729b17dc1be02806f0599d0e5af65f 16:29:08 $ docker rm -f --volumes ebaec11d8ba6208c45e4e74a7f5c5eb805729b17dc1be02806f0599d0e5af65f [Pipeline] // withDockerContainer [Pipeline] sh 16:29:08 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:29:08 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 16:29:09 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:29:09 + ls -al . 16:29:09 total 184 16:29:09 drwxrwxr-x 9 jenkins jenkins 4096 Mar 15 16:28 . 16:29:09 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:27 .. 16:29:09 -rw-rw-r-- 1 jenkins jenkins 151 Mar 15 16:27 .dockerignore 16:29:09 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:27 .git 16:29:09 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:27 .github 16:29:09 -rw-rw-r-- 1 jenkins jenkins 329 Mar 15 16:27 .gitignore 16:29:09 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 16:27 .golangci.yml 16:29:09 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:27 .semver 16:29:09 -rw-rw-r-- 1 jenkins jenkins 9321 Mar 15 16:27 Attribution.txt 16:29:09 -rw-rw-r-- 1 jenkins jenkins 13085 Mar 15 16:27 CHANGELOG.md 16:29:09 -rw-rw-r-- 1 jenkins jenkins 1578 Mar 15 16:27 Dockerfile 16:29:09 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 16:27 GOVERNANCE.md 16:29:09 -rw-rw-r-- 1 jenkins jenkins 680 Mar 15 16:27 Jenkinsfile 16:29:09 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 16:27 LICENSE 16:29:09 -rw-rw-r-- 1 jenkins jenkins 1779 Mar 15 16:27 Makefile 16:29:09 -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 16:27 OWNERS.md 16:29:09 -rw-rw-r-- 1 jenkins jenkins 15447 Mar 15 16:27 README.md 16:29:09 -rw-rw-r-- 1 jenkins jenkins 12 Mar 15 16:27 VERSION 16:29:09 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:27 bin 16:29:09 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:27 cmd 16:29:09 -rw-r--r-- 1 jenkins jenkins 14200 Mar 15 16:28 coverage.out 16:29:09 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:27 driver 16:29:09 -rw-rw-r-- 1 jenkins jenkins 3446 Mar 15 16:27 go.mod 16:29:09 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 15 16:27 go.sum 16:29:09 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:27 snap 16:29:09 -rw-rw-r-- 1 jenkins jenkins 713 Mar 15 16:27 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:09 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=2ded8c8301fa9285dc80bb471c5f0972abc0b73a --label arch=amd64 --label version=3.0.0-dev.20 . 16:29:09 Sending build context to Docker daemon 10.87MB 16:29:09 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 16:29:09 Step 2/25 : FROM ${BASE} AS builder 16:29:09 ---> 17464eecb324 16:29:09 Step 3/25 : ARG ADD_BUILD_TAGS="" 16:29:09 ---> Running in 7c0e7ceb21ff 16:29:09 Removing intermediate container 7c0e7ceb21ff 16:29:09 ---> 1ffd5a1a47ee 16:29:09 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:29:09 ---> Running in 4aa1183383f7 16:29:09 Removing intermediate container 4aa1183383f7 16:29:09 ---> 3a81c5aab5a4 16:29:09 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:29:09 ---> Running in 4f83bcd9ac3e 16:29:10 Removing intermediate container 4f83bcd9ac3e 16:29:10 ---> a2fd79bf247e 16:29:10 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 16:29:10 ---> Running in 6c1baf8249e1 16:29:10 Removing intermediate container 6c1baf8249e1 16:29:10 ---> 00d5e54ac7b0 16:29:10 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:29:10 ---> Running in a9dac3e6b2a8 16:29:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:29:10 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:29:10 OK: 269 MiB in 57 packages 16:29:11 Removing intermediate container a9dac3e6b2a8 16:29:11 ---> e9ed7dfe5d51 16:29:11 Step 8/25 : WORKDIR /device-rest-go 16:29:11 ---> Running in 5c4d47c63191 16:29:11 Removing intermediate container 5c4d47c63191 16:29:11 ---> 5909f00332aa 16:29:11 Step 9/25 : COPY go.mod vendor* ./ 16:29:11 ---> 8bc52de70689 16:29:11 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:29:11 ---> Running in a5ec5a55fc7b 16:29:12 Removing intermediate container a5ec5a55fc7b 16:29:12 ---> 9f12d79866f0 16:29:12 Step 11/25 : COPY . . 16:29:12 ---> b5e5ac91db27 16:29:12 Step 12/25 : RUN $MAKE 16:29:12 ---> Running in 3ab5508df1a8 16:29:13 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.20" -trimpath -mod=readonly -o cmd/device-rest ./cmd 16:29:35 Removing intermediate container 3ab5508df1a8 16:29:35 ---> 1cde2d72f72f 16:29:35 Step 13/25 : FROM alpine:3.17 16:29:35 3.17: Pulling from library/alpine 16:29:35 63b65145d645: Already exists 16:29:35 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 16:29:35 Status: Downloaded newer image for alpine:3.17 16:29:35 ---> b2aa39c304c2 16:29:35 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:29:35 ---> Running in e667b5e53205 16:29:35 Removing intermediate container e667b5e53205 16:29:35 ---> 2cb098f546fd 16:29:35 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 16:29:35 ---> Running in fc41f7dc2128 16:29:35 Removing intermediate container fc41f7dc2128 16:29:35 ---> 625a5b570b69 16:29:35 Step 16/25 : RUN apk add --update --no-cache dumb-init 16:29:35 ---> Running in ecada0cbae34 16:29:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 16:29:35 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 16:29:35 (1/1) Installing dumb-init (1.2.5-r2) 16:29:35 Executing busybox-1.35.0-r29.trigger 16:29:35 OK: 7 MiB in 16 packages 16:29:35 Removing intermediate container ecada0cbae34 16:29:35 ---> b6a326091474 16:29:35 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 16:29:35 ---> e042ff1593ae 16:29:35 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 16:29:35 ---> 2ddbf3c3f5f8 16:29:35 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 16:29:35 ---> 16c4a208e4b0 16:29:35 Step 20/25 : EXPOSE 59986 16:29:35 ---> Running in 92cfe21d82a5 16:29:35 Removing intermediate container 92cfe21d82a5 16:29:35 ---> edd33c3d09d4 16:29:35 Step 21/25 : ENTRYPOINT ["/device-rest"] 16:29:35 ---> Running in dc4c5a8cd4e3 16:29:35 Removing intermediate container dc4c5a8cd4e3 16:29:35 ---> 993a53c0b9b3 16:29:35 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 16:29:35 ---> Running in 8e8cae3e0e5c 16:29:35 Removing intermediate container 8e8cae3e0e5c 16:29:35 ---> e39ed09d2ce1 16:29:35 Step 23/25 : LABEL arch=amd64 16:29:35 ---> Running in de18c0b037ba 16:29:35 Removing intermediate container de18c0b037ba 16:29:35 ---> 932adcb5c82d 16:29:35 Step 24/25 : LABEL git_sha=2ded8c8301fa9285dc80bb471c5f0972abc0b73a 16:29:35 ---> Running in a7835057ed82 16:29:35 Removing intermediate container a7835057ed82 16:29:35 ---> 9d886ffdc808 16:29:35 Step 25/25 : LABEL version=3.0.0-dev.20 16:29:35 ---> Running in d1b88382a1f3 16:29:35 Removing intermediate container d1b88382a1f3 16:29:35 ---> 509e633c3a37 16:29:35 [Warning] One or more build-args [ARCH] were not consumed 16:29:35 Successfully built 509e633c3a37 16:29:35 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:29:35 provisioning config files... 16:29:35 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2589938801612960465tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:29:35 ---> docker-login.sh 16:29:35 nexus3.edgexfoundry.org:10001 16:29:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:29:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:29:35 Configure a credential helper to remove this warning. See 16:29:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:29:35 16:29:35 Login Succeeded 16:29:35 nexus3.edgexfoundry.org:10002 16:29:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:29:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:29:35 Configure a credential helper to remove this warning. See 16:29:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:29:35 16:29:35 Login Succeeded 16:29:35 nexus3.edgexfoundry.org:10003 16:29:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:29:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:29:35 Configure a credential helper to remove this warning. See 16:29:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:29:35 16:29:35 Login Succeeded 16:29:35 nexus3.edgexfoundry.org:10004 16:29:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:29:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:29:35 Configure a credential helper to remove this warning. See 16:29:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:29:35 16:29:35 Login Succeeded 16:29:35 docker.io 16:29:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:29:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:29:36 Configure a credential helper to remove this warning. See 16:29:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:29:36 16:29:36 Login Succeeded 16:29:36 ---> docker-login.sh ends [Pipeline] } 16:29:36 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:29:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:29:36 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 16:29:36 2ded8c8301fa9285dc80bb471c5f0972abc0b73a 16:29:36 latest 16:29:36 3.0.0-dev.20 16:29:36 2ded8c8301fa9285dc80bb471c5f0972abc0b73a-3.0.0-dev.20 16:29:36 main 16:29:36 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:36 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2ded8c8301fa9285dc80bb471c5f0972abc0b73a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:36 + docker push nexus3.edgexfoundry.org:10004/device-rest:2ded8c8301fa9285dc80bb471c5f0972abc0b73a 16:29:36 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 16:29:36 c26a9718aec7: Preparing 16:29:36 2e736eccf18f: Preparing 16:29:36 1fa8adc56565: Preparing 16:29:36 028db08d625f: Preparing 16:29:36 7cd52847ad77: Preparing 16:29:36 7cd52847ad77: Layer already exists 16:29:36 2e736eccf18f: Pushed 16:29:36 028db08d625f: Pushed 16:29:36 c26a9718aec7: Pushed 16:29:39 1fa8adc56565: Pushed 16:29:39 2ded8c8301fa9285dc80bb471c5f0972abc0b73a: digest: sha256:930707221f393d3b465c70189b33c23fcd9c07bbc8789aa2a285a5801617aef4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:40 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:40 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 16:29:40 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 16:29:40 c26a9718aec7: Preparing 16:29:40 2e736eccf18f: Preparing 16:29:40 1fa8adc56565: Preparing 16:29:40 028db08d625f: Preparing 16:29:40 7cd52847ad77: Preparing 16:29:40 2e736eccf18f: Layer already exists 16:29:40 7cd52847ad77: Layer already exists 16:29:40 1fa8adc56565: Layer already exists 16:29:40 028db08d625f: Layer already exists 16:29:40 c26a9718aec7: Layer already exists 16:29:40 latest: digest: sha256:930707221f393d3b465c70189b33c23fcd9c07bbc8789aa2a285a5801617aef4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:40 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:41 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.20 16:29:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 16:29:41 c26a9718aec7: Preparing 16:29:41 2e736eccf18f: Preparing 16:29:41 1fa8adc56565: Preparing 16:29:41 028db08d625f: Preparing 16:29:41 7cd52847ad77: Preparing 16:29:41 1fa8adc56565: Layer already exists 16:29:41 7cd52847ad77: Layer already exists 16:29:41 028db08d625f: Layer already exists 16:29:41 2e736eccf18f: Layer already exists 16:29:41 c26a9718aec7: Layer already exists 16:29:41 3.0.0-dev.20: digest: sha256:930707221f393d3b465c70189b33c23fcd9c07bbc8789aa2a285a5801617aef4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:41 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2ded8c8301fa9285dc80bb471c5f0972abc0b73a-3.0.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:41 + docker push nexus3.edgexfoundry.org:10004/device-rest:2ded8c8301fa9285dc80bb471c5f0972abc0b73a-3.0.0-dev.20 16:29:41 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 16:29:41 c26a9718aec7: Preparing 16:29:41 2e736eccf18f: Preparing 16:29:41 1fa8adc56565: Preparing 16:29:41 028db08d625f: Preparing 16:29:41 7cd52847ad77: Preparing 16:29:41 1fa8adc56565: Layer already exists 16:29:41 2e736eccf18f: Layer already exists 16:29:41 c26a9718aec7: Layer already exists 16:29:41 028db08d625f: Layer already exists 16:29:41 7cd52847ad77: Layer already exists 16:29:41 2ded8c8301fa9285dc80bb471c5f0972abc0b73a-3.0.0-dev.20: digest: sha256:930707221f393d3b465c70189b33c23fcd9c07bbc8789aa2a285a5801617aef4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:42 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:42 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 16:29:42 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 16:29:42 c26a9718aec7: Preparing 16:29:42 2e736eccf18f: Preparing 16:29:42 1fa8adc56565: Preparing 16:29:42 028db08d625f: Preparing 16:29:42 7cd52847ad77: Preparing 16:29:42 7cd52847ad77: Layer already exists 16:29:42 1fa8adc56565: Layer already exists 16:29:42 c26a9718aec7: Layer already exists 16:29:42 028db08d625f: Layer already exists 16:29:42 2e736eccf18f: Layer already exists 16:29:42 main: digest: sha256:930707221f393d3b465c70189b33c23fcd9c07bbc8789aa2a285a5801617aef4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:29:42 ===================================================== [Pipeline] echo 16:29:42 taggedImages: 16:29:42 - nexus3.edgexfoundry.org:10004/device-rest:2ded8c8301fa9285dc80bb471c5f0972abc0b73a 16:29:42 - nexus3.edgexfoundry.org:10004/device-rest:latest 16:29:42 - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.20 16:29:42 - nexus3.edgexfoundry.org:10004/device-rest:2ded8c8301fa9285dc80bb471c5f0972abc0b73a-3.0.0-dev.20 16:29:42 - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:29:42 16:29:42 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:29:43 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:29:43 latest: Pulling from edgex-lftools-log-publisher 16:29:43 5eb5b503b376: Pulling fs layer 16:29:43 5c69ac0246d0: Pulling fs layer 16:29:43 ec43610c2a17: Pulling fs layer 16:29:43 3a2ae6a8a46f: Pulling fs layer 16:29:43 33b1e0a273af: Pulling fs layer 16:29:43 5d3b04190fa2: Pulling fs layer 16:29:43 2f39f015ded8: Pulling fs layer 16:29:43 3a2ae6a8a46f: Waiting 16:29:43 2f39f015ded8: Waiting 16:29:43 33b1e0a273af: Waiting 16:29:43 5d3b04190fa2: Waiting 16:29:43 5c69ac0246d0: Verifying Checksum 16:29:43 5c69ac0246d0: Download complete 16:29:43 3a2ae6a8a46f: Verifying Checksum 16:29:43 33b1e0a273af: Verifying Checksum 16:29:43 33b1e0a273af: Download complete 16:29:43 ec43610c2a17: Verifying Checksum 16:29:43 ec43610c2a17: Download complete 16:29:43 5d3b04190fa2: Download complete 16:29:43 5eb5b503b376: Verifying Checksum 16:29:43 5eb5b503b376: Download complete 16:29:43 2f39f015ded8: Download complete 16:29:44 5eb5b503b376: Pull complete 16:29:44 5c69ac0246d0: Pull complete 16:29:45 ec43610c2a17: Pull complete 16:29:45 3a2ae6a8a46f: Pull complete 16:29:45 33b1e0a273af: Pull complete 16:29:45 5d3b04190fa2: Pull complete 16:29:49 2f39f015ded8: Pull complete 16:29:49 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 16:29:49 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:29:49 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:29:49 prd-ubuntu20.04-docker-8c-8g-1275 does not seem to be running inside a container 16:29:49 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:29:52 $ docker top fe8a5f72f8c1b5bf965fe43851ede8e349afa6a4080aff48269c8f18f50b0403 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:29:53 ---> job-cost.sh 16:29:53 lf-activate-venv: SKIPPING 16:29:53 INFO: No Stack... 16:29:53 INFO: Retrieving Pricing Info for: v3-standard-8 16:29:53 INFO: Archiving Costs [Pipeline] sh 16:29:53 + + catcut /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv -d, 16:29:53 -f6 [Pipeline] lock 16:29:53 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-92-stack-cost] 16:29:53 Resource [jenkins-edgexfoundry-device-rest-go-main-92-stack-cost] did not exist. Created. 16:29:53 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-92-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:29:54 + echo total: 0.2199999988079071 [Pipeline] stash 16:29:54 Stashed 1 file(s) [Pipeline] } 16:29:54 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-92-stack-cost] [Pipeline] // lock [Pipeline] } 16:29:54 $ docker stop --time=1 fe8a5f72f8c1b5bf965fe43851ede8e349afa6a4080aff48269c8f18f50b0403 16:29:55 $ docker rm -f --volumes fe8a5f72f8c1b5bf965fe43851ede8e349afa6a4080aff48269c8f18f50b0403 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 16:47:47 Running on prd-ubuntu20.04-docker-arm64-4c-16g-1963 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 16:47:47 Running in /w/workspace/device-rest-go/92 [Pipeline] { [Pipeline] checkout 16:47:47 The recommended git tool is: git 16:47:54 using credential edgex-jenkins-ssh 16:47:54 Cloning the remote Git repository 16:47:54 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 16:47:55 > git init /w/workspace/device-rest-go/92 # timeout=10 16:47:55 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 16:47:55 > git --version # timeout=10 16:47:55 > git --version # 'git version 2.25.1' 16:47:55 using GIT_SSH to set credentials SSH Credentials for GitHub 16:47:55 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 16:47:57 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 16:47:57 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 16:47:58 Avoid second fetch 16:47:58 Checking out Revision 2ded8c8301fa9285dc80bb471c5f0972abc0b73a (main) 16:47:58 > git config core.sparsecheckout # timeout=10 16:47:58 > git checkout -f 2ded8c8301fa9285dc80bb471c5f0972abc0b73a # timeout=10 16:47:59 Commit message: "refactor(snap): Update command and metadata sourcing (#266)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 16:48:00 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 16:48:00 % Total % Received % Xferd Average Speed Time Time Time Current 16:48:00 Dload Upload Total Spent Left Speed 16:48:00 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 207k 0 --:--:-- --:--:-- --:--:-- 211k [Pipeline] sh 16:48:01 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 16:48:01 + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} 16:48:01 /etc/docker/daemon.json 16:48:01 { 16:48:01 "registry-mirrors": [ 16:48:01 "https://nexus3.edgexfoundry.org:10001" 16:48:01 ], 16:48:01 "bip": "10.250.0.254/24", 16:48:01 "hosts": [ 16:48:01 "tcp://0.0.0.0:5555", 16:48:01 "unix:///var/run/docker.sock" 16:48:01 ], 16:48:01 "mtu": 1458, 16:48:01 "selinux-enabled": true, 16:48:01 "seccomp-profile": "/etc/docker/seccomp.json" 16:48:01 } [Pipeline] sh 16:48:01 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 16:48:02 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:48:20 provisioning config files... 16:48:20 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/92@tmp/config10160018096729028033tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:48:20 ---> docker-login.sh 16:48:20 nexus3.edgexfoundry.org:10001 16:48:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:21 Configure a credential helper to remove this warning. See 16:48:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:21 16:48:21 Login Succeeded 16:48:21 nexus3.edgexfoundry.org:10002 16:48:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:21 Configure a credential helper to remove this warning. See 16:48:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:21 16:48:21 Login Succeeded 16:48:21 nexus3.edgexfoundry.org:10003 16:48:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:22 Configure a credential helper to remove this warning. See 16:48:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:22 16:48:22 Login Succeeded 16:48:22 nexus3.edgexfoundry.org:10004 16:48:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:22 Configure a credential helper to remove this warning. See 16:48:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:22 16:48:22 Login Succeeded 16:48:22 docker.io 16:48:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:48:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:48:23 Configure a credential helper to remove this warning. See 16:48:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:48:23 16:48:23 Login Succeeded 16:48:23 ---> docker-login.sh ends [Pipeline] } 16:48:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 16:48:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:48:23 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:48:23 ========================================================= 16:48:23 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 16:48:23 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:48:24 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 16:48:24 Sending build context to Docker daemon 138.8kB 16:48:24 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 16:48:24 Step 2/12 : FROM ${BASE} AS builder 16:48:24 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 16:48:24 af6eaf76a39c: Pulling fs layer 16:48:24 55522c791124: Pulling fs layer 16:48:24 ce5c4a1c91eb: Pulling fs layer 16:48:24 169dfbe0d373: Pulling fs layer 16:48:24 e1ff8fa3b103: Pulling fs layer 16:48:24 52ebb69f0ebf: Pulling fs layer 16:48:24 5abe8eddf0d5: Pulling fs layer 16:48:24 169dfbe0d373: Waiting 16:48:24 e1ff8fa3b103: Waiting 16:48:24 52ebb69f0ebf: Waiting 16:48:24 5abe8eddf0d5: Waiting 16:48:24 55522c791124: Verifying Checksum 16:48:24 55522c791124: Download complete 16:48:24 169dfbe0d373: Verifying Checksum 16:48:24 169dfbe0d373: Download complete 16:48:24 e1ff8fa3b103: Verifying Checksum 16:48:24 e1ff8fa3b103: Download complete 16:48:24 af6eaf76a39c: Verifying Checksum 16:48:24 af6eaf76a39c: Download complete 16:48:26 af6eaf76a39c: Pull complete 16:48:26 5abe8eddf0d5: Verifying Checksum 16:48:26 5abe8eddf0d5: Download complete 16:48:26 55522c791124: Pull complete 16:48:27 52ebb69f0ebf: Verifying Checksum 16:48:27 ce5c4a1c91eb: Download complete 16:48:42 ce5c4a1c91eb: Pull complete 16:48:42 169dfbe0d373: Pull complete 16:48:42 e1ff8fa3b103: Pull complete 16:48:49 52ebb69f0ebf: Pull complete 16:48:51 5abe8eddf0d5: Pull complete 16:48:51 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 16:48:51 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 16:48:51 ---> 6cb57ee374ae 16:48:51 Step 3/12 : ARG ADD_BUILD_TAGS="" 16:48:53 ---> Running in 1d4130e7d94a 16:48:53 Removing intermediate container 1d4130e7d94a 16:48:53 ---> 1ccdad340491 16:48:53 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:48:53 ---> Running in 675bc64e2698 16:48:54 Removing intermediate container 675bc64e2698 16:48:54 ---> 8244f0f9b148 16:48:54 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:48:54 ---> Running in 830d4c165a67 16:48:54 Removing intermediate container 830d4c165a67 16:48:54 ---> e6abd7958e7e 16:48:54 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 16:48:55 ---> Running in 0a2cbd917c69 16:48:55 Removing intermediate container 0a2cbd917c69 16:48:55 ---> 96ac4ef5e86e 16:48:55 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:48:55 ---> Running in bf27668a5e46 16:48:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:48:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:48:58 (1/4) Installing openssh-keygen (9.1_p1-r2) 16:48:58 (2/4) Installing libedit (20221030.3.1-r0) 16:48:58 (3/4) Installing openssh-client-common (9.1_p1-r2) 16:48:58 (4/4) Installing openssh-client-default (9.1_p1-r2) 16:48:58 Executing busybox-1.35.0-r29.trigger 16:48:58 OK: 268 MiB in 57 packages 16:48:59 Removing intermediate container bf27668a5e46 16:48:59 ---> 7dc07f15c565 16:48:59 Step 8/12 : WORKDIR /device-rest-go 16:49:00 ---> Running in 6b5d9d18d0c2 16:49:00 Removing intermediate container 6b5d9d18d0c2 16:49:00 ---> 5ef9dcc3f2f5 16:49:00 Step 9/12 : COPY go.mod vendor* ./ 16:49:00 ---> 8b37318ef26f 16:49:00 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:49:00 ---> Running in d4802e2968b2 16:50:08 Removing intermediate container d4802e2968b2 16:50:08 ---> 654af688bb2f 16:50:08 Step 11/12 : COPY . . 16:50:08 ---> 9103b7e843de 16:50:08 Step 12/12 : RUN $MAKE 16:50:08 ---> Running in 54219c558c53 16:50:09 noop 16:50:10 Removing intermediate container 54219c558c53 16:50:10 ---> cadd6f0620e8 16:50:10 Successfully built cadd6f0620e8 16:50:10 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:10 + docker inspect -f . ci-base-image-arm64 16:50:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:50:10 prd-ubuntu20.04-docker-arm64-4c-16g-1963 does not seem to be running inside a container 16:50:11 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/92 -v /w/workspace/device-rest-go/92:/w/workspace/device-rest-go/92:rw,z -v /w/workspace/device-rest-go/92@tmp:/w/workspace/device-rest-go/92@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:50:12 $ docker top 2c5710a8fa300bc4c4a5048d1d859b59ee69dbd13eedf42821f00f4000ceb1f4 -eo pid,comm [Pipeline] { [Pipeline] sh 16:50:13 + go version 16:50:13 go version go1.20.2 linux/arm64 [Pipeline] } 16:50:13 $ docker stop --time=1 2c5710a8fa300bc4c4a5048d1d859b59ee69dbd13eedf42821f00f4000ceb1f4 16:50:14 $ docker rm -f --volumes 2c5710a8fa300bc4c4a5048d1d859b59ee69dbd13eedf42821f00f4000ceb1f4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:50:15 + docker inspect -f . ci-base-image-arm64 16:50:15 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:50:15 prd-ubuntu20.04-docker-arm64-4c-16g-1963 does not seem to be running inside a container 16:50:15 $ 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/92 -v /w/workspace/device-rest-go/92:/w/workspace/device-rest-go/92:rw,z -v /w/workspace/device-rest-go/92@tmp:/w/workspace/device-rest-go/92@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 16:50:16 $ docker top a93d5026b1c4c0d58e6d804b4c6abd89b74b4bce79aec40d6600c9e1430c13b4 -eo pid,comm [Pipeline] { [Pipeline] sh 16:50:17 + git config --global --add safe.directory /w/workspace/device-rest-go/92 [Pipeline] fileExists [Pipeline] sh 16:50:18 + make test 16:50:18 go test ./... -coverprofile=coverage.out ./... 16:50:57 ? github.com/edgexfoundry/device-rest-go [no test files] 16:53:34 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 16:53:34 ok github.com/edgexfoundry/device-rest-go/driver 0.066s coverage: 33.1% of statements 16:53:34 WARNING: Linting skipped (not on x86_64 or linter not installed) 16:53:34 go vet ./... 16:54:00 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 16:54:00 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 16:54:00 ./bin/test-attribution-txt.sh [Pipeline] echo 16:54:00 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 16:54:00 $ docker stop --time=1 a93d5026b1c4c0d58e6d804b4c6abd89b74b4bce79aec40d6600c9e1430c13b4 16:54:02 $ docker rm -f --volumes a93d5026b1c4c0d58e6d804b4c6abd89b74b4bce79aec40d6600c9e1430c13b4 [Pipeline] // withDockerContainer [Pipeline] sh 16:54:04 + sudo chown -R jenkins:jenkins . [Pipeline] stash 16:54:04 Warning: overwriting stash ‘coverage-report’ 16:54:04 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 16:54:04 + sudo chown -R jenkins:jenkins . [Pipeline] sh 16:54:05 + ls -al . 16:54:05 total 180 16:54:05 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:50 . 16:54:05 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:47 .. 16:54:05 -rw-rw-r-- 1 jenkins jenkins 151 Mar 15 16:47 .dockerignore 16:54:05 drwxrwxr-x 8 jenkins jenkins 4096 Mar 15 16:47 .git 16:54:05 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:47 .github 16:54:05 -rw-rw-r-- 1 jenkins jenkins 329 Mar 15 16:47 .gitignore 16:54:05 -rw-rw-r-- 1 jenkins jenkins 41 Mar 15 16:47 .golangci.yml 16:54:05 -rw-rw-r-- 1 jenkins jenkins 9321 Mar 15 16:47 Attribution.txt 16:54:05 -rw-rw-r-- 1 jenkins jenkins 13085 Mar 15 16:47 CHANGELOG.md 16:54:05 -rw-rw-r-- 1 jenkins jenkins 1578 Mar 15 16:47 Dockerfile 16:54:05 -rw-rw-r-- 1 jenkins jenkins 677 Mar 15 16:47 GOVERNANCE.md 16:54:05 -rw-rw-r-- 1 jenkins jenkins 680 Mar 15 16:47 Jenkinsfile 16:54:05 -rw-rw-r-- 1 jenkins jenkins 11340 Mar 15 16:47 LICENSE 16:54:05 -rw-rw-r-- 1 jenkins jenkins 1779 Mar 15 16:47 Makefile 16:54:05 -rw-rw-r-- 1 jenkins jenkins 620 Mar 15 16:47 OWNERS.md 16:54:05 -rw-rw-r-- 1 jenkins jenkins 15447 Mar 15 16:47 README.md 16:54:05 -rw-rw-r-- 1 jenkins jenkins 12 Mar 15 16:27 VERSION 16:54:05 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:47 bin 16:54:05 drwxrwxr-x 3 jenkins jenkins 4096 Mar 15 16:47 cmd 16:54:05 -rw-r--r-- 1 jenkins jenkins 14200 Mar 15 16:53 coverage.out 16:54:05 drwxrwxr-x 2 jenkins jenkins 4096 Mar 15 16:47 driver 16:54:05 -rw-rw-r-- 1 jenkins jenkins 3446 Mar 15 16:47 go.mod 16:54:05 -rw-rw-r-- 1 jenkins jenkins 31299 Mar 15 16:47 go.sum 16:54:05 drwxrwxr-x 4 jenkins jenkins 4096 Mar 15 16:47 snap 16:54:05 -rw-rw-r-- 1 jenkins jenkins 713 Mar 15 16:47 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:54:05 + 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=2ded8c8301fa9285dc80bb471c5f0972abc0b73a --label arch=arm64 --label version=3.0.0-dev.20 . 16:54:05 Sending build context to Docker daemon 153.6kB 16:54:05 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 16:54:05 Step 2/25 : FROM ${BASE} AS builder 16:54:05 ---> cadd6f0620e8 16:54:05 Step 3/25 : ARG ADD_BUILD_TAGS="" 16:54:05 ---> Running in 7e1754d1cf2f 16:54:06 Removing intermediate container 7e1754d1cf2f 16:54:06 ---> 62768fcd413b 16:54:06 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 16:54:06 ---> Running in 6b4450cd39db 16:54:06 Removing intermediate container 6b4450cd39db 16:54:06 ---> 8cd727cbf36d 16:54:06 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 16:54:06 ---> Running in 288cb1536af2 16:54:07 Removing intermediate container 288cb1536af2 16:54:07 ---> 3ab32e859f73 16:54:07 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 16:54:07 ---> Running in e318b39fe3f8 16:54:07 Removing intermediate container e318b39fe3f8 16:54:07 ---> 6269e4417ec9 16:54:07 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 16:54:07 ---> Running in e9759402da93 16:54:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:54:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:54:11 OK: 268 MiB in 57 packages 16:54:11 Removing intermediate container e9759402da93 16:54:11 ---> 899decb4a7b0 16:54:11 Step 8/25 : WORKDIR /device-rest-go 16:54:12 ---> Running in 72ec62eabeba 16:54:12 Removing intermediate container 72ec62eabeba 16:54:12 ---> ce1c9f9c4116 16:54:12 Step 9/25 : COPY go.mod vendor* ./ 16:54:12 ---> dd4291d85ff4 16:54:12 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 16:54:12 ---> Running in 43156f0ace9d 16:54:15 Removing intermediate container 43156f0ace9d 16:54:15 ---> 343f002a2d9f 16:54:15 Step 11/25 : COPY . . 16:54:16 ---> 72614ac383f6 16:54:16 Step 12/25 : RUN $MAKE 16:54:16 ---> Running in e9177f5cf3e3 16:54:17 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.20" -trimpath -mod=readonly -o cmd/device-rest ./cmd 16:56:53 Removing intermediate container e9177f5cf3e3 16:56:53 ---> 6091004fb039 16:56:53 Step 13/25 : FROM alpine:3.17 16:56:53 3.17: Pulling from library/alpine 16:56:53 af6eaf76a39c: Already exists 16:56:53 Digest: sha256:ff6bdca1701f3a8a67e328815ff2346b0e4067d32ec36b7992c1fdc001dc8517 16:56:53 Status: Downloaded newer image for alpine:3.17 16:56:53 ---> d74e625d9115 16:56:53 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 16:56:53 ---> Running in a156b87b3425 16:56:53 Removing intermediate container a156b87b3425 16:56:53 ---> 065750b7a989 16:56:53 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 16:56:53 ---> Running in 5f9e09a70ed8 16:56:53 Removing intermediate container 5f9e09a70ed8 16:56:53 ---> aafd9c666583 16:56:53 Step 16/25 : RUN apk add --update --no-cache dumb-init 16:56:53 ---> Running in 2b8f13eddb80 16:56:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 16:56:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 16:56:54 (1/1) Installing dumb-init (1.2.5-r2) 16:56:54 Executing busybox-1.35.0-r29.trigger 16:56:54 OK: 8 MiB in 16 packages 16:56:56 Removing intermediate container 2b8f13eddb80 16:56:56 ---> bab77ba7fbaf 16:56:56 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 16:56:57 ---> ec43d27114b0 16:56:57 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 16:56:58 ---> 95d7dc046c95 16:56:58 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 16:56:58 ---> 59671b952007 16:56:58 Step 20/25 : EXPOSE 59986 16:56:58 ---> Running in fbdfefd284c6 16:56:59 Removing intermediate container fbdfefd284c6 16:56:59 ---> 0f169b1d895e 16:56:59 Step 21/25 : ENTRYPOINT ["/device-rest"] 16:56:59 ---> Running in a408a378d406 16:56:59 Removing intermediate container a408a378d406 16:56:59 ---> 1c71f798d583 16:56:59 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 16:56:59 ---> Running in 6d75674072c6 16:56:59 Removing intermediate container 6d75674072c6 16:56:59 ---> 9396d9d6f1a6 16:56:59 Step 23/25 : LABEL arch=arm64 16:56:59 ---> Running in 340aed366b71 16:57:00 Removing intermediate container 340aed366b71 16:57:00 ---> 592227685787 16:57:00 Step 24/25 : LABEL git_sha=2ded8c8301fa9285dc80bb471c5f0972abc0b73a 16:57:00 ---> Running in cd961fdeb692 16:57:00 Removing intermediate container cd961fdeb692 16:57:00 ---> ab55e82e62cc 16:57:00 Step 25/25 : LABEL version=3.0.0-dev.20 16:57:00 ---> Running in b0ac8a8296cd 16:57:01 Removing intermediate container b0ac8a8296cd 16:57:01 ---> 47e647d5130d 16:57:01 [Warning] One or more build-args [ARCH] were not consumed 16:57:01 Successfully built 47e647d5130d 16:57:01 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:57:01 provisioning config files... 16:57:01 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/92@tmp/config11435304903575676207tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:57:01 ---> docker-login.sh 16:57:01 nexus3.edgexfoundry.org:10001 16:57:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:57:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:57:01 Configure a credential helper to remove this warning. See 16:57:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:57:01 16:57:01 Login Succeeded 16:57:01 nexus3.edgexfoundry.org:10002 16:57:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:57:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:57:02 Configure a credential helper to remove this warning. See 16:57:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:57:02 16:57:02 Login Succeeded 16:57:02 nexus3.edgexfoundry.org:10003 16:57:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:57:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:57:02 Configure a credential helper to remove this warning. See 16:57:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:57:02 16:57:02 Login Succeeded 16:57:02 nexus3.edgexfoundry.org:10004 16:57:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:57:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:57:02 Configure a credential helper to remove this warning. See 16:57:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:57:02 16:57:02 Login Succeeded 16:57:02 docker.io 16:57:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 16:57:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 16:57:03 Configure a credential helper to remove this warning. See 16:57:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 16:57:03 16:57:03 Login Succeeded 16:57:03 ---> docker-login.sh ends [Pipeline] } 16:57:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:57:03 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 16:57:03 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 16:57:03 2ded8c8301fa9285dc80bb471c5f0972abc0b73a 16:57:03 latest 16:57:03 3.0.0-dev.20 16:57:03 2ded8c8301fa9285dc80bb471c5f0972abc0b73a-3.0.0-dev.20 16:57:03 main 16:57:03 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:57:03 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2ded8c8301fa9285dc80bb471c5f0972abc0b73a [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:57:04 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2ded8c8301fa9285dc80bb471c5f0972abc0b73a 16:57:04 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:57:04 26af1d532262: Preparing 16:57:04 1a389b30a886: Preparing 16:57:04 e95ba51c1bed: Preparing 16:57:04 a01bb7ac18fd: Preparing 16:57:04 edf70074bd40: Preparing 16:57:04 edf70074bd40: Layer already exists 16:57:04 1a389b30a886: Pushed 16:57:04 a01bb7ac18fd: Pushed 16:57:04 26af1d532262: Pushed 16:57:09 e95ba51c1bed: Pushed 16:57:10 2ded8c8301fa9285dc80bb471c5f0972abc0b73a: digest: sha256:a99bf24f46dc78f51aa48dac1194296e66cfdc3ecf6aec71dc53bc2e8600cb90 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:57:10 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:57:10 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 16:57:10 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:57:10 26af1d532262: Preparing 16:57:10 1a389b30a886: Preparing 16:57:10 e95ba51c1bed: Preparing 16:57:10 a01bb7ac18fd: Preparing 16:57:10 edf70074bd40: Preparing 16:57:10 e95ba51c1bed: Layer already exists 16:57:10 26af1d532262: Layer already exists 16:57:10 a01bb7ac18fd: Layer already exists 16:57:10 edf70074bd40: Layer already exists 16:57:10 1a389b30a886: Layer already exists 16:57:11 latest: digest: sha256:a99bf24f46dc78f51aa48dac1194296e66cfdc3ecf6aec71dc53bc2e8600cb90 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:57:11 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:57:11 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.20 16:57:11 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:57:11 26af1d532262: Preparing 16:57:11 1a389b30a886: Preparing 16:57:11 e95ba51c1bed: Preparing 16:57:11 a01bb7ac18fd: Preparing 16:57:11 edf70074bd40: Preparing 16:57:11 a01bb7ac18fd: Layer already exists 16:57:11 1a389b30a886: Layer already exists 16:57:11 edf70074bd40: Layer already exists 16:57:11 e95ba51c1bed: Layer already exists 16:57:11 26af1d532262: Layer already exists 16:57:11 3.0.0-dev.20: digest: sha256:a99bf24f46dc78f51aa48dac1194296e66cfdc3ecf6aec71dc53bc2e8600cb90 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:57:12 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2ded8c8301fa9285dc80bb471c5f0972abc0b73a-3.0.0-dev.20 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:57:12 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2ded8c8301fa9285dc80bb471c5f0972abc0b73a-3.0.0-dev.20 16:57:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:57:12 26af1d532262: Preparing 16:57:12 1a389b30a886: Preparing 16:57:12 e95ba51c1bed: Preparing 16:57:12 a01bb7ac18fd: Preparing 16:57:12 edf70074bd40: Preparing 16:57:12 a01bb7ac18fd: Layer already exists 16:57:12 e95ba51c1bed: Layer already exists 16:57:12 edf70074bd40: Layer already exists 16:57:12 26af1d532262: Layer already exists 16:57:12 1a389b30a886: Layer already exists 16:57:12 2ded8c8301fa9285dc80bb471c5f0972abc0b73a-3.0.0-dev.20: digest: sha256:a99bf24f46dc78f51aa48dac1194296e66cfdc3ecf6aec71dc53bc2e8600cb90 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:57:13 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:57:13 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 16:57:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 16:57:13 26af1d532262: Preparing 16:57:13 1a389b30a886: Preparing 16:57:13 e95ba51c1bed: Preparing 16:57:13 a01bb7ac18fd: Preparing 16:57:13 edf70074bd40: Preparing 16:57:13 1a389b30a886: Layer already exists 16:57:13 e95ba51c1bed: Layer already exists 16:57:13 edf70074bd40: Layer already exists 16:57:13 a01bb7ac18fd: Layer already exists 16:57:13 26af1d532262: Layer already exists 16:57:13 main: digest: sha256:a99bf24f46dc78f51aa48dac1194296e66cfdc3ecf6aec71dc53bc2e8600cb90 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 16:57:13 ===================================================== [Pipeline] echo 16:57:13 taggedImages: 16:57:13 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2ded8c8301fa9285dc80bb471c5f0972abc0b73a 16:57:13 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 16:57:13 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.20 16:57:13 - nexus3.edgexfoundry.org:10004/device-rest-arm64:2ded8c8301fa9285dc80bb471c5f0972abc0b73a-3.0.0-dev.20 16:57:13 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:57:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:57:14 16:57:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:57:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:57:14 arm64: Pulling from edgex-lftools-log-publisher 16:57:14 8998bd30e6a1: Pulling fs layer 16:57:14 04944245beec: Pulling fs layer 16:57:14 699f458cf7ca: Pulling fs layer 16:57:14 765212b225bb: Pulling fs layer 16:57:14 f23df028b6ca: Pulling fs layer 16:57:14 d65c8cfc05b1: Pulling fs layer 16:57:14 2437ff75d9bd: Pulling fs layer 16:57:14 f23df028b6ca: Waiting 16:57:14 d65c8cfc05b1: Waiting 16:57:14 2437ff75d9bd: Waiting 16:57:14 765212b225bb: Waiting 16:57:14 04944245beec: Verifying Checksum 16:57:14 04944245beec: Download complete 16:57:14 765212b225bb: Verifying Checksum 16:57:14 765212b225bb: Download complete 16:57:14 f23df028b6ca: Verifying Checksum 16:57:14 f23df028b6ca: Download complete 16:57:14 d65c8cfc05b1: Verifying Checksum 16:57:14 d65c8cfc05b1: Download complete 16:57:14 699f458cf7ca: Verifying Checksum 16:57:14 699f458cf7ca: Download complete 16:57:15 8998bd30e6a1: Verifying Checksum 16:57:15 8998bd30e6a1: Download complete 16:57:18 2437ff75d9bd: Verifying Checksum 16:57:18 2437ff75d9bd: Download complete 16:57:20 8998bd30e6a1: Pull complete 16:57:20 04944245beec: Pull complete 16:57:22 699f458cf7ca: Pull complete 16:57:22 765212b225bb: Pull complete 16:57:23 f23df028b6ca: Pull complete 16:57:23 d65c8cfc05b1: Pull complete 16:57:38 2437ff75d9bd: Pull complete 16:57:38 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 16:57:38 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 16:57:38 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:57:38 prd-ubuntu20.04-docker-arm64-4c-16g-1963 does not seem to be running inside a container 16:57:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/92 -v /w/workspace/device-rest-go/92:/w/workspace/device-rest-go/92:rw,z -v /w/workspace/device-rest-go/92@tmp:/w/workspace/device-rest-go/92@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 16:57:43 $ docker top 877e845b553bbdd89277a338362b39c02a61aea3e1b5b6272de2737d72ab394c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 16:57:44 ---> job-cost.sh 16:57:44 lf-activate-venv: SKIPPING 16:57:44 INFO: No Stack... 16:57:45 INFO: Retrieving Pricing Info for: v3-standard-4 16:57:46 INFO: Archiving Costs [Pipeline] sh 16:57:46 + cut -d, -f6 16:57:46 + cat /w/workspace/device-rest-go/92/archives/cost.csv [Pipeline] lock 16:57:46 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-92-stack-cost] 16:57:46 Resource [jenkins-edgexfoundry-device-rest-go-main-92-stack-cost] did not exist. Created. 16:57:46 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-92-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:57:47 /w/workspace/device-rest-go/92@tmp/durable-834a2748/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 16:57:48 + echo total: 0.10999999940395355 [Pipeline] stash 16:57:48 Warning: overwriting stash ‘stack-cost’ 16:57:48 Stashed 1 file(s) [Pipeline] } 16:57:48 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-92-stack-cost] [Pipeline] // lock [Pipeline] } 16:57:48 $ docker stop --time=1 877e845b553bbdd89277a338362b39c02a61aea3e1b5b6272de2737d72ab394c 16:57:49 $ docker rm -f --volumes 877e845b553bbdd89277a338362b39c02a61aea3e1b5b6272de2737d72ab394c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 16:57:50 provisioning config files... 16:57:50 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6376006005384122343tmp [Pipeline] { [Pipeline] sh 16:57:50 + set +x 16:57:50 + bash -s -- 16:57:50 + curl -s https://codecov.io/bash 16:57:50 16:57:50 _____ _ 16:57:50 / ____| | | 16:57:50 | | ___ __| | ___ ___ _____ __ 16:57:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 16:57:50 | |___| (_) | (_| | __/ (_| (_) \ V / 16:57:50 \_____\___/ \__,_|\___|\___\___/ \_/ 16:57:50 Bash-1.0.6 16:57:50 16:57:50 16:57:50 ==> git version 2.25.1 found 16:57:50 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 16:57:50 Release-Date: 2020-01-08 16:57:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 16:57:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 16:57:50 ==> Jenkins CI detected. 16:57:50 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 16:57:50 project root: . 16:57:50 --> token set from env 16:57:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 16:57:50 ==> Running gcov in . (disable via -X gcov) 16:57:50 ==> Python coveragepy not found 16:57:50 ==> Searching for coverage reports in: 16:57:50 + . 16:57:50 -> Found 1 reports 16:57:50 ==> Detecting git/mercurial file structure 16:57:50 ==> Reading reports 16:57:50 + ./coverage.out bytes=14200 16:57:50 ==> Appending adjustments 16:57:50 https://docs.codecov.io/docs/fixing-reports 16:57:50 + Found adjustments 16:57:50 ==> Gzipping contents 16:57:50 4.0K /tmp/codecov.1A63sL.gz 16:57:50 ==> Uploading reports 16:57:50 url: https://codecov.io 16:57:50 query: branch=main&commit=2ded8c8301fa9285dc80bb471c5f0972abc0b73a&build=92&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F92%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:57:50 -> Pinging Codecov 16:57:50 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=2ded8c8301fa9285dc80bb471c5f0972abc0b73a&build=92&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F92%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 16:58:17 -> Uploading to 16:58:17 https://storage.googleapis.com/codecov/v4/raw/2023-03-15/4E5D53B4F1F92C436F7061BF334D961C/2ded8c8301fa9285dc80bb471c5f0972abc0b73a/2a3fa3f1-d2fa-4922-8014-9975332ba5a3.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230315%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230315T165813Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=1397819ef765b11fb0c6d9d8ff9b4d21c5977ff47a493d11f6908384a3fe4855 16:58:17 % Total % Received % Xferd Average Speed Time Time Time Current 16:58:17 Dload Upload Total Spent Left Speed 16:58:17 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2465 0 0 100 2465 0 9372 --:--:-- --:--:-- --:--:-- 9372 16:58:17 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/2ded8c8301fa9285dc80bb471c5f0972abc0b73a [Pipeline] } 16:58:17 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 16:58:17 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 16:58:17 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:58:17 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:58:17 16:58:17 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:58:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:58:18 1.410.4: Pulling from edgex-devops/edgex-snyk-go 16:58:18 df9b9388f04a: Pulling fs layer 16:58:18 52dc419b0ee2: Pulling fs layer 16:58:18 25bc292e5bac: Pulling fs layer 16:58:18 114826534d7a: Pulling fs layer 16:58:18 4657fd5d0bcf: Pulling fs layer 16:58:18 6ad1cebc031e: Pulling fs layer 16:58:18 8a3aa393b2d8: Pulling fs layer 16:58:18 4657fd5d0bcf: Waiting 16:58:18 6ad1cebc031e: Waiting 16:58:18 8a3aa393b2d8: Waiting 16:58:18 114826534d7a: Waiting 16:58:18 25bc292e5bac: Verifying Checksum 16:58:18 25bc292e5bac: Download complete 16:58:18 52dc419b0ee2: Verifying Checksum 16:58:18 52dc419b0ee2: Download complete 16:58:18 4657fd5d0bcf: Download complete 16:58:18 df9b9388f04a: Download complete 16:58:18 df9b9388f04a: Pull complete 16:58:18 52dc419b0ee2: Pull complete 16:58:18 6ad1cebc031e: Verifying Checksum 16:58:18 6ad1cebc031e: Download complete 16:58:18 25bc292e5bac: Pull complete 16:58:19 114826534d7a: Verifying Checksum 16:58:19 114826534d7a: Download complete 16:58:19 8a3aa393b2d8: Verifying Checksum 16:58:19 8a3aa393b2d8: Download complete 16:58:23 114826534d7a: Pull complete 16:58:23 4657fd5d0bcf: Pull complete 16:58:23 6ad1cebc031e: Pull complete 16:58:25 8a3aa393b2d8: Pull complete 16:58:25 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 16:58:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 16:58:25 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:58:26 prd-ubuntu20.04-docker-8c-8g-1275 does not seem to be running inside a container 16:58:26 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 16:58:28 $ docker top 577a79f0e019b1c5078a0e7eb5c9b562d7a2927927010a99c4c2df261babe7b7 -eo pid,comm [Pipeline] { [Pipeline] echo 16:58:28 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 16:58:28 + set -o pipefail 16:58:28 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 16:58:32 16:58:32 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 16:58:32 16:58:32 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/a73d8949-673c-4bed-99b2-804e500bcb9a 16:58:32 16:58:32 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 16:58:32 16:58:32 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 16:58:32 16:58:32 16:58:32 A medium severity vulnerability was found in the Snyk CLI versions you are using. 16:58:32 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 16:58:32 More details here: https://snyk.co/ue1NS [Pipeline] } 16:58:32 $ docker stop --time=1 577a79f0e019b1c5078a0e7eb5c9b562d7a2927927010a99c4c2df261babe7b7 16:58:35 $ docker rm -f --volumes 577a79f0e019b1c5078a0e7eb5c9b562d7a2927927010a99c4c2df261babe7b7 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 16:58:35 + git log --format=format:%s -1 2ded8c8301fa9285dc80bb471c5f0972abc0b73a [Pipeline] sh 16:58:36 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:58:36 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:58:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:58:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:58:36 prd-ubuntu20.04-docker-8c-8g-1275 does not seem to be running inside a container 16:58:36 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:58:37 $ docker top 08c60c2dafb69472937a45892df4691ff58a74defc1c419994fb15132b7b0524 -eo pid,comm 16:58:37 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:58:37 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:58:37 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:58:37 [ssh-agent] Looking for ssh-agent implementation... 16:58:37 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:58:37 $ docker exec 08c60c2dafb69472937a45892df4691ff58a74defc1c419994fb15132b7b0524 ssh-agent 16:58:37 SSH_AUTH_SOCK=/tmp/ssh-JVLzbzpzC09K/agent.32 16:58:37 SSH_AGENT_PID=38 16:58:37 Running ssh-add (command line suppressed) 16:58:37 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8638216999990450933.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8638216999990450933.key) 16:58:37 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:58:37 + git semver tag 16:58:38 2023-03-15 16:58:38,030 [run_tag] DEBUG tag force:False 16:58:38 2023-03-15 16:58:38,031 [check_head_tag] DEBUG check head tag 16:58:38 2023-03-15 16:58:38,032 [execute] INFO git cat-file --batch-check 16:58:38 2023-03-15 16:58:38,032 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 16:58:38 2023-03-15 16:58:38,036 [execute] INFO git cat-file --batch 16:58:38 2023-03-15 16:58:38,037 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 16:58:38 2023-03-15 16:58:38,059 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:58:38 2023-03-15 16:58:38,059 [execute] INFO git tag -a v3.0.0-dev.20 -m v3.0.0-dev.20 16:58:38 2023-03-15 16:58:38,060 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.20', '-m', 'v3.0.0-dev.20'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 16:58:38 2023-03-15 16:58:38,064 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:58:38 3.0.0-dev.20 [Pipeline] } 16:58:38 $ docker exec --env ******** --env ******** 08c60c2dafb69472937a45892df4691ff58a74defc1c419994fb15132b7b0524 ssh-agent -k 16:58:38 unset SSH_AUTH_SOCK; 16:58:38 unset SSH_AGENT_PID; 16:58:38 echo Agent pid 38 killed; 16:58:38 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:58:38 + git semver [Pipeline] } 16:58:39 $ docker stop --time=1 08c60c2dafb69472937a45892df4691ff58a74defc1c419994fb15132b7b0524 16:58:40 $ docker rm -f --volumes 08c60c2dafb69472937a45892df4691ff58a74defc1c419994fb15132b7b0524 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:58:40 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:58:40 16:58:40 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:58:41 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:58:41 0.23.1-centos7: Pulling from edgex-lftools 16:58:41 ab5ef0e58194: Pulling fs layer 16:58:41 9712f1f96733: Pulling fs layer 16:58:41 63f879dbbcfc: Pulling fs layer 16:58:41 0d9ebad4ef96: Pulling fs layer 16:58:41 e9a5061849ea: Pulling fs layer 16:58:41 d747dcd14b5f: Pulling fs layer 16:58:41 2de7ff778b66: Pulling fs layer 16:58:41 0d9ebad4ef96: Waiting 16:58:41 e9a5061849ea: Waiting 16:58:41 d747dcd14b5f: Waiting 16:58:41 2de7ff778b66: Waiting 16:58:41 9712f1f96733: Verifying Checksum 16:58:41 9712f1f96733: Download complete 16:58:41 63f879dbbcfc: Verifying Checksum 16:58:41 63f879dbbcfc: Download complete 16:58:41 0d9ebad4ef96: Verifying Checksum 16:58:41 0d9ebad4ef96: Download complete 16:58:41 d747dcd14b5f: Verifying Checksum 16:58:41 d747dcd14b5f: Download complete 16:58:41 e9a5061849ea: Verifying Checksum 16:58:41 e9a5061849ea: Download complete 16:58:41 ab5ef0e58194: Verifying Checksum 16:58:41 ab5ef0e58194: Download complete 16:58:42 2de7ff778b66: Verifying Checksum 16:58:42 2de7ff778b66: Download complete 16:58:44 ab5ef0e58194: Pull complete 16:58:44 9712f1f96733: Pull complete 16:58:45 63f879dbbcfc: Pull complete 16:58:49 0d9ebad4ef96: Pull complete 16:58:49 e9a5061849ea: Pull complete 16:58:49 d747dcd14b5f: Pull complete 16:58:50 2de7ff778b66: Pull complete 16:58:50 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 16:58:50 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 16:58:50 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:58:50 prd-ubuntu20.04-docker-8c-8g-1275 does not seem to be running inside a container 16:58:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 16:58:53 $ docker top 8ccb3787e4290c5e9678ee440349320ab395d2ccb629ac9db501c76d626291ad -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 16:58:53 provisioning config files... 16:58:53 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7055091395746031694tmp 16:58:53 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12655917872349853059tmp 16:58:53 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config204760535545150207tmp [Pipeline] { [Pipeline] echo 16:58:53 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 16:58:53 ---> sigul-configuration.sh 16:58:53 gpg: directory `/root/.gnupg' created 16:58:53 gpg: new configuration file `/root/.gnupg/gpg.conf' created 16:58:53 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 16:58:53 gpg: keyring `/root/.gnupg/secring.gpg' created 16:58:53 gpg: keyring `/root/.gnupg/pubring.gpg' created 16:58:53 gpg: CAST5 encrypted data 16:58:53 gpg: encrypted with 1 passphrase 16:58:53 gpg: WARNING: message was not integrity protected [Pipeline] sh 16:58:53 + mkdir /home/jenkins 16:58:53 + mkdir /home/jenkins/sigul [Pipeline] sh 16:58:53 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 16:58:53 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 16:58:54 ---> sigul-install.sh 16:58:54 Sigul already installed; skipping installation. [Pipeline] sh 16:58:54 + git tag --list 16:58:54 v1.0.0 16:58:54 v1.1.0 16:58:54 v1.1.1 16:58:54 v1.1.2 16:58:54 v1.2.0 16:58:54 v1.2.1 16:58:54 v2.0.0 16:58:54 v2.1.0 16:58:54 v2.1.1 16:58:54 v2.1.1-dev.1 16:58:54 v2.1.1-dev.2 16:58:54 v2.1.1-dev.3 16:58:54 v2.2.0 16:58:54 v2.2.1-dev.1 16:58:54 v2.2.1-dev.2 16:58:54 v2.2.1-dev.3 16:58:54 v2.2.1-dev.4 16:58:54 v2.2.1-dev.5 16:58:54 v2.2.1-dev.6 16:58:54 v2.2.1-dev.7 16:58:54 v2.2.1-dev.8 16:58:54 v2.2.1-dev.9 16:58:54 v2.3.0 16:58:54 v2.3.0-dev.10 16:58:54 v2.3.0-dev.11 16:58:54 v2.3.0-dev.12 16:58:54 v2.3.0-dev.13 16:58:54 v2.3.0-dev.14 16:58:54 v2.3.0-dev.15 16:58:54 v2.3.0-dev.16 16:58:54 v2.3.0-dev.17 16:58:54 v2.3.0-dev.18 16:58:54 v2.3.0-dev.19 16:58:54 v2.3.0-dev.20 16:58:54 v2.3.0-dev.21 16:58:54 v2.3.0-dev.22 16:58:54 v2.3.0-dev.23 16:58:54 v2.3.0-dev.24 16:58:54 v2.3.0-dev.25 16:58:54 v2.3.0-dev.9 16:58:54 v3.0.0-dev.1 16:58:54 v3.0.0-dev.10 16:58:54 v3.0.0-dev.11 16:58:54 v3.0.0-dev.12 16:58:54 v3.0.0-dev.13 16:58:54 v3.0.0-dev.14 16:58:54 v3.0.0-dev.15 16:58:54 v3.0.0-dev.16 16:58:54 v3.0.0-dev.17 16:58:54 v3.0.0-dev.18 16:58:54 v3.0.0-dev.19 16:58:54 v3.0.0-dev.2 16:58:54 v3.0.0-dev.20 16:58:54 v3.0.0-dev.3 16:58:54 v3.0.0-dev.4 16:58:54 v3.0.0-dev.5 16:58:54 v3.0.0-dev.6 16:58:54 v3.0.0-dev.7 16:58:54 v3.0.0-dev.8 16:58:54 v3.0.0-dev.9 [Pipeline] sh 16:58:54 + lftools sign git-tag v3.0.0-dev.20 16:58:55 Signing Git tag with Sigul... 16:58:55 Signing v3.0.0-dev.20 [Pipeline] echo 16:58:55 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 16:58:55 ---> sigul-configuration-cleanup.sh [Pipeline] } 16:58:55 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 16:58:55 $ docker stop --time=1 8ccb3787e4290c5e9678ee440349320ab395d2ccb629ac9db501c76d626291ad 16:58:57 $ docker rm -f --volumes 8ccb3787e4290c5e9678ee440349320ab395d2ccb629ac9db501c76d626291ad [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 16:58:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:58:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:58:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:58:58 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:58:58 prd-ubuntu20.04-docker-8c-8g-1275 does not seem to be running inside a container 16:58:58 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:58:58 $ docker top aedf4bc0b85d79515e47d4c305654cd790bd2784769c63c3e8e7dbe9d2b6186e -eo pid,comm 16:58:58 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:58:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:58:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:58:58 [ssh-agent] Looking for ssh-agent implementation... 16:58:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:58:58 $ docker exec aedf4bc0b85d79515e47d4c305654cd790bd2784769c63c3e8e7dbe9d2b6186e ssh-agent 16:58:58 SSH_AUTH_SOCK=/tmp/ssh-JHHhzowqiBpJ/agent.32 16:58:58 SSH_AGENT_PID=38 16:58:58 Running ssh-add (command line suppressed) 16:58:58 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2909575616765863439.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2909575616765863439.key) 16:58:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:58:59 + git semver bump pre 16:58:59 2023-03-15 16:58:59,370 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:58:59 2023-03-15 16:58:59,370 [bump_version] DEBUG bumping version:3.0.0-dev.20 on axis:pre with prefix:dev 16:58:59 2023-03-15 16:58:59,370 [bump_version] DEBUG bumped version:3.0.0-dev.21 16:58:59 2023-03-15 16:58:59,370 [write_version] DEBUG write version:3.0.0-dev.21 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 16:58:59 2023-03-15 16:58:59,371 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:58:59 2023-03-15 16:58:59,371 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:58:59 2023-03-15 16:58:59,375 [execute] INFO git cat-file --batch-check 16:58:59 2023-03-15 16:58:59,375 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:58:59 2023-03-15 16:58:59,382 [execute] INFO git cat-file --batch 16:58:59 2023-03-15 16:58:59,382 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:58:59 2023-03-15 16:58:59,387 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:58:59 3.0.0-dev.21 [Pipeline] } 16:58:59 $ docker exec --env ******** --env ******** aedf4bc0b85d79515e47d4c305654cd790bd2784769c63c3e8e7dbe9d2b6186e ssh-agent -k 16:58:59 unset SSH_AUTH_SOCK; 16:58:59 unset SSH_AGENT_PID; 16:58:59 echo Agent pid 38 killed; 16:58:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:58:59 + git semver [Pipeline] } 16:59:00 $ docker stop --time=1 aedf4bc0b85d79515e47d4c305654cd790bd2784769c63c3e8e7dbe9d2b6186e 16:59:01 $ docker rm -f --volumes aedf4bc0b85d79515e47d4c305654cd790bd2784769c63c3e8e7dbe9d2b6186e [Pipeline] // withDockerContainer [Pipeline] sh 16:59:01 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 16:59:01 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:59:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 16:59:02 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:59:02 prd-ubuntu20.04-docker-8c-8g-1275 does not seem to be running inside a container 16:59:02 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 16:59:02 $ docker top 7770a4b6a9c6f4089db558158eeecdc75bcf552bf5aa1f8fa0b3ad44729a6381 -eo pid,comm 16:59:02 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 16:59:02 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 16:59:02 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 16:59:02 [ssh-agent] Looking for ssh-agent implementation... 16:59:02 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 16:59:02 $ docker exec 7770a4b6a9c6f4089db558158eeecdc75bcf552bf5aa1f8fa0b3ad44729a6381 ssh-agent 16:59:02 SSH_AUTH_SOCK=/tmp/ssh-fVnDpHGqiWuG/agent.32 16:59:02 SSH_AGENT_PID=38 16:59:02 Running ssh-add (command line suppressed) 16:59:02 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17666735228174873746.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17666735228174873746.key) 16:59:02 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 16:59:03 + git semver push 16:59:03 2023-03-15 16:59:03,356 [run_push] DEBUG push 16:59:03 2023-03-15 16:59:03,357 [execute] INFO git cat-file --batch-check 16:59:03 2023-03-15 16:59:03,357 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 16:59:03 2023-03-15 16:59:03,359 [execute] INFO git rev-list 869b011d0d6bc28787d74730eb042cb802e653d5 -- 16:59:03 2023-03-15 16:59:03,359 [execute] DEBUG Popen(['git', 'rev-list', '869b011d0d6bc28787d74730eb042cb802e653d5', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:59:03 2023-03-15 16:59:03,368 [execute] INFO git fetch -v origin 16:59:03 2023-03-15 16:59:03,368 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 16:59:04 2023-03-15 16:59:03,858 [run_push] DEBUG no remote changes detected 16:59:04 2023-03-15 16:59:03,858 [execute] INFO git push origin semver 16:59:04 2023-03-15 16:59:03,859 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 16:59:04 2023-03-15 16:59:04,729 [run_push] DEBUG push all version tags 16:59:04 2023-03-15 16:59:04,729 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 16:59:04 2023-03-15 16:59:04,730 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 16:59:05 2023-03-15 16:59:05,631 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 16:59:05 3.0.0-dev.21 [Pipeline] } 16:59:05 $ docker exec --env ******** --env ******** 7770a4b6a9c6f4089db558158eeecdc75bcf552bf5aa1f8fa0b3ad44729a6381 ssh-agent -k 16:59:05 unset SSH_AUTH_SOCK; 16:59:05 unset SSH_AGENT_PID; 16:59:05 echo Agent pid 38 killed; 16:59:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 16:59:06 + git semver [Pipeline] } 16:59:06 $ docker stop --time=1 7770a4b6a9c6f4089db558158eeecdc75bcf552bf5aa1f8fa0b3ad44729a6381 16:59:07 $ docker rm -f --volumes 7770a4b6a9c6f4089db558158eeecdc75bcf552bf5aa1f8fa0b3ad44729a6381 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 16:59:08 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 16:59:08 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 16:59:08 total 16 16:59:08 drwxr-xr-x 3 root root 4096 Mar 15 16:29 . 16:59:08 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 16:58 .. 16:59:08 drwxr-xr-x 2 root root 4096 Mar 15 16:29 cost 16:59:08 -rw-r--r-- 1 root root 85 Mar 15 16:29 cost.csv 16:59:08 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 16:59:08 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 16:59:08 total 16 16:59:08 drwxr-xr-x 3 jenkins jenkins 4096 Mar 15 16:29 . 16:59:08 drwxrwxr-x 10 jenkins jenkins 4096 Mar 15 16:58 .. 16:59:08 drwxr-xr-x 2 jenkins jenkins 4096 Mar 15 16:29 cost 16:59:08 -rw-r--r-- 1 jenkins jenkins 85 Mar 15 16:29 cost.csv [Pipeline] libraryResource [Pipeline] sh 16:59:08 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 16:59:09 ---> package-listing.sh 16:59:09 ++ facter osfamily 16:59:09 ++ tr '[:upper:]' '[:lower:]' 16:59:09 + OS_FAMILY=debian 16:59:09 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 16:59:09 + START_PACKAGES=/tmp/packages_start.txt 16:59:09 + END_PACKAGES=/tmp/packages_end.txt 16:59:09 + DIFF_PACKAGES=/tmp/packages_diff.txt 16:59:09 + PACKAGES=/tmp/packages_start.txt 16:59:09 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 16:59:09 + PACKAGES=/tmp/packages_end.txt 16:59:09 + case "${OS_FAMILY}" in 16:59:09 + dpkg -l 16:59:09 + grep '^ii' 16:59:09 + '[' -f /tmp/packages_start.txt ']' 16:59:09 + '[' -f /tmp/packages_end.txt ']' 16:59:09 + diff /tmp/packages_start.txt /tmp/packages_end.txt 16:59:09 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 16:59:09 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 16:59:09 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 16:59:09 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 16:59:10 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 16:59:10 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 16:59:10 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 16:59:10 prd-ubuntu20.04-docker-8c-8g-1275 does not seem to be running inside a container 16:59:10 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 16:59:10 $ docker top 79b4b461b8c28f25e1b68133d44a09f36101ed71a603dddc324794d91b4c58bd -eo pid,comm [Pipeline] { [Pipeline] sh 16:59:11 + touch /tmp/pre-build-complete [Pipeline] sh 16:59:11 + mkdir -p /var/log/sysstat [Pipeline] sh 16:59:11 + ls /var/log/sa-host 16:59:11 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 16:59:11 provisioning config files... 16:59:11 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8467752978416968648tmp [Pipeline] { [Pipeline] echo 16:59:11 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 16:59:12 ---> create-netrc.sh [Pipeline] } 16:59:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 16:59:12 ---> python-tools-install.sh [Pipeline] echo 16:59:12 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 16:59:12 ---> sudo-logs.sh 16:59:12 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 16:59:12 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 16:59:13 ---> job-cost.sh 16:59:13 lf-activate-venv: SKIPPING 16:59:13 DEBUG: total: 0.2199999988079071 16:59:13 INFO: Retrieving Stack Cost... 16:59:13 INFO: Retrieving Pricing Info for: v3-standard-8 16:59:13 INFO: Archiving Costs [Pipeline] echo 16:59:13 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 16:59:14 ---> logs-deploy.sh 16:59:14 lf-activate-venv: SKIPPING 16:59:14 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/92 16:59:14 INFO: archiving workspace using pattern(s): 16:59:15 Archives upload complete. 16:59:15 INFO: archiving logs to Nexus