Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from c1a1e2764950d18ca7a23f7abac7d306f95fa84d 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-ssh323216915647960598.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-ssh9843668183463416299.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-ssh3163418203419898896.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-ssh10788802851222667163.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-ssh16040426540708134167.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-12625 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 c1a1e2764950d18ca7a23f7abac7d306f95fa84d (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#306)" > 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 c1a1e2764950d18ca7a23f7abac7d306f95fa84d # timeout=10 > git rev-list --no-walk cba6ba485dc6694309bacf8d506d636ea079fc31 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 21:21:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 21:21:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 21:21:09 ========================================================= 21:21:09 EdgeX Global Pipelines Version Info 21:21:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 21:21:09 ------------------- 21:21:09 stable info: 21:21:09 ------------------- 21:21:09 Commited By: Bill Mahoney bill.mahoney@intel.com 21:21:09 Commit SHA: 8d11186b4ecddd371e5d69e8bc5262dee0d7f4a1 21:21:09 Message: update stable to v1.0.248 21:21:10 ------------------- 21:21:10 experimental info: 21:21:10 ------------------- 21:21:10 Commited By: **** collab-it+edgex@linuxfoundation.org 21:21:10 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 21:21:10 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 21:21:10 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 21:21:10 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 21:21:10 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 21:21:10 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 21:21:10 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 21:21:10 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 21:21:10 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 21:21:10 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 21:21:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 21:21:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 21:21:10 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 21:21:10 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 21:21:10 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 21:21:10 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 21:21:10 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 21:21:10 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 21:21:10 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 21:21:10 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 21:21:10 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 21:21:10 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 21:21:10 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 21:21:10 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 21:21:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 21:21:10 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 21:21:10 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 21:21:10 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 21:21:10 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 21:21:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 21:21:10 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 21:21:10 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 21:21:10 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = c1a1e2764950d18ca7a23f7abac7d306f95fa84d [Pipeline] echo 21:21:10 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = c1a1e27 [Pipeline] echo 21:21:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:21:11 provisioning config files... 21:21:11 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15161795660576036781tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:21:11 ---> docker-login.sh 21:21:11 nexus3.edgexfoundry.org:10001 21:21:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:11 Configure a credential helper to remove this warning. See 21:21:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:11 21:21:11 Login Succeeded 21:21:11 nexus3.edgexfoundry.org:10002 21:21:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:11 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:11 Configure a credential helper to remove this warning. See 21:21:11 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:11 21:21:11 Login Succeeded 21:21:11 nexus3.edgexfoundry.org:10003 21:21:11 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:12 Configure a credential helper to remove this warning. See 21:21:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:12 21:21:12 Login Succeeded 21:21:12 nexus3.edgexfoundry.org:10004 21:21:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:12 Configure a credential helper to remove this warning. See 21:21:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:12 21:21:12 Login Succeeded 21:21:12 docker.io 21:21:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:12 Configure a credential helper to remove this warning. See 21:21:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:12 21:21:12 Login Succeeded 21:21:12 ---> docker-login.sh ends [Pipeline] } 21:21:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 21:21:12 + git rev-list -1 --merges c1a1e2764950d18ca7a23f7abac7d306f95fa84d~1..c1a1e2764950d18ca7a23f7abac7d306f95fa84d [Pipeline] echo 21:21:12 -----------> git rev-list -1 --merges c1a1e2764950d18ca7a23f7abac7d306f95fa84d~1..c1a1e2764950d18ca7a23f7abac7d306f95fa84d c1a1e2764950d18ca7a23f7abac7d306f95fa84d [false] [Pipeline] sh 21:21:13 + git log --format=format:%s -1 c1a1e2764950d18ca7a23f7abac7d306f95fa84d [Pipeline] echo 21:21:13 ========================================================= 21:21:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 21:21:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:21:13 + git log --format=format:%s -1 c1a1e2764950d18ca7a23f7abac7d306f95fa84d [Pipeline] echo 21:21:13 [semverPrep] GIT_COMMIT: c1a1e2764950d18ca7a23f7abac7d306f95fa84d, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#306) [Pipeline] echo 21:21:13 [semverPrep] This is not a build commit. [Pipeline] sh 21:21:13 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:21:13 + grep -v github /etc/ssh/ssh_known_hosts 21:21:13 + [ -e /tmp/ssh_known_hosts ] 21:21:13 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 21:21:13 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 21:21:13 + sudo tee -a /etc/ssh/ssh_known_hosts 21:21:13 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:21:14 21:21:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:14 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:21:14 0.1.4: Pulling from edgex-devops/py-git-semver 21:21:14 b85a868b505f: Pulling fs layer 21:21:14 e2be974225ed: Pulling fs layer 21:21:14 339a4e72a1f5: Pulling fs layer 21:21:14 988bab9f4d93: Pulling fs layer 21:21:14 1469e6f7b9e6: Pulling fs layer 21:21:14 eaf3925da568: Pulling fs layer 21:21:14 bab4dde63d76: Pulling fs layer 21:21:14 bde34c3a00c8: Pulling fs layer 21:21:14 b352a97aabf1: Pulling fs layer 21:21:14 4872d77fe225: Pulling fs layer 21:21:14 5851b861e8e6: Pulling fs layer 21:21:14 bab4dde63d76: Waiting 21:21:14 bde34c3a00c8: Waiting 21:21:14 b352a97aabf1: Waiting 21:21:14 988bab9f4d93: Waiting 21:21:14 1469e6f7b9e6: Waiting 21:21:14 4872d77fe225: Waiting 21:21:14 eaf3925da568: Waiting 21:21:14 5851b861e8e6: Waiting 21:21:14 e2be974225ed: Verifying Checksum 21:21:14 e2be974225ed: Download complete 21:21:14 988bab9f4d93: Verifying Checksum 21:21:14 988bab9f4d93: Download complete 21:21:14 1469e6f7b9e6: Verifying Checksum 21:21:14 1469e6f7b9e6: Download complete 21:21:14 eaf3925da568: Verifying Checksum 21:21:14 eaf3925da568: Download complete 21:21:14 339a4e72a1f5: Verifying Checksum 21:21:14 339a4e72a1f5: Download complete 21:21:14 bde34c3a00c8: Download complete 21:21:14 b352a97aabf1: Download complete 21:21:14 4872d77fe225: Download complete 21:21:14 5851b861e8e6: Download complete 21:21:14 b85a868b505f: Verifying Checksum 21:21:14 b85a868b505f: Download complete 21:21:15 bab4dde63d76: Verifying Checksum 21:21:15 bab4dde63d76: Download complete 21:21:16 b85a868b505f: Pull complete 21:21:16 e2be974225ed: Pull complete 21:21:16 339a4e72a1f5: Pull complete 21:21:16 988bab9f4d93: Pull complete 21:21:17 1469e6f7b9e6: Pull complete 21:21:17 eaf3925da568: Pull complete 21:21:19 bab4dde63d76: Pull complete 21:21:19 bde34c3a00c8: Pull complete 21:21:19 b352a97aabf1: Pull complete 21:21:19 4872d77fe225: Pull complete 21:21:19 5851b861e8e6: Pull complete 21:21:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 21:21:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:21:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:21:19 prd-ubuntu20.04-docker-8c-8g-12625 does not seem to be running inside a container 21:21:19 $ 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 21:21:20 $ docker top 68f273704dbb218d8a5be63d0d12a2e208d302371be3802bfa451cb7b5b39c04 -eo pid,comm 21:21:20 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 21:21:20 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:21:20 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:21:20 [ssh-agent] Looking for ssh-agent implementation... 21:21:20 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:21:20 $ docker exec 68f273704dbb218d8a5be63d0d12a2e208d302371be3802bfa451cb7b5b39c04 ssh-agent 21:21:20 SSH_AUTH_SOCK=/tmp/ssh-yU2Ezgoba0in/agent.33 21:21:20 SSH_AGENT_PID=39 21:21:20 Running ssh-add (command line suppressed) 21:21:20 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14575356033829773484.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14575356033829773484.key) 21:21:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:21:21 + git tag --points-at HEAD [Pipeline] } 21:21:21 $ docker exec --env ******** --env ******** 68f273704dbb218d8a5be63d0d12a2e208d302371be3802bfa451cb7b5b39c04 ssh-agent -k 21:21:21 unset SSH_AUTH_SOCK; 21:21:21 unset SSH_AGENT_PID; 21:21:21 echo Agent pid 39 killed; 21:21:21 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 21:21:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:21:21 [ssh-agent] Looking for ssh-agent implementation... 21:21:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:21:21 $ docker exec 68f273704dbb218d8a5be63d0d12a2e208d302371be3802bfa451cb7b5b39c04 ssh-agent 21:21:21 SSH_AUTH_SOCK=/tmp/ssh-XLmSPSpViGBQ/agent.71 21:21:21 SSH_AGENT_PID=77 21:21:21 Running ssh-add (command line suppressed) 21:21:21 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9664919848434621446.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_9664919848434621446.key) 21:21:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:21:21 + git semver init 21:21:22 2023-05-03 21:21:22,135 [run_init] DEBUG init version:0.0.0 force:False 21:21:22 2023-05-03 21:21:22,136 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 21:21:22 2023-05-03 21:21:22,136 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 21:21:22 2023-05-03 21:21:22,136 [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) 21:21:24 2023-05-03 21:21:23,992 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 21:21:24 2023-05-03 21:21:23,992 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 21:21:24 2023-05-03 21:21:23,993 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:21:24 2023-05-03 21:21:23,993 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:21:24 3.0.0-dev.34 [Pipeline] } 21:21:24 $ docker exec --env ******** --env ******** 68f273704dbb218d8a5be63d0d12a2e208d302371be3802bfa451cb7b5b39c04 ssh-agent -k 21:21:24 unset SSH_AUTH_SOCK; 21:21:24 unset SSH_AGENT_PID; 21:21:24 echo Agent pid 77 killed; 21:21:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:21:24 + git semver [Pipeline] } 21:21:24 $ docker stop --time=1 68f273704dbb218d8a5be63d0d12a2e208d302371be3802bfa451cb7b5b39c04 21:21:26 $ docker rm -f --volumes 68f273704dbb218d8a5be63d0d12a2e208d302371be3802bfa451cb7b5b39c04 [Pipeline] // withDockerContainer [Pipeline] sh 21:21:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 21:21:26 Stashed 1 file(s) [Pipeline] echo 21:21:26 [edgeXSemver]: initialized semver on version 3.0.0-dev.34 [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 21:21:26 provisioning config files... 21:21:26 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5280399484321304049tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:21:27 ---> docker-login.sh 21:21:27 nexus3.edgexfoundry.org:10001 21:21:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:27 Configure a credential helper to remove this warning. See 21:21:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:27 21:21:27 Login Succeeded 21:21:27 nexus3.edgexfoundry.org:10002 21:21:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:27 Configure a credential helper to remove this warning. See 21:21:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:27 21:21:27 Login Succeeded 21:21:27 nexus3.edgexfoundry.org:10003 21:21:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:27 Configure a credential helper to remove this warning. See 21:21:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:27 21:21:27 Login Succeeded 21:21:27 nexus3.edgexfoundry.org:10004 21:21:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:27 Configure a credential helper to remove this warning. See 21:21:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:27 21:21:27 Login Succeeded 21:21:27 docker.io 21:21:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:21:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:21:27 Configure a credential helper to remove this warning. See 21:21:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:21:27 21:21:27 Login Succeeded 21:21:27 ---> docker-login.sh ends [Pipeline] } 21:21:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:21:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:21:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:21:27 ========================================================= 21:21:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 21:21:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:21:28 + 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 . 21:21:28 Sending build context to Docker daemon 10.9MB 21:21:28 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:21:28 Step 2/12 : FROM ${BASE} AS builder 21:21:28 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 21:21:28 f56be85fc22e: Pulling fs layer 21:21:28 85791d961cd3: Pulling fs layer 21:21:28 d694b5ae8c79: Pulling fs layer 21:21:28 9f32a84ed3da: Pulling fs layer 21:21:28 4d19c01a9841: Pulling fs layer 21:21:28 9325e15d5711: Pulling fs layer 21:21:28 556b6ee489ea: Pulling fs layer 21:21:28 c5a4b2cf53e6: Pulling fs layer 21:21:28 556b6ee489ea: Waiting 21:21:28 9325e15d5711: Waiting 21:21:28 4d19c01a9841: Waiting 21:21:28 c5a4b2cf53e6: Waiting 21:21:28 9f32a84ed3da: Waiting 21:21:28 85791d961cd3: Verifying Checksum 21:21:28 85791d961cd3: Download complete 21:21:28 9f32a84ed3da: Verifying Checksum 21:21:28 9f32a84ed3da: Download complete 21:21:28 4d19c01a9841: Verifying Checksum 21:21:28 4d19c01a9841: Download complete 21:21:28 f56be85fc22e: Verifying Checksum 21:21:28 f56be85fc22e: Download complete 21:21:28 9325e15d5711: Verifying Checksum 21:21:28 9325e15d5711: Download complete 21:21:28 f56be85fc22e: Pull complete 21:21:28 85791d961cd3: Pull complete 21:21:28 c5a4b2cf53e6: Verifying Checksum 21:21:28 c5a4b2cf53e6: Download complete 21:21:28 d694b5ae8c79: Verifying Checksum 21:21:28 d694b5ae8c79: Download complete 21:21:29 556b6ee489ea: Download complete 21:21:31 d694b5ae8c79: Pull complete 21:21:32 9f32a84ed3da: Pull complete 21:21:32 4d19c01a9841: Pull complete 21:21:32 9325e15d5711: Pull complete 21:21:34 556b6ee489ea: Pull complete 21:21:35 c5a4b2cf53e6: Pull complete 21:21:35 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 21:21:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 21:21:35 ---> c4be618373d6 21:21:35 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:21:36 ---> Running in 9c4547d248e2 21:21:36 Removing intermediate container 9c4547d248e2 21:21:36 ---> 5bf6a3908d1f 21:21:36 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:21:36 ---> Running in 95eb37f07ef7 21:21:36 Removing intermediate container 95eb37f07ef7 21:21:36 ---> db0173090aa6 21:21:36 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:21:36 ---> Running in 656c2ed24cec 21:21:36 Removing intermediate container 656c2ed24cec 21:21:36 ---> a0e47b9fd143 21:21:36 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:21:36 ---> Running in c942b3fbece0 21:21:37 Removing intermediate container c942b3fbece0 21:21:37 ---> ced1af2131c0 21:21:37 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:21:37 ---> Running in 5683e167ec5b 21:21:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:21:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:21:37 (1/4) Installing openssh-keygen (9.1_p1-r2) 21:21:37 (2/4) Installing libedit (20221030.3.1-r0) 21:21:37 (3/4) Installing openssh-client-common (9.1_p1-r2) 21:21:37 (4/4) Installing openssh-client-default (9.1_p1-r2) 21:21:37 Executing busybox-1.35.0-r29.trigger 21:21:37 OK: 269 MiB in 57 packages 21:21:38 Removing intermediate container 5683e167ec5b 21:21:38 ---> b228cd6fa021 21:21:38 Step 8/12 : WORKDIR /device-rest-go 21:21:38 ---> Running in 54be94d7eaab 21:21:38 Removing intermediate container 54be94d7eaab 21:21:38 ---> 9204783a89d6 21:21:38 Step 9/12 : COPY go.mod vendor* ./ 21:21:38 ---> 1c79b89ec2bf 21:21:38 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:21:38 ---> Running in 144ef181e72b 21:21:41 Still waiting to schedule task 21:21:41 All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline 21:22:00 Removing intermediate container 144ef181e72b 21:22:00 ---> 3e578c88955f 21:22:00 Step 11/12 : COPY . . 21:22:00 ---> b147afbdebae 21:22:00 Step 12/12 : RUN $MAKE 21:22:00 ---> Running in 001be45f9a3c 21:22:00 noop 21:22:00 Removing intermediate container 001be45f9a3c 21:22:00 ---> fc3c12fd9dc2 21:22:00 Successfully built fc3c12fd9dc2 21:22:00 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:00 + docker inspect -f . ci-base-image-x86_64 21:22:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:22:00 prd-ubuntu20.04-docker-8c-8g-12625 does not seem to be running inside a container 21:22:00 $ 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 21:22:01 $ docker top fc9482154604b763fc1e1057e3febf84b775814aab7aa8beb9741968434626c6 -eo pid,comm [Pipeline] { [Pipeline] sh 21:22:01 + go version 21:22:01 go version go1.20.2 linux/amd64 [Pipeline] } 21:22:01 $ docker stop --time=1 fc9482154604b763fc1e1057e3febf84b775814aab7aa8beb9741968434626c6 21:22:02 $ docker rm -f --volumes fc9482154604b763fc1e1057e3febf84b775814aab7aa8beb9741968434626c6 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:03 + docker inspect -f . ci-base-image-x86_64 21:22:03 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:22:03 prd-ubuntu20.04-docker-8c-8g-12625 does not seem to be running inside a container 21:22:03 $ 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 21:22:03 $ docker top a4144c9563be7d80c3f956f0dfe7f6938ed382c2e433729f9315c7b532620bf7 -eo pid,comm [Pipeline] { [Pipeline] sh 21:22:03 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 21:22:04 + make test 21:22:04 go test ./... -coverprofile=coverage.out ./... 21:22:08 ? github.com/edgexfoundry/device-rest-go [no test files] 21:22:18 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:22:18 ok github.com/edgexfoundry/device-rest-go/driver 0.014s coverage: 32.2% of statements 21:22:23 go vet ./... 21:22:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:22:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:22:26 ./bin/test-attribution-txt.sh [Pipeline] echo 21:22:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:22:26 $ docker stop --time=1 a4144c9563be7d80c3f956f0dfe7f6938ed382c2e433729f9315c7b532620bf7 21:22:28 $ docker rm -f --volumes a4144c9563be7d80c3f956f0dfe7f6938ed382c2e433729f9315c7b532620bf7 [Pipeline] // withDockerContainer [Pipeline] sh 21:22:28 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:22:28 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 21:22:29 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:22:29 + ls -al . 21:22:29 total 184 21:22:29 drwxrwxr-x 9 jenkins jenkins 4096 May 3 21:22 . 21:22:29 drwxrwxr-x 4 jenkins jenkins 4096 May 3 21:21 .. 21:22:29 -rw-rw-r-- 1 jenkins jenkins 151 May 3 21:21 .dockerignore 21:22:29 drwxrwxr-x 8 jenkins jenkins 4096 May 3 21:21 .git 21:22:29 drwxrwxr-x 3 jenkins jenkins 4096 May 3 21:21 .github 21:22:29 -rw-rw-r-- 1 jenkins jenkins 329 May 3 21:21 .gitignore 21:22:29 -rw-rw-r-- 1 jenkins jenkins 41 May 3 21:21 .golangci.yml 21:22:29 drwxr-xr-x 3 jenkins jenkins 4096 May 3 21:21 .semver 21:22:29 -rw-rw-r-- 1 jenkins jenkins 9331 May 3 21:21 Attribution.txt 21:22:29 -rw-rw-r-- 1 jenkins jenkins 13085 May 3 21:21 CHANGELOG.md 21:22:29 -rw-rw-r-- 1 jenkins jenkins 1578 May 3 21:21 Dockerfile 21:22:29 -rw-rw-r-- 1 jenkins jenkins 677 May 3 21:21 GOVERNANCE.md 21:22:29 -rw-rw-r-- 1 jenkins jenkins 680 May 3 21:21 Jenkinsfile 21:22:29 -rw-rw-r-- 1 jenkins jenkins 11340 May 3 21:21 LICENSE 21:22:29 -rw-rw-r-- 1 jenkins jenkins 1779 May 3 21:21 Makefile 21:22:29 -rw-rw-r-- 1 jenkins jenkins 620 May 3 21:21 OWNERS.md 21:22:29 -rw-rw-r-- 1 jenkins jenkins 15321 May 3 21:21 README.md 21:22:29 -rw-rw-r-- 1 jenkins jenkins 12 May 3 21:21 VERSION 21:22:29 drwxrwxr-x 2 jenkins jenkins 4096 May 3 21:21 bin 21:22:29 drwxrwxr-x 3 jenkins jenkins 4096 May 3 21:21 cmd 21:22:29 -rw-r--r-- 1 jenkins jenkins 14663 May 3 21:22 coverage.out 21:22:29 drwxrwxr-x 2 jenkins jenkins 4096 May 3 21:21 driver 21:22:29 -rw-rw-r-- 1 jenkins jenkins 3402 May 3 21:21 go.mod 21:22:29 -rw-rw-r-- 1 jenkins jenkins 31328 May 3 21:21 go.sum 21:22:29 drwxrwxr-x 4 jenkins jenkins 4096 May 3 21:21 snap 21:22:29 -rw-rw-r-- 1 jenkins jenkins 713 May 3 21:21 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:29 + 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=c1a1e2764950d18ca7a23f7abac7d306f95fa84d --label arch=amd64 --label version=3.0.0-dev.34 . 21:22:29 Sending build context to Docker daemon 10.91MB 21:22:29 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:22:29 Step 2/25 : FROM ${BASE} AS builder 21:22:29 ---> fc3c12fd9dc2 21:22:29 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:22:29 ---> Running in f4fbe533c11f 21:22:30 Removing intermediate container f4fbe533c11f 21:22:30 ---> 072b311df19e 21:22:30 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:22:30 ---> Running in 4757f2d0021d 21:22:30 Removing intermediate container 4757f2d0021d 21:22:30 ---> edce9ce192ad 21:22:30 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:22:30 ---> Running in 3bb54809136c 21:22:30 Removing intermediate container 3bb54809136c 21:22:30 ---> 2492506717a9 21:22:30 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:22:30 ---> Running in 9ce3c2832932 21:22:30 Removing intermediate container 9ce3c2832932 21:22:30 ---> 58426687a96e 21:22:30 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:22:30 ---> Running in 324656fc1333 21:22:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:22:30 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:22:31 OK: 269 MiB in 57 packages 21:22:31 Removing intermediate container 324656fc1333 21:22:31 ---> 43c62fc4888d 21:22:31 Step 8/25 : WORKDIR /device-rest-go 21:22:31 ---> Running in 0e9da6879782 21:22:31 Removing intermediate container 0e9da6879782 21:22:31 ---> 5569f1573a3c 21:22:31 Step 9/25 : COPY go.mod vendor* ./ 21:22:31 ---> 9911d4584fcb 21:22:31 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:22:31 ---> Running in 65e622574eff 21:22:32 Removing intermediate container 65e622574eff 21:22:32 ---> f950fcfda3bd 21:22:32 Step 11/25 : COPY . . 21:22:32 ---> d042f3e186f0 21:22:32 Step 12/25 : RUN $MAKE 21:22:32 ---> Running in 9c72b5e33eac 21:22:33 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.34" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:22:51 Removing intermediate container 9c72b5e33eac 21:22:51 ---> 13d9e8e1112a 21:22:51 Step 13/25 : FROM alpine:3.17 21:22:51 3.17: Pulling from library/alpine 21:22:51 f56be85fc22e: Already exists 21:22:51 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:22:51 Status: Downloaded newer image for alpine:3.17 21:22:51 ---> 9ed4aefc74f6 21:22:51 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:22:51 ---> Running in 3c476c067311 21:22:51 Removing intermediate container 3c476c067311 21:22:51 ---> 352f8f529693 21:22:51 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:22:51 ---> Running in 77b380546f3d 21:22:51 Removing intermediate container 77b380546f3d 21:22:51 ---> 0437e10eb6cb 21:22:51 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:22:51 ---> Running in 4af06a500f4a 21:22:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 21:22:51 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 21:22:51 (1/1) Installing dumb-init (1.2.5-r2) 21:22:51 Executing busybox-1.35.0-r29.trigger 21:22:51 OK: 7 MiB in 16 packages 21:22:51 Removing intermediate container 4af06a500f4a 21:22:51 ---> e0619073f2a4 21:22:51 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:22:51 ---> b34a6978d926 21:22:51 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:22:51 ---> 116469167dd2 21:22:51 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:22:52 ---> 6003de8b049f 21:22:52 Step 20/25 : EXPOSE 59986 21:22:52 ---> Running in 9993df4541de 21:22:52 Removing intermediate container 9993df4541de 21:22:52 ---> 1c97caba3923 21:22:52 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:22:52 ---> Running in 70d005eed0b5 21:22:52 Removing intermediate container 70d005eed0b5 21:22:52 ---> 03139ed19b8a 21:22:52 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:22:52 ---> Running in 122fa9ea49f1 21:22:52 Removing intermediate container 122fa9ea49f1 21:22:52 ---> d1c72c4364a1 21:22:52 Step 23/25 : LABEL arch=amd64 21:22:52 ---> Running in 8a78efc39afa 21:22:52 Removing intermediate container 8a78efc39afa 21:22:52 ---> 4eff9972e430 21:22:52 Step 24/25 : LABEL git_sha=c1a1e2764950d18ca7a23f7abac7d306f95fa84d 21:22:52 ---> Running in 94aabea8c38f 21:22:52 Removing intermediate container 94aabea8c38f 21:22:52 ---> 124ff1866fe0 21:22:52 Step 25/25 : LABEL version=3.0.0-dev.34 21:22:52 ---> Running in bcce80105998 21:22:52 Removing intermediate container bcce80105998 21:22:52 ---> 63f87f6d4993 21:22:52 [Warning] One or more build-args [ARCH] were not consumed 21:22:52 Successfully built 63f87f6d4993 21:22:52 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:22:52 provisioning config files... 21:22:52 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17711761403972167985tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:22:52 ---> docker-login.sh 21:22:52 nexus3.edgexfoundry.org:10001 21:22:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:52 Configure a credential helper to remove this warning. See 21:22:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:52 21:22:52 Login Succeeded 21:22:52 nexus3.edgexfoundry.org:10002 21:22:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:52 Configure a credential helper to remove this warning. See 21:22:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:52 21:22:52 Login Succeeded 21:22:52 nexus3.edgexfoundry.org:10003 21:22:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:53 Configure a credential helper to remove this warning. See 21:22:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:53 21:22:53 Login Succeeded 21:22:53 nexus3.edgexfoundry.org:10004 21:22:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:53 Configure a credential helper to remove this warning. See 21:22:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:53 21:22:53 Login Succeeded 21:22:53 docker.io 21:22:53 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:22:53 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:22:53 Configure a credential helper to remove this warning. See 21:22:53 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:22:53 21:22:53 Login Succeeded 21:22:53 ---> docker-login.sh ends [Pipeline] } 21:22:53 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:22:53 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:22:53 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 21:22:53 c1a1e2764950d18ca7a23f7abac7d306f95fa84d 21:22:53 latest 21:22:53 3.0.0-dev.34 21:22:53 c1a1e2764950d18ca7a23f7abac7d306f95fa84d-3.0.0-dev.34 21:22:53 main 21:22:53 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:53 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:c1a1e2764950d18ca7a23f7abac7d306f95fa84d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:54 + docker push nexus3.edgexfoundry.org:10004/device-rest:c1a1e2764950d18ca7a23f7abac7d306f95fa84d 21:22:54 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:22:54 56c9f75ada14: Preparing 21:22:54 b49ff46d3292: Preparing 21:22:54 565ba59a94f4: Preparing 21:22:54 90a1a4ef34e9: Preparing 21:22:54 f1417ff83b31: Preparing 21:22:54 f1417ff83b31: Layer already exists 21:22:54 90a1a4ef34e9: Pushed 21:22:54 56c9f75ada14: Pushed 21:22:54 b49ff46d3292: Pushed 21:22:56 565ba59a94f4: Pushed 21:22:56 c1a1e2764950d18ca7a23f7abac7d306f95fa84d: digest: sha256:1d187419004a7a3a90432eddd664b614549b8dda9c5e82067e2122614205d712 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:56 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:57 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 21:22:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:22:57 56c9f75ada14: Preparing 21:22:57 b49ff46d3292: Preparing 21:22:57 565ba59a94f4: Preparing 21:22:57 90a1a4ef34e9: Preparing 21:22:57 f1417ff83b31: Preparing 21:22:57 f1417ff83b31: Layer already exists 21:22:57 565ba59a94f4: Layer already exists 21:22:57 56c9f75ada14: Layer already exists 21:22:57 90a1a4ef34e9: Layer already exists 21:22:57 b49ff46d3292: Layer already exists 21:22:57 latest: digest: sha256:1d187419004a7a3a90432eddd664b614549b8dda9c5e82067e2122614205d712 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:57 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.34 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:57 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.34 21:22:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:22:57 56c9f75ada14: Preparing 21:22:57 b49ff46d3292: Preparing 21:22:57 565ba59a94f4: Preparing 21:22:57 90a1a4ef34e9: Preparing 21:22:57 f1417ff83b31: Preparing 21:22:57 b49ff46d3292: Layer already exists 21:22:57 565ba59a94f4: Layer already exists 21:22:57 f1417ff83b31: Layer already exists 21:22:57 56c9f75ada14: Layer already exists 21:22:57 90a1a4ef34e9: Layer already exists 21:22:57 3.0.0-dev.34: digest: sha256:1d187419004a7a3a90432eddd664b614549b8dda9c5e82067e2122614205d712 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:58 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:c1a1e2764950d18ca7a23f7abac7d306f95fa84d-3.0.0-dev.34 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:58 + docker push nexus3.edgexfoundry.org:10004/device-rest:c1a1e2764950d18ca7a23f7abac7d306f95fa84d-3.0.0-dev.34 21:22:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:22:58 56c9f75ada14: Preparing 21:22:58 b49ff46d3292: Preparing 21:22:58 565ba59a94f4: Preparing 21:22:58 90a1a4ef34e9: Preparing 21:22:58 f1417ff83b31: Preparing 21:22:58 90a1a4ef34e9: Layer already exists 21:22:58 565ba59a94f4: Layer already exists 21:22:58 f1417ff83b31: Layer already exists 21:22:58 56c9f75ada14: Layer already exists 21:22:58 b49ff46d3292: Layer already exists 21:22:58 c1a1e2764950d18ca7a23f7abac7d306f95fa84d-3.0.0-dev.34: digest: sha256:1d187419004a7a3a90432eddd664b614549b8dda9c5e82067e2122614205d712 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:58 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:59 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 21:22:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 21:22:59 56c9f75ada14: Preparing 21:22:59 b49ff46d3292: Preparing 21:22:59 565ba59a94f4: Preparing 21:22:59 90a1a4ef34e9: Preparing 21:22:59 f1417ff83b31: Preparing 21:22:59 90a1a4ef34e9: Layer already exists 21:22:59 565ba59a94f4: Layer already exists 21:22:59 b49ff46d3292: Layer already exists 21:22:59 f1417ff83b31: Layer already exists 21:22:59 56c9f75ada14: Layer already exists 21:22:59 main: digest: sha256:1d187419004a7a3a90432eddd664b614549b8dda9c5e82067e2122614205d712 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:22:59 ===================================================== [Pipeline] echo 21:22:59 taggedImages: 21:22:59 - nexus3.edgexfoundry.org:10004/device-rest:c1a1e2764950d18ca7a23f7abac7d306f95fa84d 21:22:59 - nexus3.edgexfoundry.org:10004/device-rest:latest 21:22:59 - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.34 21:22:59 - nexus3.edgexfoundry.org:10004/device-rest:c1a1e2764950d18ca7a23f7abac7d306f95fa84d-3.0.0-dev.34 21:22:59 - 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 21:22:59 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:22:59 21:22:59 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:22:59 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:22:59 latest: Pulling from edgex-lftools-log-publisher 21:22:59 5eb5b503b376: Pulling fs layer 21:22:59 5c69ac0246d0: Pulling fs layer 21:22:59 ec43610c2a17: Pulling fs layer 21:22:59 3a2ae6a8a46f: Pulling fs layer 21:22:59 33b1e0a273af: Pulling fs layer 21:22:59 5d3b04190fa2: Pulling fs layer 21:22:59 2f39f015ded8: Pulling fs layer 21:22:59 3a2ae6a8a46f: Waiting 21:22:59 33b1e0a273af: Waiting 21:22:59 2f39f015ded8: Waiting 21:22:59 5d3b04190fa2: Waiting 21:22:59 5c69ac0246d0: Download complete 21:22:59 3a2ae6a8a46f: Download complete 21:22:59 33b1e0a273af: Verifying Checksum 21:22:59 33b1e0a273af: Download complete 21:22:59 5d3b04190fa2: Verifying Checksum 21:22:59 5d3b04190fa2: Download complete 21:22:59 ec43610c2a17: Download complete 21:23:00 5eb5b503b376: Verifying Checksum 21:23:00 5eb5b503b376: Download complete 21:23:00 2f39f015ded8: Download complete 21:23:01 5eb5b503b376: Pull complete 21:23:01 5c69ac0246d0: Pull complete 21:23:01 ec43610c2a17: Pull complete 21:23:01 3a2ae6a8a46f: Pull complete 21:23:02 33b1e0a273af: Pull complete 21:23:02 5d3b04190fa2: Pull complete 21:23:06 2f39f015ded8: Pull complete 21:23:06 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 21:23:06 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:23:06 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:23:06 prd-ubuntu20.04-docker-8c-8g-12625 does not seem to be running inside a container 21:23:06 $ 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 21:23:08 $ docker top 7f2695f1626cdc51a50d76425ae9a6d38f1417960b9807d5ce4410d031b78991 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:23:08 ---> job-cost.sh 21:23:08 lf-activate-venv: SKIPPING 21:23:08 INFO: No Stack... 21:23:08 INFO: Retrieving Pricing Info for: v3-standard-8 21:23:08 INFO: Archiving Costs [Pipeline] sh 21:23:09 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 21:23:09 + cut -d, -f6 [Pipeline] lock 21:23:09 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-106-stack-cost] 21:23:09 Resource [jenkins-edgexfoundry-device-rest-go-main-106-stack-cost] did not exist. Created. 21:23:09 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-106-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:23:09 + echo total: 0.2199999988079071 [Pipeline] stash 21:23:09 Stashed 1 file(s) [Pipeline] } 21:23:09 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-106-stack-cost] [Pipeline] // lock [Pipeline] } 21:23:09 $ docker stop --time=1 7f2695f1626cdc51a50d76425ae9a6d38f1417960b9807d5ce4410d031b78991 21:23:10 $ docker rm -f --volumes 7f2695f1626cdc51a50d76425ae9a6d38f1417960b9807d5ce4410d031b78991 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 21:23:20 Running on prd-ubuntu20.04-docker-arm64-4c-16g-12626 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 21:23:20 Running in /w/workspace/device-rest-go/106 [Pipeline] { [Pipeline] checkout 21:23:20 The recommended git tool is: git 21:23:25 using credential edgex-jenkins-ssh 21:23:25 Cloning the remote Git repository 21:23:25 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 21:23:25 > git init /w/workspace/device-rest-go/106 # timeout=10 21:23:25 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 21:23:25 > git --version # timeout=10 21:23:25 > git --version # 'git version 2.25.1' 21:23:25 using GIT_SSH to set credentials SSH Credentials for GitHub 21:23:25 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 21:23:27 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 21:23:27 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 21:23:28 Avoid second fetch 21:23:28 Checking out Revision c1a1e2764950d18ca7a23f7abac7d306f95fa84d (main) 21:23:28 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#306)" 21:23:28 > git config core.sparsecheckout # timeout=10 21:23:28 > git checkout -f c1a1e2764950d18ca7a23f7abac7d306f95fa84d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 21:23:29 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 21:23:29 % Total % Received % Xferd Average Speed Time Time Time Current 21:23:29 Dload Upload Total Spent Left Speed 21:23:29 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 80194 0 --:--:-- --:--:-- --:--:-- 80702 [Pipeline] sh 21:23:30 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 21:23:30 + sudo tee /etc/docker/daemon.new 21:23:30 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 21:23:30 { 21:23:30 "registry-mirrors": [ 21:23:30 "https://nexus3.edgexfoundry.org:10001" 21:23:30 ], 21:23:30 "bip": "10.250.0.254/24", 21:23:30 "hosts": [ 21:23:30 "tcp://0.0.0.0:5555", 21:23:30 "unix:///var/run/docker.sock" 21:23:30 ], 21:23:30 "mtu": 1458, 21:23:30 "selinux-enabled": true, 21:23:30 "seccomp-profile": "/etc/docker/seccomp.json" 21:23:30 } [Pipeline] sh 21:23:31 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 21:23:31 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:23:49 provisioning config files... 21:23:49 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/106@tmp/config3210365025282121258tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:23:50 ---> docker-login.sh 21:23:50 nexus3.edgexfoundry.org:10001 21:23:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:50 Configure a credential helper to remove this warning. See 21:23:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:50 21:23:50 Login Succeeded 21:23:50 nexus3.edgexfoundry.org:10002 21:23:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:51 Configure a credential helper to remove this warning. See 21:23:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:51 21:23:51 Login Succeeded 21:23:51 nexus3.edgexfoundry.org:10003 21:23:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:51 Configure a credential helper to remove this warning. See 21:23:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:51 21:23:51 Login Succeeded 21:23:51 nexus3.edgexfoundry.org:10004 21:23:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:51 Configure a credential helper to remove this warning. See 21:23:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:51 21:23:51 Login Succeeded 21:23:51 docker.io 21:23:52 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:23:52 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:23:52 Configure a credential helper to remove this warning. See 21:23:52 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:23:52 21:23:52 Login Succeeded 21:23:52 ---> docker-login.sh ends [Pipeline] } 21:23:52 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 21:23:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:23:52 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:23:52 ========================================================= 21:23:52 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 21:23:52 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:23:52 + 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 . 21:23:52 Sending build context to Docker daemon 138.8kB 21:23:53 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 21:23:53 Step 2/12 : FROM ${BASE} AS builder 21:23:53 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 21:23:53 c41833b44d91: Pulling fs layer 21:23:53 ed15518f5707: Pulling fs layer 21:23:53 feae8fd75edb: Pulling fs layer 21:23:53 242c74f7c9fa: Pulling fs layer 21:23:53 3cdef696dda3: Pulling fs layer 21:23:53 2ced38df9373: Pulling fs layer 21:23:53 58f1dce35555: Pulling fs layer 21:23:53 242c74f7c9fa: Waiting 21:23:53 3cdef696dda3: Waiting 21:23:53 58f1dce35555: Waiting 21:23:53 2ced38df9373: Waiting 21:23:53 ed15518f5707: Verifying Checksum 21:23:53 ed15518f5707: Download complete 21:23:53 242c74f7c9fa: Verifying Checksum 21:23:53 242c74f7c9fa: Download complete 21:23:53 3cdef696dda3: Verifying Checksum 21:23:53 3cdef696dda3: Download complete 21:23:53 c41833b44d91: Verifying Checksum 21:23:53 c41833b44d91: Download complete 21:23:54 58f1dce35555: Verifying Checksum 21:23:54 58f1dce35555: Download complete 21:23:56 feae8fd75edb: Verifying Checksum 21:23:56 feae8fd75edb: Download complete 21:23:56 2ced38df9373: Verifying Checksum 21:23:56 2ced38df9373: Download complete 21:23:56 c41833b44d91: Pull complete 21:23:56 ed15518f5707: Pull complete 21:24:09 feae8fd75edb: Pull complete 21:24:09 242c74f7c9fa: Pull complete 21:24:09 3cdef696dda3: Pull complete 21:24:14 2ced38df9373: Pull complete 21:24:17 58f1dce35555: Pull complete 21:24:17 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 21:24:17 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 21:24:17 ---> fadd8f120f05 21:24:17 Step 3/12 : ARG ADD_BUILD_TAGS="" 21:24:19 ---> Running in 54d0e539eb54 21:24:19 Removing intermediate container 54d0e539eb54 21:24:19 ---> 2f8c22260ab5 21:24:19 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:24:19 ---> Running in f5c7a456abb4 21:24:19 Removing intermediate container f5c7a456abb4 21:24:19 ---> f5d9b87eb824 21:24:19 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:24:19 ---> Running in bf2c6bd1c23e 21:24:20 Removing intermediate container bf2c6bd1c23e 21:24:20 ---> ba776061448b 21:24:20 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 21:24:20 ---> Running in bc38a0d4eb2e 21:24:20 Removing intermediate container bc38a0d4eb2e 21:24:20 ---> 07a10b9c0972 21:24:20 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:24:20 ---> Running in 88ebb36d7234 21:24:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:24:22 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:24:23 (1/4) Installing openssh-keygen (9.1_p1-r2) 21:24:23 (2/4) Installing libedit (20221030.3.1-r0) 21:24:23 (3/4) Installing openssh-client-common (9.1_p1-r2) 21:24:23 (4/4) Installing openssh-client-default (9.1_p1-r2) 21:24:23 Executing busybox-1.35.0-r29.trigger 21:24:23 OK: 268 MiB in 57 packages 21:24:24 Removing intermediate container 88ebb36d7234 21:24:24 ---> 0246676aa71b 21:24:24 Step 8/12 : WORKDIR /device-rest-go 21:24:24 ---> Running in 60652a0c5149 21:24:25 Removing intermediate container 60652a0c5149 21:24:25 ---> 2b7d51af89b7 21:24:25 Step 9/12 : COPY go.mod vendor* ./ 21:24:25 ---> f9d7e57f5b84 21:24:25 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:24:25 ---> Running in 9d2da495a6d9 21:25:33 Removing intermediate container 9d2da495a6d9 21:25:33 ---> e3612ef48527 21:25:33 Step 11/12 : COPY . . 21:25:33 ---> cee6e673b674 21:25:33 Step 12/12 : RUN $MAKE 21:25:33 ---> Running in 8d4d37d03537 21:25:33 noop 21:25:33 Removing intermediate container 8d4d37d03537 21:25:33 ---> f840a51f9261 21:25:33 Successfully built f840a51f9261 21:25:33 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:33 + docker inspect -f . ci-base-image-arm64 21:25:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:25:33 prd-ubuntu20.04-docker-arm64-4c-16g-12626 does not seem to be running inside a container 21:25:33 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/106 -v /w/workspace/device-rest-go/106:/w/workspace/device-rest-go/106:rw,z -v /w/workspace/device-rest-go/106@tmp:/w/workspace/device-rest-go/106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:25:35 $ docker top eff22ef8d17c39b34fb82a6ba2bac8c43e490db5e81a3be87076be5e5edfad08 -eo pid,comm [Pipeline] { [Pipeline] sh 21:25:35 + go version 21:25:35 go version go1.20.2 linux/arm64 [Pipeline] } 21:25:35 $ docker stop --time=1 eff22ef8d17c39b34fb82a6ba2bac8c43e490db5e81a3be87076be5e5edfad08 21:25:37 $ docker rm -f --volumes eff22ef8d17c39b34fb82a6ba2bac8c43e490db5e81a3be87076be5e5edfad08 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:25:38 + docker inspect -f . ci-base-image-arm64 21:25:38 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:25:38 prd-ubuntu20.04-docker-arm64-4c-16g-12626 does not seem to be running inside a container 21:25:38 $ 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/106 -v /w/workspace/device-rest-go/106:/w/workspace/device-rest-go/106:rw,z -v /w/workspace/device-rest-go/106@tmp:/w/workspace/device-rest-go/106@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 21:25:39 $ docker top 7675dd1b47d93f1a0636aae774f18305e3bbaf892ac21c14aafb191c363059e4 -eo pid,comm [Pipeline] { [Pipeline] sh 21:25:39 + git config --global --add safe.directory /w/workspace/device-rest-go/106 [Pipeline] fileExists [Pipeline] sh 21:25:40 + make test 21:25:40 go test ./... -coverprofile=coverage.out ./... 21:26:12 ? github.com/edgexfoundry/device-rest-go [no test files] 21:28:04 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 21:28:04 ok github.com/edgexfoundry/device-rest-go/driver 0.061s coverage: 32.2% of statements 21:28:04 WARNING: Linting skipped (not on x86_64 or linter not installed) 21:28:04 go vet ./... 21:28:36 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 21:28:36 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 21:28:36 ./bin/test-attribution-txt.sh [Pipeline] echo 21:28:36 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 21:28:36 $ docker stop --time=1 7675dd1b47d93f1a0636aae774f18305e3bbaf892ac21c14aafb191c363059e4 21:28:38 $ docker rm -f --volumes 7675dd1b47d93f1a0636aae774f18305e3bbaf892ac21c14aafb191c363059e4 [Pipeline] // withDockerContainer [Pipeline] sh 21:28:39 + sudo chown -R jenkins:jenkins . [Pipeline] stash 21:28:39 Warning: overwriting stash ‘coverage-report’ 21:28:39 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 21:28:40 + sudo chown -R jenkins:jenkins . [Pipeline] sh 21:28:40 + ls -al . 21:28:40 total 180 21:28:40 drwxrwxr-x 8 jenkins jenkins 4096 May 3 21:25 . 21:28:40 drwxrwxr-x 4 jenkins jenkins 4096 May 3 21:23 .. 21:28:40 -rw-rw-r-- 1 jenkins jenkins 151 May 3 21:23 .dockerignore 21:28:40 drwxrwxr-x 8 jenkins jenkins 4096 May 3 21:23 .git 21:28:40 drwxrwxr-x 3 jenkins jenkins 4096 May 3 21:23 .github 21:28:40 -rw-rw-r-- 1 jenkins jenkins 329 May 3 21:23 .gitignore 21:28:40 -rw-rw-r-- 1 jenkins jenkins 41 May 3 21:23 .golangci.yml 21:28:40 -rw-rw-r-- 1 jenkins jenkins 9331 May 3 21:23 Attribution.txt 21:28:40 -rw-rw-r-- 1 jenkins jenkins 13085 May 3 21:23 CHANGELOG.md 21:28:40 -rw-rw-r-- 1 jenkins jenkins 1578 May 3 21:23 Dockerfile 21:28:40 -rw-rw-r-- 1 jenkins jenkins 677 May 3 21:23 GOVERNANCE.md 21:28:40 -rw-rw-r-- 1 jenkins jenkins 680 May 3 21:23 Jenkinsfile 21:28:40 -rw-rw-r-- 1 jenkins jenkins 11340 May 3 21:23 LICENSE 21:28:40 -rw-rw-r-- 1 jenkins jenkins 1779 May 3 21:23 Makefile 21:28:40 -rw-rw-r-- 1 jenkins jenkins 620 May 3 21:23 OWNERS.md 21:28:40 -rw-rw-r-- 1 jenkins jenkins 15321 May 3 21:23 README.md 21:28:40 -rw-rw-r-- 1 jenkins jenkins 12 May 3 21:21 VERSION 21:28:40 drwxrwxr-x 2 jenkins jenkins 4096 May 3 21:23 bin 21:28:40 drwxrwxr-x 3 jenkins jenkins 4096 May 3 21:23 cmd 21:28:40 -rw-r--r-- 1 jenkins jenkins 14663 May 3 21:27 coverage.out 21:28:40 drwxrwxr-x 2 jenkins jenkins 4096 May 3 21:23 driver 21:28:40 -rw-rw-r-- 1 jenkins jenkins 3402 May 3 21:23 go.mod 21:28:40 -rw-rw-r-- 1 jenkins jenkins 31328 May 3 21:23 go.sum 21:28:40 drwxrwxr-x 4 jenkins jenkins 4096 May 3 21:23 snap 21:28:40 -rw-rw-r-- 1 jenkins jenkins 713 May 3 21:23 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:28:40 + docker build -t device-rest-arm64 -f Dockerfile --build-arg BASE=ci-base-image-arm64 --build-arg MAKE=make build --build-arg ARCH=arm64 --label git_sha=c1a1e2764950d18ca7a23f7abac7d306f95fa84d --label arch=arm64 --label version=3.0.0-dev.34 . 21:28:40 Sending build context to Docker daemon 154.1kB 21:28:40 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 21:28:40 Step 2/25 : FROM ${BASE} AS builder 21:28:40 ---> f840a51f9261 21:28:40 Step 3/25 : ARG ADD_BUILD_TAGS="" 21:28:40 ---> Running in 1e85a1e0d13e 21:28:41 Removing intermediate container 1e85a1e0d13e 21:28:41 ---> 4f05cb6e040e 21:28:41 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 21:28:41 ---> Running in f4277ef3742c 21:28:41 Removing intermediate container f4277ef3742c 21:28:41 ---> 98ab4f0e6de4 21:28:41 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 21:28:41 ---> Running in 2b63f4baf9e4 21:28:42 Removing intermediate container 2b63f4baf9e4 21:28:42 ---> 72e5ffd60eb5 21:28:42 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 21:28:42 ---> Running in c69ce4e89f21 21:28:42 Removing intermediate container c69ce4e89f21 21:28:42 ---> 8ba035923ce1 21:28:42 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 21:28:42 ---> Running in c9149af8f35b 21:28:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:28:43 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:28:44 OK: 268 MiB in 57 packages 21:28:45 Removing intermediate container c9149af8f35b 21:28:45 ---> 13dcaf293a75 21:28:45 Step 8/25 : WORKDIR /device-rest-go 21:28:45 ---> Running in 7beebc0379db 21:28:46 Removing intermediate container 7beebc0379db 21:28:46 ---> 4105d4064107 21:28:46 Step 9/25 : COPY go.mod vendor* ./ 21:28:46 ---> b178b57bbaf1 21:28:46 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 21:28:46 ---> Running in 3a148614a897 21:28:49 Removing intermediate container 3a148614a897 21:28:49 ---> 2c7c3ab7d1ee 21:28:49 Step 11/25 : COPY . . 21:28:49 ---> cd5805f8ab1b 21:28:49 Step 12/25 : RUN $MAKE 21:28:49 ---> Running in 1283819e9fd9 21:28:50 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.34" -trimpath -mod=readonly -o cmd/device-rest ./cmd 21:30:57 Removing intermediate container 1283819e9fd9 21:30:57 ---> a9ce419cffdd 21:30:57 Step 13/25 : FROM alpine:3.17 21:30:57 3.17: Pulling from library/alpine 21:30:57 c41833b44d91: Already exists 21:30:57 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 21:30:57 Status: Downloaded newer image for alpine:3.17 21:30:57 ---> 51e60588ff2c 21:30:57 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 21:30:57 ---> Running in ab8c45ecde5c 21:30:57 Removing intermediate container ab8c45ecde5c 21:30:57 ---> 127739956b46 21:30:57 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 21:30:57 ---> Running in b3c6d5e4889e 21:30:57 Removing intermediate container b3c6d5e4889e 21:30:57 ---> 5bd5049158fd 21:30:57 Step 16/25 : RUN apk add --update --no-cache dumb-init 21:30:57 ---> Running in af5bdaeecdb5 21:30:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 21:30:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 21:30:57 (1/1) Installing dumb-init (1.2.5-r2) 21:30:57 Executing busybox-1.35.0-r29.trigger 21:30:57 OK: 8 MiB in 16 packages 21:30:58 Removing intermediate container af5bdaeecdb5 21:30:58 ---> 779198eff4ba 21:30:58 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 21:30:59 ---> ae091d9f23dc 21:30:59 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 21:31:00 ---> 9ae05481a3a7 21:31:00 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 21:31:00 ---> 0804ea8d5d61 21:31:00 Step 20/25 : EXPOSE 59986 21:31:00 ---> Running in 8e02a047a0dc 21:31:01 Removing intermediate container 8e02a047a0dc 21:31:01 ---> 0e976549201d 21:31:01 Step 21/25 : ENTRYPOINT ["/device-rest"] 21:31:01 ---> Running in 3cf7e491c0c7 21:31:01 Removing intermediate container 3cf7e491c0c7 21:31:01 ---> 53608d08eeed 21:31:01 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 21:31:01 ---> Running in 28c0c0a697c5 21:31:01 Removing intermediate container 28c0c0a697c5 21:31:01 ---> e902cd3e38bb 21:31:01 Step 23/25 : LABEL arch=arm64 21:31:01 ---> Running in 8067b21bee1e 21:31:02 Removing intermediate container 8067b21bee1e 21:31:02 ---> feb3800ce13e 21:31:02 Step 24/25 : LABEL git_sha=c1a1e2764950d18ca7a23f7abac7d306f95fa84d 21:31:02 ---> Running in b0c112566ea6 21:31:02 Removing intermediate container b0c112566ea6 21:31:02 ---> a388469dd700 21:31:02 Step 25/25 : LABEL version=3.0.0-dev.34 21:31:02 ---> Running in ba599b69292e 21:31:02 Removing intermediate container ba599b69292e 21:31:02 ---> c21f766cb3d3 21:31:02 [Warning] One or more build-args [ARCH] were not consumed 21:31:02 Successfully built c21f766cb3d3 21:31: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 21:31:03 provisioning config files... 21:31:03 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/106@tmp/config3782938878099998204tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:31:03 ---> docker-login.sh 21:31:03 nexus3.edgexfoundry.org:10001 21:31:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:03 Configure a credential helper to remove this warning. See 21:31:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:03 21:31:03 Login Succeeded 21:31:03 nexus3.edgexfoundry.org:10002 21:31:03 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:03 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:03 Configure a credential helper to remove this warning. See 21:31:03 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:03 21:31:03 Login Succeeded 21:31:03 nexus3.edgexfoundry.org:10003 21:31:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:04 Configure a credential helper to remove this warning. See 21:31:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:04 21:31:04 Login Succeeded 21:31:04 nexus3.edgexfoundry.org:10004 21:31:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:04 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:04 Configure a credential helper to remove this warning. See 21:31:04 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:04 21:31:04 Login Succeeded 21:31:04 docker.io 21:31:04 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 21:31:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 21:31:05 Configure a credential helper to remove this warning. See 21:31:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 21:31:05 21:31:05 Login Succeeded 21:31:05 ---> docker-login.sh ends [Pipeline] } 21:31:05 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:31:05 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 21:31:05 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 21:31:05 c1a1e2764950d18ca7a23f7abac7d306f95fa84d 21:31:05 latest 21:31:05 3.0.0-dev.34 21:31:05 c1a1e2764950d18ca7a23f7abac7d306f95fa84d-3.0.0-dev.34 21:31:05 main 21:31:05 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:05 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:c1a1e2764950d18ca7a23f7abac7d306f95fa84d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:08 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:c1a1e2764950d18ca7a23f7abac7d306f95fa84d 21:31:08 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:31:08 854a54b10aa0: Preparing 21:31:08 75fa2c2fbf4a: Preparing 21:31:08 3f0ee3a80f07: Preparing 21:31:08 b9275b4f7aaf: Preparing 21:31:08 26cbea5cba74: Preparing 21:31:08 26cbea5cba74: Layer already exists 21:31:08 75fa2c2fbf4a: Pushed 21:31:08 854a54b10aa0: Pushed 21:31:08 b9275b4f7aaf: Pushed 21:31:14 3f0ee3a80f07: Pushed 21:31:14 c1a1e2764950d18ca7a23f7abac7d306f95fa84d: digest: sha256:e879b6f1b86861a8b6d44494720de63ac83451f5a658e93a87ac98c20ede7dc2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:14 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:14 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 21:31:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:31:14 854a54b10aa0: Preparing 21:31:14 75fa2c2fbf4a: Preparing 21:31:14 3f0ee3a80f07: Preparing 21:31:14 b9275b4f7aaf: Preparing 21:31:14 26cbea5cba74: Preparing 21:31:14 26cbea5cba74: Layer already exists 21:31:14 854a54b10aa0: Layer already exists 21:31:14 3f0ee3a80f07: Layer already exists 21:31:14 b9275b4f7aaf: Layer already exists 21:31:14 75fa2c2fbf4a: Layer already exists 21:31:15 latest: digest: sha256:e879b6f1b86861a8b6d44494720de63ac83451f5a658e93a87ac98c20ede7dc2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:15 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.34 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:15 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.34 21:31:15 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:31:15 854a54b10aa0: Preparing 21:31:15 75fa2c2fbf4a: Preparing 21:31:15 3f0ee3a80f07: Preparing 21:31:15 b9275b4f7aaf: Preparing 21:31:15 26cbea5cba74: Preparing 21:31:15 75fa2c2fbf4a: Layer already exists 21:31:15 854a54b10aa0: Layer already exists 21:31:15 3f0ee3a80f07: Layer already exists 21:31:15 26cbea5cba74: Layer already exists 21:31:15 b9275b4f7aaf: Layer already exists 21:31:15 3.0.0-dev.34: digest: sha256:e879b6f1b86861a8b6d44494720de63ac83451f5a658e93a87ac98c20ede7dc2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:16 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:c1a1e2764950d18ca7a23f7abac7d306f95fa84d-3.0.0-dev.34 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:16 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:c1a1e2764950d18ca7a23f7abac7d306f95fa84d-3.0.0-dev.34 21:31:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:31:16 854a54b10aa0: Preparing 21:31:16 75fa2c2fbf4a: Preparing 21:31:16 3f0ee3a80f07: Preparing 21:31:16 b9275b4f7aaf: Preparing 21:31:16 26cbea5cba74: Preparing 21:31:16 3f0ee3a80f07: Layer already exists 21:31:16 b9275b4f7aaf: Layer already exists 21:31:16 26cbea5cba74: Layer already exists 21:31:16 75fa2c2fbf4a: Layer already exists 21:31:16 854a54b10aa0: Layer already exists 21:31:16 c1a1e2764950d18ca7a23f7abac7d306f95fa84d-3.0.0-dev.34: digest: sha256:e879b6f1b86861a8b6d44494720de63ac83451f5a658e93a87ac98c20ede7dc2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:17 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:17 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 21:31:17 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 21:31:17 854a54b10aa0: Preparing 21:31:17 75fa2c2fbf4a: Preparing 21:31:17 3f0ee3a80f07: Preparing 21:31:17 b9275b4f7aaf: Preparing 21:31:17 26cbea5cba74: Preparing 21:31:17 854a54b10aa0: Layer already exists 21:31:17 b9275b4f7aaf: Layer already exists 21:31:17 3f0ee3a80f07: Layer already exists 21:31:17 26cbea5cba74: Layer already exists 21:31:17 75fa2c2fbf4a: Layer already exists 21:31:17 main: digest: sha256:e879b6f1b86861a8b6d44494720de63ac83451f5a658e93a87ac98c20ede7dc2 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 21:31:17 ===================================================== [Pipeline] echo 21:31:17 taggedImages: 21:31:17 - nexus3.edgexfoundry.org:10004/device-rest-arm64:c1a1e2764950d18ca7a23f7abac7d306f95fa84d 21:31:17 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 21:31:17 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.34 21:31:17 - nexus3.edgexfoundry.org:10004/device-rest-arm64:c1a1e2764950d18ca7a23f7abac7d306f95fa84d-3.0.0-dev.34 21:31:17 - 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 21:31:18 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:31:18 21:31:18 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:18 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:31:18 arm64: Pulling from edgex-lftools-log-publisher 21:31:18 8998bd30e6a1: Pulling fs layer 21:31:18 04944245beec: Pulling fs layer 21:31:18 699f458cf7ca: Pulling fs layer 21:31:18 765212b225bb: Pulling fs layer 21:31:18 f23df028b6ca: Pulling fs layer 21:31:18 d65c8cfc05b1: Pulling fs layer 21:31:18 2437ff75d9bd: Pulling fs layer 21:31:18 f23df028b6ca: Waiting 21:31:18 765212b225bb: Waiting 21:31:18 2437ff75d9bd: Waiting 21:31:18 04944245beec: Verifying Checksum 21:31:18 04944245beec: Download complete 21:31:18 765212b225bb: Verifying Checksum 21:31:18 765212b225bb: Download complete 21:31:18 f23df028b6ca: Download complete 21:31:18 d65c8cfc05b1: Verifying Checksum 21:31:18 d65c8cfc05b1: Download complete 21:31:18 699f458cf7ca: Verifying Checksum 21:31:18 699f458cf7ca: Download complete 21:31:19 8998bd30e6a1: Verifying Checksum 21:31:19 8998bd30e6a1: Download complete 21:31:21 2437ff75d9bd: Verifying Checksum 21:31:21 2437ff75d9bd: Download complete 21:31:23 8998bd30e6a1: Pull complete 21:31:23 04944245beec: Pull complete 21:31:24 699f458cf7ca: Pull complete 21:31:25 765212b225bb: Pull complete 21:31:25 f23df028b6ca: Pull complete 21:31:25 d65c8cfc05b1: Pull complete 21:31:40 2437ff75d9bd: Pull complete 21:31:40 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 21:31:40 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 21:31:40 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:31:41 prd-ubuntu20.04-docker-arm64-4c-16g-12626 does not seem to be running inside a container 21:31:41 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/106 -v /w/workspace/device-rest-go/106:/w/workspace/device-rest-go/106:rw,z -v /w/workspace/device-rest-go/106@tmp:/w/workspace/device-rest-go/106@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:arm64 cat 21:31:43 $ docker top f92191ee6c97e2b7e04436abe22a2a4bab6ea72a6c08c039c1d05b4df83adfeb -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 21:31:44 ---> job-cost.sh 21:31:44 lf-activate-venv: SKIPPING 21:31:44 INFO: No Stack... 21:31:45 INFO: Retrieving Pricing Info for: v3-standard-4 21:31:45 INFO: Archiving Costs [Pipeline] sh 21:31:46 + cut -d, -f6 21:31:46 + cat /w/workspace/device-rest-go/106/archives/cost.csv [Pipeline] lock 21:31:46 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-106-stack-cost] 21:31:46 Resource [jenkins-edgexfoundry-device-rest-go-main-106-stack-cost] did not exist. Created. 21:31:46 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-106-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 21:31:47 /w/workspace/device-rest-go/106@tmp/durable-2f6615d2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 21:31:47 + echo total: 0.10999999940395355 [Pipeline] stash 21:31:47 Warning: overwriting stash ‘stack-cost’ 21:31:47 Stashed 1 file(s) [Pipeline] } 21:31:47 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-106-stack-cost] [Pipeline] // lock [Pipeline] } 21:31:47 $ docker stop --time=1 f92191ee6c97e2b7e04436abe22a2a4bab6ea72a6c08c039c1d05b4df83adfeb 21:31:49 $ docker rm -f --volumes f92191ee6c97e2b7e04436abe22a2a4bab6ea72a6c08c039c1d05b4df83adfeb [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 21:31:49 provisioning config files... 21:31:49 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17537391833394436779tmp [Pipeline] { [Pipeline] sh 21:31:50 + set +x 21:31:50 + bash -s -- 21:31:50 + curl -s https://codecov.io/bash 21:31:50 21:31:50 _____ _ 21:31:50 / ____| | | 21:31:50 | | ___ __| | ___ ___ _____ __ 21:31:50 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 21:31:50 | |___| (_) | (_| | __/ (_| (_) \ V / 21:31:50 \_____\___/ \__,_|\___|\___\___/ \_/ 21:31:50 Bash-1.0.6 21:31:50 21:31:50 21:31:50 ==> git version 2.25.1 found 21:31:50 ==> curl 7.68.0 (x86_64-pc-linux-gnu) libcurl/7.68.0 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.2.0) libssh/0.9.3/openssl/zlib nghttp2/1.40.0 librtmp/2.3 21:31:50 Release-Date: 2020-01-08 21:31:50 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 21:31:50 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 21:31:50 ==> Jenkins CI detected. 21:31:50 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 21:31:50 project root: . 21:31:50 --> token set from env 21:31:50 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 21:31:50 ==> Running gcov in . (disable via -X gcov) 21:31:50 ==> Python coveragepy not found 21:31:50 ==> Searching for coverage reports in: 21:31:50 + . 21:31:50 -> Found 1 reports 21:31:50 ==> Detecting git/mercurial file structure 21:31:50 ==> Reading reports 21:31:50 + ./coverage.out bytes=14663 21:31:50 ==> Appending adjustments 21:31:50 https://docs.codecov.io/docs/fixing-reports 21:31:50 + Found adjustments 21:31:50 ==> Gzipping contents 21:31:50 4.0K /tmp/codecov.pbfIO5.gz 21:31:50 ==> Uploading reports 21:31:50 url: https://codecov.io 21:31:50 query: branch=main&commit=c1a1e2764950d18ca7a23f7abac7d306f95fa84d&build=106&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F106%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:31:50 -> Pinging Codecov 21:31:50 https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=main&commit=c1a1e2764950d18ca7a23f7abac7d306f95fa84d&build=106&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F106%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 21:31:50 -> Uploading to 21:31:50 https://storage.googleapis.com/codecov/v4/raw/2023-05-03/4E5D53B4F1F92C436F7061BF334D961C/c1a1e2764950d18ca7a23f7abac7d306f95fa84d/52ab71a0-1b1d-4df6-9f2e-14cbd5ec2898.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230503%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230503T213150Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=b0f24433db08cc3cf6650b6f85393f93bae66409b1c9562cabb85fcd69ad5fa4 21:31:50 % Total % Received % Xferd Average Speed Time Time Time Current 21:31:50 Dload Upload Total Spent Left Speed 21:31:50 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 11409 --:--:-- --:--:-- --:--:-- 11357 100 2510 0 0 100 2510 0 10080 --:--:-- --:--:-- --:--:-- 10040 21:31:50 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/c1a1e2764950d18ca7a23f7abac7d306f95fa84d [Pipeline] } 21:31:50 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 21:31:51 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 21:31:51 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:51 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:31:51 21:31:51 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:31:51 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:31:51 1.410.4: Pulling from edgex-devops/edgex-snyk-go 21:31:51 df9b9388f04a: Pulling fs layer 21:31:51 52dc419b0ee2: Pulling fs layer 21:31:51 25bc292e5bac: Pulling fs layer 21:31:51 114826534d7a: Pulling fs layer 21:31:51 4657fd5d0bcf: Pulling fs layer 21:31:51 6ad1cebc031e: Pulling fs layer 21:31:51 8a3aa393b2d8: Pulling fs layer 21:31:51 114826534d7a: Waiting 21:31:51 8a3aa393b2d8: Waiting 21:31:51 4657fd5d0bcf: Waiting 21:31:51 6ad1cebc031e: Waiting 21:31:51 25bc292e5bac: Verifying Checksum 21:31:51 25bc292e5bac: Download complete 21:31:51 52dc419b0ee2: Download complete 21:31:51 4657fd5d0bcf: Download complete 21:31:51 df9b9388f04a: Download complete 21:31:51 df9b9388f04a: Pull complete 21:31:51 6ad1cebc031e: Verifying Checksum 21:31:51 6ad1cebc031e: Download complete 21:31:51 52dc419b0ee2: Pull complete 21:31:51 25bc292e5bac: Pull complete 21:31:52 114826534d7a: Download complete 21:31:52 8a3aa393b2d8: Verifying Checksum 21:31:52 8a3aa393b2d8: Download complete 21:31:55 114826534d7a: Pull complete 21:31:55 4657fd5d0bcf: Pull complete 21:31:55 6ad1cebc031e: Pull complete 21:31:58 8a3aa393b2d8: Pull complete 21:31:58 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 21:31:58 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 21:31:58 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:31:58 prd-ubuntu20.04-docker-8c-8g-12625 does not seem to be running inside a container 21:31:58 $ 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 21:32:00 $ docker top 07e2f2b9af04dc9d05c1a1a9543fbbfa195f3f5183e8c1f2d879f7421a816d89 -eo pid,comm [Pipeline] { [Pipeline] echo 21:32:00 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 21:32:00 + set -o pipefail 21:32:00 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 21:32:06 21:32:06 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 21:32:06 21:32:06 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/7b63e065-7897-4ef4-a3ae-f09f22c8da5c 21:32:06 21:32:06 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 21:32:06 21:32:06 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 21:32:06 21:32:06 21:32:06 A medium severity vulnerability was found in the Snyk CLI versions you are using. 21:32:06 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 21:32:06 More details here: https://snyk.co/ue1NS 21:32:06 You are approaching your monthly limit of 401 private tests for your edgex-jenkins org. 21:32:06 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 21:32:06 $ docker stop --time=1 07e2f2b9af04dc9d05c1a1a9543fbbfa195f3f5183e8c1f2d879f7421a816d89 21:32:08 $ docker rm -f --volumes 07e2f2b9af04dc9d05c1a1a9543fbbfa195f3f5183e8c1f2d879f7421a816d89 [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 21:32:09 + git log --format=format:%s -1 c1a1e2764950d18ca7a23f7abac7d306f95fa84d [Pipeline] sh 21:32:09 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:32:09 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:09 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:32:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:32:09 prd-ubuntu20.04-docker-8c-8g-12625 does not seem to be running inside a container 21:32: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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 21:32:10 $ docker top 38c3f36ae2a8354a1ce6f9c2b748a235f354df19917dbe992cb17a90ebb1481d -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:32:10 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:32:10 [ssh-agent] Looking for ssh-agent implementation... 21:32:10 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:32:10 $ docker exec 38c3f36ae2a8354a1ce6f9c2b748a235f354df19917dbe992cb17a90ebb1481d ssh-agent 21:32:10 SSH_AUTH_SOCK=/tmp/ssh-qEyaZNmnfycb/agent.33 21:32:10 SSH_AGENT_PID=39 21:32:10 Running ssh-add (command line suppressed) 21:32:10 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1214484639050411466.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1214484639050411466.key) 21:32:10 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:32:10 + git semver tag 21:32:11 2023-05-03 21:32:10,987 [run_tag] DEBUG tag force:False 21:32:11 2023-05-03 21:32:10,987 [check_head_tag] DEBUG check head tag 21:32:11 2023-05-03 21:32:10,988 [execute] INFO git cat-file --batch-check 21:32:11 2023-05-03 21:32:10,988 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 21:32:11 2023-05-03 21:32:10,992 [execute] INFO git cat-file --batch 21:32:11 2023-05-03 21:32:10,992 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 21:32:11 2023-05-03 21:32:11,014 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:32:11 2023-05-03 21:32:11,014 [execute] INFO git tag -a v3.0.0-dev.34 -m v3.0.0-dev.34 21:32:11 2023-05-03 21:32:11,015 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.34', '-m', 'v3.0.0-dev.34'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 21:32:11 2023-05-03 21:32:11,019 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:32:11 3.0.0-dev.34 [Pipeline] } 21:32:11 $ docker exec --env ******** --env ******** 38c3f36ae2a8354a1ce6f9c2b748a235f354df19917dbe992cb17a90ebb1481d ssh-agent -k 21:32:11 unset SSH_AUTH_SOCK; 21:32:11 unset SSH_AGENT_PID; 21:32:11 echo Agent pid 39 killed; 21:32:11 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:32:11 + git semver [Pipeline] } 21:32:11 $ docker stop --time=1 38c3f36ae2a8354a1ce6f9c2b748a235f354df19917dbe992cb17a90ebb1481d 21:32:13 $ docker rm -f --volumes 38c3f36ae2a8354a1ce6f9c2b748a235f354df19917dbe992cb17a90ebb1481d [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:13 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:32:13 21:32:13 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:13 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:32:13 0.23.1-centos7: Pulling from edgex-lftools 21:32:13 ab5ef0e58194: Pulling fs layer 21:32:13 9712f1f96733: Pulling fs layer 21:32:13 63f879dbbcfc: Pulling fs layer 21:32:13 0d9ebad4ef96: Pulling fs layer 21:32:13 e9a5061849ea: Pulling fs layer 21:32:13 d747dcd14b5f: Pulling fs layer 21:32:13 2de7ff778b66: Pulling fs layer 21:32:13 0d9ebad4ef96: Waiting 21:32:13 d747dcd14b5f: Waiting 21:32:13 e9a5061849ea: Waiting 21:32:13 2de7ff778b66: Waiting 21:32:13 9712f1f96733: Verifying Checksum 21:32:13 9712f1f96733: Download complete 21:32:14 63f879dbbcfc: Verifying Checksum 21:32:14 63f879dbbcfc: Download complete 21:32:14 0d9ebad4ef96: Verifying Checksum 21:32:14 0d9ebad4ef96: Download complete 21:32:14 e9a5061849ea: Verifying Checksum 21:32:14 e9a5061849ea: Download complete 21:32:14 d747dcd14b5f: Download complete 21:32:14 ab5ef0e58194: Verifying Checksum 21:32:14 ab5ef0e58194: Download complete 21:32:14 2de7ff778b66: Verifying Checksum 21:32:14 2de7ff778b66: Download complete 21:32:17 ab5ef0e58194: Pull complete 21:32:17 9712f1f96733: Pull complete 21:32:17 63f879dbbcfc: Pull complete 21:32:21 0d9ebad4ef96: Pull complete 21:32:21 e9a5061849ea: Pull complete 21:32:21 d747dcd14b5f: Pull complete 21:32:22 2de7ff778b66: Pull complete 21:32:22 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 21:32:22 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 21:32:22 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:32:22 prd-ubuntu20.04-docker-8c-8g-12625 does not seem to be running inside a container 21:32:22 $ 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 21:32:24 $ docker top 9f4ae2d40b520a389ac7714be1d0ff6466a9b1512723e0728b602e685dd08cd0 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 21:32:24 provisioning config files... 21:32:24 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10434777387846499145tmp 21:32:24 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15880100677693960168tmp 21:32:24 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9103230762386248824tmp [Pipeline] { [Pipeline] echo 21:32:24 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 21:32:24 ---> sigul-configuration.sh 21:32:24 gpg: directory `/root/.gnupg' created 21:32:24 gpg: new configuration file `/root/.gnupg/gpg.conf' created 21:32:24 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 21:32:24 gpg: keyring `/root/.gnupg/secring.gpg' created 21:32:24 gpg: keyring `/root/.gnupg/pubring.gpg' created 21:32:24 gpg: CAST5 encrypted data 21:32:24 gpg: encrypted with 1 passphrase 21:32:24 gpg: WARNING: message was not integrity protected [Pipeline] sh 21:32:25 + mkdir /home/jenkins 21:32:25 + mkdir /home/jenkins/sigul [Pipeline] sh 21:32:25 + 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 21:32:25 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 21:32:25 ---> sigul-install.sh 21:32:25 Sigul already installed; skipping installation. [Pipeline] sh 21:32:26 + git tag --list 21:32:26 v1.0.0 21:32:26 v1.1.0 21:32:26 v1.1.1 21:32:26 v1.1.2 21:32:26 v1.2.0 21:32:26 v1.2.1 21:32:26 v2.0.0 21:32:26 v2.1.0 21:32:26 v2.1.1 21:32:26 v2.1.1-dev.1 21:32:26 v2.1.1-dev.2 21:32:26 v2.1.1-dev.3 21:32:26 v2.2.0 21:32:26 v2.2.1-dev.1 21:32:26 v2.2.1-dev.2 21:32:26 v2.2.1-dev.3 21:32:26 v2.2.1-dev.4 21:32:26 v2.2.1-dev.5 21:32:26 v2.2.1-dev.6 21:32:26 v2.2.1-dev.7 21:32:26 v2.2.1-dev.8 21:32:26 v2.2.1-dev.9 21:32:26 v2.3.0 21:32:26 v2.3.0-dev.10 21:32:26 v2.3.0-dev.11 21:32:26 v2.3.0-dev.12 21:32:26 v2.3.0-dev.13 21:32:26 v2.3.0-dev.14 21:32:26 v2.3.0-dev.15 21:32:26 v2.3.0-dev.16 21:32:26 v2.3.0-dev.17 21:32:26 v2.3.0-dev.18 21:32:26 v2.3.0-dev.19 21:32:26 v2.3.0-dev.20 21:32:26 v2.3.0-dev.21 21:32:26 v2.3.0-dev.22 21:32:26 v2.3.0-dev.23 21:32:26 v2.3.0-dev.24 21:32:26 v2.3.0-dev.25 21:32:26 v2.3.0-dev.9 21:32:26 v3.0.0-dev.1 21:32:26 v3.0.0-dev.10 21:32:26 v3.0.0-dev.11 21:32:26 v3.0.0-dev.12 21:32:26 v3.0.0-dev.13 21:32:26 v3.0.0-dev.14 21:32:26 v3.0.0-dev.15 21:32:26 v3.0.0-dev.16 21:32:26 v3.0.0-dev.17 21:32:26 v3.0.0-dev.18 21:32:26 v3.0.0-dev.19 21:32:26 v3.0.0-dev.2 21:32:26 v3.0.0-dev.20 21:32:26 v3.0.0-dev.21 21:32:26 v3.0.0-dev.22 21:32:26 v3.0.0-dev.23 21:32:26 v3.0.0-dev.24 21:32:26 v3.0.0-dev.25 21:32:26 v3.0.0-dev.26 21:32:26 v3.0.0-dev.27 21:32:26 v3.0.0-dev.28 21:32:26 v3.0.0-dev.29 21:32:26 v3.0.0-dev.3 21:32:26 v3.0.0-dev.30 21:32:26 v3.0.0-dev.31 21:32:26 v3.0.0-dev.32 21:32:26 v3.0.0-dev.33 21:32:26 v3.0.0-dev.34 21:32:26 v3.0.0-dev.4 21:32:26 v3.0.0-dev.5 21:32:26 v3.0.0-dev.6 21:32:26 v3.0.0-dev.7 21:32:26 v3.0.0-dev.8 21:32:26 v3.0.0-dev.9 [Pipeline] sh 21:32:26 + lftools sign git-tag v3.0.0-dev.34 21:32:26 Signing Git tag with Sigul... 21:32:26 Signing v3.0.0-dev.34 [Pipeline] echo 21:32:27 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 21:32:27 ---> sigul-configuration-cleanup.sh [Pipeline] } 21:32:27 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 21:32:27 $ docker stop --time=1 9f4ae2d40b520a389ac7714be1d0ff6466a9b1512723e0728b602e685dd08cd0 21:32:28 $ docker rm -f --volumes 9f4ae2d40b520a389ac7714be1d0ff6466a9b1512723e0728b602e685dd08cd0 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 21:32:29 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:32:29 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:29 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:32:29 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:32:29 prd-ubuntu20.04-docker-8c-8g-12625 does not seem to be running inside a container 21:32:29 $ 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 21:32:29 $ docker top 0c2677786eb342d9461c5f71019e258817c3d768ac0edcdc648f88f091e7a6db -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:32:30 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:32:30 [ssh-agent] Looking for ssh-agent implementation... 21:32:30 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:32:30 $ docker exec 0c2677786eb342d9461c5f71019e258817c3d768ac0edcdc648f88f091e7a6db ssh-agent 21:32:30 SSH_AUTH_SOCK=/tmp/ssh-aaJ8HJzB0yz1/agent.32 21:32:30 SSH_AGENT_PID=38 21:32:30 Running ssh-add (command line suppressed) 21:32:30 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8462167005439412725.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8462167005439412725.key) 21:32:30 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:32:30 + git semver bump pre 21:32:30 2023-05-03 21:32:30,900 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:32:30 2023-05-03 21:32:30,900 [bump_version] DEBUG bumping version:3.0.0-dev.34 on axis:pre with prefix:dev 21:32:30 2023-05-03 21:32:30,900 [bump_version] DEBUG bumped version:3.0.0-dev.35 21:32:30 2023-05-03 21:32:30,900 [write_version] DEBUG write version:3.0.0-dev.35 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 21:32:30 2023-05-03 21:32:30,900 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:32:30 2023-05-03 21:32:30,900 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:32:30 2023-05-03 21:32:30,902 [execute] INFO git cat-file --batch-check 21:32:30 2023-05-03 21:32:30,903 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:32:30 2023-05-03 21:32:30,908 [execute] INFO git cat-file --batch 21:32:30 2023-05-03 21:32:30,909 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:32:30 2023-05-03 21:32:30,914 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:32:30 3.0.0-dev.35 [Pipeline] } 21:32:30 $ docker exec --env ******** --env ******** 0c2677786eb342d9461c5f71019e258817c3d768ac0edcdc648f88f091e7a6db ssh-agent -k 21:32:31 unset SSH_AUTH_SOCK; 21:32:31 unset SSH_AGENT_PID; 21:32:31 echo Agent pid 38 killed; 21:32:31 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:32:31 + git semver [Pipeline] } 21:32:31 $ docker stop --time=1 0c2677786eb342d9461c5f71019e258817c3d768ac0edcdc648f88f091e7a6db 21:32:32 $ docker rm -f --volumes 0c2677786eb342d9461c5f71019e258817c3d768ac0edcdc648f88f091e7a6db [Pipeline] // withDockerContainer [Pipeline] sh 21:32:33 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 21:32:33 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 21:32:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:32:33 prd-ubuntu20.04-docker-8c-8g-12625 does not seem to be running inside a container 21:32:33 $ 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 21:32:34 $ docker top 9ef790caf8c6a1fdb058f7cf2633b2fbf019e3ffef0e846f23f7a460663b531e -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 21:32:34 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 21:32:34 [ssh-agent] Looking for ssh-agent implementation... 21:32:34 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 21:32:34 $ docker exec 9ef790caf8c6a1fdb058f7cf2633b2fbf019e3ffef0e846f23f7a460663b531e ssh-agent 21:32:34 SSH_AUTH_SOCK=/tmp/ssh-MlChhdBEIRFl/agent.32 21:32:34 SSH_AGENT_PID=38 21:32:34 Running ssh-add (command line suppressed) 21:32:34 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11377982587342355908.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11377982587342355908.key) 21:32:34 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 21:32:34 + git semver push 21:32:34 2023-05-03 21:32:34,907 [run_push] DEBUG push 21:32:34 2023-05-03 21:32:34,908 [execute] INFO git cat-file --batch-check 21:32:34 2023-05-03 21:32:34,909 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 21:32:34 2023-05-03 21:32:34,912 [execute] INFO git rev-list 30d50548b55e8800f35ec47bf1a9a0a431006249 -- 21:32:34 2023-05-03 21:32:34,913 [execute] DEBUG Popen(['git', 'rev-list', '30d50548b55e8800f35ec47bf1a9a0a431006249', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:32:34 2023-05-03 21:32:34,920 [execute] INFO git fetch -v origin 21:32:34 2023-05-03 21:32:34,921 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 21:32:35 2023-05-03 21:32:35,512 [run_push] DEBUG no remote changes detected 21:32:35 2023-05-03 21:32:35,512 [execute] INFO git push origin semver 21:32:35 2023-05-03 21:32:35,513 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 21:32:36 2023-05-03 21:32:36,366 [run_push] DEBUG push all version tags 21:32:36 2023-05-03 21:32:36,366 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 21:32:36 2023-05-03 21:32:36,367 [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) 21:32:37 2023-05-03 21:32:37,115 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 21:32:37 3.0.0-dev.35 [Pipeline] } 21:32:37 $ docker exec --env ******** --env ******** 9ef790caf8c6a1fdb058f7cf2633b2fbf019e3ffef0e846f23f7a460663b531e ssh-agent -k 21:32:37 unset SSH_AUTH_SOCK; 21:32:37 unset SSH_AGENT_PID; 21:32:37 echo Agent pid 38 killed; 21:32:37 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 21:32:37 + git semver [Pipeline] } 21:32:38 $ docker stop --time=1 9ef790caf8c6a1fdb058f7cf2633b2fbf019e3ffef0e846f23f7a460663b531e 21:32:39 $ docker rm -f --volumes 9ef790caf8c6a1fdb058f7cf2633b2fbf019e3ffef0e846f23f7a460663b531e [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 21:32:40 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 21:32:40 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 21:32:40 total 16 21:32:40 drwxr-xr-x 3 root root 4096 May 3 21:23 . 21:32:40 drwxrwxr-x 10 jenkins jenkins 4096 May 3 21:32 .. 21:32:40 drwxr-xr-x 2 root root 4096 May 3 21:23 cost 21:32:40 -rw-r--r-- 1 root root 86 May 3 21:23 cost.csv 21:32:40 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 21:32:40 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 21:32:40 total 16 21:32:40 drwxr-xr-x 3 jenkins jenkins 4096 May 3 21:23 . 21:32:40 drwxrwxr-x 10 jenkins jenkins 4096 May 3 21:32 .. 21:32:40 drwxr-xr-x 2 jenkins jenkins 4096 May 3 21:23 cost 21:32:40 -rw-r--r-- 1 jenkins jenkins 86 May 3 21:23 cost.csv [Pipeline] libraryResource [Pipeline] sh 21:32:40 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 21:32:41 ---> package-listing.sh 21:32:41 ++ facter osfamily 21:32:41 ++ tr '[:upper:]' '[:lower:]' 21:32:41 + OS_FAMILY=debian 21:32:41 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 21:32:41 + START_PACKAGES=/tmp/packages_start.txt 21:32:41 + END_PACKAGES=/tmp/packages_end.txt 21:32:41 + DIFF_PACKAGES=/tmp/packages_diff.txt 21:32:41 + PACKAGES=/tmp/packages_start.txt 21:32:41 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 21:32:41 + PACKAGES=/tmp/packages_end.txt 21:32:41 + case "${OS_FAMILY}" in 21:32:41 + dpkg -l 21:32:41 + grep '^ii' 21:32:41 + '[' -f /tmp/packages_start.txt ']' 21:32:41 + '[' -f /tmp/packages_end.txt ']' 21:32:41 + diff /tmp/packages_start.txt /tmp/packages_end.txt 21:32:41 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 21:32:41 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 21:32:41 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 21:32:41 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 21:32:41 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 21:32:42 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 21:32:42 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 21:32:42 prd-ubuntu20.04-docker-8c-8g-12625 does not seem to be running inside a container 21:32:42 $ 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 21:32:42 $ docker top 6cd0234d286a6412a0c1d971780c25c83c2a7232b6dd122d6d76399a8ee0bfa9 -eo pid,comm [Pipeline] { [Pipeline] sh 21:32:42 + touch /tmp/pre-build-complete [Pipeline] sh 21:32:43 + mkdir -p /var/log/sysstat [Pipeline] sh 21:32:43 + ls /var/log/sa-host 21:32:43 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 21:32:43 provisioning config files... 21:32:43 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16360257396135395725tmp [Pipeline] { [Pipeline] echo 21:32:43 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 21:32:43 ---> create-netrc.sh [Pipeline] } 21:32:43 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 21:32:44 ---> python-tools-install.sh [Pipeline] echo 21:32:44 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 21:32:44 ---> sudo-logs.sh 21:32:44 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 21:32:44 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 21:32:44 ---> job-cost.sh 21:32:44 lf-activate-venv: SKIPPING 21:32:44 DEBUG: total: 0.2199999988079071 21:32:44 INFO: Retrieving Stack Cost... 21:32:45 INFO: Retrieving Pricing Info for: v3-standard-8 21:32:45 INFO: Archiving Costs [Pipeline] echo 21:32:45 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 21:32:45 ---> logs-deploy.sh 21:32:45 lf-activate-venv: SKIPPING 21:32:45 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/106 21:32:45 INFO: archiving workspace using pattern(s): 21:32:46 Archives upload complete. 21:32:46 INFO: archiving logs to Nexus