Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from fa0493e2e3feda240b1cb1121ab26136a8f60332 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-ssh4240518045108667504.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh14071053135345190041.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 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 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-ssh6559546395935541627.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 # timeout=10 Commit message: "fix: bug with isLTS relying on env.GIT_BRANCH inside cd-management repo (#429)" > 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-ssh15631285841009617844.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-ssh10197963452522149483.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-8777 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision fa0493e2e3feda240b1cb1121ab26136a8f60332 (main) Commit message: "fix: [WIP BUG] Add ProfilesDir & DevicesDir to local config (#291)" > git config core.sparsecheckout # timeout=10 > git checkout -f fa0493e2e3feda240b1cb1121ab26136a8f60332 # timeout=10 > git rev-list --no-walk 2da8002a0f90c09723ed576a82490c9132775745 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 20:17:19 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 20:17:19 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 20:17:20 ========================================================= 20:17:20 EdgeX Global Pipelines Version Info 20:17:20 ========================================================= [Pipeline] libraryResource [Pipeline] sh 20:17:20 ------------------- 20:17:20 stable info: 20:17:20 ------------------- 20:17:20 Commited By: Bill Mahoney bill.mahoney@intel.com 20:17:20 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 20:17:20 Message: update stable to v1.0.248 20:17:21 ------------------- 20:17:21 experimental info: 20:17:21 ------------------- 20:17:21 Commited By: **** collab-it+edgex@linuxfoundation.org 20:17:21 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 20:17:21 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 20:17:21 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 20:17:21 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 20:17:21 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 20:17:21 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 20:17:21 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 20:17:21 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 20:17:21 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 20:17:21 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 20:17:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 20:17:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 20:17:21 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 20:17:21 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 20:17:21 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 20:17:21 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 20:17:21 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 20:17:21 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 20:17:21 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 20:17:21 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 20:17:21 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 20:17:21 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 20:17:21 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 20:17:21 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 20:17:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 20:17:21 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 20:17:21 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 20:17:21 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 20:17:21 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 20:17:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 20:17:21 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 20:17:21 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 20:17:21 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = fa0493e2e3feda240b1cb1121ab26136a8f60332 [Pipeline] echo 20:17:21 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = fa0493e [Pipeline] echo 20:17:21 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:17:21 provisioning config files... 20:17:21 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9165135274659054241tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:17:22 ---> docker-login.sh 20:17:22 nexus3.edgexfoundry.org:10001 20:17:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:22 Configure a credential helper to remove this warning. See 20:17:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:22 20:17:22 Login Succeeded 20:17:22 nexus3.edgexfoundry.org:10002 20:17:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:22 Configure a credential helper to remove this warning. See 20:17:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:22 20:17:22 Login Succeeded 20:17:22 nexus3.edgexfoundry.org:10003 20:17:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:22 Configure a credential helper to remove this warning. See 20:17:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:22 20:17:22 Login Succeeded 20:17:22 nexus3.edgexfoundry.org:10004 20:17:22 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:22 Configure a credential helper to remove this warning. See 20:17:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:22 20:17:22 Login Succeeded 20:17:22 docker.io 20:17:23 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:23 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:23 Configure a credential helper to remove this warning. See 20:17:23 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:23 20:17:23 Login Succeeded 20:17:23 ---> docker-login.sh ends [Pipeline] } 20:17:23 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 20:17:23 + git rev-list -1 --merges fa0493e2e3feda240b1cb1121ab26136a8f60332~1..fa0493e2e3feda240b1cb1121ab26136a8f60332 [Pipeline] echo 20:17:23 -----------> git rev-list -1 --merges fa0493e2e3feda240b1cb1121ab26136a8f60332~1..fa0493e2e3feda240b1cb1121ab26136a8f60332 fa0493e2e3feda240b1cb1121ab26136a8f60332 [false] [Pipeline] sh 20:17:23 + git log --format=format:%s -1 fa0493e2e3feda240b1cb1121ab26136a8f60332 [Pipeline] echo 20:17:23 ========================================================= 20:17:23 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 20:17:23 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:17:24 + git log --format=format:%s -1 fa0493e2e3feda240b1cb1121ab26136a8f60332 [Pipeline] echo 20:17:24 [semverPrep] GIT_COMMIT: fa0493e2e3feda240b1cb1121ab26136a8f60332, Commit Message: fix: [WIP BUG] Add ProfilesDir & DevicesDir to local config (#291) [Pipeline] echo 20:17:24 [semverPrep] This is not a build commit. [Pipeline] sh 20:17:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:17:24 + grep -v github /etc/ssh/ssh_known_hosts 20:17:24 + [ -e /tmp/ssh_known_hosts ] 20:17:24 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 20:17:24 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=+ 20:17:24 sudo tee -a /etc/ssh/ssh_known_hosts 20:17:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:25 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:17:25 20:17:25 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:25 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:17:25 0.1.4: Pulling from edgex-devops/py-git-semver 20:17:25 b85a868b505f: Pulling fs layer 20:17:25 e2be974225ed: Pulling fs layer 20:17:25 339a4e72a1f5: Pulling fs layer 20:17:25 988bab9f4d93: Pulling fs layer 20:17:25 1469e6f7b9e6: Pulling fs layer 20:17:25 eaf3925da568: Pulling fs layer 20:17:25 bab4dde63d76: Pulling fs layer 20:17:25 bde34c3a00c8: Pulling fs layer 20:17:25 b352a97aabf1: Pulling fs layer 20:17:25 4872d77fe225: Pulling fs layer 20:17:25 5851b861e8e6: Pulling fs layer 20:17:25 bab4dde63d76: Waiting 20:17:25 bde34c3a00c8: Waiting 20:17:25 b352a97aabf1: Waiting 20:17:25 4872d77fe225: Waiting 20:17:25 5851b861e8e6: Waiting 20:17:25 988bab9f4d93: Waiting 20:17:25 eaf3925da568: Waiting 20:17:25 1469e6f7b9e6: Waiting 20:17:25 e2be974225ed: Download complete 20:17:25 988bab9f4d93: Verifying Checksum 20:17:25 988bab9f4d93: Download complete 20:17:25 1469e6f7b9e6: Verifying Checksum 20:17:25 1469e6f7b9e6: Download complete 20:17:25 eaf3925da568: Download complete 20:17:25 339a4e72a1f5: Verifying Checksum 20:17:25 339a4e72a1f5: Download complete 20:17:25 bde34c3a00c8: Download complete 20:17:25 b352a97aabf1: Verifying Checksum 20:17:25 b352a97aabf1: Download complete 20:17:25 4872d77fe225: Verifying Checksum 20:17:25 4872d77fe225: Download complete 20:17:25 b85a868b505f: Verifying Checksum 20:17:25 b85a868b505f: Download complete 20:17:25 5851b861e8e6: Download complete 20:17:25 bab4dde63d76: Verifying Checksum 20:17:25 bab4dde63d76: Download complete 20:17:27 b85a868b505f: Pull complete 20:17:27 e2be974225ed: Pull complete 20:17:27 339a4e72a1f5: Pull complete 20:17:27 988bab9f4d93: Pull complete 20:17:28 1469e6f7b9e6: Pull complete 20:17:28 eaf3925da568: Pull complete 20:17:30 bab4dde63d76: Pull complete 20:17:30 bde34c3a00c8: Pull complete 20:17:30 b352a97aabf1: Pull complete 20:17:30 4872d77fe225: Pull complete 20:17:30 5851b861e8e6: Pull complete 20:17:30 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 20:17:30 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:17:30 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:17:30 prd-ubuntu20.04-docker-8c-8g-8777 does not seem to be running inside a container 20:17:30 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:17:31 $ docker top af26f8adb52d5d4f562f4da43d9c81215df323be432dc4011764c66e4754d083 -eo pid,comm 20:17:31 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:17:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:17:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:17:32 [ssh-agent] Looking for ssh-agent implementation... 20:17:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:17:32 $ docker exec af26f8adb52d5d4f562f4da43d9c81215df323be432dc4011764c66e4754d083 ssh-agent 20:17:32 SSH_AUTH_SOCK=/tmp/ssh-s5McJsYmPSrl/agent.31 20:17:32 SSH_AGENT_PID=37 20:17:32 Running ssh-add (command line suppressed) 20:17:32 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13106677048154620645.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13106677048154620645.key) 20:17:32 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:17:32 + git tag --points-at HEAD [Pipeline] } 20:17:32 $ docker exec --env ******** --env ******** af26f8adb52d5d4f562f4da43d9c81215df323be432dc4011764c66e4754d083 ssh-agent -k 20:17:32 unset SSH_AUTH_SOCK; 20:17:32 unset SSH_AGENT_PID; 20:17:32 echo Agent pid 37 killed; 20:17:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 20:17:32 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:17:32 [ssh-agent] Looking for ssh-agent implementation... 20:17:32 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:17:32 $ docker exec af26f8adb52d5d4f562f4da43d9c81215df323be432dc4011764c66e4754d083 ssh-agent 20:17:33 SSH_AUTH_SOCK=/tmp/ssh-9hU9IcFiGgC7/agent.69 20:17:33 SSH_AGENT_PID=75 20:17:33 Running ssh-add (command line suppressed) 20:17:33 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13024334895126274425.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_13024334895126274425.key) 20:17:33 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:17:33 + git semver init 20:17:33 2023-04-17 20:17:33,631 [run_init] DEBUG init version:0.0.0 force:False 20:17:33 2023-04-17 20:17:33,632 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 20:17:33 2023-04-17 20:17:33,632 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 20:17:33 2023-04-17 20:17:33,632 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 20:17:34 2023-04-17 20:17:34,576 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 20:17:34 2023-04-17 20:17:34,577 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 20:17:34 2023-04-17 20:17:34,577 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:17:34 2023-04-17 20:17:34,577 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:17:34 3.0.0-dev.27 [Pipeline] } 20:17:34 $ docker exec --env ******** --env ******** af26f8adb52d5d4f562f4da43d9c81215df323be432dc4011764c66e4754d083 ssh-agent -k 20:17:34 unset SSH_AUTH_SOCK; 20:17:34 unset SSH_AGENT_PID; 20:17:34 echo Agent pid 75 killed; 20:17:34 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:17:35 + git semver [Pipeline] } 20:17:35 $ docker stop --time=1 af26f8adb52d5d4f562f4da43d9c81215df323be432dc4011764c66e4754d083 20:17:36 $ docker rm -f --volumes af26f8adb52d5d4f562f4da43d9c81215df323be432dc4011764c66e4754d083 [Pipeline] // withDockerContainer [Pipeline] sh 20:17:37 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 20:17:37 Stashed 1 file(s) [Pipeline] echo 20:17:37 [edgeXSemver]: initialized semver on version 3.0.0-dev.27 [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] parallel [Pipeline] { (Branch: amd64) [Pipeline] { (Branch: arm64) [Pipeline] stage [Pipeline] { (amd64) [Pipeline] stage [Pipeline] { (arm64) [Pipeline] withEnv [Pipeline] { [Pipeline] node [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:17:37 provisioning config files... 20:17:37 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1074762126813619116tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:17:37 ---> docker-login.sh 20:17:37 nexus3.edgexfoundry.org:10001 20:17:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:37 Configure a credential helper to remove this warning. See 20:17:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:37 20:17:37 Login Succeeded 20:17:37 nexus3.edgexfoundry.org:10002 20:17:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:37 Configure a credential helper to remove this warning. See 20:17:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:37 20:17:37 Login Succeeded 20:17:37 nexus3.edgexfoundry.org:10003 20:17:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:37 Configure a credential helper to remove this warning. See 20:17:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:37 20:17:37 Login Succeeded 20:17:37 nexus3.edgexfoundry.org:10004 20:17:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:37 Configure a credential helper to remove this warning. See 20:17:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:37 20:17:37 Login Succeeded 20:17:37 docker.io 20:17:38 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:17:38 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:17:38 Configure a credential helper to remove this warning. See 20:17:38 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:17:38 20:17:38 Login Succeeded 20:17:38 ---> docker-login.sh ends [Pipeline] } 20:17:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:17:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:17:38 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:17:38 ========================================================= 20:17:38 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 20:17:38 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:17:38 + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:17:38 Sending build context to Docker daemon 10.88MB 20:17:38 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:17:38 Step 2/12 : FROM ${BASE} AS builder 20:17:38 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 20:17:38 63b65145d645: Pulling fs layer 20:17:38 a2d21d5440eb: Pulling fs layer 20:17:38 935e6c44a52c: Pulling fs layer 20:17:38 94cc34f8dd06: Pulling fs layer 20:17:38 30dea6a524f1: Pulling fs layer 20:17:38 a2aff8979fd8: Pulling fs layer 20:17:38 6808be2612f2: Pulling fs layer 20:17:38 f25807f1079a: Pulling fs layer 20:17:38 30dea6a524f1: Waiting 20:17:38 a2aff8979fd8: Waiting 20:17:38 6808be2612f2: Waiting 20:17:38 f25807f1079a: Waiting 20:17:38 94cc34f8dd06: Waiting 20:17:38 a2d21d5440eb: Verifying Checksum 20:17:38 a2d21d5440eb: Download complete 20:17:38 94cc34f8dd06: Download complete 20:17:38 30dea6a524f1: Download complete 20:17:38 63b65145d645: Verifying Checksum 20:17:38 63b65145d645: Download complete 20:17:38 a2aff8979fd8: Verifying Checksum 20:17:38 a2aff8979fd8: Download complete 20:17:38 63b65145d645: Pull complete 20:17:39 a2d21d5440eb: Pull complete 20:17:39 f25807f1079a: Verifying Checksum 20:17:39 f25807f1079a: Download complete 20:17:39 935e6c44a52c: Verifying Checksum 20:17:39 935e6c44a52c: Download complete 20:17:39 6808be2612f2: Verifying Checksum 20:17:39 6808be2612f2: Download complete 20:17:42 935e6c44a52c: Pull complete 20:17:43 94cc34f8dd06: Pull complete 20:17:43 30dea6a524f1: Pull complete 20:17:43 a2aff8979fd8: Pull complete 20:17:45 6808be2612f2: Pull complete 20:17:46 f25807f1079a: Pull complete 20:17:46 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 20:17:46 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 20:17:46 ---> 3b553350e43f 20:17:46 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:17:48 ---> Running in 98d7ed6b7567 20:17:48 Removing intermediate container 98d7ed6b7567 20:17:48 ---> 5b7ca261d563 20:17:48 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:17:48 ---> Running in 283c9409f141 20:17:48 Removing intermediate container 283c9409f141 20:17:48 ---> 6176df016aa5 20:17:48 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:17:48 ---> Running in 77775a593352 20:17:48 Removing intermediate container 77775a593352 20:17:48 ---> c0b90e32c113 20:17:48 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:17:48 ---> Running in d23460161adb 20:17:48 Removing intermediate container d23460161adb 20:17:48 ---> 79bc63a96f08 20:17:48 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:17:48 ---> Running in 80d91b0bd602 20:17:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:17:49 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:17:49 (1/4) Installing openssh-keygen (9.1_p1-r2) 20:17:49 (2/4) Installing libedit (20221030.3.1-r0) 20:17:49 (3/4) Installing openssh-client-common (9.1_p1-r2) 20:17:49 (4/4) Installing openssh-client-default (9.1_p1-r2) 20:17:49 Executing busybox-1.35.0-r29.trigger 20:17:49 OK: 269 MiB in 57 packages 20:17:49 Removing intermediate container 80d91b0bd602 20:17:49 ---> d71a9423c87f 20:17:49 Step 8/12 : WORKDIR /device-rest-go 20:17:49 ---> Running in 65952a663014 20:17:50 Removing intermediate container 65952a663014 20:17:50 ---> 8b3dc11ac2a9 20:17:50 Step 9/12 : COPY go.mod vendor* ./ 20:17:50 ---> d9566d120c51 20:17:50 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:17:50 ---> Running in eff9cac8646e 20:17:52 Still waiting to schedule task 20:17:52 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 20:18:16 Removing intermediate container eff9cac8646e 20:18:16 ---> ee33772d1e6d 20:18:16 Step 11/12 : COPY . . 20:18:16 ---> cbcd2551c360 20:18:16 Step 12/12 : RUN $MAKE 20:18:16 ---> Running in f6ff48d5f399 20:18:16 noop 20:18:16 Removing intermediate container f6ff48d5f399 20:18:16 ---> cb31673474e7 20:18:16 Successfully built cb31673474e7 20:18:16 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:16 + docker inspect -f . ci-base-image-x86_64 20:18:16 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:18:17 prd-ubuntu20.04-docker-8c-8g-8777 does not seem to be running inside a container 20:18:17 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:18:17 $ docker top 293cfd44a5e123df9f464a0baa4be55bbb981c07d32248ffdf54a39c6da475f2 -eo pid,comm [Pipeline] { [Pipeline] sh 20:18:17 + go version 20:18:17 go version go1.20.2 linux/amd64 [Pipeline] } 20:18:17 $ docker stop --time=1 293cfd44a5e123df9f464a0baa4be55bbb981c07d32248ffdf54a39c6da475f2 20:18:19 $ docker rm -f --volumes 293cfd44a5e123df9f464a0baa4be55bbb981c07d32248ffdf54a39c6da475f2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:19 + docker inspect -f . ci-base-image-x86_64 20:18:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:18:19 prd-ubuntu20.04-docker-8c-8g-8777 does not seem to be running inside a container 20:18:19 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat 20:18:20 $ docker top 23b6f7bad7e014d1dee9e3de40d787c277e142142c9233b0fb907f99762d3119 -eo pid,comm [Pipeline] { [Pipeline] sh 20:18:20 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 20:18:20 + make test 20:18:20 go test ./... -coverprofile=coverage.out ./... 20:18:25 ? github.com/edgexfoundry/device-rest-go [no test files] 20:18:35 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:18:35 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 32.3% of statements 20:18:40 go vet ./... 20:18:44 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:18:44 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:18:44 ./bin/test-attribution-txt.sh 20:18:44 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 20:18:44 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:18:44 $ docker stop --time=1 23b6f7bad7e014d1dee9e3de40d787c277e142142c9233b0fb907f99762d3119 20:18:46 $ docker rm -f --volumes 23b6f7bad7e014d1dee9e3de40d787c277e142142c9233b0fb907f99762d3119 [Pipeline] // withDockerContainer [Pipeline] sh 20:18:46 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:18:46 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 20:18:47 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:18:47 + ls -al . 20:18:47 total 184 20:18:47 drwxrwxr-x 9 jenkins jenkins 4096 Apr 17 20:18 . 20:18:47 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 20:17 .. 20:18:47 -rw-rw-r-- 1 jenkins jenkins 151 Apr 17 20:17 .dockerignore 20:18:47 drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 20:17 .git 20:18:47 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 20:17 .github 20:18:47 -rw-rw-r-- 1 jenkins jenkins 329 Apr 17 20:17 .gitignore 20:18:47 -rw-rw-r-- 1 jenkins jenkins 41 Apr 17 20:17 .golangci.yml 20:18:47 drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 20:17 .semver 20:18:47 -rw-rw-r-- 1 jenkins jenkins 9202 Apr 17 20:17 Attribution.txt 20:18:47 -rw-rw-r-- 1 jenkins jenkins 13085 Apr 17 20:17 CHANGELOG.md 20:18:47 -rw-rw-r-- 1 jenkins jenkins 1578 Apr 17 20:17 Dockerfile 20:18:47 -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 20:17 GOVERNANCE.md 20:18:47 -rw-rw-r-- 1 jenkins jenkins 680 Apr 17 20:17 Jenkinsfile 20:18:47 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 17 20:17 LICENSE 20:18:47 -rw-rw-r-- 1 jenkins jenkins 1779 Apr 17 20:17 Makefile 20:18:47 -rw-rw-r-- 1 jenkins jenkins 620 Apr 17 20:17 OWNERS.md 20:18:47 -rw-rw-r-- 1 jenkins jenkins 15321 Apr 17 20:17 README.md 20:18:47 -rw-rw-r-- 1 jenkins jenkins 12 Apr 17 20:17 VERSION 20:18:47 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 20:17 bin 20:18:47 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 20:17 cmd 20:18:47 -rw-r--r-- 1 jenkins jenkins 14587 Apr 17 20:18 coverage.out 20:18:47 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 20:17 driver 20:18:47 -rw-rw-r-- 1 jenkins jenkins 3402 Apr 17 20:17 go.mod 20:18:47 -rw-rw-r-- 1 jenkins jenkins 31553 Apr 17 20:17 go.sum 20:18:47 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 20:17 snap 20:18:47 -rw-rw-r-- 1 jenkins jenkins 713 Apr 17 20:17 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:18:47 + docker build -t device-rest -f Dockerfile --build-arg BASE=ci-base-image-x86_64 --build-arg MAKE=make build --build-arg ARCH=amd64 --label git_sha=fa0493e2e3feda240b1cb1121ab26136a8f60332 --label arch=amd64 --label version=3.0.0-dev.27 . 20:18:47 Sending build context to Docker daemon 10.89MB 20:18:47 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 20:18:47 Step 2/25 : FROM ${BASE} AS builder 20:18:47 ---> cb31673474e7 20:18:47 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:18:47 ---> Running in ee9ac2e2a387 20:18:47 Removing intermediate container ee9ac2e2a387 20:18:47 ---> d6d08bcefa7c 20:18:47 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:18:47 ---> Running in 967ffddcf547 20:18:47 Removing intermediate container 967ffddcf547 20:18:47 ---> 60ca5d88c7fc 20:18:47 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:18:47 ---> Running in 9dd274068f7b 20:18:48 Removing intermediate container 9dd274068f7b 20:18:48 ---> 1e7d1cd507b3 20:18:48 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:18:48 ---> Running in f86ae925bde4 20:18:48 Removing intermediate container f86ae925bde4 20:18:48 ---> 2cc2ac37b55b 20:18:48 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:18:48 ---> Running in f3bac2170a0d 20:18:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:18:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:18:49 OK: 269 MiB in 57 packages 20:18:49 Removing intermediate container f3bac2170a0d 20:18:49 ---> 3865d3ec76d6 20:18:49 Step 8/25 : WORKDIR /device-rest-go 20:18:49 ---> Running in d27baf5eb4e7 20:18:49 Removing intermediate container d27baf5eb4e7 20:18:49 ---> 699cc82dde56 20:18:49 Step 9/25 : COPY go.mod vendor* ./ 20:18:49 ---> 13323e8ec966 20:18:49 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:18:49 ---> Running in f2a5142fe429 20:18:50 Removing intermediate container f2a5142fe429 20:18:50 ---> c0a920230540 20:18:50 Step 11/25 : COPY . . 20:18:50 ---> 8b436387a7cc 20:18:50 Step 12/25 : RUN $MAKE 20:18:50 ---> Running in 5ad2cb3de332 20:18:51 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.27" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:19:09 Removing intermediate container 5ad2cb3de332 20:19:09 ---> cd275296f302 20:19:09 Step 13/25 : FROM alpine:3.17 20:19:09 3.17: Pulling from library/alpine 20:19:09 f56be85fc22e: Pulling fs layer 20:19:09 f56be85fc22e: Verifying Checksum 20:19:09 f56be85fc22e: Download complete 20:19:09 f56be85fc22e: Pull complete 20:19:09 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 20:19:09 Status: Downloaded newer image for alpine:3.17 20:19:09 ---> 9ed4aefc74f6 20:19:09 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:19:09 ---> Running in 1083458680a0 20:19:09 Removing intermediate container 1083458680a0 20:19:09 ---> c37d4f4a2092 20:19:09 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:19:09 ---> Running in 5e1e4df261f1 20:19:09 Removing intermediate container 5e1e4df261f1 20:19:09 ---> 14c6f74051b3 20:19:09 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:19:09 ---> Running in f873932c105c 20:19:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 20:19:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 20:19:09 (1/1) Installing dumb-init (1.2.5-r2) 20:19:09 Executing busybox-1.35.0-r29.trigger 20:19:09 OK: 7 MiB in 16 packages 20:19:09 Removing intermediate container f873932c105c 20:19:09 ---> 9454752ff071 20:19:09 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:19:10 ---> ae42f24fa771 20:19:10 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:19:10 ---> d6f59e3b5527 20:19:10 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:19:10 ---> 46fe6b86a58a 20:19:10 Step 20/25 : EXPOSE 59986 20:19:10 ---> Running in 9775c3d146de 20:19:10 Removing intermediate container 9775c3d146de 20:19:10 ---> b19612d7f534 20:19:10 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:19:10 ---> Running in c0e3f9141735 20:19:10 Removing intermediate container c0e3f9141735 20:19:10 ---> c8e2f1fcc8b7 20:19:10 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:19:10 ---> Running in 88f237f92d05 20:19:10 Removing intermediate container 88f237f92d05 20:19:10 ---> d8467b72162d 20:19:10 Step 23/25 : LABEL arch=amd64 20:19:10 ---> Running in 69a945f5ff40 20:19:10 Removing intermediate container 69a945f5ff40 20:19:10 ---> 24c064f45603 20:19:10 Step 24/25 : LABEL git_sha=fa0493e2e3feda240b1cb1121ab26136a8f60332 20:19:11 ---> Running in 8b415dd87d00 20:19:11 Removing intermediate container 8b415dd87d00 20:19:11 ---> 11bffe366085 20:19:11 Step 25/25 : LABEL version=3.0.0-dev.27 20:19:11 ---> Running in 872dfd780962 20:19:11 Removing intermediate container 872dfd780962 20:19:11 ---> ebec9edc9220 20:19:11 [Warning] One or more build-args [ARCH] were not consumed 20:19:11 Successfully built ebec9edc9220 20:19:11 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:19:11 provisioning config files... 20:19:11 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10582600344095405333tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:19:11 ---> docker-login.sh 20:19:11 nexus3.edgexfoundry.org:10001 20:19:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:19:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:19:11 Configure a credential helper to remove this warning. See 20:19:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:19:11 20:19:11 Login Succeeded 20:19:11 nexus3.edgexfoundry.org:10002 20:19:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:19:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:19:11 Configure a credential helper to remove this warning. See 20:19:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:19:11 20:19:11 Login Succeeded 20:19:11 nexus3.edgexfoundry.org:10003 20:19:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:19:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:19:11 Configure a credential helper to remove this warning. See 20:19:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:19:11 20:19:11 Login Succeeded 20:19:11 nexus3.edgexfoundry.org:10004 20:19:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:19:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:19:11 Configure a credential helper to remove this warning. See 20:19:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:19:11 20:19:11 Login Succeeded 20:19:11 docker.io 20:19:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:19:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:19:12 Configure a credential helper to remove this warning. See 20:19:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:19:12 20:19:12 Login Succeeded 20:19:12 ---> docker-login.sh ends [Pipeline] } 20:19:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:19:12 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:19:12 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 20:19:12 fa0493e2e3feda240b1cb1121ab26136a8f60332 20:19:12 latest 20:19:12 3.0.0-dev.27 20:19:12 fa0493e2e3feda240b1cb1121ab26136a8f60332-3.0.0-dev.27 20:19:12 main 20:19:12 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:12 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:fa0493e2e3feda240b1cb1121ab26136a8f60332 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:12 + docker push nexus3.edgexfoundry.org:10004/device-rest:fa0493e2e3feda240b1cb1121ab26136a8f60332 20:19:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:19:12 4d244afa7df3: Preparing 20:19:12 051acb79122c: Preparing 20:19:12 8ae1c56a0658: Preparing 20:19:12 8248ed6954cc: Preparing 20:19:12 f1417ff83b31: Preparing 20:19:12 f1417ff83b31: Layer already exists 20:19:12 051acb79122c: Pushed 20:19:12 8248ed6954cc: Pushed 20:19:12 4d244afa7df3: Pushed 20:19:15 8ae1c56a0658: Pushed 20:19:15 fa0493e2e3feda240b1cb1121ab26136a8f60332: digest: sha256:1233cc15c80304bd3c437ee09c1889b5f50fcba2cb35e87f1c9cdabee851a9db size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:15 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:15 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 20:19:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:19:15 4d244afa7df3: Preparing 20:19:15 051acb79122c: Preparing 20:19:15 8ae1c56a0658: Preparing 20:19:15 8248ed6954cc: Preparing 20:19:15 f1417ff83b31: Preparing 20:19:15 f1417ff83b31: Layer already exists 20:19:15 8ae1c56a0658: Layer already exists 20:19:15 4d244afa7df3: Layer already exists 20:19:15 051acb79122c: Layer already exists 20:19:15 8248ed6954cc: Layer already exists 20:19:15 latest: digest: sha256:1233cc15c80304bd3c437ee09c1889b5f50fcba2cb35e87f1c9cdabee851a9db size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:16 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:16 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.27 20:19:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:19:16 4d244afa7df3: Preparing 20:19:16 051acb79122c: Preparing 20:19:16 8ae1c56a0658: Preparing 20:19:16 8248ed6954cc: Preparing 20:19:16 f1417ff83b31: Preparing 20:19:16 051acb79122c: Layer already exists 20:19:16 8ae1c56a0658: Layer already exists 20:19:16 f1417ff83b31: Layer already exists 20:19:16 8248ed6954cc: Layer already exists 20:19:16 4d244afa7df3: Layer already exists 20:19:16 3.0.0-dev.27: digest: sha256:1233cc15c80304bd3c437ee09c1889b5f50fcba2cb35e87f1c9cdabee851a9db size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:16 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:fa0493e2e3feda240b1cb1121ab26136a8f60332-3.0.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:17 + docker push nexus3.edgexfoundry.org:10004/device-rest:fa0493e2e3feda240b1cb1121ab26136a8f60332-3.0.0-dev.27 20:19:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:19:17 4d244afa7df3: Preparing 20:19:17 051acb79122c: Preparing 20:19:17 8ae1c56a0658: Preparing 20:19:17 8248ed6954cc: Preparing 20:19:17 f1417ff83b31: Preparing 20:19:17 8248ed6954cc: Layer already exists 20:19:17 4d244afa7df3: Layer already exists 20:19:17 051acb79122c: Layer already exists 20:19:17 8ae1c56a0658: Layer already exists 20:19:17 f1417ff83b31: Layer already exists 20:19:17 fa0493e2e3feda240b1cb1121ab26136a8f60332-3.0.0-dev.27: digest: sha256:1233cc15c80304bd3c437ee09c1889b5f50fcba2cb35e87f1c9cdabee851a9db size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:17 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:17 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 20:19:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 20:19:17 4d244afa7df3: Preparing 20:19:17 051acb79122c: Preparing 20:19:17 8ae1c56a0658: Preparing 20:19:17 8248ed6954cc: Preparing 20:19:17 f1417ff83b31: Preparing 20:19:17 f1417ff83b31: Layer already exists 20:19:17 051acb79122c: Layer already exists 20:19:17 8248ed6954cc: Layer already exists 20:19:17 4d244afa7df3: Layer already exists 20:19:17 8ae1c56a0658: Layer already exists 20:19:17 main: digest: sha256:1233cc15c80304bd3c437ee09c1889b5f50fcba2cb35e87f1c9cdabee851a9db size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:19:17 ===================================================== [Pipeline] echo 20:19:17 taggedImages: 20:19:17 - nexus3.edgexfoundry.org:10004/device-rest:fa0493e2e3feda240b1cb1121ab26136a8f60332 20:19:17 - nexus3.edgexfoundry.org:10004/device-rest:latest 20:19:17 - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.27 20:19:17 - nexus3.edgexfoundry.org:10004/device-rest:fa0493e2e3feda240b1cb1121ab26136a8f60332-3.0.0-dev.27 20:19:17 - 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 20:19:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:19:18 20:19:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:19:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:19:18 latest: Pulling from edgex-lftools-log-publisher 20:19:18 5eb5b503b376: Pulling fs layer 20:19:18 5c69ac0246d0: Pulling fs layer 20:19:18 ec43610c2a17: Pulling fs layer 20:19:18 3a2ae6a8a46f: Pulling fs layer 20:19:18 33b1e0a273af: Pulling fs layer 20:19:18 5d3b04190fa2: Pulling fs layer 20:19:18 2f39f015ded8: Pulling fs layer 20:19:18 33b1e0a273af: Waiting 20:19:18 5d3b04190fa2: Waiting 20:19:18 2f39f015ded8: Waiting 20:19:18 5c69ac0246d0: Download complete 20:19:18 3a2ae6a8a46f: Verifying Checksum 20:19:18 3a2ae6a8a46f: Download complete 20:19:18 33b1e0a273af: Verifying Checksum 20:19:18 33b1e0a273af: Download complete 20:19:18 5d3b04190fa2: Verifying Checksum 20:19:18 5d3b04190fa2: Download complete 20:19:18 ec43610c2a17: Verifying Checksum 20:19:18 ec43610c2a17: Download complete 20:19:18 5eb5b503b376: Verifying Checksum 20:19:18 5eb5b503b376: Download complete 20:19:19 2f39f015ded8: Verifying Checksum 20:19:19 5eb5b503b376: Pull complete 20:19:20 5c69ac0246d0: Pull complete 20:19:20 ec43610c2a17: Pull complete 20:19:20 3a2ae6a8a46f: Pull complete 20:19:20 33b1e0a273af: Pull complete 20:19:20 5d3b04190fa2: Pull complete 20:19:25 2f39f015ded8: Pull complete 20:19:25 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 20:19:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:19:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:19:25 prd-ubuntu20.04-docker-8c-8g-8777 does not seem to be running inside a container 20:19:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:19:26 $ docker top 929afc1184046730d68e4f2b52eb652e2b1075f61e992a5fb5c0af21c3ce88ab -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:19:27 ---> job-cost.sh 20:19:27 lf-activate-venv: SKIPPING 20:19:27 INFO: No Stack... 20:19:27 INFO: Retrieving Pricing Info for: v3-standard-8 20:19:27 INFO: Archiving Costs [Pipeline] sh 20:19:27 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 20:19:27 + cut -d, -f6 [Pipeline] lock 20:19:27 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-99-stack-cost] 20:19:27 Resource [jenkins-edgexfoundry-device-rest-go-main-99-stack-cost] did not exist. Created. 20:19:27 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-99-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:19:28 + echo total: 0.2199999988079071 [Pipeline] stash 20:19:28 Stashed 1 file(s) [Pipeline] } 20:19:28 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-99-stack-cost] [Pipeline] // lock [Pipeline] } 20:19:28 $ docker stop --time=1 929afc1184046730d68e4f2b52eb652e2b1075f61e992a5fb5c0af21c3ce88ab 20:19:29 $ docker rm -f --volumes 929afc1184046730d68e4f2b52eb652e2b1075f61e992a5fb5c0af21c3ce88ab [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 20:21:02 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8781 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 20:21:02 Running in /w/workspace/device-rest-go/99 [Pipeline] { [Pipeline] checkout 20:21:02 The recommended git tool is: git 20:21:12 using credential edgex-jenkins-ssh 20:21:12 Cloning the remote Git repository 20:21:12 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 20:21:13 > git init /w/workspace/device-rest-go/99 # timeout=10 20:21:13 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 20:21:13 > git --version # timeout=10 20:21:13 > git --version # 'git version 2.25.1' 20:21:13 using GIT_SSH to set credentials SSH Credentials for GitHub 20:21:13 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 20:21:16 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 20:21:16 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 20:21:18 Avoid second fetch 20:21:18 Checking out Revision fa0493e2e3feda240b1cb1121ab26136a8f60332 (main) 20:21:18 > git config core.sparsecheckout # timeout=10 20:21:18 > git checkout -f fa0493e2e3feda240b1cb1121ab26136a8f60332 # timeout=10 20:21:20 Commit message: "fix: [WIP BUG] Add ProfilesDir & DevicesDir to local config (#291)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 20:21:21 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 20:21:21 % Total % Received % Xferd Average Speed Time Time Time Current 20:21:21 Dload Upload Total Spent Left Speed 20:21:21 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 104k 0 --:--:-- --:--:-- --:--:-- 105k [Pipeline] sh 20:21:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 20:21:22 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 20:21:22 + sudo tee /etc/docker/daemon.new 20:21:23 { 20:21:23 "registry-mirrors": [ 20:21:23 "https://nexus3.edgexfoundry.org:10001" 20:21:23 ], 20:21:23 "bip": "10.250.0.254/24", 20:21:23 "hosts": [ 20:21:23 "tcp://0.0.0.0:5555", 20:21:23 "unix:///var/run/docker.sock" 20:21:23 ], 20:21:23 "mtu": 1458, 20:21:23 "selinux-enabled": true, 20:21:23 "seccomp-profile": "/etc/docker/seccomp.json" 20:21:23 } [Pipeline] sh 20:21:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 20:21:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:21:42 provisioning config files... 20:21:42 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/99@tmp/config2470801158299404221tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:21:42 ---> docker-login.sh 20:21:42 nexus3.edgexfoundry.org:10001 20:21:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:21:43 Configure a credential helper to remove this warning. See 20:21:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:21:43 20:21:43 Login Succeeded 20:21:43 nexus3.edgexfoundry.org:10002 20:21:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:21:43 Configure a credential helper to remove this warning. See 20:21:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:21:43 20:21:43 Login Succeeded 20:21:43 nexus3.edgexfoundry.org:10003 20:21:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:21:44 Configure a credential helper to remove this warning. See 20:21:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:21:44 20:21:44 Login Succeeded 20:21:44 nexus3.edgexfoundry.org:10004 20:21:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:21:44 Configure a credential helper to remove this warning. See 20:21:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:21:44 20:21:44 Login Succeeded 20:21:44 docker.io 20:21:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:21:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:21:45 Configure a credential helper to remove this warning. See 20:21:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:21:45 20:21:45 Login Succeeded 20:21:45 ---> docker-login.sh ends [Pipeline] } 20:21:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 20:21:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:21:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:21:45 ========================================================= 20:21:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 20:21:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:21:45 + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine --build-arg MAKE=echo noop --target=builder . 20:21:45 Sending build context to Docker daemon 137.7kB 20:21:46 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 20:21:46 Step 2/12 : FROM ${BASE} AS builder 20:21:46 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 20:21:46 af6eaf76a39c: Pulling fs layer 20:21:46 55522c791124: Pulling fs layer 20:21:46 ce5c4a1c91eb: Pulling fs layer 20:21:46 169dfbe0d373: Pulling fs layer 20:21:46 e1ff8fa3b103: Pulling fs layer 20:21:46 169dfbe0d373: Waiting 20:21:46 e1ff8fa3b103: Waiting 20:21:46 52ebb69f0ebf: Pulling fs layer 20:21:46 5abe8eddf0d5: Pulling fs layer 20:21:46 52ebb69f0ebf: Waiting 20:21:46 5abe8eddf0d5: Waiting 20:21:46 55522c791124: Verifying Checksum 20:21:46 55522c791124: Download complete 20:21:46 169dfbe0d373: Verifying Checksum 20:21:46 169dfbe0d373: Download complete 20:21:46 e1ff8fa3b103: Verifying Checksum 20:21:46 e1ff8fa3b103: Download complete 20:21:46 af6eaf76a39c: Verifying Checksum 20:21:46 af6eaf76a39c: Download complete 20:21:47 af6eaf76a39c: Pull complete 20:21:47 5abe8eddf0d5: Verifying Checksum 20:21:47 5abe8eddf0d5: Download complete 20:21:48 55522c791124: Pull complete 20:21:49 ce5c4a1c91eb: Verifying Checksum 20:21:49 52ebb69f0ebf: Verifying Checksum 20:21:49 52ebb69f0ebf: Download complete 20:22:02 ce5c4a1c91eb: Pull complete 20:22:02 169dfbe0d373: Pull complete 20:22:02 e1ff8fa3b103: Pull complete 20:22:08 52ebb69f0ebf: Pull complete 20:22:09 5abe8eddf0d5: Pull complete 20:22:09 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 20:22:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 20:22:09 ---> 6cb57ee374ae 20:22:09 Step 3/12 : ARG ADD_BUILD_TAGS="" 20:22:13 ---> Running in cca8513adc62 20:22:13 Removing intermediate container cca8513adc62 20:22:13 ---> 3f634a079983 20:22:13 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:22:13 ---> Running in 4a4292eba24f 20:22:13 Removing intermediate container 4a4292eba24f 20:22:13 ---> b42251f1d9be 20:22:13 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:22:13 ---> Running in 3309b0230b8b 20:22:13 Removing intermediate container 3309b0230b8b 20:22:13 ---> 6f7db6e6de9e 20:22:13 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 20:22:13 ---> Running in 0e891f84df63 20:22:14 Removing intermediate container 0e891f84df63 20:22:14 ---> 1976737d7562 20:22:14 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:22:14 ---> Running in fb7e5f572c91 20:22:15 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:22:16 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:22:17 (1/4) Installing openssh-keygen (9.1_p1-r2) 20:22:17 (2/4) Installing libedit (20221030.3.1-r0) 20:22:17 (3/4) Installing openssh-client-common (9.1_p1-r2) 20:22:17 (4/4) Installing openssh-client-default (9.1_p1-r2) 20:22:17 Executing busybox-1.35.0-r29.trigger 20:22:17 OK: 268 MiB in 57 packages 20:22:18 Removing intermediate container fb7e5f572c91 20:22:18 ---> f4b7c5d5a485 20:22:18 Step 8/12 : WORKDIR /device-rest-go 20:22:18 ---> Running in 0524d7348b1d 20:22:19 Removing intermediate container 0524d7348b1d 20:22:19 ---> d26e23aa71fc 20:22:19 Step 9/12 : COPY go.mod vendor* ./ 20:22:19 ---> a47c81f3bfea 20:22:19 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:22:19 ---> Running in e82ff6851e92 20:23:41 Removing intermediate container e82ff6851e92 20:23:41 ---> 34f44c7ae5c4 20:23:41 Step 11/12 : COPY . . 20:23:41 ---> 2cddda0695e8 20:23:41 Step 12/12 : RUN $MAKE 20:23:41 ---> Running in 0daba2f50ec7 20:23:41 noop 20:23:41 Removing intermediate container 0daba2f50ec7 20:23:41 ---> a2321968c98c 20:23:41 Successfully built a2321968c98c 20:23:41 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:23:42 + docker inspect -f . ci-base-image-arm64 20:23:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:23:42 prd-ubuntu20.04-docker-arm64-4c-16g-8781 does not seem to be running inside a container 20:23:42 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/99 -v /w/workspace/device-rest-go/99:/w/workspace/device-rest-go/99:rw,z -v /w/workspace/device-rest-go/99@tmp:/w/workspace/device-rest-go/99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:23:43 $ docker top a4c6f5aa862d5bb6e9fc8c54316eea14837214c0c2fabd2374caf6bb410fc867 -eo pid,comm [Pipeline] { [Pipeline] sh 20:23:44 + go version 20:23:44 go version go1.20.2 linux/arm64 [Pipeline] } 20:23:44 $ docker stop --time=1 a4c6f5aa862d5bb6e9fc8c54316eea14837214c0c2fabd2374caf6bb410fc867 20:23:46 $ docker rm -f --volumes a4c6f5aa862d5bb6e9fc8c54316eea14837214c0c2fabd2374caf6bb410fc867 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:23:47 + docker inspect -f . ci-base-image-arm64 20:23:47 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:23:47 prd-ubuntu20.04-docker-arm64-4c-16g-8781 does not seem to be running inside a container 20:23:47 $ 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/99 -v /w/workspace/device-rest-go/99:/w/workspace/device-rest-go/99:rw,z -v /w/workspace/device-rest-go/99@tmp:/w/workspace/device-rest-go/99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 20:23:48 $ docker top 7a19fcde7cbf4bdc777bade8a36eb8e88ebc7b47677aee4e76fa5d2b2aa43b50 -eo pid,comm [Pipeline] { [Pipeline] sh 20:23:49 + git config --global --add safe.directory /w/workspace/device-rest-go/99 [Pipeline] fileExists [Pipeline] sh 20:23:50 + make test 20:23:50 go test ./... -coverprofile=coverage.out ./... 20:24:29 ? github.com/edgexfoundry/device-rest-go [no test files] 20:26:35 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 20:26:42 ok github.com/edgexfoundry/device-rest-go/driver 0.071s coverage: 32.3% of statements 20:26:42 WARNING: Linting skipped (not on x86_64 or linter not installed) 20:26:42 go vet ./... 20:27:14 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 20:27:14 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 20:27:14 ./bin/test-attribution-txt.sh 20:27:14 An attribution for github.com/go-jose/go-jose/v3 is missing from Attribution.txt, please add [Pipeline] echo 20:27:14 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 20:27:14 $ docker stop --time=1 7a19fcde7cbf4bdc777bade8a36eb8e88ebc7b47677aee4e76fa5d2b2aa43b50 20:27:16 $ docker rm -f --volumes 7a19fcde7cbf4bdc777bade8a36eb8e88ebc7b47677aee4e76fa5d2b2aa43b50 [Pipeline] // withDockerContainer [Pipeline] sh 20:27:18 + sudo chown -R jenkins:jenkins . [Pipeline] stash 20:27:18 Warning: overwriting stash ‘coverage-report’ 20:27:18 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 20:27:19 + sudo chown -R jenkins:jenkins . [Pipeline] sh 20:27:19 + ls -al . 20:27:19 total 180 20:27:19 drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 20:23 . 20:27:19 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 20:21 .. 20:27:19 -rw-rw-r-- 1 jenkins jenkins 151 Apr 17 20:21 .dockerignore 20:27:19 drwxrwxr-x 8 jenkins jenkins 4096 Apr 17 20:21 .git 20:27:19 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 20:21 .github 20:27:19 -rw-rw-r-- 1 jenkins jenkins 329 Apr 17 20:21 .gitignore 20:27:19 -rw-rw-r-- 1 jenkins jenkins 41 Apr 17 20:21 .golangci.yml 20:27:19 -rw-rw-r-- 1 jenkins jenkins 9202 Apr 17 20:21 Attribution.txt 20:27:19 -rw-rw-r-- 1 jenkins jenkins 13085 Apr 17 20:21 CHANGELOG.md 20:27:19 -rw-rw-r-- 1 jenkins jenkins 1578 Apr 17 20:21 Dockerfile 20:27:19 -rw-rw-r-- 1 jenkins jenkins 677 Apr 17 20:21 GOVERNANCE.md 20:27:19 -rw-rw-r-- 1 jenkins jenkins 680 Apr 17 20:21 Jenkinsfile 20:27:19 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 17 20:21 LICENSE 20:27:19 -rw-rw-r-- 1 jenkins jenkins 1779 Apr 17 20:21 Makefile 20:27:19 -rw-rw-r-- 1 jenkins jenkins 620 Apr 17 20:21 OWNERS.md 20:27:19 -rw-rw-r-- 1 jenkins jenkins 15321 Apr 17 20:21 README.md 20:27:19 -rw-rw-r-- 1 jenkins jenkins 12 Apr 17 20:17 VERSION 20:27:19 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 20:21 bin 20:27:19 drwxrwxr-x 3 jenkins jenkins 4096 Apr 17 20:21 cmd 20:27:19 -rw-r--r-- 1 jenkins jenkins 14587 Apr 17 20:26 coverage.out 20:27:19 drwxrwxr-x 2 jenkins jenkins 4096 Apr 17 20:21 driver 20:27:19 -rw-rw-r-- 1 jenkins jenkins 3402 Apr 17 20:21 go.mod 20:27:19 -rw-rw-r-- 1 jenkins jenkins 31553 Apr 17 20:21 go.sum 20:27:19 drwxrwxr-x 4 jenkins jenkins 4096 Apr 17 20:21 snap 20:27:19 -rw-rw-r-- 1 jenkins jenkins 713 Apr 17 20:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:27:19 + 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=fa0493e2e3feda240b1cb1121ab26136a8f60332 --label arch=arm64 --label version=3.0.0-dev.27 . 20:27:19 Sending build context to Docker daemon 153.1kB 20:27:20 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 20:27:20 Step 2/25 : FROM ${BASE} AS builder 20:27:20 ---> a2321968c98c 20:27:20 Step 3/25 : ARG ADD_BUILD_TAGS="" 20:27:20 ---> Running in a8bbb5e3bc97 20:27:20 Removing intermediate container a8bbb5e3bc97 20:27:20 ---> 94d9901283a1 20:27:20 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 20:27:20 ---> Running in 253eba9bcedc 20:27:20 Removing intermediate container 253eba9bcedc 20:27:20 ---> 6540360e35ce 20:27:20 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 20:27:21 ---> Running in 16421112738b 20:27:21 Removing intermediate container 16421112738b 20:27:21 ---> 1bd2d56e8183 20:27:21 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 20:27:21 ---> Running in 94b23ff61092 20:27:21 Removing intermediate container 94b23ff61092 20:27:21 ---> 037dbef85c9f 20:27:21 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 20:27:21 ---> Running in 6c0b61ac0fec 20:27:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:27:23 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:27:25 OK: 268 MiB in 57 packages 20:27:26 Removing intermediate container 6c0b61ac0fec 20:27:26 ---> 984d0479a11e 20:27:26 Step 8/25 : WORKDIR /device-rest-go 20:27:26 ---> Running in be9230fade69 20:27:26 Removing intermediate container be9230fade69 20:27:26 ---> a913a4a0793e 20:27:26 Step 9/25 : COPY go.mod vendor* ./ 20:27:27 ---> cf5b29b90927 20:27:27 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 20:27:27 ---> Running in eddaf4d228c8 20:27:30 Removing intermediate container eddaf4d228c8 20:27:30 ---> 7339737d652b 20:27:30 Step 11/25 : COPY . . 20:27:30 ---> c7563f50a651 20:27:30 Step 12/25 : RUN $MAKE 20:27:30 ---> Running in 771c2a3c2a9d 20:27:32 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.27" -trimpath -mod=readonly -o cmd/device-rest ./cmd 20:30:09 Removing intermediate container 771c2a3c2a9d 20:30:09 ---> 9235d05d0375 20:30:09 Step 13/25 : FROM alpine:3.17 20:30:09 3.17: Pulling from library/alpine 20:30:09 c41833b44d91: Pulling fs layer 20:30:09 c41833b44d91: Verifying Checksum 20:30:09 c41833b44d91: Download complete 20:30:09 c41833b44d91: Pull complete 20:30:09 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 20:30:09 Status: Downloaded newer image for alpine:3.17 20:30:09 ---> 51e60588ff2c 20:30:09 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 20:30:09 ---> Running in 6f83d36a2236 20:30:09 Removing intermediate container 6f83d36a2236 20:30:09 ---> 6abca3e44873 20:30:09 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 20:30:09 ---> Running in 0f09fd2bdec9 20:30:10 Removing intermediate container 0f09fd2bdec9 20:30:10 ---> c7a288a18b73 20:30:10 Step 16/25 : RUN apk add --update --no-cache dumb-init 20:30:10 ---> Running in 0cf721cca9b9 20:30:11 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 20:30:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 20:30:13 (1/1) Installing dumb-init (1.2.5-r2) 20:30:13 Executing busybox-1.35.0-r29.trigger 20:30:13 OK: 8 MiB in 16 packages 20:30:14 Removing intermediate container 0cf721cca9b9 20:30:14 ---> bd17494a6545 20:30:14 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 20:30:15 ---> 4aaf5c14d184 20:30:15 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 20:30:16 ---> 53c1030b8e24 20:30:16 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 20:30:17 ---> 7ac79223d9de 20:30:17 Step 20/25 : EXPOSE 59986 20:30:17 ---> Running in 1fe94fbe64ea 20:30:17 Removing intermediate container 1fe94fbe64ea 20:30:17 ---> f6f7ec6d44a9 20:30:17 Step 21/25 : ENTRYPOINT ["/device-rest"] 20:30:17 ---> Running in 62fe392a1825 20:30:17 Removing intermediate container 62fe392a1825 20:30:17 ---> 4a9676dbd4fd 20:30:17 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 20:30:17 ---> Running in 0a6713507c52 20:30:18 Removing intermediate container 0a6713507c52 20:30:18 ---> 205ade8f7b04 20:30:18 Step 23/25 : LABEL arch=arm64 20:30:18 ---> Running in d42e8b1b8e74 20:30:18 Removing intermediate container d42e8b1b8e74 20:30:18 ---> d6f80a9d98da 20:30:18 Step 24/25 : LABEL git_sha=fa0493e2e3feda240b1cb1121ab26136a8f60332 20:30:18 ---> Running in b27397a0ff36 20:30:18 Removing intermediate container b27397a0ff36 20:30:18 ---> 3d5132b51fb5 20:30:18 Step 25/25 : LABEL version=3.0.0-dev.27 20:30:18 ---> Running in cac86df6eb51 20:30:19 Removing intermediate container cac86df6eb51 20:30:19 ---> 26530ef467ab 20:30:19 [Warning] One or more build-args [ARCH] were not consumed 20:30:19 Successfully built 26530ef467ab 20:30:19 Successfully tagged device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:30:19 provisioning config files... 20:30:19 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/99@tmp/config6147401499816518938tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:30:20 ---> docker-login.sh 20:30:20 nexus3.edgexfoundry.org:10001 20:30:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:30:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:30:20 Configure a credential helper to remove this warning. See 20:30:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:30:20 20:30:20 Login Succeeded 20:30:20 nexus3.edgexfoundry.org:10002 20:30:20 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:30:20 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:30:20 Configure a credential helper to remove this warning. See 20:30:20 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:30:20 20:30:20 Login Succeeded 20:30:20 nexus3.edgexfoundry.org:10003 20:30:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:30:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:30:21 Configure a credential helper to remove this warning. See 20:30:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:30:21 20:30:21 Login Succeeded 20:30:21 nexus3.edgexfoundry.org:10004 20:30:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:30:21 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:30:21 Configure a credential helper to remove this warning. See 20:30:21 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:30:21 20:30:21 Login Succeeded 20:30:21 docker.io 20:30:21 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 20:30:22 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 20:30:22 Configure a credential helper to remove this warning. See 20:30:22 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 20:30:22 20:30:22 Login Succeeded 20:30:22 ---> docker-login.sh ends [Pipeline] } 20:30:22 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:30:22 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 20:30:22 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 20:30:22 fa0493e2e3feda240b1cb1121ab26136a8f60332 20:30:22 latest 20:30:22 3.0.0-dev.27 20:30:22 fa0493e2e3feda240b1cb1121ab26136a8f60332-3.0.0-dev.27 20:30:22 main 20:30:22 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:22 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:fa0493e2e3feda240b1cb1121ab26136a8f60332 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:23 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:fa0493e2e3feda240b1cb1121ab26136a8f60332 20:30:23 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:30:23 b3b60b7f07d3: Preparing 20:30:23 4df00835b35f: Preparing 20:30:23 3461eb9f9161: Preparing 20:30:23 5eff13a7923a: Preparing 20:30:23 26cbea5cba74: Preparing 20:30:23 26cbea5cba74: Layer already exists 20:30:23 4df00835b35f: Pushed 20:30:23 b3b60b7f07d3: Pushed 20:30:23 5eff13a7923a: Pushed 20:30:28 3461eb9f9161: Pushed 20:30:28 fa0493e2e3feda240b1cb1121ab26136a8f60332: digest: sha256:0043b3a67780cc7085b1fa72b74dd68833f8e195c6b1f292cae44e37f490c3fe size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:28 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:29 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 20:30:29 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:30:29 b3b60b7f07d3: Preparing 20:30:29 4df00835b35f: Preparing 20:30:29 3461eb9f9161: Preparing 20:30:29 5eff13a7923a: Preparing 20:30:29 26cbea5cba74: Preparing 20:30:29 4df00835b35f: Layer already exists 20:30:29 3461eb9f9161: Layer already exists 20:30:29 26cbea5cba74: Layer already exists 20:30:29 b3b60b7f07d3: Layer already exists 20:30:29 5eff13a7923a: Layer already exists 20:30:29 latest: digest: sha256:0043b3a67780cc7085b1fa72b74dd68833f8e195c6b1f292cae44e37f490c3fe size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:29 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:30 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.27 20:30:30 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:30:30 b3b60b7f07d3: Preparing 20:30:30 4df00835b35f: Preparing 20:30:30 3461eb9f9161: Preparing 20:30:30 5eff13a7923a: Preparing 20:30:30 26cbea5cba74: Preparing 20:30:30 4df00835b35f: Layer already exists 20:30:30 b3b60b7f07d3: Layer already exists 20:30:30 26cbea5cba74: Layer already exists 20:30:30 5eff13a7923a: Layer already exists 20:30:30 3461eb9f9161: Layer already exists 20:30:30 3.0.0-dev.27: digest: sha256:0043b3a67780cc7085b1fa72b74dd68833f8e195c6b1f292cae44e37f490c3fe size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:31 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:fa0493e2e3feda240b1cb1121ab26136a8f60332-3.0.0-dev.27 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:31 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:fa0493e2e3feda240b1cb1121ab26136a8f60332-3.0.0-dev.27 20:30:31 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:30:31 b3b60b7f07d3: Preparing 20:30:31 4df00835b35f: Preparing 20:30:31 3461eb9f9161: Preparing 20:30:31 5eff13a7923a: Preparing 20:30:31 26cbea5cba74: Preparing 20:30:31 4df00835b35f: Layer already exists 20:30:31 b3b60b7f07d3: Layer already exists 20:30:31 3461eb9f9161: Layer already exists 20:30:31 5eff13a7923a: Layer already exists 20:30:31 26cbea5cba74: Layer already exists 20:30:31 fa0493e2e3feda240b1cb1121ab26136a8f60332-3.0.0-dev.27: digest: sha256:0043b3a67780cc7085b1fa72b74dd68833f8e195c6b1f292cae44e37f490c3fe size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:32 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:33 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 20:30:33 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 20:30:33 b3b60b7f07d3: Preparing 20:30:33 4df00835b35f: Preparing 20:30:33 3461eb9f9161: Preparing 20:30:33 5eff13a7923a: Preparing 20:30:33 26cbea5cba74: Preparing 20:30:33 26cbea5cba74: Layer already exists 20:30:33 5eff13a7923a: Layer already exists 20:30:33 b3b60b7f07d3: Layer already exists 20:30:33 4df00835b35f: Layer already exists 20:30:33 3461eb9f9161: Layer already exists 20:30:34 main: digest: sha256:0043b3a67780cc7085b1fa72b74dd68833f8e195c6b1f292cae44e37f490c3fe size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 20:30:34 ===================================================== [Pipeline] echo 20:30:34 taggedImages: 20:30:34 - nexus3.edgexfoundry.org:10004/device-rest-arm64:fa0493e2e3feda240b1cb1121ab26136a8f60332 20:30:34 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 20:30:34 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.27 20:30:34 - nexus3.edgexfoundry.org:10004/device-rest-arm64:fa0493e2e3feda240b1cb1121ab26136a8f60332-3.0.0-dev.27 20:30:34 - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:30:34 20:30:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:30:34 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:30:35 arm64: Pulling from edgex-lftools-log-publisher 20:30:35 8998bd30e6a1: Pulling fs layer 20:30:35 04944245beec: Pulling fs layer 20:30:35 699f458cf7ca: Pulling fs layer 20:30:35 765212b225bb: Pulling fs layer 20:30:35 f23df028b6ca: Pulling fs layer 20:30:35 d65c8cfc05b1: Pulling fs layer 20:30:35 2437ff75d9bd: Pulling fs layer 20:30:35 765212b225bb: Waiting 20:30:35 f23df028b6ca: Waiting 20:30:35 2437ff75d9bd: Waiting 20:30:35 d65c8cfc05b1: Waiting 20:30:35 04944245beec: Verifying Checksum 20:30:35 04944245beec: Download complete 20:30:35 765212b225bb: Verifying Checksum 20:30:35 765212b225bb: Download complete 20:30:35 f23df028b6ca: Verifying Checksum 20:30:35 f23df028b6ca: Download complete 20:30:35 d65c8cfc05b1: Verifying Checksum 20:30:35 d65c8cfc05b1: Download complete 20:30:35 699f458cf7ca: Verifying Checksum 20:30:35 699f458cf7ca: Download complete 20:30:35 8998bd30e6a1: Verifying Checksum 20:30:35 8998bd30e6a1: Download complete 20:30:38 2437ff75d9bd: Verifying Checksum 20:30:38 2437ff75d9bd: Download complete 20:30:40 8998bd30e6a1: Pull complete 20:30:40 04944245beec: Pull complete 20:30:42 699f458cf7ca: Pull complete 20:30:42 765212b225bb: Pull complete 20:30:43 f23df028b6ca: Pull complete 20:30:43 d65c8cfc05b1: Pull complete 20:30:58 2437ff75d9bd: Pull complete 20:30:58 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 20:30:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 20:30:58 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:30:58 prd-ubuntu20.04-docker-arm64-4c-16g-8781 does not seem to be running inside a container 20:30:58 $ 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/99 -v /w/workspace/device-rest-go/99:/w/workspace/device-rest-go/99:rw,z -v /w/workspace/device-rest-go/99@tmp:/w/workspace/device-rest-go/99@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 20:31:01 $ docker top ab028c4985c396c6b882b7a4dc2df5e17f18f146c008964b4193f7d3081ac93a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 20:31:02 ---> job-cost.sh 20:31:02 lf-activate-venv: SKIPPING 20:31:02 INFO: No Stack... 20:31:03 INFO: Retrieving Pricing Info for: v3-standard-4 20:31:04 INFO: Archiving Costs [Pipeline] sh 20:31:04 + cut -d, -f6 20:31:04 + cat /w/workspace/device-rest-go/99/archives/cost.csv [Pipeline] lock 20:31:04 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-99-stack-cost] 20:31:04 Resource [jenkins-edgexfoundry-device-rest-go-main-99-stack-cost] did not exist. Created. 20:31:04 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-99-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:31:05 /w/workspace/device-rest-go/99@tmp/durable-1044d127/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 20:31:06 + echo total: 0.10999999940395355 [Pipeline] stash 20:31:06 Warning: overwriting stash ‘stack-cost’ 20:31:06 Stashed 1 file(s) [Pipeline] } 20:31:06 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-99-stack-cost] [Pipeline] // lock [Pipeline] } 20:31:06 $ docker stop --time=1 ab028c4985c396c6b882b7a4dc2df5e17f18f146c008964b4193f7d3081ac93a 20:31:07 $ docker rm -f --volumes ab028c4985c396c6b882b7a4dc2df5e17f18f146c008964b4193f7d3081ac93a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // ws [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (CodeCov) [Pipeline] unstash [Pipeline] configFileProvider 20:31:08 provisioning config files... 20:31:08 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1824358872161542374tmp [Pipeline] { [Pipeline] sh 20:31:08 + set +x 20:31:08 + bash -s -- 20:31:08 + curl -s https://codecov.io/bash 20:31:08 20:31:08 _____ _ 20:31:08 / ____| | | 20:31:08 | | ___ __| | ___ ___ _____ __ 20:31:08 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 20:31:08 | |___| (_) | (_| | __/ (_| (_) \ V / 20:31:08 \_____\___/ \__,_|\___|\___\___/ \_/ 20:31:08 Bash-1.0.6 20:31:08 20:31:08 20:31:08 ==> git version 2.25.1 found 20:31:08 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 20:31:08 Release-Date: 2020-01-08 20:31:08 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 20:31:08 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 20:31:08 ==> Jenkins CI detected. 20:31:08 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 20:31:08 project root: . 20:31:08 --> token set from env 20:31:08 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 20:31:08 ==> Running gcov in . (disable via -X gcov) 20:31:08 ==> Python coveragepy not found 20:31:08 ==> Searching for coverage reports in: 20:31:08 + . 20:31:08 -> Found 1 reports 20:31:08 ==> Detecting git/mercurial file structure 20:31:08 ==> Reading reports 20:31:08 + ./coverage.out bytes=14587 20:31:08 ==> Appending adjustments 20:31:08 https://docs.codecov.io/docs/fixing-reports 20:31:08 + Found adjustments 20:31:08 ==> Gzipping contents 20:31:08 4.0K /tmp/codecov.iQVvoe.gz 20:31:08 ==> Uploading reports 20:31:08 url: https://codecov.io 20:31:08 query: branch=main&commit=fa0493e2e3feda240b1cb1121ab26136a8f60332&build=99&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F99%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:31:08 -> Pinging Codecov 20:31:08 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=fa0493e2e3feda240b1cb1121ab26136a8f60332&build=99&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F99%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 20:31:08 -> Uploading to 20:31:08 https://storage.googleapis.com/codecov/v4/raw/2023-04-17/4E5D53B4F1F92C436F7061BF334D961C/fa0493e2e3feda240b1cb1121ab26136a8f60332/95ee5e0e-3935-47ea-869c-496f84612d7e.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230417%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230417T203108Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=0e888762a88ba5f1e00690c38620f79740b30bfebbd2e2f28cfd37269aa9c034 20:31:08 % Total % Received % Xferd Average Speed Time Time Time Current 20:31:08 Dload Upload Total Spent Left Speed 20:31:08 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2493 0 0 100 2493 0 10745 --:--:-- --:--:-- --:--:-- 10792 20:31:08 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/fa0493e2e3feda240b1cb1121ab26136a8f60332 [Pipeline] } 20:31:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 20:31:09 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 20:31:09 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:31:09 20:31:09 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:31:09 1.410.4: Pulling from edgex-devops/edgex-snyk-go 20:31:09 df9b9388f04a: Pulling fs layer 20:31:09 52dc419b0ee2: Pulling fs layer 20:31:09 25bc292e5bac: Pulling fs layer 20:31:09 114826534d7a: Pulling fs layer 20:31:09 4657fd5d0bcf: Pulling fs layer 20:31:09 6ad1cebc031e: Pulling fs layer 20:31:09 8a3aa393b2d8: Pulling fs layer 20:31:09 114826534d7a: Waiting 20:31:09 4657fd5d0bcf: Waiting 20:31:09 6ad1cebc031e: Waiting 20:31:09 8a3aa393b2d8: Waiting 20:31:09 25bc292e5bac: Verifying Checksum 20:31:09 25bc292e5bac: Download complete 20:31:09 52dc419b0ee2: Download complete 20:31:09 4657fd5d0bcf: Verifying Checksum 20:31:09 4657fd5d0bcf: Download complete 20:31:09 df9b9388f04a: Download complete 20:31:09 6ad1cebc031e: Verifying Checksum 20:31:09 6ad1cebc031e: Download complete 20:31:09 df9b9388f04a: Pull complete 20:31:09 52dc419b0ee2: Pull complete 20:31:09 25bc292e5bac: Pull complete 20:31:10 114826534d7a: Verifying Checksum 20:31:10 114826534d7a: Download complete 20:31:10 8a3aa393b2d8: Verifying Checksum 20:31:10 8a3aa393b2d8: Download complete 20:31:13 114826534d7a: Pull complete 20:31:14 4657fd5d0bcf: Pull complete 20:31:14 6ad1cebc031e: Pull complete 20:31:17 8a3aa393b2d8: Pull complete 20:31:17 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 20:31:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 20:31:17 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:31:17 prd-ubuntu20.04-docker-8c-8g-8777 does not seem to be running inside a container 20:31:17 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat 20:31:19 $ docker top f069aa5abd72ff7f6650186005da68eebbb45ac90c4d2234fb035c89568368a6 -eo pid,comm [Pipeline] { [Pipeline] echo 20:31:19 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 20:31:19 + set -o pipefail 20:31:19 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 20:31:27 20:31:27 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 20:31:27 20:31:27 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/8301e23b-2562-4bd6-89b0-75ed7db33cdc 20:31:27 20:31:27 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 20:31:27 20:31:27 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 20:31:27 20:31:27 20:31:27 A medium severity vulnerability was found in the Snyk CLI versions you are using. 20:31:27 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 20:31:27 More details here: https://snyk.co/ue1NS [Pipeline] } 20:31:27 $ docker stop --time=1 f069aa5abd72ff7f6650186005da68eebbb45ac90c4d2234fb035c89568368a6 20:31:29 $ docker rm -f --volumes f069aa5abd72ff7f6650186005da68eebbb45ac90c4d2234fb035c89568368a6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh 20:31:30 + git log --format=format:%s -1 fa0493e2e3feda240b1cb1121ab26136a8f60332 [Pipeline] sh 20:31:30 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:31:30 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:30 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:31:30 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:31:31 prd-ubuntu20.04-docker-8c-8g-8777 does not seem to be running inside a container 20:31:31 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:31:31 $ docker top 466626f2b2c1dcfa513633d782ccc84aa5f270ab00d92f0bf2bf0f61d063a183 -eo pid,comm 20:31:31 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 20:31:31 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:31:31 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:31:31 [ssh-agent] Looking for ssh-agent implementation... 20:31:31 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:31:31 $ docker exec 466626f2b2c1dcfa513633d782ccc84aa5f270ab00d92f0bf2bf0f61d063a183 ssh-agent 20:31:31 SSH_AUTH_SOCK=/tmp/ssh-uI2dD0btoBbD/agent.33 20:31:31 SSH_AGENT_PID=39 20:31:31 Running ssh-add (command line suppressed) 20:31:31 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3328301222842729467.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3328301222842729467.key) 20:31:31 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:31:32 + git semver tag 20:31:32 2023-04-17 20:31:32,441 [run_tag] DEBUG tag force:False 20:31:32 2023-04-17 20:31:32,442 [check_head_tag] DEBUG check head tag 20:31:32 2023-04-17 20:31:32,443 [execute] INFO git cat-file --batch-check 20:31:32 2023-04-17 20:31:32,443 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 20:31:32 2023-04-17 20:31:32,449 [execute] INFO git cat-file --batch 20:31:32 2023-04-17 20:31:32,450 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 20:31:32 2023-04-17 20:31:32,473 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:31:32 2023-04-17 20:31:32,473 [execute] INFO git tag -a v3.0.0-dev.27 -m v3.0.0-dev.27 20:31:32 2023-04-17 20:31:32,474 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.27', '-m', 'v3.0.0-dev.27'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 20:31:32 2023-04-17 20:31:32,479 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:31:32 3.0.0-dev.27 [Pipeline] } 20:31:32 $ docker exec --env ******** --env ******** 466626f2b2c1dcfa513633d782ccc84aa5f270ab00d92f0bf2bf0f61d063a183 ssh-agent -k 20:31:32 unset SSH_AUTH_SOCK; 20:31:32 unset SSH_AGENT_PID; 20:31:32 echo Agent pid 39 killed; 20:31:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:31:32 + git semver [Pipeline] } 20:31:33 $ docker stop --time=1 466626f2b2c1dcfa513633d782ccc84aa5f270ab00d92f0bf2bf0f61d063a183 20:31:34 $ docker rm -f --volumes 466626f2b2c1dcfa513633d782ccc84aa5f270ab00d92f0bf2bf0f61d063a183 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:34 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:31:34 20:31:34 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:35 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:31:35 0.23.1-centos7: Pulling from edgex-lftools 20:31:35 ab5ef0e58194: Pulling fs layer 20:31:35 9712f1f96733: Pulling fs layer 20:31:35 63f879dbbcfc: Pulling fs layer 20:31:35 0d9ebad4ef96: Pulling fs layer 20:31:35 e9a5061849ea: Pulling fs layer 20:31:35 d747dcd14b5f: Pulling fs layer 20:31:35 2de7ff778b66: Pulling fs layer 20:31:35 0d9ebad4ef96: Waiting 20:31:35 e9a5061849ea: Waiting 20:31:35 d747dcd14b5f: Waiting 20:31:35 2de7ff778b66: Waiting 20:31:35 9712f1f96733: Verifying Checksum 20:31:35 9712f1f96733: Download complete 20:31:35 63f879dbbcfc: Verifying Checksum 20:31:35 63f879dbbcfc: Download complete 20:31:35 e9a5061849ea: Verifying Checksum 20:31:35 e9a5061849ea: Download complete 20:31:35 d747dcd14b5f: Verifying Checksum 20:31:35 d747dcd14b5f: Download complete 20:31:35 ab5ef0e58194: Verifying Checksum 20:31:35 ab5ef0e58194: Download complete 20:31:35 0d9ebad4ef96: Verifying Checksum 20:31:35 0d9ebad4ef96: Download complete 20:31:35 2de7ff778b66: Verifying Checksum 20:31:35 2de7ff778b66: Download complete 20:31:38 ab5ef0e58194: Pull complete 20:31:38 9712f1f96733: Pull complete 20:31:39 63f879dbbcfc: Pull complete 20:31:42 0d9ebad4ef96: Pull complete 20:31:42 e9a5061849ea: Pull complete 20:31:42 d747dcd14b5f: Pull complete 20:31:43 2de7ff778b66: Pull complete 20:31:43 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 20:31:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 20:31:43 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:31:43 prd-ubuntu20.04-docker-8c-8g-8777 does not seem to be running inside a container 20:31:43 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 20:31:45 $ docker top 6cbb26b85a2df45f73a822110de953010e1bb0795f3afe30b81d4e005766e008 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 20:31:45 provisioning config files... 20:31:45 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1135105938186948017tmp 20:31:45 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9155318570561437361tmp 20:31:45 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1203895825444448226tmp [Pipeline] { [Pipeline] echo 20:31:45 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 20:31:45 ---> sigul-configuration.sh 20:31:45 gpg: directory `/root/.gnupg' created 20:31:45 gpg: new configuration file `/root/.gnupg/gpg.conf' created 20:31:45 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 20:31:45 gpg: keyring `/root/.gnupg/secring.gpg' created 20:31:45 gpg: keyring `/root/.gnupg/pubring.gpg' created 20:31:45 gpg: CAST5 encrypted data 20:31:45 gpg: encrypted with 1 passphrase 20:31:45 gpg: WARNING: message was not integrity protected [Pipeline] sh 20:31:46 + mkdir /home/jenkins 20:31:46 + mkdir /home/jenkins/sigul [Pipeline] sh 20:31:46 + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo 20:31:46 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 20:31:46 ---> sigul-install.sh 20:31:46 Sigul already installed; skipping installation. [Pipeline] sh 20:31:46 + git tag --list 20:31:46 v1.0.0 20:31:46 v1.1.0 20:31:46 v1.1.1 20:31:46 v1.1.2 20:31:46 v1.2.0 20:31:46 v1.2.1 20:31:46 v2.0.0 20:31:46 v2.1.0 20:31:46 v2.1.1 20:31:46 v2.1.1-dev.1 20:31:46 v2.1.1-dev.2 20:31:46 v2.1.1-dev.3 20:31:46 v2.2.0 20:31:46 v2.2.1-dev.1 20:31:46 v2.2.1-dev.2 20:31:46 v2.2.1-dev.3 20:31:46 v2.2.1-dev.4 20:31:46 v2.2.1-dev.5 20:31:46 v2.2.1-dev.6 20:31:46 v2.2.1-dev.7 20:31:46 v2.2.1-dev.8 20:31:46 v2.2.1-dev.9 20:31:46 v2.3.0 20:31:46 v2.3.0-dev.10 20:31:46 v2.3.0-dev.11 20:31:46 v2.3.0-dev.12 20:31:46 v2.3.0-dev.13 20:31:46 v2.3.0-dev.14 20:31:46 v2.3.0-dev.15 20:31:46 v2.3.0-dev.16 20:31:46 v2.3.0-dev.17 20:31:46 v2.3.0-dev.18 20:31:46 v2.3.0-dev.19 20:31:46 v2.3.0-dev.20 20:31:46 v2.3.0-dev.21 20:31:46 v2.3.0-dev.22 20:31:46 v2.3.0-dev.23 20:31:46 v2.3.0-dev.24 20:31:46 v2.3.0-dev.25 20:31:46 v2.3.0-dev.9 20:31:46 v3.0.0-dev.1 20:31:46 v3.0.0-dev.10 20:31:46 v3.0.0-dev.11 20:31:46 v3.0.0-dev.12 20:31:46 v3.0.0-dev.13 20:31:46 v3.0.0-dev.14 20:31:46 v3.0.0-dev.15 20:31:46 v3.0.0-dev.16 20:31:46 v3.0.0-dev.17 20:31:46 v3.0.0-dev.18 20:31:46 v3.0.0-dev.19 20:31:46 v3.0.0-dev.2 20:31:46 v3.0.0-dev.20 20:31:46 v3.0.0-dev.21 20:31:46 v3.0.0-dev.22 20:31:46 v3.0.0-dev.23 20:31:46 v3.0.0-dev.24 20:31:46 v3.0.0-dev.25 20:31:46 v3.0.0-dev.26 20:31:46 v3.0.0-dev.27 20:31:46 v3.0.0-dev.3 20:31:46 v3.0.0-dev.4 20:31:46 v3.0.0-dev.5 20:31:46 v3.0.0-dev.6 20:31:46 v3.0.0-dev.7 20:31:46 v3.0.0-dev.8 20:31:46 v3.0.0-dev.9 [Pipeline] sh 20:31:47 + lftools sign git-tag v3.0.0-dev.27 20:31:47 Signing Git tag with Sigul... 20:31:47 Signing v3.0.0-dev.27 [Pipeline] echo 20:31:48 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 20:31:48 ---> sigul-configuration-cleanup.sh [Pipeline] } 20:31:48 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 20:31:48 $ docker stop --time=1 6cbb26b85a2df45f73a822110de953010e1bb0795f3afe30b81d4e005766e008 20:31:49 $ docker rm -f --volumes 6cbb26b85a2df45f73a822110de953010e1bb0795f3afe30b81d4e005766e008 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 20:31:50 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:31:50 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:50 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:31:50 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:31:50 prd-ubuntu20.04-docker-8c-8g-8777 does not seem to be running inside a container 20:31:50 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:31:50 $ docker top fcd11ed78a20a18455ee3153109e534bebccdd9cd7596e3ff0c9ce828eec43bf -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:31:50 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:31:50 [ssh-agent] Looking for ssh-agent implementation... 20:31:51 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:31:51 $ docker exec fcd11ed78a20a18455ee3153109e534bebccdd9cd7596e3ff0c9ce828eec43bf ssh-agent 20:31:51 SSH_AUTH_SOCK=/tmp/ssh-UG9HnvsBxRM6/agent.33 20:31:51 SSH_AGENT_PID=39 20:31:51 Running ssh-add (command line suppressed) 20:31:51 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9687662698218128198.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9687662698218128198.key) 20:31:51 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:31:51 + git semver bump pre 20:31:51 2023-04-17 20:31:51,748 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:31:51 2023-04-17 20:31:51,748 [bump_version] DEBUG bumping version:3.0.0-dev.27 on axis:pre with prefix:dev 20:31:51 2023-04-17 20:31:51,748 [bump_version] DEBUG bumped version:3.0.0-dev.28 20:31:51 2023-04-17 20:31:51,748 [write_version] DEBUG write version:3.0.0-dev.28 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 20:31:51 2023-04-17 20:31:51,748 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:31:51 2023-04-17 20:31:51,748 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:31:51 2023-04-17 20:31:51,750 [execute] INFO git cat-file --batch-check 20:31:51 2023-04-17 20:31:51,750 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:31:51 2023-04-17 20:31:51,758 [execute] INFO git cat-file --batch 20:31:51 2023-04-17 20:31:51,758 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:31:51 2023-04-17 20:31:51,764 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:31:51 3.0.0-dev.28 [Pipeline] } 20:31:51 $ docker exec --env ******** --env ******** fcd11ed78a20a18455ee3153109e534bebccdd9cd7596e3ff0c9ce828eec43bf ssh-agent -k 20:31:51 unset SSH_AUTH_SOCK; 20:31:51 unset SSH_AGENT_PID; 20:31:51 echo Agent pid 39 killed; 20:31:51 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:31:52 + git semver [Pipeline] } 20:31:52 $ docker stop --time=1 fcd11ed78a20a18455ee3153109e534bebccdd9cd7596e3ff0c9ce828eec43bf 20:31:53 $ docker rm -f --volumes fcd11ed78a20a18455ee3153109e534bebccdd9cd7596e3ff0c9ce828eec43bf [Pipeline] // withDockerContainer [Pipeline] sh 20:31:54 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 20:31:54 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:31:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 20:31:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:31:54 prd-ubuntu20.04-docker-8c-8g-8777 does not seem to be running inside a container 20:31:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 20:31:54 $ docker top 037969a7d05142f6405a3b47d9554ca91f43aca5e8d7c86f33e49295b7255cb2 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 20:31:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 20:31:54 [ssh-agent] Looking for ssh-agent implementation... 20:31:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 20:31:55 $ docker exec 037969a7d05142f6405a3b47d9554ca91f43aca5e8d7c86f33e49295b7255cb2 ssh-agent 20:31:55 SSH_AUTH_SOCK=/tmp/ssh-v5O4kdfYn7qy/agent.33 20:31:55 SSH_AGENT_PID=39 20:31:55 Running ssh-add (command line suppressed) 20:31:55 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11790580484963909219.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11790580484963909219.key) 20:31:55 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 20:31:55 + git semver push 20:31:55 2023-04-17 20:31:55,808 [run_push] DEBUG push 20:31:55 2023-04-17 20:31:55,809 [execute] INFO git cat-file --batch-check 20:31:55 2023-04-17 20:31:55,810 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 20:31:55 2023-04-17 20:31:55,815 [execute] INFO git rev-list f435e60cdebc8e96a125568305e9d8363aae13d5 -- 20:31:55 2023-04-17 20:31:55,816 [execute] DEBUG Popen(['git', 'rev-list', 'f435e60cdebc8e96a125568305e9d8363aae13d5', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 20:31:55 2023-04-17 20:31:55,825 [execute] INFO git fetch -v origin 20:31:55 2023-04-17 20:31:55,825 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 20:31:56 2023-04-17 20:31:56,290 [run_push] DEBUG no remote changes detected 20:31:56 2023-04-17 20:31:56,291 [execute] INFO git push origin semver 20:31:56 2023-04-17 20:31:56,291 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 20:31:57 2023-04-17 20:31:57,151 [run_push] DEBUG push all version tags 20:31:57 2023-04-17 20:31:57,152 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 20:31:57 2023-04-17 20:31:57,152 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 20:31:58 2023-04-17 20:31:58,093 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 20:31:58 3.0.0-dev.28 [Pipeline] } 20:31:58 $ docker exec --env ******** --env ******** 037969a7d05142f6405a3b47d9554ca91f43aca5e8d7c86f33e49295b7255cb2 ssh-agent -k 20:31:58 unset SSH_AUTH_SOCK; 20:31:58 unset SSH_AGENT_PID; 20:31:58 echo Agent pid 39 killed; 20:31:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 20:31:58 + git semver [Pipeline] } 20:31:59 $ docker stop --time=1 037969a7d05142f6405a3b47d9554ca91f43aca5e8d7c86f33e49295b7255cb2 20:32:00 $ docker rm -f --volumes 037969a7d05142f6405a3b47d9554ca91f43aca5e8d7c86f33e49295b7255cb2 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh 20:32:00 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 20:32:00 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 20:32:00 total 16 20:32:00 drwxr-xr-x 3 root root 4096 Apr 17 20:19 . 20:32:00 drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 20:31 .. 20:32:00 drwxr-xr-x 2 root root 4096 Apr 17 20:19 cost 20:32:00 -rw-r--r-- 1 root root 85 Apr 17 20:19 cost.csv 20:32:00 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 20:32:00 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 20:32:00 total 16 20:32:00 drwxr-xr-x 3 jenkins jenkins 4096 Apr 17 20:19 . 20:32:00 drwxrwxr-x 10 jenkins jenkins 4096 Apr 17 20:31 .. 20:32:00 drwxr-xr-x 2 jenkins jenkins 4096 Apr 17 20:19 cost 20:32:00 -rw-r--r-- 1 jenkins jenkins 85 Apr 17 20:19 cost.csv [Pipeline] libraryResource [Pipeline] sh 20:32:01 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 20:32:02 ---> package-listing.sh 20:32:02 ++ tr '[:upper:]' '[:lower:]' 20:32:02 ++ facter osfamily 20:32:02 + OS_FAMILY=debian 20:32:02 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 20:32:02 + START_PACKAGES=/tmp/packages_start.txt 20:32:02 + END_PACKAGES=/tmp/packages_end.txt 20:32:02 + DIFF_PACKAGES=/tmp/packages_diff.txt 20:32:02 + PACKAGES=/tmp/packages_start.txt 20:32:02 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 20:32:02 + PACKAGES=/tmp/packages_end.txt 20:32:02 + case "${OS_FAMILY}" in 20:32:02 + dpkg -l 20:32:02 + grep '^ii' 20:32:02 + '[' -f /tmp/packages_start.txt ']' 20:32:02 + '[' -f /tmp/packages_end.txt ']' 20:32:02 + diff /tmp/packages_start.txt /tmp/packages_end.txt 20:32:02 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 20:32:02 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 20:32:02 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 20:32:02 Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh 20:32:02 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 20:32:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 20:32:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 20:32:03 prd-ubuntu20.04-docker-8c-8g-8777 does not seem to be running inside a container 20:32:03 $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat 20:32:03 $ docker top 072b5655f50068a0bae259d3d97ad8bde75ceb00ec76517305f60907ac7b4cc7 -eo pid,comm [Pipeline] { [Pipeline] sh 20:32:03 + touch /tmp/pre-build-complete [Pipeline] sh 20:32:04 + mkdir -p /var/log/sysstat [Pipeline] sh 20:32:04 + ls /var/log/sa-host 20:32:04 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 20:32:04 provisioning config files... 20:32:04 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8521253407019014221tmp [Pipeline] { [Pipeline] echo 20:32:04 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 20:32:04 ---> create-netrc.sh [Pipeline] } 20:32:04 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 20:32:05 ---> python-tools-install.sh [Pipeline] echo 20:32:05 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 20:32:05 ---> sudo-logs.sh 20:32:05 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 20:32:05 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 20:32:05 ---> job-cost.sh 20:32:05 lf-activate-venv: SKIPPING 20:32:05 DEBUG: total: 0.2199999988079071 20:32:05 INFO: Retrieving Stack Cost... 20:32:06 INFO: Retrieving Pricing Info for: v3-standard-8 20:32:06 INFO: Archiving Costs [Pipeline] echo 20:32:06 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 20:32:06 ---> logs-deploy.sh 20:32:06 lf-activate-venv: SKIPPING 20:32:06 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/99 20:32:06 INFO: archiving workspace using pattern(s): 20:32:07 Archives upload complete. 20:32:07 INFO: archiving logs to Nexus