Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 0c5eec98d3be44e3458d60972803f48ebbd423fa 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-ssh7033460045708427452.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-ssh16399150586773534957.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-ssh18188133448877209127.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-ssh476878472119947941.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-ssh6028561380828939313.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-8857 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 0c5eec98d3be44e3458d60972803f48ebbd423fa (main) Commit message: "Merge pull request #293 from hahattan/bump-sdk" > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f 0c5eec98d3be44e3458d60972803f48ebbd423fa # timeout=10 > git rev-list --no-walk fa0493e2e3feda240b1cb1121ab26136a8f60332 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 04:39:58 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 04:39:58 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 04:39:58 ========================================================= 04:39:58 EdgeX Global Pipelines Version Info 04:39:58 ========================================================= [Pipeline] libraryResource [Pipeline] sh 04:39:59 ------------------- 04:39:59 stable info: 04:39:59 ------------------- 04:39:59 Commited By: Bill Mahoney bill.mahoney@intel.com 04:39:59 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 04:39:59 Message: update stable to v1.0.248 04:40:00 ------------------- 04:40:00 experimental info: 04:40:00 ------------------- 04:40:00 Commited By: **** collab-it+edgex@linuxfoundation.org 04:40:00 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 04:40:00 Message: update experimental to v1.0.248 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 04:40:00 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 04:40:00 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 04:40:00 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 04:40:00 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 04:40:00 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 04:40:00 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 04:40:00 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 04:40:00 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 04:40:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 04:40:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 04:40:00 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 04:40:00 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 04:40:00 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 04:40:00 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 04:40:00 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 04:40:00 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 04:40:00 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 04:40:00 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 04:40:00 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 04:40:00 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 04:40:00 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 04:40:00 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 04:40:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 04:40:00 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 04:40:00 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 04:40:00 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 04:40:00 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 04:40:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 04:40:00 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 04:40:00 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 04:40:00 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 0c5eec98d3be44e3458d60972803f48ebbd423fa [Pipeline] echo 04:40:00 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 0c5eec9 [Pipeline] echo 04:40:00 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:40:00 provisioning config files... 04:40:00 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1740416278908461935tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:40:00 ---> docker-login.sh 04:40:00 nexus3.edgexfoundry.org:10001 04:40:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:01 Configure a credential helper to remove this warning. See 04:40:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:01 04:40:01 Login Succeeded 04:40:01 nexus3.edgexfoundry.org:10002 04:40:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:01 Configure a credential helper to remove this warning. See 04:40:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:01 04:40:01 Login Succeeded 04:40:01 nexus3.edgexfoundry.org:10003 04:40:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:01 Configure a credential helper to remove this warning. See 04:40:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:01 04:40:01 Login Succeeded 04:40:01 nexus3.edgexfoundry.org:10004 04:40:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:01 Configure a credential helper to remove this warning. See 04:40:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:01 04:40:01 Login Succeeded 04:40:01 docker.io 04:40:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:03 Configure a credential helper to remove this warning. See 04:40:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:03 04:40:03 Login Succeeded 04:40:03 ---> docker-login.sh ends [Pipeline] } 04:40:03 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 04:40:03 + git rev-list -1 --merges 0c5eec98d3be44e3458d60972803f48ebbd423fa~1..0c5eec98d3be44e3458d60972803f48ebbd423fa [Pipeline] echo 04:40:03 -----------> git rev-list -1 --merges 0c5eec98d3be44e3458d60972803f48ebbd423fa~1..0c5eec98d3be44e3458d60972803f48ebbd423fa 0c5eec98d3be44e3458d60972803f48ebbd423fa 04:40:03 0c5eec98d3be44e3458d60972803f48ebbd423fa [false] [Pipeline] sh 04:40:03 + git log --format=format:%s -1 0c5eec98d3be44e3458d60972803f48ebbd423fa [Pipeline] echo 04:40:03 ========================================================= 04:40:03 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 04:40:03 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:40:04 + git log --format=format:%s -1 0c5eec98d3be44e3458d60972803f48ebbd423fa [Pipeline] echo 04:40:04 [semverPrep] GIT_COMMIT: 0c5eec98d3be44e3458d60972803f48ebbd423fa, Commit Message: Merge pull request #293 from hahattan/bump-sdk [Pipeline] echo 04:40:04 [semverPrep] This is not a build commit. [Pipeline] sh 04:40:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:40:04 + grep -v github /etc/ssh/ssh_known_hosts 04:40:04 + [ -e /tmp/ssh_known_hosts ] 04:40:04 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 04:40:04 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 04:40:04 + sudo tee -a /etc/ssh/ssh_known_hosts 04:40:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:04 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:40:04 04:40:04 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:05 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:40:05 0.1.4: Pulling from edgex-devops/py-git-semver 04:40:05 b85a868b505f: Pulling fs layer 04:40:05 e2be974225ed: Pulling fs layer 04:40:05 339a4e72a1f5: Pulling fs layer 04:40:05 988bab9f4d93: Pulling fs layer 04:40:05 1469e6f7b9e6: Pulling fs layer 04:40:05 eaf3925da568: Pulling fs layer 04:40:05 bab4dde63d76: Pulling fs layer 04:40:05 bde34c3a00c8: Pulling fs layer 04:40:05 b352a97aabf1: Pulling fs layer 04:40:05 4872d77fe225: Pulling fs layer 04:40:05 5851b861e8e6: Pulling fs layer 04:40:05 bab4dde63d76: Waiting 04:40:05 bde34c3a00c8: Waiting 04:40:05 b352a97aabf1: Waiting 04:40:05 988bab9f4d93: Waiting 04:40:05 eaf3925da568: Waiting 04:40:05 4872d77fe225: Waiting 04:40:05 5851b861e8e6: Waiting 04:40:05 e2be974225ed: Verifying Checksum 04:40:05 e2be974225ed: Download complete 04:40:05 988bab9f4d93: Download complete 04:40:05 1469e6f7b9e6: Verifying Checksum 04:40:05 1469e6f7b9e6: Download complete 04:40:05 eaf3925da568: Verifying Checksum 04:40:05 eaf3925da568: Download complete 04:40:05 339a4e72a1f5: Verifying Checksum 04:40:05 339a4e72a1f5: Download complete 04:40:05 bde34c3a00c8: Download complete 04:40:05 b352a97aabf1: Verifying Checksum 04:40:05 b352a97aabf1: Download complete 04:40:05 4872d77fe225: Verifying Checksum 04:40:05 4872d77fe225: Download complete 04:40:05 5851b861e8e6: Verifying Checksum 04:40:05 5851b861e8e6: Download complete 04:40:05 b85a868b505f: Verifying Checksum 04:40:05 b85a868b505f: Download complete 04:40:05 bab4dde63d76: Verifying Checksum 04:40:05 bab4dde63d76: Download complete 04:40:06 b85a868b505f: Pull complete 04:40:06 e2be974225ed: Pull complete 04:40:07 339a4e72a1f5: Pull complete 04:40:07 988bab9f4d93: Pull complete 04:40:07 1469e6f7b9e6: Pull complete 04:40:07 eaf3925da568: Pull complete 04:40:09 bab4dde63d76: Pull complete 04:40:09 bde34c3a00c8: Pull complete 04:40:09 b352a97aabf1: Pull complete 04:40:09 4872d77fe225: Pull complete 04:40:09 5851b861e8e6: Pull complete 04:40:09 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 04:40:09 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:40:09 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:40:09 prd-ubuntu20.04-docker-8c-8g-8857 does not seem to be running inside a container 04:40:09 $ 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 04:40:10 $ docker top bb5a85c5ff2f719d3fcc6c3006721ba649f121051eb5895c13cf87805ea5d04f -eo pid,comm 04:40:10 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). 04:40:10 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:40:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:40:10 [ssh-agent] Looking for ssh-agent implementation... 04:40:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:40:10 $ docker exec bb5a85c5ff2f719d3fcc6c3006721ba649f121051eb5895c13cf87805ea5d04f ssh-agent 04:40:11 SSH_AUTH_SOCK=/tmp/ssh-lKLYnUbUsxFG/agent.32 04:40:11 SSH_AGENT_PID=38 04:40:11 Running ssh-add (command line suppressed) 04:40:11 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11502098998961695863.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11502098998961695863.key) 04:40:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:40:11 + git tag --points-at HEAD [Pipeline] } 04:40:11 $ docker exec --env ******** --env ******** bb5a85c5ff2f719d3fcc6c3006721ba649f121051eb5895c13cf87805ea5d04f ssh-agent -k 04:40:11 unset SSH_AUTH_SOCK; 04:40:11 unset SSH_AGENT_PID; 04:40:11 echo Agent pid 38 killed; 04:40:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 04:40:11 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:40:11 [ssh-agent] Looking for ssh-agent implementation... 04:40:11 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:40:11 $ docker exec bb5a85c5ff2f719d3fcc6c3006721ba649f121051eb5895c13cf87805ea5d04f ssh-agent 04:40:11 SSH_AUTH_SOCK=/tmp/ssh-82pvskrNgn3g/agent.70 04:40:11 SSH_AGENT_PID=76 04:40:11 Running ssh-add (command line suppressed) 04:40:11 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10330633752792421381.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10330633752792421381.key) 04:40:11 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:40:12 + git semver init 04:40:12 2023-04-18 04:40:12,391 [run_init] DEBUG init version:0.0.0 force:False 04:40:12 2023-04-18 04:40:12,391 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 04:40:12 2023-04-18 04:40:12,392 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 04:40:12 2023-04-18 04:40:12,392 [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) 04:40:13 2023-04-18 04:40:13,302 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 04:40:13 2023-04-18 04:40:13,302 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 04:40:13 2023-04-18 04:40:13,303 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:40:13 2023-04-18 04:40:13,303 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:40:13 3.0.0-dev.28 [Pipeline] } 04:40:13 $ docker exec --env ******** --env ******** bb5a85c5ff2f719d3fcc6c3006721ba649f121051eb5895c13cf87805ea5d04f ssh-agent -k 04:40:13 unset SSH_AUTH_SOCK; 04:40:13 unset SSH_AGENT_PID; 04:40:13 echo Agent pid 76 killed; 04:40:13 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:40:13 + git semver [Pipeline] } 04:40:14 $ docker stop --time=1 bb5a85c5ff2f719d3fcc6c3006721ba649f121051eb5895c13cf87805ea5d04f 04:40:15 $ docker rm -f --volumes bb5a85c5ff2f719d3fcc6c3006721ba649f121051eb5895c13cf87805ea5d04f [Pipeline] // withDockerContainer [Pipeline] sh 04:40:15 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 04:40:15 Stashed 1 file(s) [Pipeline] echo 04:40:15 [edgeXSemver]: initialized semver on version 3.0.0-dev.28 [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 04:40:16 provisioning config files... 04:40:16 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config351020817052024876tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:40:16 ---> docker-login.sh 04:40:16 nexus3.edgexfoundry.org:10001 04:40:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:16 Configure a credential helper to remove this warning. See 04:40:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:16 04:40:16 Login Succeeded 04:40:16 nexus3.edgexfoundry.org:10002 04:40:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:16 Configure a credential helper to remove this warning. See 04:40:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:16 04:40:16 Login Succeeded 04:40:16 nexus3.edgexfoundry.org:10003 04:40:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:16 Configure a credential helper to remove this warning. See 04:40:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:16 04:40:16 Login Succeeded 04:40:16 nexus3.edgexfoundry.org:10004 04:40:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:16 Configure a credential helper to remove this warning. See 04:40:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:16 04:40:16 Login Succeeded 04:40:16 docker.io 04:40:16 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:40:16 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:40:16 Configure a credential helper to remove this warning. See 04:40:16 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:40:16 04:40:16 Login Succeeded 04:40:16 ---> docker-login.sh ends [Pipeline] } 04:40:16 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:40:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:40:16 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:40:16 ========================================================= 04:40:16 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 04:40:16 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:17 + 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 . 04:40:17 Sending build context to Docker daemon 10.89MB 04:40:17 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:40:17 Step 2/12 : FROM ${BASE} AS builder 04:40:17 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 04:40:17 63b65145d645: Pulling fs layer 04:40:17 a2d21d5440eb: Pulling fs layer 04:40:17 935e6c44a52c: Pulling fs layer 04:40:17 94cc34f8dd06: Pulling fs layer 04:40:17 30dea6a524f1: Pulling fs layer 04:40:17 a2aff8979fd8: Pulling fs layer 04:40:17 6808be2612f2: Pulling fs layer 04:40:17 f25807f1079a: Pulling fs layer 04:40:17 94cc34f8dd06: Waiting 04:40:17 30dea6a524f1: Waiting 04:40:17 a2aff8979fd8: Waiting 04:40:17 f25807f1079a: Waiting 04:40:17 6808be2612f2: Waiting 04:40:17 a2d21d5440eb: Download complete 04:40:17 94cc34f8dd06: Download complete 04:40:17 30dea6a524f1: Verifying Checksum 04:40:17 30dea6a524f1: Download complete 04:40:17 63b65145d645: Download complete 04:40:17 a2aff8979fd8: Verifying Checksum 04:40:17 a2aff8979fd8: Download complete 04:40:17 63b65145d645: Pull complete 04:40:17 a2d21d5440eb: Pull complete 04:40:18 935e6c44a52c: Download complete 04:40:18 f25807f1079a: Verifying Checksum 04:40:18 f25807f1079a: Download complete 04:40:18 6808be2612f2: Verifying Checksum 04:40:18 6808be2612f2: Download complete 04:40:20 935e6c44a52c: Pull complete 04:40:20 94cc34f8dd06: Pull complete 04:40:20 30dea6a524f1: Pull complete 04:40:20 a2aff8979fd8: Pull complete 04:40:23 6808be2612f2: Pull complete 04:40:23 f25807f1079a: Pull complete 04:40:23 Digest: sha256:106942793af8b5907f587008084bb0888cadbc76d86ebd37d4d3227fb0f1e438 04:40:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 04:40:23 ---> 3b553350e43f 04:40:23 Step 3/12 : ARG ADD_BUILD_TAGS="" 04:40:25 ---> Running in 0c2f29018d8b 04:40:25 Removing intermediate container 0c2f29018d8b 04:40:25 ---> c9ea1a5751cb 04:40:25 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:40:25 ---> Running in 389e739c0269 04:40:25 Removing intermediate container 389e739c0269 04:40:25 ---> 820c60960479 04:40:25 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:40:25 ---> Running in 131a5f106dc4 04:40:25 Removing intermediate container 131a5f106dc4 04:40:25 ---> a16ee7d24965 04:40:25 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 04:40:25 ---> Running in 3d454e4ff2c6 04:40:25 Removing intermediate container 3d454e4ff2c6 04:40:25 ---> 5a0feef4799f 04:40:25 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:40:25 ---> Running in 0bea9302472c 04:40:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:40:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:40:26 (1/4) Installing openssh-keygen (9.1_p1-r2) 04:40:26 (2/4) Installing libedit (20221030.3.1-r0) 04:40:26 (3/4) Installing openssh-client-common (9.1_p1-r2) 04:40:26 (4/4) Installing openssh-client-default (9.1_p1-r2) 04:40:26 Executing busybox-1.35.0-r29.trigger 04:40:26 OK: 269 MiB in 57 packages 04:40:26 Removing intermediate container 0bea9302472c 04:40:26 ---> 9eabe49ddd24 04:40:26 Step 8/12 : WORKDIR /device-rest-go 04:40:26 ---> Running in 4573a0bceaee 04:40:26 Removing intermediate container 4573a0bceaee 04:40:26 ---> 65578ed9529c 04:40:26 Step 9/12 : COPY go.mod vendor* ./ 04:40:26 ---> 5c2ebdb7322a 04:40:26 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:40:26 ---> Running in 5402cfbefe16 04:40:31 Still waiting to schedule task 04:40:31 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 04:40:53 Removing intermediate container 5402cfbefe16 04:40:53 ---> 852e391555f5 04:40:53 Step 11/12 : COPY . . 04:40:53 ---> 69ef9e86c9ed 04:40:53 Step 12/12 : RUN $MAKE 04:40:53 ---> Running in f3ea0750b81c 04:40:53 noop 04:40:53 Removing intermediate container f3ea0750b81c 04:40:53 ---> 5ae4b9943075 04:40:53 Successfully built 5ae4b9943075 04:40:53 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:53 + docker inspect -f . ci-base-image-x86_64 04:40:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:40:53 prd-ubuntu20.04-docker-8c-8g-8857 does not seem to be running inside a container 04:40:53 $ 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 04:40:54 $ docker top 32ae3c929960f14b1f51b3584819b43fdab99662290badc4bca435246358bdd1 -eo pid,comm [Pipeline] { [Pipeline] sh 04:40:54 + go version 04:40:54 go version go1.20.2 linux/amd64 [Pipeline] } 04:40:54 $ docker stop --time=1 32ae3c929960f14b1f51b3584819b43fdab99662290badc4bca435246358bdd1 04:40:55 $ docker rm -f --volumes 32ae3c929960f14b1f51b3584819b43fdab99662290badc4bca435246358bdd1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:40:56 + docker inspect -f . ci-base-image-x86_64 04:40:56 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:40:56 prd-ubuntu20.04-docker-8c-8g-8857 does not seem to be running inside a container 04:40:56 $ 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 04:40:56 $ docker top a077fa864ae10c16fbbc89fcc335bc1f286c638ebf9d974c446dffa8cc71e698 -eo pid,comm [Pipeline] { [Pipeline] sh 04:40:57 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 04:40:57 + make test 04:40:57 go test ./... -coverprofile=coverage.out ./... 04:41:01 ? github.com/edgexfoundry/device-rest-go [no test files] 04:41:11 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 04:41:11 ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 32.2% of statements 04:41:18 go vet ./... 04:41:20 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:41:20 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:41:20 ./bin/test-attribution-txt.sh [Pipeline] echo 04:41:20 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:41:20 $ docker stop --time=1 a077fa864ae10c16fbbc89fcc335bc1f286c638ebf9d974c446dffa8cc71e698 04:41:22 $ docker rm -f --volumes a077fa864ae10c16fbbc89fcc335bc1f286c638ebf9d974c446dffa8cc71e698 [Pipeline] // withDockerContainer [Pipeline] sh 04:41:22 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:41:22 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 04:41:23 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:41:23 + ls -al . 04:41:23 total 184 04:41:23 drwxrwxr-x 9 jenkins jenkins 4096 Apr 18 04:40 . 04:41:23 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 04:39 .. 04:41:23 -rw-rw-r-- 1 jenkins jenkins 151 Apr 18 04:39 .dockerignore 04:41:23 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 04:40 .git 04:41:23 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 04:39 .github 04:41:23 -rw-rw-r-- 1 jenkins jenkins 329 Apr 18 04:39 .gitignore 04:41:23 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 04:39 .golangci.yml 04:41:23 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 04:40 .semver 04:41:23 -rw-rw-r-- 1 jenkins jenkins 9331 Apr 18 04:39 Attribution.txt 04:41:23 -rw-rw-r-- 1 jenkins jenkins 13085 Apr 18 04:39 CHANGELOG.md 04:41:23 -rw-rw-r-- 1 jenkins jenkins 1578 Apr 18 04:39 Dockerfile 04:41:23 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 04:39 GOVERNANCE.md 04:41:23 -rw-rw-r-- 1 jenkins jenkins 680 Apr 18 04:39 Jenkinsfile 04:41:23 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 04:39 LICENSE 04:41:23 -rw-rw-r-- 1 jenkins jenkins 1779 Apr 18 04:39 Makefile 04:41:23 -rw-rw-r-- 1 jenkins jenkins 620 Apr 18 04:39 OWNERS.md 04:41:23 -rw-rw-r-- 1 jenkins jenkins 15321 Apr 18 04:39 README.md 04:41:23 -rw-rw-r-- 1 jenkins jenkins 12 Apr 18 04:40 VERSION 04:41:23 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 04:39 bin 04:41:23 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 04:39 cmd 04:41:23 -rw-r--r-- 1 jenkins jenkins 14663 Apr 18 04:41 coverage.out 04:41:23 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 04:39 driver 04:41:23 -rw-rw-r-- 1 jenkins jenkins 3402 Apr 18 04:39 go.mod 04:41:23 -rw-rw-r-- 1 jenkins jenkins 31553 Apr 18 04:39 go.sum 04:41:23 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 04:39 snap 04:41:23 -rw-rw-r-- 1 jenkins jenkins 713 Apr 18 04:39 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:23 + 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=0c5eec98d3be44e3458d60972803f48ebbd423fa --label arch=amd64 --label version=3.0.0-dev.28 . 04:41:23 Sending build context to Docker daemon 10.9MB 04:41:23 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 04:41:23 Step 2/25 : FROM ${BASE} AS builder 04:41:23 ---> 5ae4b9943075 04:41:23 Step 3/25 : ARG ADD_BUILD_TAGS="" 04:41:24 ---> Running in 6810105d5bfb 04:41:24 Removing intermediate container 6810105d5bfb 04:41:24 ---> cb99f54af175 04:41:24 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:41:24 ---> Running in f0c9438d8c0c 04:41:24 Removing intermediate container f0c9438d8c0c 04:41:24 ---> 4a42125cfce0 04:41:24 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:41:24 ---> Running in 2c41185ffb82 04:41:24 Removing intermediate container 2c41185ffb82 04:41:24 ---> 74e100f6fde7 04:41:24 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 04:41:24 ---> Running in 325ce0464418 04:41:24 Removing intermediate container 325ce0464418 04:41:24 ---> c942bc03344f 04:41:24 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:41:24 ---> Running in d4c52af3463b 04:41:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:41:24 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:41:24 OK: 269 MiB in 57 packages 04:41:25 Removing intermediate container d4c52af3463b 04:41:25 ---> bce107232139 04:41:25 Step 8/25 : WORKDIR /device-rest-go 04:41:25 ---> Running in e87d2debce87 04:41:25 Removing intermediate container e87d2debce87 04:41:25 ---> f07ca7ec5958 04:41:25 Step 9/25 : COPY go.mod vendor* ./ 04:41:25 ---> 29b09892dc1d 04:41:25 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:41:25 ---> Running in be4ea6399fc3 04:41:26 Removing intermediate container be4ea6399fc3 04:41:26 ---> d11b4ab23a0b 04:41:26 Step 11/25 : COPY . . 04:41:26 ---> b07a1988208d 04:41:26 Step 12/25 : RUN $MAKE 04:41:26 ---> Running in 2b0ec6008988 04:41:27 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.28" -trimpath -mod=readonly -o cmd/device-rest ./cmd 04:41:45 Removing intermediate container 2b0ec6008988 04:41:45 ---> e71902185594 04:41:45 Step 13/25 : FROM alpine:3.17 04:41:45 3.17: Pulling from library/alpine 04:41:45 f56be85fc22e: Pulling fs layer 04:41:45 f56be85fc22e: Verifying Checksum 04:41:45 f56be85fc22e: Download complete 04:41:45 f56be85fc22e: Pull complete 04:41:45 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:41:45 Status: Downloaded newer image for alpine:3.17 04:41:45 ---> 9ed4aefc74f6 04:41:45 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:41:45 ---> Running in 9b29727247e3 04:41:45 Removing intermediate container 9b29727247e3 04:41:45 ---> b3442dd09fca 04:41:45 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 04:41:45 ---> Running in 37cdf1e14f8f 04:41:45 Removing intermediate container 37cdf1e14f8f 04:41:45 ---> 308adb0b899f 04:41:45 Step 16/25 : RUN apk add --update --no-cache dumb-init 04:41:45 ---> Running in 823e8df1e37f 04:41:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 04:41:45 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 04:41:45 (1/1) Installing dumb-init (1.2.5-r2) 04:41:45 Executing busybox-1.35.0-r29.trigger 04:41:45 OK: 7 MiB in 16 packages 04:41:45 Removing intermediate container 823e8df1e37f 04:41:45 ---> a4749cecba27 04:41:45 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 04:41:45 ---> 04a197c7e417 04:41:45 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 04:41:45 ---> 2ecb256682cd 04:41:45 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 04:41:46 ---> 29f995314554 04:41:46 Step 20/25 : EXPOSE 59986 04:41:46 ---> Running in 4a02fda23d48 04:41:46 Removing intermediate container 4a02fda23d48 04:41:46 ---> 6a5e9d2faf8b 04:41:46 Step 21/25 : ENTRYPOINT ["/device-rest"] 04:41:46 ---> Running in c55fc650d4af 04:41:46 Removing intermediate container c55fc650d4af 04:41:46 ---> 8a8e1fb54b0c 04:41:46 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 04:41:46 ---> Running in f6cab2bfe23d 04:41:46 Removing intermediate container f6cab2bfe23d 04:41:46 ---> a625bd183fdb 04:41:46 Step 23/25 : LABEL arch=amd64 04:41:46 ---> Running in 0faeadd879b5 04:41:46 Removing intermediate container 0faeadd879b5 04:41:46 ---> b79ffd9f700d 04:41:46 Step 24/25 : LABEL git_sha=0c5eec98d3be44e3458d60972803f48ebbd423fa 04:41:46 ---> Running in aa1fdb59d993 04:41:46 Removing intermediate container aa1fdb59d993 04:41:46 ---> 51da1a6a6a8c 04:41:46 Step 25/25 : LABEL version=3.0.0-dev.28 04:41:46 ---> Running in ce3e1610fefb 04:41:46 Removing intermediate container ce3e1610fefb 04:41:46 ---> ad2caacb002c 04:41:46 [Warning] One or more build-args [ARCH] were not consumed 04:41:46 Successfully built ad2caacb002c 04:41:46 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:41:46 provisioning config files... 04:41:46 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12863326051580568698tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:41:47 ---> docker-login.sh 04:41:47 nexus3.edgexfoundry.org:10001 04:41:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:41:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:41:47 Configure a credential helper to remove this warning. See 04:41:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:41:47 04:41:47 Login Succeeded 04:41:47 nexus3.edgexfoundry.org:10002 04:41:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:41:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:41:47 Configure a credential helper to remove this warning. See 04:41:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:41:47 04:41:47 Login Succeeded 04:41:47 nexus3.edgexfoundry.org:10003 04:41:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:41:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:41:47 Configure a credential helper to remove this warning. See 04:41:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:41:47 04:41:47 Login Succeeded 04:41:47 nexus3.edgexfoundry.org:10004 04:41:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:41:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:41:47 Configure a credential helper to remove this warning. See 04:41:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:41:47 04:41:47 Login Succeeded 04:41:47 docker.io 04:41:47 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:41:47 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:41:47 Configure a credential helper to remove this warning. See 04:41:47 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:41:47 04:41:47 Login Succeeded 04:41:47 ---> docker-login.sh ends [Pipeline] } 04:41:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:41:47 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:41:47 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 04:41:47 0c5eec98d3be44e3458d60972803f48ebbd423fa 04:41:47 latest 04:41:47 3.0.0-dev.28 04:41:47 0c5eec98d3be44e3458d60972803f48ebbd423fa-3.0.0-dev.28 04:41:47 main 04:41:47 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:48 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:0c5eec98d3be44e3458d60972803f48ebbd423fa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:48 + docker push nexus3.edgexfoundry.org:10004/device-rest:0c5eec98d3be44e3458d60972803f48ebbd423fa 04:41:48 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 04:41:48 740ed7e1550a: Preparing 04:41:48 756be603339b: Preparing 04:41:48 0ede4ef4febe: Preparing 04:41:48 ee622d847cdb: Preparing 04:41:48 f1417ff83b31: Preparing 04:41:48 f1417ff83b31: Layer already exists 04:41:48 756be603339b: Pushed 04:41:48 740ed7e1550a: Pushed 04:41:48 ee622d847cdb: Pushed 04:41:50 0ede4ef4febe: Pushed 04:41:51 0c5eec98d3be44e3458d60972803f48ebbd423fa: digest: sha256:12b8bf014f08968fb98ba26663b45ed3ae7728900d5376c4d418c1f086861732 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:51 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:51 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 04:41:51 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 04:41:51 740ed7e1550a: Preparing 04:41:51 756be603339b: Preparing 04:41:51 0ede4ef4febe: Preparing 04:41:51 ee622d847cdb: Preparing 04:41:51 f1417ff83b31: Preparing 04:41:51 f1417ff83b31: Layer already exists 04:41:51 756be603339b: Layer already exists 04:41:51 ee622d847cdb: Layer already exists 04:41:51 740ed7e1550a: Layer already exists 04:41:51 0ede4ef4febe: Layer already exists 04:41:51 latest: digest: sha256:12b8bf014f08968fb98ba26663b45ed3ae7728900d5376c4d418c1f086861732 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:52 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:52 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.28 04:41:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 04:41:52 740ed7e1550a: Preparing 04:41:52 756be603339b: Preparing 04:41:52 0ede4ef4febe: Preparing 04:41:52 ee622d847cdb: Preparing 04:41:52 f1417ff83b31: Preparing 04:41:52 740ed7e1550a: Layer already exists 04:41:52 f1417ff83b31: Layer already exists 04:41:52 0ede4ef4febe: Layer already exists 04:41:52 756be603339b: Layer already exists 04:41:52 ee622d847cdb: Layer already exists 04:41:52 3.0.0-dev.28: digest: sha256:12b8bf014f08968fb98ba26663b45ed3ae7728900d5376c4d418c1f086861732 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:52 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:0c5eec98d3be44e3458d60972803f48ebbd423fa-3.0.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:53 + docker push nexus3.edgexfoundry.org:10004/device-rest:0c5eec98d3be44e3458d60972803f48ebbd423fa-3.0.0-dev.28 04:41:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 04:41:53 740ed7e1550a: Preparing 04:41:53 756be603339b: Preparing 04:41:53 0ede4ef4febe: Preparing 04:41:53 ee622d847cdb: Preparing 04:41:53 f1417ff83b31: Preparing 04:41:53 f1417ff83b31: Layer already exists 04:41:53 0ede4ef4febe: Layer already exists 04:41:53 ee622d847cdb: Layer already exists 04:41:53 740ed7e1550a: Layer already exists 04:41:53 756be603339b: Layer already exists 04:41:53 0c5eec98d3be44e3458d60972803f48ebbd423fa-3.0.0-dev.28: digest: sha256:12b8bf014f08968fb98ba26663b45ed3ae7728900d5376c4d418c1f086861732 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:53 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:53 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 04:41:53 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 04:41:53 740ed7e1550a: Preparing 04:41:53 756be603339b: Preparing 04:41:53 0ede4ef4febe: Preparing 04:41:53 ee622d847cdb: Preparing 04:41:53 f1417ff83b31: Preparing 04:41:53 ee622d847cdb: Layer already exists 04:41:53 756be603339b: Layer already exists 04:41:53 f1417ff83b31: Layer already exists 04:41:53 740ed7e1550a: Layer already exists 04:41:53 0ede4ef4febe: Layer already exists 04:41:53 main: digest: sha256:12b8bf014f08968fb98ba26663b45ed3ae7728900d5376c4d418c1f086861732 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:41:53 ===================================================== [Pipeline] echo 04:41:53 taggedImages: 04:41:53 - nexus3.edgexfoundry.org:10004/device-rest:0c5eec98d3be44e3458d60972803f48ebbd423fa 04:41:53 - nexus3.edgexfoundry.org:10004/device-rest:latest 04:41:53 - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.28 04:41:53 - nexus3.edgexfoundry.org:10004/device-rest:0c5eec98d3be44e3458d60972803f48ebbd423fa-3.0.0-dev.28 04:41:53 - 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 04:41:54 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:41:54 04:41:54 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:41:54 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:41:54 latest: Pulling from edgex-lftools-log-publisher 04:41:54 5eb5b503b376: Pulling fs layer 04:41:54 5c69ac0246d0: Pulling fs layer 04:41:54 ec43610c2a17: Pulling fs layer 04:41:54 3a2ae6a8a46f: Pulling fs layer 04:41:54 33b1e0a273af: Pulling fs layer 04:41:54 5d3b04190fa2: Pulling fs layer 04:41:54 2f39f015ded8: Pulling fs layer 04:41:54 3a2ae6a8a46f: Waiting 04:41:54 2f39f015ded8: Waiting 04:41:54 5d3b04190fa2: Waiting 04:41:54 33b1e0a273af: Waiting 04:41:54 5c69ac0246d0: Download complete 04:41:54 3a2ae6a8a46f: Verifying Checksum 04:41:54 3a2ae6a8a46f: Download complete 04:41:54 33b1e0a273af: Verifying Checksum 04:41:54 33b1e0a273af: Download complete 04:41:54 5d3b04190fa2: Verifying Checksum 04:41:54 5d3b04190fa2: Download complete 04:41:54 ec43610c2a17: Verifying Checksum 04:41:54 ec43610c2a17: Download complete 04:41:54 5eb5b503b376: Verifying Checksum 04:41:54 5eb5b503b376: Download complete 04:41:55 2f39f015ded8: Download complete 04:41:55 5eb5b503b376: Pull complete 04:41:56 5c69ac0246d0: Pull complete 04:41:56 ec43610c2a17: Pull complete 04:41:56 3a2ae6a8a46f: Pull complete 04:41:56 33b1e0a273af: Pull complete 04:41:56 5d3b04190fa2: Pull complete 04:42:00 2f39f015ded8: Pull complete 04:42:00 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 04:42:00 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:42:00 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:42:00 prd-ubuntu20.04-docker-8c-8g-8857 does not seem to be running inside a container 04:42:00 $ 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 04:42:02 $ docker top 9ba0c05dad20b63490839ec738a1b0ec1cd2afc62d4f0e3baedd08a7c6b59b5b -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:42:02 ---> job-cost.sh 04:42:02 lf-activate-venv: SKIPPING 04:42:02 INFO: No Stack... 04:42:03 INFO: Retrieving Pricing Info for: v3-standard-8 04:42:03 INFO: Archiving Costs [Pipeline] sh 04:42:03 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 04:42:03 + cut -d, -f6 [Pipeline] lock 04:42:03 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-100-stack-cost] 04:42:03 Resource [jenkins-edgexfoundry-device-rest-go-main-100-stack-cost] did not exist. Created. 04:42:03 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-100-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:42:03 + echo total: 0.2199999988079071 [Pipeline] stash 04:42:03 Stashed 1 file(s) [Pipeline] } 04:42:03 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-100-stack-cost] [Pipeline] // lock [Pipeline] } 04:42:03 $ docker stop --time=1 9ba0c05dad20b63490839ec738a1b0ec1cd2afc62d4f0e3baedd08a7c6b59b5b 04:42:05 $ docker rm -f --volumes 9ba0c05dad20b63490839ec738a1b0ec1cd2afc62d4f0e3baedd08a7c6b59b5b [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 04:42:12 Running on prd-ubuntu20.04-docker-arm64-4c-16g-8859 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 04:42:12 Running in /w/workspace/device-rest-go/100 [Pipeline] { [Pipeline] checkout 04:42:12 The recommended git tool is: git 04:42:17 using credential edgex-jenkins-ssh 04:42:17 Cloning the remote Git repository 04:42:17 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 04:42:17 > git init /w/workspace/device-rest-go/100 # timeout=10 04:42:17 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 04:42:17 > git --version # timeout=10 04:42:17 > git --version # 'git version 2.25.1' 04:42:17 using GIT_SSH to set credentials SSH Credentials for GitHub 04:42:17 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 04:42:20 Avoid second fetch 04:42:20 Checking out Revision 0c5eec98d3be44e3458d60972803f48ebbd423fa (main) 04:42:19 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 04:42:19 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 04:42:20 > git config core.sparsecheckout # timeout=10 04:42:20 > git checkout -f 0c5eec98d3be44e3458d60972803f48ebbd423fa # timeout=10 04:42:21 Commit message: "Merge pull request #293 from hahattan/bump-sdk" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 04:42:22 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 04:42:22 % Total % Received % Xferd Average Speed Time Time Time Current 04:42:22 Dload Upload Total Spent Left Speed 04:42:22 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 100k 0 --:--:-- --:--:-- --:--:-- 101k [Pipeline] sh 04:42:22 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 04:42:23 + sudo tee /etc/docker/daemon.new+ 04:42:23 sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 04:42:23 { 04:42:23 "registry-mirrors": [ 04:42:23 "https://nexus3.edgexfoundry.org:10001" 04:42:23 ], 04:42:23 "bip": "10.250.0.254/24", 04:42:23 "hosts": [ 04:42:23 "tcp://0.0.0.0:5555", 04:42:23 "unix:///var/run/docker.sock" 04:42:23 ], 04:42:23 "mtu": 1458, 04:42:23 "selinux-enabled": true, 04:42:23 "seccomp-profile": "/etc/docker/seccomp.json" 04:42:23 } [Pipeline] sh 04:42:23 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 04:42:23 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:42:42 provisioning config files... 04:42:42 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/100@tmp/config16706221137407955250tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:42:42 ---> docker-login.sh 04:42:42 nexus3.edgexfoundry.org:10001 04:42:42 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:42:43 Configure a credential helper to remove this warning. See 04:42:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:42:43 04:42:43 Login Succeeded 04:42:43 nexus3.edgexfoundry.org:10002 04:42:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:42:43 Configure a credential helper to remove this warning. See 04:42:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:42:43 04:42:43 Login Succeeded 04:42:43 nexus3.edgexfoundry.org:10003 04:42:43 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:43 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:42:43 Configure a credential helper to remove this warning. See 04:42:43 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:42:43 04:42:43 Login Succeeded 04:42:43 nexus3.edgexfoundry.org:10004 04:42:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:42:44 Configure a credential helper to remove this warning. See 04:42:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:42:44 04:42:44 Login Succeeded 04:42:44 docker.io 04:42:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:42:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:42:44 Configure a credential helper to remove this warning. See 04:42:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:42:44 04:42:44 Login Succeeded 04:42:44 ---> docker-login.sh ends [Pipeline] } 04:42:44 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 04:42:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:42:45 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:42:45 ========================================================= 04:42:45 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 04:42:45 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:42: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 . 04:42:45 Sending build context to Docker daemon 138.8kB 04:42:45 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 04:42:45 Step 2/12 : FROM ${BASE} AS builder 04:42:45 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 04:42:45 af6eaf76a39c: Pulling fs layer 04:42:45 55522c791124: Pulling fs layer 04:42:45 ce5c4a1c91eb: Pulling fs layer 04:42:45 169dfbe0d373: Pulling fs layer 04:42:45 e1ff8fa3b103: Pulling fs layer 04:42:45 52ebb69f0ebf: Pulling fs layer 04:42:45 5abe8eddf0d5: Pulling fs layer 04:42:45 169dfbe0d373: Waiting 04:42:45 e1ff8fa3b103: Waiting 04:42:45 52ebb69f0ebf: Waiting 04:42:45 5abe8eddf0d5: Waiting 04:42:46 55522c791124: Verifying Checksum 04:42:46 55522c791124: Download complete 04:42:46 169dfbe0d373: Download complete 04:42:46 e1ff8fa3b103: Verifying Checksum 04:42:46 e1ff8fa3b103: Download complete 04:42:46 af6eaf76a39c: Verifying Checksum 04:42:46 af6eaf76a39c: Download complete 04:42:47 af6eaf76a39c: Pull complete 04:42:47 5abe8eddf0d5: Verifying Checksum 04:42:47 5abe8eddf0d5: Download complete 04:42:47 55522c791124: Pull complete 04:42:48 ce5c4a1c91eb: Verifying Checksum 04:42:48 ce5c4a1c91eb: Download complete 04:42:48 52ebb69f0ebf: Verifying Checksum 04:42:48 52ebb69f0ebf: Download complete 04:43:01 ce5c4a1c91eb: Pull complete 04:43:01 169dfbe0d373: Pull complete 04:43:01 e1ff8fa3b103: Pull complete 04:43:06 52ebb69f0ebf: Pull complete 04:43:08 5abe8eddf0d5: Pull complete 04:43:08 Digest: sha256:978cc1420e451f27bd88fdeece3ad01a9109ec773b62f165dfc696fd516b3d8f 04:43:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 04:43:08 ---> 6cb57ee374ae 04:43:08 Step 3/12 : ARG ADD_BUILD_TAGS="" 04:43:10 ---> Running in 66c3868c96c4 04:43:10 Removing intermediate container 66c3868c96c4 04:43:10 ---> 5500e91df753 04:43:10 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:43:10 ---> Running in 80c15fa3015c 04:43:10 Removing intermediate container 80c15fa3015c 04:43:10 ---> 8fde659600d8 04:43:10 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:43:10 ---> Running in 95a081936422 04:43:11 Removing intermediate container 95a081936422 04:43:11 ---> 736b428ff711 04:43:11 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 04:43:11 ---> Running in 25b2e0509240 04:43:11 Removing intermediate container 25b2e0509240 04:43:11 ---> 1f0857557133 04:43:11 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:43:11 ---> Running in 0cb86db6bf15 04:43:12 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:43:13 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:43:14 (1/4) Installing openssh-keygen (9.1_p1-r2) 04:43:14 (2/4) Installing libedit (20221030.3.1-r0) 04:43:14 (3/4) Installing openssh-client-common (9.1_p1-r2) 04:43:14 (4/4) Installing openssh-client-default (9.1_p1-r2) 04:43:14 Executing busybox-1.35.0-r29.trigger 04:43:14 OK: 268 MiB in 57 packages 04:43:15 Removing intermediate container 0cb86db6bf15 04:43:15 ---> 42ed19d8fe2e 04:43:15 Step 8/12 : WORKDIR /device-rest-go 04:43:15 ---> Running in 83a4fc0ccfc4 04:43:15 Removing intermediate container 83a4fc0ccfc4 04:43:15 ---> b5edce62e2ca 04:43:15 Step 9/12 : COPY go.mod vendor* ./ 04:43:20 ---> 775c592de4c4 04:43:20 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:43:20 ---> Running in f3f8b93dee3d 04:44:28 Removing intermediate container f3f8b93dee3d 04:44:28 ---> 44ad347386e5 04:44:28 Step 11/12 : COPY . . 04:44:28 ---> a68bcd797144 04:44:28 Step 12/12 : RUN $MAKE 04:44:28 ---> Running in 18a6b88cb036 04:44:28 noop 04:44:28 Removing intermediate container 18a6b88cb036 04:44:28 ---> 20c13896071c 04:44:28 Successfully built 20c13896071c 04:44:28 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:44:28 + docker inspect -f . ci-base-image-arm64 04:44:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:44:28 prd-ubuntu20.04-docker-arm64-4c-16g-8859 does not seem to be running inside a container 04:44:28 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/100 -v /w/workspace/device-rest-go/100:/w/workspace/device-rest-go/100:rw,z -v /w/workspace/device-rest-go/100@tmp:/w/workspace/device-rest-go/100@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 04:44:29 $ docker top cc6927980913d185842c0c13d9dcb902ec0b7c2da4233a3840c80104567140d4 -eo pid,comm [Pipeline] { [Pipeline] sh 04:44:30 + go version 04:44:30 go version go1.20.2 linux/arm64 [Pipeline] } 04:44:30 $ docker stop --time=1 cc6927980913d185842c0c13d9dcb902ec0b7c2da4233a3840c80104567140d4 04:44:32 $ docker rm -f --volumes cc6927980913d185842c0c13d9dcb902ec0b7c2da4233a3840c80104567140d4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:44:32 + docker inspect -f . ci-base-image-arm64 04:44:32 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:44:32 prd-ubuntu20.04-docker-arm64-4c-16g-8859 does not seem to be running inside a container 04:44:33 $ 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/100 -v /w/workspace/device-rest-go/100:/w/workspace/device-rest-go/100:rw,z -v /w/workspace/device-rest-go/100@tmp:/w/workspace/device-rest-go/100@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 04:44:34 $ docker top 2facc637d02bdac397c1146201adb1e37da51ee6da52df991c32b0c4ba38896e -eo pid,comm [Pipeline] { [Pipeline] sh 04:44:34 + git config --global --add safe.directory /w/workspace/device-rest-go/100 [Pipeline] fileExists [Pipeline] sh 04:44:35 + make test 04:44:35 go test ./... -coverprofile=coverage.out ./... 04:45:04 ? github.com/edgexfoundry/device-rest-go [no test files] 04:46:58 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 04:46:58 ok github.com/edgexfoundry/device-rest-go/driver 0.063s coverage: 32.2% of statements 04:46:58 WARNING: Linting skipped (not on x86_64 or linter not installed) 04:46:58 go vet ./... 04:47:30 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 04:47:30 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 04:47:30 ./bin/test-attribution-txt.sh [Pipeline] echo 04:47:30 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 04:47:30 $ docker stop --time=1 2facc637d02bdac397c1146201adb1e37da51ee6da52df991c32b0c4ba38896e 04:47:32 $ docker rm -f --volumes 2facc637d02bdac397c1146201adb1e37da51ee6da52df991c32b0c4ba38896e [Pipeline] // withDockerContainer [Pipeline] sh 04:47:34 + sudo chown -R jenkins:jenkins . [Pipeline] stash 04:47:34 Warning: overwriting stash ‘coverage-report’ 04:47:34 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 04:47:35 + sudo chown -R jenkins:jenkins . [Pipeline] sh 04:47:35 + ls -al . 04:47:35 total 180 04:47:35 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 04:44 . 04:47:35 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 04:42 .. 04:47:35 -rw-rw-r-- 1 jenkins jenkins 151 Apr 18 04:42 .dockerignore 04:47:35 drwxrwxr-x 8 jenkins jenkins 4096 Apr 18 04:42 .git 04:47:35 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 04:42 .github 04:47:35 -rw-rw-r-- 1 jenkins jenkins 329 Apr 18 04:42 .gitignore 04:47:35 -rw-rw-r-- 1 jenkins jenkins 41 Apr 18 04:42 .golangci.yml 04:47:35 -rw-rw-r-- 1 jenkins jenkins 9331 Apr 18 04:42 Attribution.txt 04:47:35 -rw-rw-r-- 1 jenkins jenkins 13085 Apr 18 04:42 CHANGELOG.md 04:47:35 -rw-rw-r-- 1 jenkins jenkins 1578 Apr 18 04:42 Dockerfile 04:47:35 -rw-rw-r-- 1 jenkins jenkins 677 Apr 18 04:42 GOVERNANCE.md 04:47:35 -rw-rw-r-- 1 jenkins jenkins 680 Apr 18 04:42 Jenkinsfile 04:47:35 -rw-rw-r-- 1 jenkins jenkins 11340 Apr 18 04:42 LICENSE 04:47:35 -rw-rw-r-- 1 jenkins jenkins 1779 Apr 18 04:42 Makefile 04:47:35 -rw-rw-r-- 1 jenkins jenkins 620 Apr 18 04:42 OWNERS.md 04:47:35 -rw-rw-r-- 1 jenkins jenkins 15321 Apr 18 04:42 README.md 04:47:35 -rw-rw-r-- 1 jenkins jenkins 12 Apr 18 04:40 VERSION 04:47:35 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 04:42 bin 04:47:35 drwxrwxr-x 3 jenkins jenkins 4096 Apr 18 04:42 cmd 04:47:35 -rw-r--r-- 1 jenkins jenkins 14663 Apr 18 04:46 coverage.out 04:47:35 drwxrwxr-x 2 jenkins jenkins 4096 Apr 18 04:42 driver 04:47:35 -rw-rw-r-- 1 jenkins jenkins 3402 Apr 18 04:42 go.mod 04:47:35 -rw-rw-r-- 1 jenkins jenkins 31553 Apr 18 04:42 go.sum 04:47:35 drwxrwxr-x 4 jenkins jenkins 4096 Apr 18 04:42 snap 04:47:35 -rw-rw-r-- 1 jenkins jenkins 713 Apr 18 04:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:47:36 + 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=0c5eec98d3be44e3458d60972803f48ebbd423fa --label arch=arm64 --label version=3.0.0-dev.28 . 04:47:36 Sending build context to Docker daemon 154.1kB 04:47:37 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 04:47:37 Step 2/25 : FROM ${BASE} AS builder 04:47:37 ---> 20c13896071c 04:47:37 Step 3/25 : ARG ADD_BUILD_TAGS="" 04:47:37 ---> Running in 223ff46f5f1a 04:47:37 Removing intermediate container 223ff46f5f1a 04:47:37 ---> 8806c88ab66d 04:47:37 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 04:47:37 ---> Running in 21c5d9bad357 04:47:39 Removing intermediate container 21c5d9bad357 04:47:39 ---> dd062c2335ad 04:47:39 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 04:47:39 ---> Running in 4c4a3d0837cd 04:47:39 Removing intermediate container 4c4a3d0837cd 04:47:39 ---> 1fd4c0e18c05 04:47:39 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 04:47:39 ---> Running in 3067fc2f7fcc 04:47:40 Removing intermediate container 3067fc2f7fcc 04:47:40 ---> 0dfe098edcdf 04:47:40 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 04:47:40 ---> Running in 1194bc90dcba 04:47:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:47:41 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:47:43 OK: 268 MiB in 57 packages 04:47:43 Removing intermediate container 1194bc90dcba 04:47:43 ---> 0c319aafd431 04:47:43 Step 8/25 : WORKDIR /device-rest-go 04:47:44 ---> Running in 52285a5af9d6 04:47:44 Removing intermediate container 52285a5af9d6 04:47:44 ---> 14bdbba55d60 04:47:44 Step 9/25 : COPY go.mod vendor* ./ 04:47:46 ---> c7c614e8300d 04:47:46 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 04:47:46 ---> Running in 42f973d78a24 04:47:48 Removing intermediate container 42f973d78a24 04:47:48 ---> 9f2c2f197648 04:47:48 Step 11/25 : COPY . . 04:47:49 ---> 3041c3403c81 04:47:49 Step 12/25 : RUN $MAKE 04:47:49 ---> Running in b5f7b3ba4e1c 04:47:50 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.28" -trimpath -mod=readonly -o cmd/device-rest ./cmd 04:49:57 Removing intermediate container b5f7b3ba4e1c 04:49:57 ---> 7545920f797a 04:49:57 Step 13/25 : FROM alpine:3.17 04:49:57 3.17: Pulling from library/alpine 04:49:57 c41833b44d91: Pulling fs layer 04:49:57 c41833b44d91: Verifying Checksum 04:49:57 c41833b44d91: Download complete 04:49:57 c41833b44d91: Pull complete 04:49:57 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 04:49:57 Status: Downloaded newer image for alpine:3.17 04:49:57 ---> 51e60588ff2c 04:49:57 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 04:49:57 ---> Running in 66e26e2f401c 04:49:57 Removing intermediate container 66e26e2f401c 04:49:57 ---> 4bff34747ec7 04:49:57 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 04:49:57 ---> Running in 1660438440bf 04:49:57 Removing intermediate container 1660438440bf 04:49:57 ---> e67bb5478730 04:49:57 Step 16/25 : RUN apk add --update --no-cache dumb-init 04:49:57 ---> Running in fe05a0c17070 04:49:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 04:49:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 04:49:57 (1/1) Installing dumb-init (1.2.5-r2) 04:49:57 Executing busybox-1.35.0-r29.trigger 04:49:57 OK: 8 MiB in 16 packages 04:49:58 Removing intermediate container fe05a0c17070 04:49:58 ---> f72be9a1e017 04:49:58 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 04:49:59 ---> 0f034579025f 04:49:59 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 04:50:00 ---> 744edf315732 04:50:00 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 04:50:00 ---> 1c9cfd1a9093 04:50:00 Step 20/25 : EXPOSE 59986 04:50:00 ---> Running in b7cfa3e8c23d 04:50:01 Removing intermediate container b7cfa3e8c23d 04:50:01 ---> 92e0b2c8e0a5 04:50:01 Step 21/25 : ENTRYPOINT ["/device-rest"] 04:50:01 ---> Running in b4790e9b56ce 04:50:01 Removing intermediate container b4790e9b56ce 04:50:01 ---> 17a20e96234f 04:50:01 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 04:50:01 ---> Running in 26b72da0c077 04:50:01 Removing intermediate container 26b72da0c077 04:50:01 ---> 0bc935dc2aa3 04:50:01 Step 23/25 : LABEL arch=arm64 04:50:01 ---> Running in f3e2950032f3 04:50:02 Removing intermediate container f3e2950032f3 04:50:02 ---> 12fc00cde178 04:50:02 Step 24/25 : LABEL git_sha=0c5eec98d3be44e3458d60972803f48ebbd423fa 04:50:02 ---> Running in a5bc1c17d239 04:50:02 Removing intermediate container a5bc1c17d239 04:50:02 ---> 2aaebfdb8e40 04:50:02 Step 25/25 : LABEL version=3.0.0-dev.28 04:50:02 ---> Running in fd992dd286f8 04:50:02 Removing intermediate container fd992dd286f8 04:50:02 ---> 8c9bcd4e936d 04:50:02 [Warning] One or more build-args [ARCH] were not consumed 04:50:02 Successfully built 8c9bcd4e936d 04:50:02 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 04:50:03 provisioning config files... 04:50:03 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/100@tmp/config10356359621381749184tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:50:03 ---> docker-login.sh 04:50:03 nexus3.edgexfoundry.org:10001 04:50:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:03 Configure a credential helper to remove this warning. See 04:50:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:03 04:50:03 Login Succeeded 04:50:03 nexus3.edgexfoundry.org:10002 04:50:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:03 Configure a credential helper to remove this warning. See 04:50:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:03 04:50:03 Login Succeeded 04:50:03 nexus3.edgexfoundry.org:10003 04:50:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:04 Configure a credential helper to remove this warning. See 04:50:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:04 04:50:04 Login Succeeded 04:50:04 nexus3.edgexfoundry.org:10004 04:50:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:04 Configure a credential helper to remove this warning. See 04:50:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:04 04:50:04 Login Succeeded 04:50:04 docker.io 04:50:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 04:50:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 04:50:05 Configure a credential helper to remove this warning. See 04:50:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 04:50:05 04:50:05 Login Succeeded 04:50:05 ---> docker-login.sh ends [Pipeline] } 04:50:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:50:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 04:50:05 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 04:50:05 0c5eec98d3be44e3458d60972803f48ebbd423fa 04:50:05 latest 04:50:05 3.0.0-dev.28 04:50:05 0c5eec98d3be44e3458d60972803f48ebbd423fa-3.0.0-dev.28 04:50:05 main 04:50:05 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:05 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:0c5eec98d3be44e3458d60972803f48ebbd423fa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:06 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:0c5eec98d3be44e3458d60972803f48ebbd423fa 04:50:06 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 04:50:06 a0e110cc6a4c: Preparing 04:50:06 ea843491382d: Preparing 04:50:06 8a495ca5a5b0: Preparing 04:50:06 7d2a64e01b59: Preparing 04:50:06 26cbea5cba74: Preparing 04:50:06 26cbea5cba74: Layer already exists 04:50:06 a0e110cc6a4c: Pushed 04:50:06 ea843491382d: Pushed 04:50:06 7d2a64e01b59: Pushed 04:50:11 8a495ca5a5b0: Pushed 04:50:11 0c5eec98d3be44e3458d60972803f48ebbd423fa: digest: sha256:5fa40742ffd3d85ba1d447d09017402e2c24b7a6317f6017ddc08ce4a817e0b4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:12 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:12 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 04:50:12 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 04:50:12 a0e110cc6a4c: Preparing 04:50:12 ea843491382d: Preparing 04:50:12 8a495ca5a5b0: Preparing 04:50:12 7d2a64e01b59: Preparing 04:50:12 26cbea5cba74: Preparing 04:50:12 26cbea5cba74: Layer already exists 04:50:12 7d2a64e01b59: Layer already exists 04:50:12 8a495ca5a5b0: Layer already exists 04:50:12 ea843491382d: Layer already exists 04:50:12 a0e110cc6a4c: Layer already exists 04:50:12 latest: digest: sha256:5fa40742ffd3d85ba1d447d09017402e2c24b7a6317f6017ddc08ce4a817e0b4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:12 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:13 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.28 04:50:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 04:50:13 a0e110cc6a4c: Preparing 04:50:13 ea843491382d: Preparing 04:50:13 8a495ca5a5b0: Preparing 04:50:13 7d2a64e01b59: Preparing 04:50:13 26cbea5cba74: Preparing 04:50:13 26cbea5cba74: Layer already exists 04:50:13 8a495ca5a5b0: Layer already exists 04:50:13 7d2a64e01b59: Layer already exists 04:50:13 ea843491382d: Layer already exists 04:50:13 a0e110cc6a4c: Layer already exists 04:50:13 3.0.0-dev.28: digest: sha256:5fa40742ffd3d85ba1d447d09017402e2c24b7a6317f6017ddc08ce4a817e0b4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:13 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:0c5eec98d3be44e3458d60972803f48ebbd423fa-3.0.0-dev.28 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:13 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:0c5eec98d3be44e3458d60972803f48ebbd423fa-3.0.0-dev.28 04:50:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 04:50:13 a0e110cc6a4c: Preparing 04:50:13 ea843491382d: Preparing 04:50:13 8a495ca5a5b0: Preparing 04:50:13 7d2a64e01b59: Preparing 04:50:13 26cbea5cba74: Preparing 04:50:13 7d2a64e01b59: Layer already exists 04:50:13 26cbea5cba74: Layer already exists 04:50:13 8a495ca5a5b0: Layer already exists 04:50:13 ea843491382d: Layer already exists 04:50:13 a0e110cc6a4c: Layer already exists 04:50:13 0c5eec98d3be44e3458d60972803f48ebbd423fa-3.0.0-dev.28: digest: sha256:5fa40742ffd3d85ba1d447d09017402e2c24b7a6317f6017ddc08ce4a817e0b4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:14 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:14 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 04:50:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 04:50:14 a0e110cc6a4c: Preparing 04:50:14 ea843491382d: Preparing 04:50:14 8a495ca5a5b0: Preparing 04:50:14 7d2a64e01b59: Preparing 04:50:14 26cbea5cba74: Preparing 04:50:14 7d2a64e01b59: Layer already exists 04:50:14 ea843491382d: Layer already exists 04:50:14 8a495ca5a5b0: Layer already exists 04:50:14 a0e110cc6a4c: Layer already exists 04:50:14 26cbea5cba74: Layer already exists 04:50:14 main: digest: sha256:5fa40742ffd3d85ba1d447d09017402e2c24b7a6317f6017ddc08ce4a817e0b4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 04:50:14 ===================================================== [Pipeline] echo 04:50:14 taggedImages: 04:50:14 - nexus3.edgexfoundry.org:10004/device-rest-arm64:0c5eec98d3be44e3458d60972803f48ebbd423fa 04:50:14 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 04:50:14 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.28 04:50:14 - nexus3.edgexfoundry.org:10004/device-rest-arm64:0c5eec98d3be44e3458d60972803f48ebbd423fa-3.0.0-dev.28 04:50:14 - 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 04:50:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:50:14 04:50:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:50:15 arm64: Pulling from edgex-lftools-log-publisher 04:50:15 8998bd30e6a1: Pulling fs layer 04:50:15 04944245beec: Pulling fs layer 04:50:15 699f458cf7ca: Pulling fs layer 04:50:15 765212b225bb: Pulling fs layer 04:50:15 f23df028b6ca: Pulling fs layer 04:50:15 d65c8cfc05b1: Pulling fs layer 04:50:15 2437ff75d9bd: Pulling fs layer 04:50:15 f23df028b6ca: Waiting 04:50:15 765212b225bb: Waiting 04:50:15 d65c8cfc05b1: Waiting 04:50:15 2437ff75d9bd: Waiting 04:50:15 04944245beec: Verifying Checksum 04:50:15 04944245beec: Download complete 04:50:15 765212b225bb: Verifying Checksum 04:50:15 765212b225bb: Download complete 04:50:15 f23df028b6ca: Download complete 04:50:15 d65c8cfc05b1: Verifying Checksum 04:50:15 d65c8cfc05b1: Download complete 04:50:15 699f458cf7ca: Verifying Checksum 04:50:15 699f458cf7ca: Download complete 04:50:15 8998bd30e6a1: Download complete 04:50:18 2437ff75d9bd: Verifying Checksum 04:50:18 2437ff75d9bd: Download complete 04:50:19 8998bd30e6a1: Pull complete 04:50:20 04944245beec: Pull complete 04:50:21 699f458cf7ca: Pull complete 04:50:21 765212b225bb: Pull complete 04:50:22 f23df028b6ca: Pull complete 04:50:22 d65c8cfc05b1: Pull complete 04:50:37 2437ff75d9bd: Pull complete 04:50:37 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 04:50:37 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 04:50:37 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:50:38 prd-ubuntu20.04-docker-arm64-4c-16g-8859 does not seem to be running inside a container 04:50:38 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/100 -v /w/workspace/device-rest-go/100:/w/workspace/device-rest-go/100:rw,z -v /w/workspace/device-rest-go/100@tmp:/w/workspace/device-rest-go/100@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 04:50:40 $ docker top 2ff7bd017f6a113ec7bca49c1e7a89b13b0a96a7d9a363bcf22f6e40eb870db5 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 04:50:41 ---> job-cost.sh 04:50:41 lf-activate-venv: SKIPPING 04:50:41 INFO: No Stack... 04:50:42 INFO: Retrieving Pricing Info for: v3-standard-4 04:50:42 INFO: Archiving Costs [Pipeline] sh 04:50:43 + + cutcat -d, /w/workspace/device-rest-go/100/archives/cost.csv -f6 04:50:43 [Pipeline] lock 04:50:43 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-100-stack-cost] 04:50:43 Resource [jenkins-edgexfoundry-device-rest-go-main-100-stack-cost] did not exist. Created. 04:50:43 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-100-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 04:50:43 /w/workspace/device-rest-go/100@tmp/durable-57e2a64a/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 04:50:44 + echo total: 0.10999999940395355 [Pipeline] stash 04:50:44 Warning: overwriting stash ‘stack-cost’ 04:50:44 Stashed 1 file(s) [Pipeline] } 04:50:44 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-100-stack-cost] [Pipeline] // lock [Pipeline] } 04:50:44 $ docker stop --time=1 2ff7bd017f6a113ec7bca49c1e7a89b13b0a96a7d9a363bcf22f6e40eb870db5 04:50:45 $ docker rm -f --volumes 2ff7bd017f6a113ec7bca49c1e7a89b13b0a96a7d9a363bcf22f6e40eb870db5 [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 04:50:46 provisioning config files... 04:50:46 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9109980852993540692tmp [Pipeline] { [Pipeline] sh 04:50:46 + set +x 04:50:46 + curl -s https://codecov.io/bash 04:50:46 + bash -s -- 04:50:46 04:50:46 _____ _ 04:50:46 / ____| | | 04:50:46 | | ___ __| | ___ ___ _____ __ 04:50:46 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 04:50:46 | |___| (_) | (_| | __/ (_| (_) \ V / 04:50:46 \_____\___/ \__,_|\___|\___\___/ \_/ 04:50:46 Bash-1.0.6 04:50:46 04:50:46 04:50:46 ==> git version 2.25.1 found 04:50:46 ==> 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 04:50:46 Release-Date: 2020-01-08 04:50:46 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 04:50:46 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 04:50:46 ==> Jenkins CI detected. 04:50:46 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 04:50:46 project root: . 04:50:46 --> token set from env 04:50:46 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 04:50:46 ==> Running gcov in . (disable via -X gcov) 04:50:46 ==> Python coveragepy not found 04:50:46 ==> Searching for coverage reports in: 04:50:46 + . 04:50:46 -> Found 1 reports 04:50:46 ==> Detecting git/mercurial file structure 04:50:46 ==> Reading reports 04:50:46 + ./coverage.out bytes=14663 04:50:46 ==> Appending adjustments 04:50:46 https://docs.codecov.io/docs/fixing-reports 04:50:46 + Found adjustments 04:50:46 ==> Gzipping contents 04:50:46 4.0K /tmp/codecov.GpL6Oq.gz 04:50:46 ==> Uploading reports 04:50:46 url: https://codecov.io 04:50:46 query: branch=main&commit=0c5eec98d3be44e3458d60972803f48ebbd423fa&build=100&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F100%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:50:46 -> Pinging Codecov 04:50:46 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=0c5eec98d3be44e3458d60972803f48ebbd423fa&build=100&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F100%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 04:50:47 -> Uploading to 04:50:47 https://storage.googleapis.com/codecov/v4/raw/2023-04-18/4E5D53B4F1F92C436F7061BF334D961C/0c5eec98d3be44e3458d60972803f48ebbd423fa/ff8d9413-8415-417d-a0a4-24b3d4a09847.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230418%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230418T045046Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=a3ef3f22d7531daa155bb3eb8c741c9d5d1da92bc6596a32f753a79a56b1439a 04:50:47 % Total % Received % Xferd Average Speed Time Time Time Current 04:50:47 Dload Upload Total Spent Left Speed 04:50:47 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 10546 --:--:-- --:--:-- --:--:-- 10546 04:50:47 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/0c5eec98d3be44e3458d60972803f48ebbd423fa [Pipeline] } 04:50:47 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 04:50:47 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 04:50:47 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:50:47 04:50:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:50:48 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:50:48 1.410.4: Pulling from edgex-devops/edgex-snyk-go 04:50:48 df9b9388f04a: Pulling fs layer 04:50:48 52dc419b0ee2: Pulling fs layer 04:50:48 25bc292e5bac: Pulling fs layer 04:50:48 114826534d7a: Pulling fs layer 04:50:48 4657fd5d0bcf: Pulling fs layer 04:50:48 6ad1cebc031e: Pulling fs layer 04:50:48 8a3aa393b2d8: Pulling fs layer 04:50:48 114826534d7a: Waiting 04:50:48 4657fd5d0bcf: Waiting 04:50:48 6ad1cebc031e: Waiting 04:50:48 8a3aa393b2d8: Waiting 04:50:48 25bc292e5bac: Verifying Checksum 04:50:48 25bc292e5bac: Download complete 04:50:48 52dc419b0ee2: Verifying Checksum 04:50:48 52dc419b0ee2: Download complete 04:50:48 4657fd5d0bcf: Verifying Checksum 04:50:48 4657fd5d0bcf: Download complete 04:50:48 df9b9388f04a: Verifying Checksum 04:50:48 df9b9388f04a: Pull complete 04:50:48 6ad1cebc031e: Verifying Checksum 04:50:48 6ad1cebc031e: Download complete 04:50:48 52dc419b0ee2: Pull complete 04:50:48 25bc292e5bac: Pull complete 04:50:48 114826534d7a: Verifying Checksum 04:50:48 114826534d7a: Download complete 04:50:48 8a3aa393b2d8: Verifying Checksum 04:50:48 8a3aa393b2d8: Download complete 04:50:52 114826534d7a: Pull complete 04:50:52 4657fd5d0bcf: Pull complete 04:50:52 6ad1cebc031e: Pull complete 04:50:55 8a3aa393b2d8: Pull complete 04:50:55 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 04:50:55 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 04:50:55 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:50:55 prd-ubuntu20.04-docker-8c-8g-8857 does not seem to be running inside a container 04:50:55 $ 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 04:50:57 $ docker top feb1a4a726636dc978935ff5bf533adf168dd9c65f89e59588116ecd4435c492 -eo pid,comm [Pipeline] { [Pipeline] echo 04:50:57 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 04:50:57 + set -o pipefail 04:50:57 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 04:51:01 04:51:01 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 04:51:01 04:51:01 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/4479fc21-0841-4311-8295-233ba4aa637a 04:51:01 04:51:01 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 04:51:01 04:51:01 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 04:51:01 04:51:01 04:51:01 A medium severity vulnerability was found in the Snyk CLI versions you are using. 04:51:01 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 04:51:01 More details here: https://snyk.co/ue1NS [Pipeline] } 04:51:01 $ docker stop --time=1 feb1a4a726636dc978935ff5bf533adf168dd9c65f89e59588116ecd4435c492 04:51:03 $ docker rm -f --volumes feb1a4a726636dc978935ff5bf533adf168dd9c65f89e59588116ecd4435c492 [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 04:51:04 + git log --format=format:%s -1 0c5eec98d3be44e3458d60972803f48ebbd423fa [Pipeline] sh 04:51:04 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:51:04 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:51:05 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:51:05 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:51:05 prd-ubuntu20.04-docker-8c-8g-8857 does not seem to be running inside a container 04:51:05 $ 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 04:51:05 $ docker top 2d99f25cfbc46c066bc3989b055c2a58d25a33cf36f8fa1ac930c296b55a273b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:51:05 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:51:05 [ssh-agent] Looking for ssh-agent implementation... 04:51:05 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:51:05 $ docker exec 2d99f25cfbc46c066bc3989b055c2a58d25a33cf36f8fa1ac930c296b55a273b ssh-agent 04:51:05 SSH_AUTH_SOCK=/tmp/ssh-Q2KIOgjvmu7H/agent.32 04:51:05 SSH_AGENT_PID=38 04:51:05 Running ssh-add (command line suppressed) 04:51:05 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9643749527041640661.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9643749527041640661.key) 04:51:06 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:51:06 + git semver tag 04:51:06 2023-04-18 04:51:06,457 [run_tag] DEBUG tag force:False 04:51:06 2023-04-18 04:51:06,457 [check_head_tag] DEBUG check head tag 04:51:06 2023-04-18 04:51:06,458 [execute] INFO git cat-file --batch-check 04:51:06 2023-04-18 04:51:06,459 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 04:51:06 2023-04-18 04:51:06,462 [execute] INFO git cat-file --batch 04:51:06 2023-04-18 04:51:06,463 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 04:51:06 2023-04-18 04:51:06,483 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:51:06 2023-04-18 04:51:06,483 [execute] INFO git tag -a v3.0.0-dev.28 -m v3.0.0-dev.28 04:51:06 2023-04-18 04:51:06,483 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.28', '-m', 'v3.0.0-dev.28'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 04:51:06 2023-04-18 04:51:06,488 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:51:06 3.0.0-dev.28 [Pipeline] } 04:51:06 $ docker exec --env ******** --env ******** 2d99f25cfbc46c066bc3989b055c2a58d25a33cf36f8fa1ac930c296b55a273b ssh-agent -k 04:51:06 unset SSH_AUTH_SOCK; 04:51:06 unset SSH_AGENT_PID; 04:51:06 echo Agent pid 38 killed; 04:51:06 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:51:06 + git semver [Pipeline] } 04:51:07 $ docker stop --time=1 2d99f25cfbc46c066bc3989b055c2a58d25a33cf36f8fa1ac930c296b55a273b 04:51:08 $ docker rm -f --volumes 2d99f25cfbc46c066bc3989b055c2a58d25a33cf36f8fa1ac930c296b55a273b [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:51:08 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:51:08 04:51:08 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:51:09 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:51:09 0.23.1-centos7: Pulling from edgex-lftools 04:51:09 ab5ef0e58194: Pulling fs layer 04:51:09 9712f1f96733: Pulling fs layer 04:51:09 63f879dbbcfc: Pulling fs layer 04:51:09 0d9ebad4ef96: Pulling fs layer 04:51:09 e9a5061849ea: Pulling fs layer 04:51:09 d747dcd14b5f: Pulling fs layer 04:51:09 2de7ff778b66: Pulling fs layer 04:51:09 0d9ebad4ef96: Waiting 04:51:09 e9a5061849ea: Waiting 04:51:09 2de7ff778b66: Waiting 04:51:09 d747dcd14b5f: Waiting 04:51:09 9712f1f96733: Verifying Checksum 04:51:09 9712f1f96733: Download complete 04:51:09 63f879dbbcfc: Verifying Checksum 04:51:09 63f879dbbcfc: Download complete 04:51:09 0d9ebad4ef96: Verifying Checksum 04:51:09 0d9ebad4ef96: Download complete 04:51:09 e9a5061849ea: Verifying Checksum 04:51:09 e9a5061849ea: Download complete 04:51:09 d747dcd14b5f: Verifying Checksum 04:51:09 d747dcd14b5f: Download complete 04:51:09 ab5ef0e58194: Download complete 04:51:10 2de7ff778b66: Verifying Checksum 04:51:10 2de7ff778b66: Download complete 04:51:12 ab5ef0e58194: Pull complete 04:51:12 9712f1f96733: Pull complete 04:51:13 63f879dbbcfc: Pull complete 04:51:16 0d9ebad4ef96: Pull complete 04:51:16 e9a5061849ea: Pull complete 04:51:16 d747dcd14b5f: Pull complete 04:51:17 2de7ff778b66: Pull complete 04:51:17 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 04:51:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 04:51:17 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:51:17 prd-ubuntu20.04-docker-8c-8g-8857 does not seem to be running inside a container 04:51: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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat 04:51:19 $ docker top cd23186b11eac21ca78d510faa18d29d1217dfd455708ed57c364c62271999b1 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 04:51:19 provisioning config files... 04:51:19 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15755825198177866806tmp 04:51:19 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12055810664313365057tmp 04:51:19 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config79842544393284002tmp [Pipeline] { [Pipeline] echo 04:51:19 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 04:51:20 ---> sigul-configuration.sh 04:51:20 gpg: directory `/root/.gnupg' created 04:51:20 gpg: new configuration file `/root/.gnupg/gpg.conf' created 04:51:20 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 04:51:20 gpg: keyring `/root/.gnupg/secring.gpg' created 04:51:20 gpg: keyring `/root/.gnupg/pubring.gpg' created 04:51:20 gpg: CAST5 encrypted data 04:51:20 gpg: encrypted with 1 passphrase 04:51:20 gpg: WARNING: message was not integrity protected [Pipeline] sh 04:51:20 + mkdir /home/jenkins 04:51:20 + mkdir /home/jenkins/sigul [Pipeline] sh 04:51:20 + 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 04:51:20 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 04:51:20 ---> sigul-install.sh 04:51:20 Sigul already installed; skipping installation. [Pipeline] sh 04:51:21 + git tag --list 04:51:21 v1.0.0 04:51:21 v1.1.0 04:51:21 v1.1.1 04:51:21 v1.1.2 04:51:21 v1.2.0 04:51:21 v1.2.1 04:51:21 v2.0.0 04:51:21 v2.1.0 04:51:21 v2.1.1 04:51:21 v2.1.1-dev.1 04:51:21 v2.1.1-dev.2 04:51:21 v2.1.1-dev.3 04:51:21 v2.2.0 04:51:21 v2.2.1-dev.1 04:51:21 v2.2.1-dev.2 04:51:21 v2.2.1-dev.3 04:51:21 v2.2.1-dev.4 04:51:21 v2.2.1-dev.5 04:51:21 v2.2.1-dev.6 04:51:21 v2.2.1-dev.7 04:51:21 v2.2.1-dev.8 04:51:21 v2.2.1-dev.9 04:51:21 v2.3.0 04:51:21 v2.3.0-dev.10 04:51:21 v2.3.0-dev.11 04:51:21 v2.3.0-dev.12 04:51:21 v2.3.0-dev.13 04:51:21 v2.3.0-dev.14 04:51:21 v2.3.0-dev.15 04:51:21 v2.3.0-dev.16 04:51:21 v2.3.0-dev.17 04:51:21 v2.3.0-dev.18 04:51:21 v2.3.0-dev.19 04:51:21 v2.3.0-dev.20 04:51:21 v2.3.0-dev.21 04:51:21 v2.3.0-dev.22 04:51:21 v2.3.0-dev.23 04:51:21 v2.3.0-dev.24 04:51:21 v2.3.0-dev.25 04:51:21 v2.3.0-dev.9 04:51:21 v3.0.0-dev.1 04:51:21 v3.0.0-dev.10 04:51:21 v3.0.0-dev.11 04:51:21 v3.0.0-dev.12 04:51:21 v3.0.0-dev.13 04:51:21 v3.0.0-dev.14 04:51:21 v3.0.0-dev.15 04:51:21 v3.0.0-dev.16 04:51:21 v3.0.0-dev.17 04:51:21 v3.0.0-dev.18 04:51:21 v3.0.0-dev.19 04:51:21 v3.0.0-dev.2 04:51:21 v3.0.0-dev.20 04:51:21 v3.0.0-dev.21 04:51:21 v3.0.0-dev.22 04:51:21 v3.0.0-dev.23 04:51:21 v3.0.0-dev.24 04:51:21 v3.0.0-dev.25 04:51:21 v3.0.0-dev.26 04:51:21 v3.0.0-dev.27 04:51:21 v3.0.0-dev.28 04:51:21 v3.0.0-dev.3 04:51:21 v3.0.0-dev.4 04:51:21 v3.0.0-dev.5 04:51:21 v3.0.0-dev.6 04:51:21 v3.0.0-dev.7 04:51:21 v3.0.0-dev.8 04:51:21 v3.0.0-dev.9 [Pipeline] sh 04:51:21 + lftools sign git-tag v3.0.0-dev.28 04:51:22 Signing Git tag with Sigul... 04:51:22 Signing v3.0.0-dev.28 [Pipeline] echo 04:51:22 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 04:51:22 ---> sigul-configuration-cleanup.sh [Pipeline] } 04:51:22 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 04:51:22 $ docker stop --time=1 cd23186b11eac21ca78d510faa18d29d1217dfd455708ed57c364c62271999b1 04:51:23 $ docker rm -f --volumes cd23186b11eac21ca78d510faa18d29d1217dfd455708ed57c364c62271999b1 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 04:51:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:51:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:51:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:51:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:51:24 prd-ubuntu20.04-docker-8c-8g-8857 does not seem to be running inside a container 04:51:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 04:51:25 $ docker top fd9819af26f1d5fa757767588f243af1608f89e16511a7a73f585a9e506f227d -eo pid,comm 04:51:25 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). 04:51:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:51:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:51:25 [ssh-agent] Looking for ssh-agent implementation... 04:51:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:51:25 $ docker exec fd9819af26f1d5fa757767588f243af1608f89e16511a7a73f585a9e506f227d ssh-agent 04:51:25 SSH_AUTH_SOCK=/tmp/ssh-Vp13TtFca0iY/agent.32 04:51:25 SSH_AGENT_PID=38 04:51:25 Running ssh-add (command line suppressed) 04:51:25 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4172981533369860045.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4172981533369860045.key) 04:51:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:51:25 + git semver bump pre 04:51:26 2023-04-18 04:51:25,922 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:51:26 2023-04-18 04:51:25,922 [bump_version] DEBUG bumping version:3.0.0-dev.28 on axis:pre with prefix:dev 04:51:26 2023-04-18 04:51:25,922 [bump_version] DEBUG bumped version:3.0.0-dev.29 04:51:26 2023-04-18 04:51:25,922 [write_version] DEBUG write version:3.0.0-dev.29 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 04:51:26 2023-04-18 04:51:25,922 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:51:26 2023-04-18 04:51:25,922 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:51:26 2023-04-18 04:51:25,924 [execute] INFO git cat-file --batch-check 04:51:26 2023-04-18 04:51:25,924 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:51:26 2023-04-18 04:51:25,929 [execute] INFO git cat-file --batch 04:51:26 2023-04-18 04:51:25,929 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:51:26 2023-04-18 04:51:25,934 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:51:26 3.0.0-dev.29 [Pipeline] } 04:51:26 $ docker exec --env ******** --env ******** fd9819af26f1d5fa757767588f243af1608f89e16511a7a73f585a9e506f227d ssh-agent -k 04:51:26 unset SSH_AUTH_SOCK; 04:51:26 unset SSH_AGENT_PID; 04:51:26 echo Agent pid 38 killed; 04:51:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:51:26 + git semver [Pipeline] } 04:51:26 $ docker stop --time=1 fd9819af26f1d5fa757767588f243af1608f89e16511a7a73f585a9e506f227d 04:51:27 $ docker rm -f --volumes fd9819af26f1d5fa757767588f243af1608f89e16511a7a73f585a9e506f227d [Pipeline] // withDockerContainer [Pipeline] sh 04:51:28 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 04:51:28 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:51:28 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 04:51:28 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:51:28 prd-ubuntu20.04-docker-8c-8g-8857 does not seem to be running inside a container 04:51:28 $ 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 04:51:29 $ docker top 8a3339ea3a0ecf5727ba835cacfd9fa61e3c140e56fa723556eeeec23fcc03d8 -eo pid,comm 04:51:29 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). 04:51:29 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 04:51:29 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 04:51:29 [ssh-agent] Looking for ssh-agent implementation... 04:51:29 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 04:51:29 $ docker exec 8a3339ea3a0ecf5727ba835cacfd9fa61e3c140e56fa723556eeeec23fcc03d8 ssh-agent 04:51:29 SSH_AUTH_SOCK=/tmp/ssh-lUOMTfvqzOc9/agent.33 04:51:29 SSH_AGENT_PID=40 04:51:29 Running ssh-add (command line suppressed) 04:51:29 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14781507097649051410.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14781507097649051410.key) 04:51:29 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 04:51:29 + git semver push 04:51:30 2023-04-18 04:51:29,921 [run_push] DEBUG push 04:51:30 2023-04-18 04:51:29,922 [execute] INFO git cat-file --batch-check 04:51:30 2023-04-18 04:51:29,922 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 04:51:30 2023-04-18 04:51:29,925 [execute] INFO git rev-list 094faa7cd6c83e126e8191e3a2c011682b3aafcc -- 04:51:30 2023-04-18 04:51:29,925 [execute] DEBUG Popen(['git', 'rev-list', '094faa7cd6c83e126e8191e3a2c011682b3aafcc', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:51:30 2023-04-18 04:51:29,933 [execute] INFO git fetch -v origin 04:51:30 2023-04-18 04:51:29,933 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 04:51:30 2023-04-18 04:51:30,429 [run_push] DEBUG no remote changes detected 04:51:30 2023-04-18 04:51:30,429 [execute] INFO git push origin semver 04:51:30 2023-04-18 04:51:30,429 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 04:51:31 2023-04-18 04:51:31,166 [run_push] DEBUG push all version tags 04:51:31 2023-04-18 04:51:31,166 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 04:51:31 2023-04-18 04:51:31,167 [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) 04:51:32 2023-04-18 04:51:31,905 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 04:51:32 3.0.0-dev.29 [Pipeline] } 04:51:32 $ docker exec --env ******** --env ******** 8a3339ea3a0ecf5727ba835cacfd9fa61e3c140e56fa723556eeeec23fcc03d8 ssh-agent -k 04:51:32 unset SSH_AUTH_SOCK; 04:51:32 unset SSH_AGENT_PID; 04:51:32 echo Agent pid 40 killed; 04:51:32 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 04:51:32 + git semver [Pipeline] } 04:51:32 $ docker stop --time=1 8a3339ea3a0ecf5727ba835cacfd9fa61e3c140e56fa723556eeeec23fcc03d8 04:51:34 $ docker rm -f --volumes 8a3339ea3a0ecf5727ba835cacfd9fa61e3c140e56fa723556eeeec23fcc03d8 [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 04:51:34 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 04:51:34 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 04:51:34 total 16 04:51:34 drwxr-xr-x 3 root root 4096 Apr 18 04:42 . 04:51:34 drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 04:51 .. 04:51:34 drwxr-xr-x 2 root root 4096 Apr 18 04:42 cost 04:51:34 -rw-r--r-- 1 root root 86 Apr 18 04:42 cost.csv 04:51:34 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 04:51:34 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 04:51:34 total 16 04:51:34 drwxr-xr-x 3 jenkins jenkins 4096 Apr 18 04:42 . 04:51:34 drwxrwxr-x 10 jenkins jenkins 4096 Apr 18 04:51 .. 04:51:34 drwxr-xr-x 2 jenkins jenkins 4096 Apr 18 04:42 cost 04:51:34 -rw-r--r-- 1 jenkins jenkins 86 Apr 18 04:42 cost.csv [Pipeline] libraryResource [Pipeline] sh 04:51:34 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 04:51:35 ---> package-listing.sh 04:51:35 ++ facter osfamily 04:51:35 ++ tr '[:upper:]' '[:lower:]' 04:51:35 + OS_FAMILY=debian 04:51:35 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 04:51:35 + START_PACKAGES=/tmp/packages_start.txt 04:51:35 + END_PACKAGES=/tmp/packages_end.txt 04:51:35 + DIFF_PACKAGES=/tmp/packages_diff.txt 04:51:35 + PACKAGES=/tmp/packages_start.txt 04:51:35 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 04:51:35 + PACKAGES=/tmp/packages_end.txt 04:51:35 + case "${OS_FAMILY}" in 04:51:35 + dpkg -l 04:51:35 + grep '^ii' 04:51:35 + '[' -f /tmp/packages_start.txt ']' 04:51:35 + '[' -f /tmp/packages_end.txt ']' 04:51:35 + diff /tmp/packages_start.txt /tmp/packages_end.txt 04:51:35 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 04:51:35 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 04:51:35 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 04:51:36 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 04:51:36 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 04:51:36 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 04:51:36 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 04:51:37 prd-ubuntu20.04-docker-8c-8g-8857 does not seem to be running inside a container 04:51:37 $ 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 04:51:37 $ docker top 37843a59ac4d7d148a607e89317eb1075870b20ca14605ca4ce45613f0879ee1 -eo pid,comm [Pipeline] { [Pipeline] sh 04:51:37 + touch /tmp/pre-build-complete [Pipeline] sh 04:51:37 + mkdir -p /var/log/sysstat [Pipeline] sh 04:51:38 + ls /var/log/sa-host 04:51:38 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 04:51:38 provisioning config files... 04:51:38 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config156013100608473884tmp [Pipeline] { [Pipeline] echo 04:51:38 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 04:51:38 ---> create-netrc.sh [Pipeline] } 04:51:38 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 04:51:38 ---> python-tools-install.sh [Pipeline] echo 04:51:38 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 04:51:39 ---> sudo-logs.sh 04:51:39 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 04:51:39 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 04:51:39 ---> job-cost.sh 04:51:39 lf-activate-venv: SKIPPING 04:51:39 DEBUG: total: 0.2199999988079071 04:51:39 INFO: Retrieving Stack Cost... 04:51:40 INFO: Retrieving Pricing Info for: v3-standard-8 04:51:40 INFO: Archiving Costs [Pipeline] echo 04:51:40 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 04:51:40 ---> logs-deploy.sh 04:51:40 lf-activate-venv: SKIPPING 04:51:40 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/100 04:51:40 INFO: archiving workspace using pattern(s): 04:51:41 Archives upload complete. 04:51:41 INFO: archiving logs to Nexus