Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ec2da75f3e3e567a377e035f33bd2cfaed15f48d 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-ssh15465596068398051741.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh14996491245000984350.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 4fc256d9079ed2258907e613f84b1b8da264a4bd 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-ssh7193282141704263836.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision 4fc256d9079ed2258907e613f84b1b8da264a4bd (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f 4fc256d9079ed2258907e613f84b1b8da264a4bd # timeout=10 Commit message: "Merge pull request #430 from ernestojeda/release-lock" > 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-ssh12712860900669737049.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-ssh17471755482997360317.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.20 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-14825 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 ec2da75f3e3e567a377e035f33bd2cfaed15f48d (main) > 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 ec2da75f3e3e567a377e035f33bd2cfaed15f48d # timeout=10 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#314)" > git rev-list --no-walk bb022d5e5ee314ea0b2e9403ec65a17609e45266 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 23:50:09 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 23:50:09 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 23:50:09 ========================================================= 23:50:09 EdgeX Global Pipelines Version Info 23:50:09 ========================================================= [Pipeline] libraryResource [Pipeline] sh 23:50:10 ------------------- 23:50:10 stable info: 23:50:10 ------------------- 23:50:10 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 23:50:10 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:50:10 Message: update stable to v1.0.249 23:50:11 ------------------- 23:50:11 experimental info: 23:50:11 ------------------- 23:50:11 Commited By: **** collab-it+edgex@linuxfoundation.org 23:50:11 Commit SHA: 4fc256d9079ed2258907e613f84b1b8da264a4bd 23:50:11 Message: update experimental to v1.0.249 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 23:50:11 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 23:50:11 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 23:50:11 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 23:50:11 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 23:50:11 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 23:50:11 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 23:50:11 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 23:50:11 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 23:50:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 23:50:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 23:50:11 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 23:50:11 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 23:50:11 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 23:50:11 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 23:50:11 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 23:50:11 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 23:50:11 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 23:50:11 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 23:50:11 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 23:50:11 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 23:50:11 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 23:50:11 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 23:50:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 23:50:11 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 23:50:11 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 23:50:11 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 23:50:11 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 23:50:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 23:50:11 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 23:50:11 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 23:50:11 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ec2da75f3e3e567a377e035f33bd2cfaed15f48d [Pipeline] echo 23:50:11 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ec2da75 [Pipeline] echo 23:50:11 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:50:11 provisioning config files... 23:50:11 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3338162024847170755tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:50:12 ---> docker-login.sh 23:50:12 nexus3.edgexfoundry.org:10001 23:50:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:50:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:50:12 Configure a credential helper to remove this warning. See 23:50:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:50:12 23:50:12 Login Succeeded 23:50:12 nexus3.edgexfoundry.org:10002 23:50:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:50:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:50:12 Configure a credential helper to remove this warning. See 23:50:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:50:12 23:50:12 Login Succeeded 23:50:12 nexus3.edgexfoundry.org:10003 23:50:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:50:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:50:12 Configure a credential helper to remove this warning. See 23:50:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:50:12 23:50:12 Login Succeeded 23:50:12 nexus3.edgexfoundry.org:10004 23:50:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:50:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:50:12 Configure a credential helper to remove this warning. See 23:50:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:50:12 23:50:12 Login Succeeded 23:50:12 docker.io 23:50:12 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:50:12 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:50:12 Configure a credential helper to remove this warning. See 23:50:12 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:50:12 23:50:12 Login Succeeded 23:50:12 ---> docker-login.sh ends [Pipeline] } 23:50:12 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 23:50:13 + git rev-list -1 --merges ec2da75f3e3e567a377e035f33bd2cfaed15f48d~1..ec2da75f3e3e567a377e035f33bd2cfaed15f48d [Pipeline] echo 23:50:13 -----------> git rev-list -1 --merges ec2da75f3e3e567a377e035f33bd2cfaed15f48d~1..ec2da75f3e3e567a377e035f33bd2cfaed15f48d ec2da75f3e3e567a377e035f33bd2cfaed15f48d [false] [Pipeline] sh 23:50:13 + git log --format=format:%s -1 ec2da75f3e3e567a377e035f33bd2cfaed15f48d [Pipeline] echo 23:50:13 ========================================================= 23:50:13 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 23:50:13 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:50:13 + git log --format=format:%s -1 ec2da75f3e3e567a377e035f33bd2cfaed15f48d [Pipeline] echo 23:50:13 [semverPrep] GIT_COMMIT: ec2da75f3e3e567a377e035f33bd2cfaed15f48d, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#314) [Pipeline] echo 23:50:13 [semverPrep] This is not a build commit. [Pipeline] sh 23:50:14 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 23:50:14 + grep -v github /etc/ssh/ssh_known_hosts 23:50:14 + [ -e /tmp/ssh_known_hosts ] 23:50:14 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 23:50:14 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 23:50:14 + sudo tee -a /etc/ssh/ssh_known_hosts 23:50:14 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:50:14 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:50:14 23:50:14 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:50:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:50:15 0.1.4: Pulling from edgex-devops/py-git-semver 23:50:15 b85a868b505f: Pulling fs layer 23:50:15 e2be974225ed: Pulling fs layer 23:50:15 339a4e72a1f5: Pulling fs layer 23:50:15 988bab9f4d93: Pulling fs layer 23:50:15 1469e6f7b9e6: Pulling fs layer 23:50:15 eaf3925da568: Pulling fs layer 23:50:15 bab4dde63d76: Pulling fs layer 23:50:15 bde34c3a00c8: Pulling fs layer 23:50:15 b352a97aabf1: Pulling fs layer 23:50:15 4872d77fe225: Pulling fs layer 23:50:15 5851b861e8e6: Pulling fs layer 23:50:15 eaf3925da568: Waiting 23:50:15 1469e6f7b9e6: Waiting 23:50:15 bde34c3a00c8: Waiting 23:50:15 988bab9f4d93: Waiting 23:50:15 5851b861e8e6: Waiting 23:50:15 b352a97aabf1: Waiting 23:50:15 bab4dde63d76: Waiting 23:50:15 e2be974225ed: Verifying Checksum 23:50:15 e2be974225ed: Download complete 23:50:15 988bab9f4d93: Verifying Checksum 23:50:15 988bab9f4d93: Download complete 23:50:15 1469e6f7b9e6: Verifying Checksum 23:50:15 1469e6f7b9e6: Download complete 23:50:15 339a4e72a1f5: Verifying Checksum 23:50:15 339a4e72a1f5: Download complete 23:50:15 eaf3925da568: Verifying Checksum 23:50:15 eaf3925da568: Download complete 23:50:15 b352a97aabf1: Verifying Checksum 23:50:15 b352a97aabf1: Download complete 23:50:15 4872d77fe225: Download complete 23:50:15 5851b861e8e6: Verifying Checksum 23:50:15 5851b861e8e6: Download complete 23:50:15 b85a868b505f: Verifying Checksum 23:50:15 b85a868b505f: Download complete 23:50:15 bab4dde63d76: Verifying Checksum 23:50:15 bab4dde63d76: Download complete 23:50:16 b85a868b505f: Pull complete 23:50:16 e2be974225ed: Pull complete 23:50:17 339a4e72a1f5: Pull complete 23:50:17 988bab9f4d93: Pull complete 23:50:17 1469e6f7b9e6: Pull complete 23:50:17 eaf3925da568: Pull complete 23:50:19 bab4dde63d76: Pull complete 23:50:19 bde34c3a00c8: Pull complete 23:50:19 b352a97aabf1: Pull complete 23:50:19 4872d77fe225: Pull complete 23:50:19 5851b861e8e6: Pull complete 23:50:19 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 23:50:19 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 23:50:19 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:50:19 prd-ubuntu20.04-docker-8c-8g-14825 does not seem to be running inside a container 23:50: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 23:50:21 $ docker top e626d2baf7e86b4ac842ed4f6f7d7bb63c0ef0fb8736121df652de84c91257b8 -eo pid,comm 23:50:21 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 23:50:21 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 23:50:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:50:21 [ssh-agent] Looking for ssh-agent implementation... 23:50:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:50:21 $ docker exec e626d2baf7e86b4ac842ed4f6f7d7bb63c0ef0fb8736121df652de84c91257b8 ssh-agent 23:50:21 SSH_AUTH_SOCK=/tmp/ssh-E8KmqXUKpz1K/agent.32 23:50:21 SSH_AGENT_PID=38 23:50:21 Running ssh-add (command line suppressed) 23:50:21 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12634109098182524612.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12634109098182524612.key) 23:50:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:50:22 + git tag --points-at HEAD [Pipeline] } 23:50:22 $ docker exec --env ******** --env ******** e626d2baf7e86b4ac842ed4f6f7d7bb63c0ef0fb8736121df652de84c91257b8 ssh-agent -k 23:50:22 unset SSH_AUTH_SOCK; 23:50:22 unset SSH_AGENT_PID; 23:50:22 echo Agent pid 38 killed; 23:50:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 23:50:22 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 23:50:22 [ssh-agent] Looking for ssh-agent implementation... 23:50:22 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 23:50:22 $ docker exec e626d2baf7e86b4ac842ed4f6f7d7bb63c0ef0fb8736121df652de84c91257b8 ssh-agent 23:50:22 SSH_AUTH_SOCK=/tmp/ssh-wwm6xIo2BqEi/agent.70 23:50:22 SSH_AGENT_PID=76 23:50:22 Running ssh-add (command line suppressed) 23:50:22 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4515051598796733143.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4515051598796733143.key) 23:50:22 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 23:50:23 + git semver init 23:50:23 2023-05-09 23:50:23,358 [run_init] DEBUG init version:0.0.0 force:False 23:50:23 2023-05-09 23:50:23,359 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 23:50:23 2023-05-09 23:50:23,359 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 23:50:23 2023-05-09 23:50:23,360 [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) 23:50:24 2023-05-09 23:50:24,299 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 23:50:24 2023-05-09 23:50:24,299 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 23:50:24 2023-05-09 23:50:24,300 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:50:24 2023-05-09 23:50:24,300 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 23:50:24 3.0.0-dev.39 [Pipeline] } 23:50:24 $ docker exec --env ******** --env ******** e626d2baf7e86b4ac842ed4f6f7d7bb63c0ef0fb8736121df652de84c91257b8 ssh-agent -k 23:50:24 unset SSH_AUTH_SOCK; 23:50:24 unset SSH_AGENT_PID; 23:50:24 echo Agent pid 76 killed; 23:50:24 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 23:50:24 + git semver [Pipeline] } 23:50:25 $ docker stop --time=1 e626d2baf7e86b4ac842ed4f6f7d7bb63c0ef0fb8736121df652de84c91257b8 23:50:26 $ docker rm -f --volumes e626d2baf7e86b4ac842ed4f6f7d7bb63c0ef0fb8736121df652de84c91257b8 [Pipeline] // withDockerContainer [Pipeline] sh 23:50:26 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 23:50:26 Stashed 1 file(s) [Pipeline] echo 23:50:26 [edgeXSemver]: initialized semver on version 3.0.0-dev.39 [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 23:50:27 provisioning config files... 23:50:27 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11625588476494838261tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:50:27 ---> docker-login.sh 23:50:27 nexus3.edgexfoundry.org:10001 23:50:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:50:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:50:27 Configure a credential helper to remove this warning. See 23:50:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:50:27 23:50:27 Login Succeeded 23:50:27 nexus3.edgexfoundry.org:10002 23:50:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:50:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:50:27 Configure a credential helper to remove this warning. See 23:50:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:50:27 23:50:27 Login Succeeded 23:50:27 nexus3.edgexfoundry.org:10003 23:50:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:50:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:50:27 Configure a credential helper to remove this warning. See 23:50:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:50:27 23:50:27 Login Succeeded 23:50:27 nexus3.edgexfoundry.org:10004 23:50:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:50:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:50:27 Configure a credential helper to remove this warning. See 23:50:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:50:27 23:50:27 Login Succeeded 23:50:27 docker.io 23:50:27 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:50:27 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:50:27 Configure a credential helper to remove this warning. See 23:50:27 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:50:27 23:50:27 Login Succeeded 23:50:27 ---> docker-login.sh ends [Pipeline] } 23:50:27 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:50:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:50:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:50:27 ========================================================= 23:50:27 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 23:50:27 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:50: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 . 23:50:28 Sending build context to Docker daemon 10.91MB 23:50:28 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:50:28 Step 2/12 : FROM ${BASE} AS builder 23:50:28 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 23:50:28 f56be85fc22e: Pulling fs layer 23:50:28 85791d961cd3: Pulling fs layer 23:50:28 d694b5ae8c79: Pulling fs layer 23:50:28 9f32a84ed3da: Pulling fs layer 23:50:28 4d19c01a9841: Pulling fs layer 23:50:28 9325e15d5711: Pulling fs layer 23:50:28 556b6ee489ea: Pulling fs layer 23:50:28 c5a4b2cf53e6: Pulling fs layer 23:50:28 4d19c01a9841: Waiting 23:50:28 9325e15d5711: Waiting 23:50:28 556b6ee489ea: Waiting 23:50:28 c5a4b2cf53e6: Waiting 23:50:28 9f32a84ed3da: Waiting 23:50:28 85791d961cd3: Verifying Checksum 23:50:28 85791d961cd3: Download complete 23:50:28 9f32a84ed3da: Download complete 23:50:28 4d19c01a9841: Download complete 23:50:28 f56be85fc22e: Verifying Checksum 23:50:28 f56be85fc22e: Download complete 23:50:28 9325e15d5711: Verifying Checksum 23:50:28 9325e15d5711: Download complete 23:50:28 f56be85fc22e: Pull complete 23:50:28 85791d961cd3: Pull complete 23:50:29 c5a4b2cf53e6: Verifying Checksum 23:50:29 c5a4b2cf53e6: Download complete 23:50:29 d694b5ae8c79: Verifying Checksum 23:50:29 d694b5ae8c79: Download complete 23:50:29 556b6ee489ea: Download complete 23:50:32 d694b5ae8c79: Pull complete 23:50:32 9f32a84ed3da: Pull complete 23:50:32 4d19c01a9841: Pull complete 23:50:32 9325e15d5711: Pull complete 23:50:35 556b6ee489ea: Pull complete 23:50:35 c5a4b2cf53e6: Pull complete 23:50:35 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 23:50:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 23:50:35 ---> c4be618373d6 23:50:35 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:50:39 ---> Running in 08036af888a2 23:50:39 Removing intermediate container 08036af888a2 23:50:39 ---> 1df4e567e391 23:50:39 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:50:39 ---> Running in a1dda94d3811 23:50:39 Removing intermediate container a1dda94d3811 23:50:39 ---> b533129ed860 23:50:39 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:50:39 ---> Running in 66243bfe05f8 23:50:39 Removing intermediate container 66243bfe05f8 23:50:39 ---> 1c1b55114466 23:50:39 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:50:39 ---> Running in cbaac9d80f4a 23:50:39 Removing intermediate container cbaac9d80f4a 23:50:39 ---> 80a5e9cf223f 23:50:39 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:50:39 ---> Running in 8db3638eea5b 23:50:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:50:39 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:50:39 (1/4) Installing openssh-keygen (9.1_p1-r2) 23:50:39 (2/4) Installing libedit (20221030.3.1-r0) 23:50:39 (3/4) Installing openssh-client-common (9.1_p1-r2) 23:50:39 (4/4) Installing openssh-client-default (9.1_p1-r2) 23:50:39 Executing busybox-1.35.0-r29.trigger 23:50:40 OK: 269 MiB in 57 packages 23:50:40 Removing intermediate container 8db3638eea5b 23:50:40 ---> d602ccb17069 23:50:40 Step 8/12 : WORKDIR /device-rest-go 23:50:40 ---> Running in 95acd1de4b97 23:50:40 Removing intermediate container 95acd1de4b97 23:50:40 ---> 8692d739500a 23:50:40 Step 9/12 : COPY go.mod vendor* ./ 23:50:40 ---> e2f06efdf412 23:50:40 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:50:40 ---> Running in 6a68bc3e4fbc 23:50:41 Still waiting to schedule task 23:50:41 Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ 23:51:07 Removing intermediate container 6a68bc3e4fbc 23:51:07 ---> be4fca081a26 23:51:07 Step 11/12 : COPY . . 23:51:07 ---> de25d7dcf04c 23:51:07 Step 12/12 : RUN $MAKE 23:51:07 ---> Running in b7fc4cb4a8db 23:51:07 noop 23:51:07 Removing intermediate container b7fc4cb4a8db 23:51:07 ---> 72fd38d37918 23:51:07 Successfully built 72fd38d37918 23:51:07 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:51:07 + docker inspect -f . ci-base-image-x86_64 23:51:07 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:51:07 prd-ubuntu20.04-docker-8c-8g-14825 does not seem to be running inside a container 23:51:07 $ 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 23:51:07 $ docker top e8f341eb7b1314af346a12e3f4511b662244299aa44c023c910637b7268f0a03 -eo pid,comm [Pipeline] { [Pipeline] sh 23:51:08 + go version 23:51:08 go version go1.20.2 linux/amd64 [Pipeline] } 23:51:08 $ docker stop --time=1 e8f341eb7b1314af346a12e3f4511b662244299aa44c023c910637b7268f0a03 23:51:09 $ docker rm -f --volumes e8f341eb7b1314af346a12e3f4511b662244299aa44c023c910637b7268f0a03 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:51:09 + docker inspect -f . ci-base-image-x86_64 23:51:09 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:51:10 prd-ubuntu20.04-docker-8c-8g-14825 does not seem to be running inside a container 23:51:10 $ 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 23:51:10 $ docker top 1ca28861a4576e3eddf272d6ecee2f854cb403bcb1d5060baa8789b812ff8edb -eo pid,comm [Pipeline] { [Pipeline] sh 23:51:10 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 23:51:11 + make test 23:51:11 go test ./... -coverprofile=coverage.out ./... 23:51:16 ? github.com/edgexfoundry/device-rest-go [no test files] 23:51:26 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:51:26 ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 32.2% of statements 23:51:34 go vet ./... 23:51:37 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:51:37 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:51:37 ./bin/test-attribution-txt.sh [Pipeline] echo 23:51:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:51:37 $ docker stop --time=1 1ca28861a4576e3eddf272d6ecee2f854cb403bcb1d5060baa8789b812ff8edb 23:51:40 $ docker rm -f --volumes 1ca28861a4576e3eddf272d6ecee2f854cb403bcb1d5060baa8789b812ff8edb [Pipeline] // withDockerContainer [Pipeline] sh 23:51:40 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:51:40 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 23:51:41 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:51:41 + ls -al . 23:51:41 total 184 23:51:41 drwxrwxr-x 9 jenkins jenkins 4096 May 9 23:51 . 23:51:41 drwxrwxr-x 4 jenkins jenkins 4096 May 9 23:50 .. 23:51:41 -rw-rw-r-- 1 jenkins jenkins 151 May 9 23:50 .dockerignore 23:51:41 drwxrwxr-x 8 jenkins jenkins 4096 May 9 23:50 .git 23:51:41 drwxrwxr-x 3 jenkins jenkins 4096 May 9 23:50 .github 23:51:41 -rw-rw-r-- 1 jenkins jenkins 329 May 9 23:50 .gitignore 23:51:41 -rw-rw-r-- 1 jenkins jenkins 41 May 9 23:50 .golangci.yml 23:51:41 drwxr-xr-x 3 jenkins jenkins 4096 May 9 23:50 .semver 23:51:41 -rw-rw-r-- 1 jenkins jenkins 9331 May 9 23:50 Attribution.txt 23:51:41 -rw-rw-r-- 1 jenkins jenkins 13085 May 9 23:50 CHANGELOG.md 23:51:41 -rw-rw-r-- 1 jenkins jenkins 1578 May 9 23:50 Dockerfile 23:51:41 -rw-rw-r-- 1 jenkins jenkins 677 May 9 23:50 GOVERNANCE.md 23:51:41 -rw-rw-r-- 1 jenkins jenkins 680 May 9 23:50 Jenkinsfile 23:51:41 -rw-rw-r-- 1 jenkins jenkins 11340 May 9 23:50 LICENSE 23:51:41 -rw-rw-r-- 1 jenkins jenkins 1779 May 9 23:50 Makefile 23:51:41 -rw-rw-r-- 1 jenkins jenkins 620 May 9 23:50 OWNERS.md 23:51:41 -rw-rw-r-- 1 jenkins jenkins 15321 May 9 23:50 README.md 23:51:41 -rw-rw-r-- 1 jenkins jenkins 12 May 9 23:50 VERSION 23:51:41 drwxrwxr-x 2 jenkins jenkins 4096 May 9 23:50 bin 23:51:41 drwxrwxr-x 3 jenkins jenkins 4096 May 9 23:50 cmd 23:51:41 -rw-r--r-- 1 jenkins jenkins 14663 May 9 23:51 coverage.out 23:51:41 drwxrwxr-x 2 jenkins jenkins 4096 May 9 23:50 driver 23:51:41 -rw-rw-r-- 1 jenkins jenkins 3402 May 9 23:50 go.mod 23:51:41 -rw-rw-r-- 1 jenkins jenkins 31328 May 9 23:50 go.sum 23:51:41 drwxrwxr-x 4 jenkins jenkins 4096 May 9 23:50 snap 23:51:41 -rw-rw-r-- 1 jenkins jenkins 713 May 9 23:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:51:42 + 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=ec2da75f3e3e567a377e035f33bd2cfaed15f48d --label arch=amd64 --label version=3.0.0-dev.39 . 23:51:42 Sending build context to Docker daemon 10.93MB 23:51:42 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 23:51:42 Step 2/25 : FROM ${BASE} AS builder 23:51:42 ---> 72fd38d37918 23:51:42 Step 3/25 : ARG ADD_BUILD_TAGS="" 23:51:42 ---> Running in f1ed5e5971f8 23:51:42 Removing intermediate container f1ed5e5971f8 23:51:42 ---> 4483b900113a 23:51:42 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:51:42 ---> Running in b3fed98294fa 23:51:42 Removing intermediate container b3fed98294fa 23:51:42 ---> af5715f11e36 23:51:42 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:51:42 ---> Running in c78dd746f9c6 23:51:42 Removing intermediate container c78dd746f9c6 23:51:42 ---> c7fd648ed0b6 23:51:42 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 23:51:42 ---> Running in fb7f9326f344 23:51:42 Removing intermediate container fb7f9326f344 23:51:42 ---> 5265a236952e 23:51:42 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:51:42 ---> Running in ef2160d014a4 23:51:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:51:42 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:51:43 OK: 269 MiB in 57 packages 23:51:43 Removing intermediate container ef2160d014a4 23:51:43 ---> 3494c62ae05f 23:51:43 Step 8/25 : WORKDIR /device-rest-go 23:51:43 ---> Running in c39ec61b4d96 23:51:43 Removing intermediate container c39ec61b4d96 23:51:43 ---> ab68baaa9f7f 23:51:43 Step 9/25 : COPY go.mod vendor* ./ 23:51:43 ---> 3da96bcd7e9d 23:51:43 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:51:43 ---> Running in a9e3be921cbd 23:51:44 Removing intermediate container a9e3be921cbd 23:51:44 ---> 48e74d319c08 23:51:44 Step 11/25 : COPY . . 23:51:45 ---> 704ae57af451 23:51:45 Step 12/25 : RUN $MAKE 23:51:45 ---> Running in a21f333d7d69 23:51:45 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.39" -trimpath -mod=readonly -o cmd/device-rest ./cmd 23:52:07 Removing intermediate container a21f333d7d69 23:52:07 ---> cef2ac362fd7 23:52:07 Step 13/25 : FROM alpine:3.17 23:52:07 3.17: Pulling from library/alpine 23:52:07 f56be85fc22e: Already exists 23:52:07 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 23:52:07 Status: Downloaded newer image for alpine:3.17 23:52:07 ---> 9ed4aefc74f6 23:52:07 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 23:52:07 ---> Running in 663e578791ef 23:52:07 Removing intermediate container 663e578791ef 23:52:07 ---> d165b51a619f 23:52:07 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 23:52:07 ---> Running in d96ab2333264 23:52:07 Removing intermediate container d96ab2333264 23:52:07 ---> 2d0294eb8068 23:52:07 Step 16/25 : RUN apk add --update --no-cache dumb-init 23:52:07 ---> Running in bc0403873cbf 23:52:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 23:52:07 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 23:52:07 (1/1) Installing dumb-init (1.2.5-r2) 23:52:07 Executing busybox-1.35.0-r29.trigger 23:52:07 OK: 7 MiB in 16 packages 23:52:07 Removing intermediate container bc0403873cbf 23:52:07 ---> 684df50f5b35 23:52:07 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 23:52:07 ---> 6972c1c81fee 23:52:07 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 23:52:07 ---> 63a7f38be7c4 23:52:07 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 23:52:07 ---> 8244911906cd 23:52:07 Step 20/25 : EXPOSE 59986 23:52:07 ---> Running in 6b04d48b3e24 23:52:07 Removing intermediate container 6b04d48b3e24 23:52:07 ---> 3a0688107186 23:52:07 Step 21/25 : ENTRYPOINT ["/device-rest"] 23:52:07 ---> Running in 5ef931056925 23:52:07 Removing intermediate container 5ef931056925 23:52:07 ---> aa1eb6a68d7e 23:52:07 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 23:52:07 ---> Running in 5918fcbecb04 23:52:07 Removing intermediate container 5918fcbecb04 23:52:07 ---> eac2840ecb34 23:52:07 Step 23/25 : LABEL arch=amd64 23:52:07 ---> Running in 7662268f6422 23:52:07 Removing intermediate container 7662268f6422 23:52:07 ---> 4c9298271053 23:52:07 Step 24/25 : LABEL git_sha=ec2da75f3e3e567a377e035f33bd2cfaed15f48d 23:52:07 ---> Running in ee18ff9f2327 23:52:07 Removing intermediate container ee18ff9f2327 23:52:07 ---> 96dd86ac270a 23:52:07 Step 25/25 : LABEL version=3.0.0-dev.39 23:52:07 ---> Running in a6992c8adfa7 23:52:07 Removing intermediate container a6992c8adfa7 23:52:07 ---> 4622158188cf 23:52:07 [Warning] One or more build-args [ARCH] were not consumed 23:52:07 Successfully built 4622158188cf 23:52:07 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:52:07 provisioning config files... 23:52:07 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10088494044860226974tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:52:07 ---> docker-login.sh 23:52:07 nexus3.edgexfoundry.org:10001 23:52:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:07 Configure a credential helper to remove this warning. See 23:52:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:07 23:52:07 Login Succeeded 23:52:07 nexus3.edgexfoundry.org:10002 23:52:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:07 Configure a credential helper to remove this warning. See 23:52:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:07 23:52:07 Login Succeeded 23:52:07 nexus3.edgexfoundry.org:10003 23:52:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:07 Configure a credential helper to remove this warning. See 23:52:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:07 23:52:07 Login Succeeded 23:52:07 nexus3.edgexfoundry.org:10004 23:52:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:07 Configure a credential helper to remove this warning. See 23:52:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:07 23:52:07 Login Succeeded 23:52:07 docker.io 23:52:08 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:52:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:52:08 Configure a credential helper to remove this warning. See 23:52:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:52:08 23:52:08 Login Succeeded 23:52:08 ---> docker-login.sh ends [Pipeline] } 23:52:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:52:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:52:08 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 23:52:08 ec2da75f3e3e567a377e035f33bd2cfaed15f48d 23:52:08 latest 23:52:08 3.0.0-dev.39 23:52:08 ec2da75f3e3e567a377e035f33bd2cfaed15f48d-3.0.0-dev.39 23:52:08 main 23:52:08 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:08 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:ec2da75f3e3e567a377e035f33bd2cfaed15f48d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:09 + docker push nexus3.edgexfoundry.org:10004/device-rest:ec2da75f3e3e567a377e035f33bd2cfaed15f48d 23:52:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:52:09 bcab15c1086b: Preparing 23:52:09 7ada92655884: Preparing 23:52:09 fef5a610bf96: Preparing 23:52:09 007e800059ed: Preparing 23:52:09 f1417ff83b31: Preparing 23:52:09 f1417ff83b31: Layer already exists 23:52:09 007e800059ed: Pushed 23:52:09 bcab15c1086b: Pushed 23:52:09 7ada92655884: Pushed 23:52:12 fef5a610bf96: Pushed 23:52:12 ec2da75f3e3e567a377e035f33bd2cfaed15f48d: digest: sha256:d5422697c9d4a42ce8bf1210729f884db62f22d5e2c1dff3b0e6a22e674c7cba size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:12 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:13 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 23:52:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:52:13 bcab15c1086b: Preparing 23:52:13 7ada92655884: Preparing 23:52:13 fef5a610bf96: Preparing 23:52:13 007e800059ed: Preparing 23:52:13 f1417ff83b31: Preparing 23:52:13 f1417ff83b31: Layer already exists 23:52:13 7ada92655884: Layer already exists 23:52:13 fef5a610bf96: Layer already exists 23:52:13 007e800059ed: Layer already exists 23:52:13 bcab15c1086b: Layer already exists 23:52:13 latest: digest: sha256:d5422697c9d4a42ce8bf1210729f884db62f22d5e2c1dff3b0e6a22e674c7cba size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:13 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.39 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:13 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.39 23:52:13 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:52:13 bcab15c1086b: Preparing 23:52:13 7ada92655884: Preparing 23:52:13 fef5a610bf96: Preparing 23:52:13 007e800059ed: Preparing 23:52:13 f1417ff83b31: Preparing 23:52:13 bcab15c1086b: Layer already exists 23:52:13 7ada92655884: Layer already exists 23:52:13 f1417ff83b31: Layer already exists 23:52:13 fef5a610bf96: Layer already exists 23:52:13 007e800059ed: Layer already exists 23:52:13 3.0.0-dev.39: digest: sha256:d5422697c9d4a42ce8bf1210729f884db62f22d5e2c1dff3b0e6a22e674c7cba size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:13 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:ec2da75f3e3e567a377e035f33bd2cfaed15f48d-3.0.0-dev.39 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:14 + docker push nexus3.edgexfoundry.org:10004/device-rest:ec2da75f3e3e567a377e035f33bd2cfaed15f48d-3.0.0-dev.39 23:52:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:52:14 bcab15c1086b: Preparing 23:52:14 7ada92655884: Preparing 23:52:14 fef5a610bf96: Preparing 23:52:14 007e800059ed: Preparing 23:52:14 f1417ff83b31: Preparing 23:52:14 fef5a610bf96: Layer already exists 23:52:14 007e800059ed: Layer already exists 23:52:14 f1417ff83b31: Layer already exists 23:52:14 7ada92655884: Layer already exists 23:52:14 bcab15c1086b: Layer already exists 23:52:14 ec2da75f3e3e567a377e035f33bd2cfaed15f48d-3.0.0-dev.39: digest: sha256:d5422697c9d4a42ce8bf1210729f884db62f22d5e2c1dff3b0e6a22e674c7cba size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:14 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:14 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 23:52:14 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 23:52:14 bcab15c1086b: Preparing 23:52:14 7ada92655884: Preparing 23:52:14 fef5a610bf96: Preparing 23:52:14 007e800059ed: Preparing 23:52:14 f1417ff83b31: Preparing 23:52:14 7ada92655884: Layer already exists 23:52:14 f1417ff83b31: Layer already exists 23:52:14 007e800059ed: Layer already exists 23:52:14 bcab15c1086b: Layer already exists 23:52:14 fef5a610bf96: Layer already exists 23:52:14 main: digest: sha256:d5422697c9d4a42ce8bf1210729f884db62f22d5e2c1dff3b0e6a22e674c7cba size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 23:52:15 ===================================================== [Pipeline] echo 23:52:15 taggedImages: 23:52:15 - nexus3.edgexfoundry.org:10004/device-rest:ec2da75f3e3e567a377e035f33bd2cfaed15f48d 23:52:15 - nexus3.edgexfoundry.org:10004/device-rest:latest 23:52:15 - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.39 23:52:15 - nexus3.edgexfoundry.org:10004/device-rest:ec2da75f3e3e567a377e035f33bd2cfaed15f48d-3.0.0-dev.39 23:52:15 - 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 23:52:15 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:52:15 23:52:15 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:52:15 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:52:15 latest: Pulling from edgex-lftools-log-publisher 23:52:15 5eb5b503b376: Pulling fs layer 23:52:15 5c69ac0246d0: Pulling fs layer 23:52:15 ec43610c2a17: Pulling fs layer 23:52:15 3a2ae6a8a46f: Pulling fs layer 23:52:15 33b1e0a273af: Pulling fs layer 23:52:15 3a2ae6a8a46f: Waiting 23:52:15 5d3b04190fa2: Pulling fs layer 23:52:15 33b1e0a273af: Waiting 23:52:15 2f39f015ded8: Pulling fs layer 23:52:15 5d3b04190fa2: Waiting 23:52:15 2f39f015ded8: Waiting 23:52:15 5c69ac0246d0: Download complete 23:52:15 3a2ae6a8a46f: Verifying Checksum 23:52:15 3a2ae6a8a46f: Download complete 23:52:15 33b1e0a273af: Verifying Checksum 23:52:15 33b1e0a273af: Download complete 23:52:15 ec43610c2a17: Verifying Checksum 23:52:15 ec43610c2a17: Download complete 23:52:15 5d3b04190fa2: Download complete 23:52:15 5eb5b503b376: Verifying Checksum 23:52:15 5eb5b503b376: Download complete 23:52:16 2f39f015ded8: Download complete 23:52:17 5eb5b503b376: Pull complete 23:52:17 5c69ac0246d0: Pull complete 23:52:17 ec43610c2a17: Pull complete 23:52:17 3a2ae6a8a46f: Pull complete 23:52:18 33b1e0a273af: Pull complete 23:52:18 5d3b04190fa2: Pull complete 23:52:23 2f39f015ded8: Pull complete 23:52:23 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 23:52:23 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 23:52:23 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:52:23 prd-ubuntu20.04-docker-8c-8g-14825 does not seem to be running inside a container 23:52:23 $ 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 23:52:26 $ docker top a863785d4a3ac79196694cdc0c8348107a95b37b37f673fe41a1991987f41369 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:52:26 ---> job-cost.sh 23:52:26 lf-activate-venv: SKIPPING 23:52:26 INFO: No Stack... 23:52:26 INFO: Retrieving Pricing Info for: v3-standard-8 23:52:27 INFO: Archiving Costs [Pipeline] sh 23:52:27 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 23:52:27 + cut -d, -f6 [Pipeline] lock 23:52:27 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-111-stack-cost] 23:52:27 Resource [jenkins-edgexfoundry-device-rest-go-main-111-stack-cost] did not exist. Created. 23:52:27 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-111-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 23:52:27 + echo total: 0.2199999988079071 [Pipeline] stash 23:52:27 Stashed 1 file(s) [Pipeline] } 23:52:27 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-111-stack-cost] [Pipeline] // lock [Pipeline] } 23:52:27 $ docker stop --time=1 a863785d4a3ac79196694cdc0c8348107a95b37b37f673fe41a1991987f41369 23:52:29 $ docker rm -f --volumes a863785d4a3ac79196694cdc0c8348107a95b37b37f673fe41a1991987f41369 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 23:53:32 Running on prd-ubuntu20.04-docker-arm64-4c-16g-14827 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 23:53:32 Running in /w/workspace/device-rest-go/111 [Pipeline] { [Pipeline] checkout 23:53:32 The recommended git tool is: git 23:53:39 using credential edgex-jenkins-ssh 23:53:39 Cloning the remote Git repository 23:53:39 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 23:53:39 > git init /w/workspace/device-rest-go/111 # timeout=10 23:53:39 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 23:53:39 > git --version # timeout=10 23:53:39 > git --version # 'git version 2.25.1' 23:53:39 using GIT_SSH to set credentials SSH Credentials for GitHub 23:53:39 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 23:53:42 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 23:53:42 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 23:53:43 Avoid second fetch 23:53:43 Checking out Revision ec2da75f3e3e567a377e035f33bd2cfaed15f48d (main) 23:53:43 Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#314)" 23:53:43 > git config core.sparsecheckout # timeout=10 23:53:43 > git checkout -f ec2da75f3e3e567a377e035f33bd2cfaed15f48d # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 23:53:44 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 23:53:44 % Total % Received % Xferd Average Speed Time Time Time Current 23:53:44 Dload Upload Total Spent Left Speed 23:53:44 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 185k 0 --:--:-- --:--:-- --:--:-- 188k [Pipeline] sh 23:53:45 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 23:53:45 + sudo tee /etc/docker/daemon.new 23:53:45 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 23:53:45 { 23:53:45 "registry-mirrors": [ 23:53:45 "https://nexus3.edgexfoundry.org:10001" 23:53:45 ], 23:53:45 "bip": "10.250.0.254/24", 23:53:45 "hosts": [ 23:53:45 "tcp://0.0.0.0:5555", 23:53:45 "unix:///var/run/docker.sock" 23:53:45 ], 23:53:45 "mtu": 1458, 23:53:45 "selinux-enabled": true, 23:53:45 "seccomp-profile": "/etc/docker/seccomp.json" 23:53:45 } [Pipeline] sh 23:53:46 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 23:53:46 + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 23:54:04 provisioning config files... 23:54:04 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/111@tmp/config7249746845365242894tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 23:54:05 ---> docker-login.sh 23:54:05 nexus3.edgexfoundry.org:10001 23:54:05 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:05 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:05 Configure a credential helper to remove this warning. See 23:54:05 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:05 23:54:05 Login Succeeded 23:54:05 nexus3.edgexfoundry.org:10002 23:54:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:06 Configure a credential helper to remove this warning. See 23:54:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:06 23:54:06 Login Succeeded 23:54:06 nexus3.edgexfoundry.org:10003 23:54:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:06 Configure a credential helper to remove this warning. See 23:54:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:06 23:54:06 Login Succeeded 23:54:06 nexus3.edgexfoundry.org:10004 23:54:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:07 Configure a credential helper to remove this warning. See 23:54:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:07 23:54:07 Login Succeeded 23:54:07 docker.io 23:54:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 23:54:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 23:54:07 Configure a credential helper to remove this warning. See 23:54:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 23:54:07 23:54:07 Login Succeeded 23:54:07 ---> docker-login.sh ends [Pipeline] } 23:54:07 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 23:54:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:54:07 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 23:54:07 ========================================================= 23:54:07 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 23:54:07 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:54:08 + 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 . 23:54:08 Sending build context to Docker daemon 139.3kB 23:54:08 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 23:54:08 Step 2/12 : FROM ${BASE} AS builder 23:54:08 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 23:54:08 c41833b44d91: Pulling fs layer 23:54:08 ed15518f5707: Pulling fs layer 23:54:08 feae8fd75edb: Pulling fs layer 23:54:08 242c74f7c9fa: Pulling fs layer 23:54:08 3cdef696dda3: Pulling fs layer 23:54:08 2ced38df9373: Pulling fs layer 23:54:08 58f1dce35555: Pulling fs layer 23:54:08 242c74f7c9fa: Waiting 23:54:08 3cdef696dda3: Waiting 23:54:08 58f1dce35555: Waiting 23:54:08 2ced38df9373: Waiting 23:54:08 ed15518f5707: Verifying Checksum 23:54:08 ed15518f5707: Download complete 23:54:08 242c74f7c9fa: Verifying Checksum 23:54:08 242c74f7c9fa: Download complete 23:54:08 3cdef696dda3: Verifying Checksum 23:54:08 3cdef696dda3: Download complete 23:54:08 c41833b44d91: Download complete 23:54:10 58f1dce35555: Verifying Checksum 23:54:10 58f1dce35555: Download complete 23:54:11 feae8fd75edb: Verifying Checksum 23:54:11 feae8fd75edb: Download complete 23:54:11 2ced38df9373: Verifying Checksum 23:54:11 2ced38df9373: Download complete 23:54:12 c41833b44d91: Pull complete 23:54:12 ed15518f5707: Pull complete 23:54:22 feae8fd75edb: Pull complete 23:54:23 242c74f7c9fa: Pull complete 23:54:23 3cdef696dda3: Pull complete 23:54:30 2ced38df9373: Pull complete 23:54:31 58f1dce35555: Pull complete 23:54:31 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 23:54:31 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 23:54:31 ---> fadd8f120f05 23:54:31 Step 3/12 : ARG ADD_BUILD_TAGS="" 23:54:33 ---> Running in eb22847ada8b 23:54:34 Removing intermediate container eb22847ada8b 23:54:34 ---> f435b1442f20 23:54:34 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:54:34 ---> Running in 36a21a70d230 23:54:34 Removing intermediate container 36a21a70d230 23:54:34 ---> 7d0d13398088 23:54:34 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:54:34 ---> Running in 083e1a49bf98 23:54:34 Removing intermediate container 083e1a49bf98 23:54:34 ---> b7d2dd167b2d 23:54:34 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 23:54:35 ---> Running in 42145d81c585 23:54:35 Removing intermediate container 42145d81c585 23:54:35 ---> 8959db9db8ad 23:54:35 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:54:35 ---> Running in ba716cd63af8 23:54:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:54:37 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:54:39 (1/4) Installing openssh-keygen (9.1_p1-r2) 23:54:39 (2/4) Installing libedit (20221030.3.1-r0) 23:54:39 (3/4) Installing openssh-client-common (9.1_p1-r2) 23:54:39 (4/4) Installing openssh-client-default (9.1_p1-r2) 23:54:39 Executing busybox-1.35.0-r29.trigger 23:54:39 OK: 268 MiB in 57 packages 23:54:40 Removing intermediate container ba716cd63af8 23:54:40 ---> c184cbdd9362 23:54:40 Step 8/12 : WORKDIR /device-rest-go 23:54:40 ---> Running in 5ec6a6839f4a 23:54:40 Removing intermediate container 5ec6a6839f4a 23:54:40 ---> 358bda6ab001 23:54:40 Step 9/12 : COPY go.mod vendor* ./ 23:54:41 ---> f3605661cbd6 23:54:41 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:54:41 ---> Running in 0c84d7c4ec77 23:55:49 Removing intermediate container 0c84d7c4ec77 23:55:49 ---> 9d28bda88750 23:55:49 Step 11/12 : COPY . . 23:55:49 ---> 20675d778154 23:55:49 Step 12/12 : RUN $MAKE 23:55:49 ---> Running in 3031f5ef67bb 23:55:49 noop 23:55:49 Removing intermediate container 3031f5ef67bb 23:55:49 ---> ed66cc10ee45 23:55:49 Successfully built ed66cc10ee45 23:55:49 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:49 + docker inspect -f . ci-base-image-arm64 23:55:49 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:55:49 prd-ubuntu20.04-docker-arm64-4c-16g-14827 does not seem to be running inside a container 23:55:50 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/111 -v /w/workspace/device-rest-go/111:/w/workspace/device-rest-go/111:rw,z -v /w/workspace/device-rest-go/111@tmp:/w/workspace/device-rest-go/111@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:55:51 $ docker top 41d0110582dfb87ca7d594fe23429108a2784c2a6c9ae9d9368fef6026730a56 -eo pid,comm [Pipeline] { [Pipeline] sh 23:55:52 + go version 23:55:52 go version go1.20.2 linux/arm64 [Pipeline] } 23:55:52 $ docker stop --time=1 41d0110582dfb87ca7d594fe23429108a2784c2a6c9ae9d9368fef6026730a56 23:55:53 $ docker rm -f --volumes 41d0110582dfb87ca7d594fe23429108a2784c2a6c9ae9d9368fef6026730a56 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:55:54 + docker inspect -f . ci-base-image-arm64 23:55:54 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 23:55:54 prd-ubuntu20.04-docker-arm64-4c-16g-14827 does not seem to be running inside a container 23:55:54 $ 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/111 -v /w/workspace/device-rest-go/111:/w/workspace/device-rest-go/111:rw,z -v /w/workspace/device-rest-go/111@tmp:/w/workspace/device-rest-go/111@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 23:55:56 $ docker top 835ceef47edc11411ce839bf50a782538dbecc5ad3b1311a87e7a33edc7fc799 -eo pid,comm [Pipeline] { [Pipeline] sh 23:55:57 + git config --global --add safe.directory /w/workspace/device-rest-go/111 [Pipeline] fileExists [Pipeline] sh 23:55:57 + make test 23:55:57 go test ./... -coverprofile=coverage.out ./... 23:56:36 ? github.com/edgexfoundry/device-rest-go [no test files] 23:58:43 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 23:58:45 ok github.com/edgexfoundry/device-rest-go/driver 0.066s coverage: 32.2% of statements 23:58:45 WARNING: Linting skipped (not on x86_64 or linter not installed) 23:58:45 go vet ./... 23:59:18 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 23:59:18 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 23:59:18 ./bin/test-attribution-txt.sh [Pipeline] echo 23:59:18 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 23:59:18 $ docker stop --time=1 835ceef47edc11411ce839bf50a782538dbecc5ad3b1311a87e7a33edc7fc799 23:59:20 $ docker rm -f --volumes 835ceef47edc11411ce839bf50a782538dbecc5ad3b1311a87e7a33edc7fc799 [Pipeline] // withDockerContainer [Pipeline] sh 23:59:21 + sudo chown -R jenkins:jenkins . [Pipeline] stash 23:59:21 Warning: overwriting stash ‘coverage-report’ 23:59:21 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 23:59:22 + sudo chown -R jenkins:jenkins . [Pipeline] sh 23:59:22 + ls -al . 23:59:22 total 180 23:59:22 drwxrwxr-x 8 jenkins jenkins 4096 May 9 23:56 . 23:59:22 drwxrwxr-x 4 jenkins jenkins 4096 May 9 23:53 .. 23:59:22 -rw-rw-r-- 1 jenkins jenkins 151 May 9 23:53 .dockerignore 23:59:22 drwxrwxr-x 8 jenkins jenkins 4096 May 9 23:53 .git 23:59:22 drwxrwxr-x 3 jenkins jenkins 4096 May 9 23:53 .github 23:59:22 -rw-rw-r-- 1 jenkins jenkins 329 May 9 23:53 .gitignore 23:59:22 -rw-rw-r-- 1 jenkins jenkins 41 May 9 23:53 .golangci.yml 23:59:22 -rw-rw-r-- 1 jenkins jenkins 9331 May 9 23:53 Attribution.txt 23:59:22 -rw-rw-r-- 1 jenkins jenkins 13085 May 9 23:53 CHANGELOG.md 23:59:22 -rw-rw-r-- 1 jenkins jenkins 1578 May 9 23:53 Dockerfile 23:59:22 -rw-rw-r-- 1 jenkins jenkins 677 May 9 23:53 GOVERNANCE.md 23:59:22 -rw-rw-r-- 1 jenkins jenkins 680 May 9 23:53 Jenkinsfile 23:59:22 -rw-rw-r-- 1 jenkins jenkins 11340 May 9 23:53 LICENSE 23:59:22 -rw-rw-r-- 1 jenkins jenkins 1779 May 9 23:53 Makefile 23:59:22 -rw-rw-r-- 1 jenkins jenkins 620 May 9 23:53 OWNERS.md 23:59:22 -rw-rw-r-- 1 jenkins jenkins 15321 May 9 23:53 README.md 23:59:22 -rw-rw-r-- 1 jenkins jenkins 12 May 9 23:50 VERSION 23:59:22 drwxrwxr-x 2 jenkins jenkins 4096 May 9 23:53 bin 23:59:22 drwxrwxr-x 3 jenkins jenkins 4096 May 9 23:53 cmd 23:59:22 -rw-r--r-- 1 jenkins jenkins 14663 May 9 23:58 coverage.out 23:59:22 drwxrwxr-x 2 jenkins jenkins 4096 May 9 23:53 driver 23:59:22 -rw-rw-r-- 1 jenkins jenkins 3402 May 9 23:53 go.mod 23:59:22 -rw-rw-r-- 1 jenkins jenkins 31328 May 9 23:53 go.sum 23:59:22 drwxrwxr-x 4 jenkins jenkins 4096 May 9 23:53 snap 23:59:22 -rw-rw-r-- 1 jenkins jenkins 713 May 9 23:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 23:59:22 + 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=ec2da75f3e3e567a377e035f33bd2cfaed15f48d --label arch=arm64 --label version=3.0.0-dev.39 . 23:59:22 Sending build context to Docker daemon 154.6kB 23:59:23 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 23:59:23 Step 2/25 : FROM ${BASE} AS builder 23:59:23 ---> ed66cc10ee45 23:59:23 Step 3/25 : ARG ADD_BUILD_TAGS="" 23:59:23 ---> Running in f1d959d8f099 23:59:23 Removing intermediate container f1d959d8f099 23:59:23 ---> b55e96893c87 23:59:23 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 23:59:23 ---> Running in 6e7479543d8d 23:59:24 Removing intermediate container 6e7479543d8d 23:59:24 ---> c7930d78a4c5 23:59:24 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 23:59:24 ---> Running in 567a19b02936 23:59:24 Removing intermediate container 567a19b02936 23:59:24 ---> 0e3ba81ffdf6 23:59:24 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 23:59:24 ---> Running in fba7898cd773 23:59:24 Removing intermediate container fba7898cd773 23:59:24 ---> 523309f1305c 23:59:24 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 23:59:24 ---> Running in 5aa130571f62 23:59:25 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 23:59:26 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 23:59:27 OK: 268 MiB in 57 packages 23:59:28 Removing intermediate container 5aa130571f62 23:59:28 ---> d6de0ef22eec 23:59:28 Step 8/25 : WORKDIR /device-rest-go 23:59:28 ---> Running in f87f7e239f78 23:59:29 Removing intermediate container f87f7e239f78 23:59:29 ---> d5ac467b57dd 23:59:29 Step 9/25 : COPY go.mod vendor* ./ 23:59:31 ---> 49ecc4c3e910 23:59:31 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 23:59:31 ---> Running in 56dd90334a6d 23:59:34 Removing intermediate container 56dd90334a6d 23:59:34 ---> 8860fbf10803 23:59:34 Step 11/25 : COPY . . 23:59:34 ---> d0f996110250 23:59:34 Step 12/25 : RUN $MAKE 23:59:34 ---> Running in c54cfff15775 23:59:35 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.39" -trimpath -mod=readonly -o cmd/device-rest ./cmd 00:01:57 Removing intermediate container c54cfff15775 00:01:57 ---> d38f0f3b2b73 00:01:57 Step 13/25 : FROM alpine:3.17 00:01:57 3.17: Pulling from library/alpine 00:01:57 c41833b44d91: Already exists 00:01:57 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 00:01:57 Status: Downloaded newer image for alpine:3.17 00:01:57 ---> 51e60588ff2c 00:01:57 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 00:01:57 ---> Running in ccee3a7eb3c1 00:01:57 Removing intermediate container ccee3a7eb3c1 00:01:57 ---> 996bad03baec 00:01:57 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 00:01:57 ---> Running in 2255153f4e9b 00:01:57 Removing intermediate container 2255153f4e9b 00:01:57 ---> edd639506af0 00:01:57 Step 16/25 : RUN apk add --update --no-cache dumb-init 00:01:57 ---> Running in c26b0bfbd89a 00:01:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 00:01:57 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 00:01:58 (1/1) Installing dumb-init (1.2.5-r2) 00:01:58 Executing busybox-1.35.0-r29.trigger 00:01:58 OK: 8 MiB in 16 packages 00:01:59 Removing intermediate container c26b0bfbd89a 00:01:59 ---> 774e88f721ec 00:01:59 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 00:02:01 ---> 1faad9273cc1 00:02:01 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 00:02:01 ---> fdd71c102a54 00:02:01 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 00:02:02 ---> 7d746fa3936e 00:02:02 Step 20/25 : EXPOSE 59986 00:02:03 ---> Running in cc3b217fd4c6 00:02:03 Removing intermediate container cc3b217fd4c6 00:02:03 ---> 4c5e4f1ffe88 00:02:03 Step 21/25 : ENTRYPOINT ["/device-rest"] 00:02:03 ---> Running in 4ee1c5f1b427 00:02:04 Removing intermediate container 4ee1c5f1b427 00:02:04 ---> 560d2c48aefc 00:02:04 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 00:02:04 ---> Running in 5df38bd3e0f1 00:02:04 Removing intermediate container 5df38bd3e0f1 00:02:04 ---> 8600650ae40e 00:02:04 Step 23/25 : LABEL arch=arm64 00:02:04 ---> Running in fd1431eeb87a 00:02:04 Removing intermediate container fd1431eeb87a 00:02:04 ---> 173a89c3718d 00:02:04 Step 24/25 : LABEL git_sha=ec2da75f3e3e567a377e035f33bd2cfaed15f48d 00:02:04 ---> Running in e62ef0e9ca4a 00:02:05 Removing intermediate container e62ef0e9ca4a 00:02:05 ---> 1ce432350f87 00:02:05 Step 25/25 : LABEL version=3.0.0-dev.39 00:02:05 ---> Running in fd7ea123a10f 00:02:05 Removing intermediate container fd7ea123a10f 00:02:05 ---> afb893a9fabe 00:02:05 [Warning] One or more build-args [ARCH] were not consumed 00:02:05 Successfully built afb893a9fabe 00:02:05 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 00:02:05 provisioning config files... 00:02:05 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/111@tmp/config10080652063446383159tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:02:06 ---> docker-login.sh 00:02:06 nexus3.edgexfoundry.org:10001 00:02:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:06 Configure a credential helper to remove this warning. See 00:02:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:06 00:02:06 Login Succeeded 00:02:06 nexus3.edgexfoundry.org:10002 00:02:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:06 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:06 Configure a credential helper to remove this warning. See 00:02:06 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:06 00:02:06 Login Succeeded 00:02:06 nexus3.edgexfoundry.org:10003 00:02:06 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:07 Configure a credential helper to remove this warning. See 00:02:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:07 00:02:07 Login Succeeded 00:02:07 nexus3.edgexfoundry.org:10004 00:02:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:07 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:07 Configure a credential helper to remove this warning. See 00:02:07 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:07 00:02:07 Login Succeeded 00:02:07 docker.io 00:02:07 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 00:02:08 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 00:02:08 Configure a credential helper to remove this warning. See 00:02:08 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 00:02:08 00:02:08 Login Succeeded 00:02:08 ---> docker-login.sh ends [Pipeline] } 00:02:08 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:02:08 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 00:02:08 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 00:02:08 ec2da75f3e3e567a377e035f33bd2cfaed15f48d 00:02:08 latest 00:02:08 3.0.0-dev.39 00:02:08 ec2da75f3e3e567a377e035f33bd2cfaed15f48d-3.0.0-dev.39 00:02:08 main 00:02:08 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:08 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:ec2da75f3e3e567a377e035f33bd2cfaed15f48d [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:09 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:ec2da75f3e3e567a377e035f33bd2cfaed15f48d 00:02:09 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:02:09 ab109d245073: Preparing 00:02:09 cb72972c6838: Preparing 00:02:09 def6011d8cd9: Preparing 00:02:09 ccf11545982f: Preparing 00:02:09 26cbea5cba74: Preparing 00:02:09 26cbea5cba74: Layer already exists 00:02:09 cb72972c6838: Pushed 00:02:09 ab109d245073: Pushed 00:02:09 ccf11545982f: Pushed 00:02:16 def6011d8cd9: Pushed 00:02:16 ec2da75f3e3e567a377e035f33bd2cfaed15f48d: digest: sha256:6d34abb06ea7d28060f33b55e411bb20e72e4f2419a45390753f29089b9d39f7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:16 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:16 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 00:02:16 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:02:16 ab109d245073: Preparing 00:02:16 cb72972c6838: Preparing 00:02:16 def6011d8cd9: Preparing 00:02:16 ccf11545982f: Preparing 00:02:16 26cbea5cba74: Preparing 00:02:17 def6011d8cd9: Layer already exists 00:02:17 26cbea5cba74: Layer already exists 00:02:17 ab109d245073: Layer already exists 00:02:17 cb72972c6838: Layer already exists 00:02:17 ccf11545982f: Layer already exists 00:02:18 latest: digest: sha256:6d34abb06ea7d28060f33b55e411bb20e72e4f2419a45390753f29089b9d39f7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:18 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.39 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:18 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.39 00:02:18 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:02:18 ab109d245073: Preparing 00:02:18 cb72972c6838: Preparing 00:02:18 def6011d8cd9: Preparing 00:02:18 ccf11545982f: Preparing 00:02:18 26cbea5cba74: Preparing 00:02:18 def6011d8cd9: Layer already exists 00:02:18 26cbea5cba74: Layer already exists 00:02:18 ab109d245073: Layer already exists 00:02:18 ccf11545982f: Layer already exists 00:02:18 cb72972c6838: Layer already exists 00:02:19 3.0.0-dev.39: digest: sha256:6d34abb06ea7d28060f33b55e411bb20e72e4f2419a45390753f29089b9d39f7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:19 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:ec2da75f3e3e567a377e035f33bd2cfaed15f48d-3.0.0-dev.39 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:19 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:ec2da75f3e3e567a377e035f33bd2cfaed15f48d-3.0.0-dev.39 00:02:19 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:02:19 ab109d245073: Preparing 00:02:19 cb72972c6838: Preparing 00:02:19 def6011d8cd9: Preparing 00:02:19 ccf11545982f: Preparing 00:02:19 26cbea5cba74: Preparing 00:02:19 def6011d8cd9: Layer already exists 00:02:19 ccf11545982f: Layer already exists 00:02:19 ab109d245073: Layer already exists 00:02:19 cb72972c6838: Layer already exists 00:02:19 26cbea5cba74: Layer already exists 00:02:20 ec2da75f3e3e567a377e035f33bd2cfaed15f48d-3.0.0-dev.39: digest: sha256:6d34abb06ea7d28060f33b55e411bb20e72e4f2419a45390753f29089b9d39f7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:20 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:20 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 00:02:20 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 00:02:20 ab109d245073: Preparing 00:02:20 cb72972c6838: Preparing 00:02:20 def6011d8cd9: Preparing 00:02:20 ccf11545982f: Preparing 00:02:20 26cbea5cba74: Preparing 00:02:20 ab109d245073: Layer already exists 00:02:20 26cbea5cba74: Layer already exists 00:02:20 ccf11545982f: Layer already exists 00:02:20 def6011d8cd9: Layer already exists 00:02:20 cb72972c6838: Layer already exists 00:02:52 main: digest: sha256:6d34abb06ea7d28060f33b55e411bb20e72e4f2419a45390753f29089b9d39f7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 00:02:52 ===================================================== [Pipeline] echo 00:02:52 taggedImages: 00:02:52 - nexus3.edgexfoundry.org:10004/device-rest-arm64:ec2da75f3e3e567a377e035f33bd2cfaed15f48d 00:02:52 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 00:02:52 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.39 00:02:52 - nexus3.edgexfoundry.org:10004/device-rest-arm64:ec2da75f3e3e567a377e035f33bd2cfaed15f48d-3.0.0-dev.39 00:02:52 - 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 00:02:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:02:53 00:02:53 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:02:53 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:02:53 arm64: Pulling from edgex-lftools-log-publisher 00:02:53 8998bd30e6a1: Pulling fs layer 00:02:53 04944245beec: Pulling fs layer 00:02:53 699f458cf7ca: Pulling fs layer 00:02:53 765212b225bb: Pulling fs layer 00:02:53 f23df028b6ca: Pulling fs layer 00:02:53 d65c8cfc05b1: Pulling fs layer 00:02:53 2437ff75d9bd: Pulling fs layer 00:02:53 765212b225bb: Waiting 00:02:53 f23df028b6ca: Waiting 00:02:53 d65c8cfc05b1: Waiting 00:02:53 2437ff75d9bd: Waiting 00:02:53 04944245beec: Verifying Checksum 00:02:53 04944245beec: Download complete 00:02:54 765212b225bb: Verifying Checksum 00:02:54 765212b225bb: Download complete 00:02:54 f23df028b6ca: Verifying Checksum 00:02:54 f23df028b6ca: Download complete 00:02:54 d65c8cfc05b1: Verifying Checksum 00:02:54 d65c8cfc05b1: Download complete 00:02:54 699f458cf7ca: Verifying Checksum 00:02:54 699f458cf7ca: Download complete 00:02:54 8998bd30e6a1: Verifying Checksum 00:02:54 8998bd30e6a1: Download complete 00:02:57 2437ff75d9bd: Verifying Checksum 00:02:57 2437ff75d9bd: Download complete 00:02:58 8998bd30e6a1: Pull complete 00:02:58 04944245beec: Pull complete 00:03:00 699f458cf7ca: Pull complete 00:03:00 765212b225bb: Pull complete 00:03:01 f23df028b6ca: Pull complete 00:03:01 d65c8cfc05b1: Pull complete 00:03:16 2437ff75d9bd: Pull complete 00:03:16 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 00:03:16 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 00:03:16 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:03:16 prd-ubuntu20.04-docker-arm64-4c-16g-14827 does not seem to be running inside a container 00:03:16 $ 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/111 -v /w/workspace/device-rest-go/111:/w/workspace/device-rest-go/111:rw,z -v /w/workspace/device-rest-go/111@tmp:/w/workspace/device-rest-go/111@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 00:03:19 $ docker top 6d71eb916d67a536e782eaabc0429b19d4456eb09a5b5abbbb4ffd8dcafb17c2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 00:03:20 ---> job-cost.sh 00:03:20 lf-activate-venv: SKIPPING 00:03:20 INFO: No Stack... 00:03:20 INFO: Retrieving Pricing Info for: v3-standard-4 00:03:21 INFO: Archiving Costs [Pipeline] sh 00:03:22 + + cut -d, -f6cat 00:03:22 /w/workspace/device-rest-go/111/archives/cost.csv [Pipeline] lock 00:03:22 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-111-stack-cost] 00:03:22 Resource [jenkins-edgexfoundry-device-rest-go-main-111-stack-cost] did not exist. Created. 00:03:22 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-111-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 00:03:22 /w/workspace/device-rest-go/111@tmp/durable-94825781/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 00:03:23 + echo total: 0.10999999940395355 [Pipeline] stash 00:03:23 Warning: overwriting stash ‘stack-cost’ 00:03:23 Stashed 1 file(s) [Pipeline] } 00:03:23 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-111-stack-cost] [Pipeline] // lock [Pipeline] } 00:03:23 $ docker stop --time=1 6d71eb916d67a536e782eaabc0429b19d4456eb09a5b5abbbb4ffd8dcafb17c2 00:03:25 $ docker rm -f --volumes 6d71eb916d67a536e782eaabc0429b19d4456eb09a5b5abbbb4ffd8dcafb17c2 [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 00:03:25 provisioning config files... 00:03:25 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12528166952360794971tmp [Pipeline] { [Pipeline] sh 00:03:26 + set +x 00:03:26 + curl -s https://codecov.io/bash 00:03:26 + bash -s -- 00:03:26 00:03:26 _____ _ 00:03:26 / ____| | | 00:03:26 | | ___ __| | ___ ___ _____ __ 00:03:26 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 00:03:26 | |___| (_) | (_| | __/ (_| (_) \ V / 00:03:26 \_____\___/ \__,_|\___|\___\___/ \_/ 00:03:26 Bash-1.0.6 00:03:26 00:03:26 00:03:26 ==> git version 2.25.1 found 00:03:26 ==> 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 00:03:26 Release-Date: 2020-01-08 00:03:26 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 00:03:26 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 00:03:26 ==> Jenkins CI detected. 00:03:26 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 00:03:26 project root: . 00:03:26 --> token set from env 00:03:26 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 00:03:26 ==> Running gcov in . (disable via -X gcov) 00:03:26 ==> Python coveragepy not found 00:03:26 ==> Searching for coverage reports in: 00:03:26 + . 00:03:26 -> Found 1 reports 00:03:26 ==> Detecting git/mercurial file structure 00:03:26 ==> Reading reports 00:03:26 + ./coverage.out bytes=14663 00:03:26 ==> Appending adjustments 00:03:26 https://docs.codecov.io/docs/fixing-reports 00:03:26 + Found adjustments 00:03:26 ==> Gzipping contents 00:03:26 4.0K /tmp/codecov.Rm1VYM.gz 00:03:26 ==> Uploading reports 00:03:26 url: https://codecov.io 00:03:26 query: branch=main&commit=ec2da75f3e3e567a377e035f33bd2cfaed15f48d&build=111&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F111%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:03:26 -> Pinging Codecov 00:03:26 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=ec2da75f3e3e567a377e035f33bd2cfaed15f48d&build=111&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F111%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 00:03:26 -> Uploading to 00:03:26 https://storage.googleapis.com/codecov/v4/raw/2023-05-10/4E5D53B4F1F92C436F7061BF334D961C/ec2da75f3e3e567a377e035f33bd2cfaed15f48d/ba0cb55d-7123-46fb-92f7-938f441a4d1a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230510%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230510T000326Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=6b9544ff20b25aca2fe3528b13ba7c86c620c8109467a33ca7e4cc3ff49b83f2 00:03:26 % Total % Received % Xferd Average Speed Time Time Time Current 00:03:26 Dload Upload Total Spent Left Speed 00:03:26 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 10818 --:--:-- --:--:-- --:--:-- 10818 00:03:26 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/ec2da75f3e3e567a377e035f33bd2cfaed15f48d [Pipeline] } 00:03:26 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 00:03:27 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 00:03:27 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:03:27 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:03:27 00:03:27 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:03:27 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:03:27 1.410.4: Pulling from edgex-devops/edgex-snyk-go 00:03:27 df9b9388f04a: Pulling fs layer 00:03:27 52dc419b0ee2: Pulling fs layer 00:03:27 25bc292e5bac: Pulling fs layer 00:03:27 114826534d7a: Pulling fs layer 00:03:27 4657fd5d0bcf: Pulling fs layer 00:03:27 6ad1cebc031e: Pulling fs layer 00:03:27 8a3aa393b2d8: Pulling fs layer 00:03:27 4657fd5d0bcf: Waiting 00:03:27 6ad1cebc031e: Waiting 00:03:27 8a3aa393b2d8: Waiting 00:03:27 114826534d7a: Waiting 00:03:27 25bc292e5bac: Verifying Checksum 00:03:27 25bc292e5bac: Download complete 00:03:27 52dc419b0ee2: Verifying Checksum 00:03:27 52dc419b0ee2: Download complete 00:03:27 4657fd5d0bcf: Verifying Checksum 00:03:27 4657fd5d0bcf: Download complete 00:03:27 df9b9388f04a: Verifying Checksum 00:03:27 df9b9388f04a: Download complete 00:03:27 6ad1cebc031e: Verifying Checksum 00:03:27 6ad1cebc031e: Download complete 00:03:28 df9b9388f04a: Pull complete 00:03:28 52dc419b0ee2: Pull complete 00:03:28 25bc292e5bac: Pull complete 00:03:28 114826534d7a: Download complete 00:03:28 8a3aa393b2d8: Verifying Checksum 00:03:28 8a3aa393b2d8: Download complete 00:03:32 114826534d7a: Pull complete 00:03:32 4657fd5d0bcf: Pull complete 00:03:32 6ad1cebc031e: Pull complete 00:03:35 8a3aa393b2d8: Pull complete 00:03:35 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 00:03:35 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 00:03:35 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:03:36 prd-ubuntu20.04-docker-8c-8g-14825 does not seem to be running inside a container 00:03:36 $ 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 00:03:39 $ docker top 6c4d7251d52696c0251dd411a368a95d65ac6254e2a7a15d3e061dfa1d2d107c -eo pid,comm [Pipeline] { [Pipeline] echo 00:03:39 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 00:03:40 + set -o pipefail 00:03:40 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 00:03:50 00:03:50 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 00:03:50 00:03:50 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/49049387-0d1b-4f74-8e05-14a3641730e9 00:03:50 00:03:50 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 00:03:50 00:03:50 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 00:03:50 00:03:50 00:03:50 A medium severity vulnerability was found in the Snyk CLI versions you are using. 00:03:50 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 00:03:50 More details here: https://snyk.co/ue1NS 00:03:50 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 00:03:50 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 00:03:50 $ docker stop --time=1 6c4d7251d52696c0251dd411a368a95d65ac6254e2a7a15d3e061dfa1d2d107c 00:03:52 $ docker rm -f --volumes 6c4d7251d52696c0251dd411a368a95d65ac6254e2a7a15d3e061dfa1d2d107c [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 00:03:53 + git log --format=format:%s -1 ec2da75f3e3e567a377e035f33bd2cfaed15f48d [Pipeline] sh 00:03:53 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:03:53 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:03:53 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:03:53 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:03:54 prd-ubuntu20.04-docker-8c-8g-14825 does not seem to be running inside a container 00:03:54 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:03:54 $ docker top a4c18dd5239d08a20fd8501fc1498b51a1ca5b98701fc0917469d541c36eb0d4 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:03:54 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:03:54 [ssh-agent] Looking for ssh-agent implementation... 00:03:54 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:03:54 $ docker exec a4c18dd5239d08a20fd8501fc1498b51a1ca5b98701fc0917469d541c36eb0d4 ssh-agent 00:03:54 SSH_AUTH_SOCK=/tmp/ssh-OWHU9Re3A4Bb/agent.32 00:03:54 SSH_AGENT_PID=38 00:03:54 Running ssh-add (command line suppressed) 00:03:54 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4253284853896140017.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4253284853896140017.key) 00:03:54 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:03:55 + git semver tag 00:03:55 2023-05-10 00:03:55,438 [run_tag] DEBUG tag force:False 00:03:55 2023-05-10 00:03:55,438 [check_head_tag] DEBUG check head tag 00:03:55 2023-05-10 00:03:55,439 [execute] INFO git cat-file --batch-check 00:03:55 2023-05-10 00:03:55,439 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 00:03:55 2023-05-10 00:03:55,443 [execute] INFO git cat-file --batch 00:03:55 2023-05-10 00:03:55,444 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 00:03:55 2023-05-10 00:03:55,470 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:03:55 2023-05-10 00:03:55,470 [execute] INFO git tag -a v3.0.0-dev.39 -m v3.0.0-dev.39 00:03:55 2023-05-10 00:03:55,470 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.39', '-m', 'v3.0.0-dev.39'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 00:03:55 2023-05-10 00:03:55,476 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:03:55 3.0.0-dev.39 [Pipeline] } 00:03:55 $ docker exec --env ******** --env ******** a4c18dd5239d08a20fd8501fc1498b51a1ca5b98701fc0917469d541c36eb0d4 ssh-agent -k 00:03:55 unset SSH_AUTH_SOCK; 00:03:55 unset SSH_AGENT_PID; 00:03:55 echo Agent pid 38 killed; 00:03:55 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:03:55 + git semver [Pipeline] } 00:03:56 $ docker stop --time=1 a4c18dd5239d08a20fd8501fc1498b51a1ca5b98701fc0917469d541c36eb0d4 00:03:58 $ docker rm -f --volumes a4c18dd5239d08a20fd8501fc1498b51a1ca5b98701fc0917469d541c36eb0d4 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:03:58 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:03:58 00:03:58 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:03:58 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:03:58 0.23.1-centos7: Pulling from edgex-lftools 00:03:58 ab5ef0e58194: Pulling fs layer 00:03:58 9712f1f96733: Pulling fs layer 00:03:58 63f879dbbcfc: Pulling fs layer 00:03:58 0d9ebad4ef96: Pulling fs layer 00:03:58 e9a5061849ea: Pulling fs layer 00:03:58 d747dcd14b5f: Pulling fs layer 00:03:58 0d9ebad4ef96: Waiting 00:03:58 e9a5061849ea: Waiting 00:03:58 d747dcd14b5f: Waiting 00:03:58 2de7ff778b66: Pulling fs layer 00:03:58 2de7ff778b66: Waiting 00:03:58 9712f1f96733: Verifying Checksum 00:03:58 9712f1f96733: Download complete 00:03:59 63f879dbbcfc: Verifying Checksum 00:03:59 63f879dbbcfc: Download complete 00:03:59 e9a5061849ea: Verifying Checksum 00:03:59 e9a5061849ea: Download complete 00:03:59 d747dcd14b5f: Verifying Checksum 00:03:59 d747dcd14b5f: Download complete 00:03:59 0d9ebad4ef96: Verifying Checksum 00:03:59 0d9ebad4ef96: Download complete 00:03:59 ab5ef0e58194: Verifying Checksum 00:03:59 ab5ef0e58194: Download complete 00:03:59 2de7ff778b66: Verifying Checksum 00:03:59 2de7ff778b66: Download complete 00:04:03 ab5ef0e58194: Pull complete 00:04:03 9712f1f96733: Pull complete 00:04:03 63f879dbbcfc: Pull complete 00:04:07 0d9ebad4ef96: Pull complete 00:04:07 e9a5061849ea: Pull complete 00:04:07 d747dcd14b5f: Pull complete 00:04:08 2de7ff778b66: Pull complete 00:04:08 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 00:04:08 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 00:04:08 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:04:08 prd-ubuntu20.04-docker-8c-8g-14825 does not seem to be running inside a container 00:04:08 $ 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 00:04:12 $ docker top 991100d0179c9a531173289013941bf6f37a9360a20b0415dbbe52919f0080b8 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 00:04:12 provisioning config files... 00:04:12 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3791802793856198812tmp 00:04:12 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11342251446647765779tmp 00:04:12 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config350179533668539151tmp [Pipeline] { [Pipeline] echo 00:04:12 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 00:04:13 ---> sigul-configuration.sh 00:04:13 gpg: directory `/root/.gnupg' created 00:04:13 gpg: new configuration file `/root/.gnupg/gpg.conf' created 00:04:13 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 00:04:13 gpg: keyring `/root/.gnupg/secring.gpg' created 00:04:13 gpg: keyring `/root/.gnupg/pubring.gpg' created 00:04:13 gpg: CAST5 encrypted data 00:04:13 gpg: encrypted with 1 passphrase 00:04:13 gpg: WARNING: message was not integrity protected [Pipeline] sh 00:04:13 + mkdir /home/jenkins 00:04:13 + mkdir /home/jenkins/sigul [Pipeline] sh 00:04:13 + 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 00:04:13 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 00:04:15 ---> sigul-install.sh 00:04:15 Sigul already installed; skipping installation. [Pipeline] sh 00:04:15 + git tag --list 00:04:15 v1.0.0 00:04:15 v1.1.0 00:04:15 v1.1.1 00:04:15 v1.1.2 00:04:15 v1.2.0 00:04:15 v1.2.1 00:04:15 v2.0.0 00:04:15 v2.1.0 00:04:15 v2.1.1 00:04:15 v2.1.1-dev.1 00:04:15 v2.1.1-dev.2 00:04:15 v2.1.1-dev.3 00:04:15 v2.2.0 00:04:15 v2.2.1-dev.1 00:04:15 v2.2.1-dev.2 00:04:15 v2.2.1-dev.3 00:04:15 v2.2.1-dev.4 00:04:15 v2.2.1-dev.5 00:04:15 v2.2.1-dev.6 00:04:15 v2.2.1-dev.7 00:04:15 v2.2.1-dev.8 00:04:15 v2.2.1-dev.9 00:04:15 v2.3.0 00:04:15 v2.3.0-dev.10 00:04:15 v2.3.0-dev.11 00:04:15 v2.3.0-dev.12 00:04:15 v2.3.0-dev.13 00:04:15 v2.3.0-dev.14 00:04:15 v2.3.0-dev.15 00:04:15 v2.3.0-dev.16 00:04:15 v2.3.0-dev.17 00:04:15 v2.3.0-dev.18 00:04:15 v2.3.0-dev.19 00:04:15 v2.3.0-dev.20 00:04:15 v2.3.0-dev.21 00:04:15 v2.3.0-dev.22 00:04:15 v2.3.0-dev.23 00:04:15 v2.3.0-dev.24 00:04:15 v2.3.0-dev.25 00:04:15 v2.3.0-dev.9 00:04:15 v3.0.0-dev.1 00:04:15 v3.0.0-dev.10 00:04:15 v3.0.0-dev.11 00:04:15 v3.0.0-dev.12 00:04:15 v3.0.0-dev.13 00:04:15 v3.0.0-dev.14 00:04:15 v3.0.0-dev.15 00:04:15 v3.0.0-dev.16 00:04:15 v3.0.0-dev.17 00:04:15 v3.0.0-dev.18 00:04:15 v3.0.0-dev.19 00:04:15 v3.0.0-dev.2 00:04:15 v3.0.0-dev.20 00:04:15 v3.0.0-dev.21 00:04:15 v3.0.0-dev.22 00:04:15 v3.0.0-dev.23 00:04:15 v3.0.0-dev.24 00:04:15 v3.0.0-dev.25 00:04:15 v3.0.0-dev.26 00:04:15 v3.0.0-dev.27 00:04:15 v3.0.0-dev.28 00:04:15 v3.0.0-dev.29 00:04:15 v3.0.0-dev.3 00:04:15 v3.0.0-dev.30 00:04:15 v3.0.0-dev.31 00:04:15 v3.0.0-dev.32 00:04:15 v3.0.0-dev.33 00:04:15 v3.0.0-dev.34 00:04:15 v3.0.0-dev.35 00:04:15 v3.0.0-dev.36 00:04:15 v3.0.0-dev.37 00:04:15 v3.0.0-dev.38 00:04:15 v3.0.0-dev.39 00:04:15 v3.0.0-dev.4 00:04:15 v3.0.0-dev.5 00:04:15 v3.0.0-dev.6 00:04:15 v3.0.0-dev.7 00:04:15 v3.0.0-dev.8 00:04:15 v3.0.0-dev.9 [Pipeline] sh 00:04:16 + lftools sign git-tag v3.0.0-dev.39 00:04:16 Signing Git tag with Sigul... 00:04:16 Signing v3.0.0-dev.39 [Pipeline] echo 00:04:16 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 00:04:17 ---> sigul-configuration-cleanup.sh [Pipeline] } 00:04:17 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 00:04:17 $ docker stop --time=1 991100d0179c9a531173289013941bf6f37a9360a20b0415dbbe52919f0080b8 00:04:18 $ docker rm -f --volumes 991100d0179c9a531173289013941bf6f37a9360a20b0415dbbe52919f0080b8 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 00:04:18 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:04:18 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:19 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:04:19 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:04:19 prd-ubuntu20.04-docker-8c-8g-14825 does not seem to be running inside a container 00:04: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 ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 00:04:19 $ docker top 5b47fa5210c45f2994b50687edef7093e29f09b3a13ec2271ef0c3a8bfca811a -eo pid,comm 00:04:19 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). 00:04:19 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:04:19 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:04:19 [ssh-agent] Looking for ssh-agent implementation... 00:04:19 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:04:19 $ docker exec 5b47fa5210c45f2994b50687edef7093e29f09b3a13ec2271ef0c3a8bfca811a ssh-agent 00:04:20 SSH_AUTH_SOCK=/tmp/ssh-DLfOspx9WiQP/agent.32 00:04:20 SSH_AGENT_PID=38 00:04:20 Running ssh-add (command line suppressed) 00:04:20 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16881764012582955943.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16881764012582955943.key) 00:04:20 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:04:20 + git semver bump pre 00:04:20 2023-05-10 00:04:20,594 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:04:20 2023-05-10 00:04:20,594 [bump_version] DEBUG bumping version:3.0.0-dev.39 on axis:pre with prefix:dev 00:04:20 2023-05-10 00:04:20,594 [bump_version] DEBUG bumped version:3.0.0-dev.40 00:04:20 2023-05-10 00:04:20,595 [write_version] DEBUG write version:3.0.0-dev.40 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 00:04:20 2023-05-10 00:04:20,595 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:04:20 2023-05-10 00:04:20,595 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:04:20 2023-05-10 00:04:20,597 [execute] INFO git cat-file --batch-check 00:04:20 2023-05-10 00:04:20,598 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:04:20 2023-05-10 00:04:20,603 [execute] INFO git cat-file --batch 00:04:20 2023-05-10 00:04:20,603 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:04:20 2023-05-10 00:04:20,609 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:04:20 3.0.0-dev.40 [Pipeline] } 00:04:20 $ docker exec --env ******** --env ******** 5b47fa5210c45f2994b50687edef7093e29f09b3a13ec2271ef0c3a8bfca811a ssh-agent -k 00:04:20 unset SSH_AUTH_SOCK; 00:04:20 unset SSH_AGENT_PID; 00:04:20 echo Agent pid 38 killed; 00:04:20 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:04:21 + git semver [Pipeline] } 00:04:21 $ docker stop --time=1 5b47fa5210c45f2994b50687edef7093e29f09b3a13ec2271ef0c3a8bfca811a 00:04:22 $ docker rm -f --volumes 5b47fa5210c45f2994b50687edef7093e29f09b3a13ec2271ef0c3a8bfca811a [Pipeline] // withDockerContainer [Pipeline] sh 00:04:23 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 00:04:23 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:23 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 00:04:23 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:04:23 prd-ubuntu20.04-docker-8c-8g-14825 does not seem to be running inside a container 00:04:23 $ 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 00:04:23 $ docker top 39d20aadea2847fa13ba358f1ce054fee5ac882ad76e4893e40097eb403d286c -eo pid,comm 00:04:23 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). 00:04:23 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 00:04:23 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 00:04:23 [ssh-agent] Looking for ssh-agent implementation... 00:04:23 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 00:04:23 $ docker exec 39d20aadea2847fa13ba358f1ce054fee5ac882ad76e4893e40097eb403d286c ssh-agent 00:04:24 SSH_AUTH_SOCK=/tmp/ssh-g0T4diFxZmUQ/agent.32 00:04:24 SSH_AGENT_PID=38 00:04:24 Running ssh-add (command line suppressed) 00:04:24 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1145484625607071462.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1145484625607071462.key) 00:04:24 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 00:04:24 + git semver push 00:04:24 2023-05-10 00:04:24,728 [run_push] DEBUG push 00:04:24 2023-05-10 00:04:24,729 [execute] INFO git cat-file --batch-check 00:04:24 2023-05-10 00:04:24,729 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 00:04:24 2023-05-10 00:04:24,734 [execute] INFO git rev-list 65daf6934bb60dfe5aaa3c4510b6cf4d17bfb06f -- 00:04:24 2023-05-10 00:04:24,734 [execute] DEBUG Popen(['git', 'rev-list', '65daf6934bb60dfe5aaa3c4510b6cf4d17bfb06f', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:04:24 2023-05-10 00:04:24,743 [execute] INFO git fetch -v origin 00:04:24 2023-05-10 00:04:24,744 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 00:04:25 2023-05-10 00:04:25,225 [run_push] DEBUG no remote changes detected 00:04:25 2023-05-10 00:04:25,225 [execute] INFO git push origin semver 00:04:25 2023-05-10 00:04:25,226 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 00:04:26 2023-05-10 00:04:26,000 [run_push] DEBUG push all version tags 00:04:26 2023-05-10 00:04:26,001 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 00:04:26 2023-05-10 00:04:26,001 [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) 00:04:26 2023-05-10 00:04:26,809 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 00:04:26 3.0.0-dev.40 [Pipeline] } 00:04:26 $ docker exec --env ******** --env ******** 39d20aadea2847fa13ba358f1ce054fee5ac882ad76e4893e40097eb403d286c ssh-agent -k 00:04:26 unset SSH_AUTH_SOCK; 00:04:26 unset SSH_AGENT_PID; 00:04:26 echo Agent pid 38 killed; 00:04:26 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 00:04:27 + git semver [Pipeline] } 00:04:27 $ docker stop --time=1 39d20aadea2847fa13ba358f1ce054fee5ac882ad76e4893e40097eb403d286c 00:04:28 $ docker rm -f --volumes 39d20aadea2847fa13ba358f1ce054fee5ac882ad76e4893e40097eb403d286c [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 00:04:29 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 00:04:29 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 00:04:29 total 16 00:04:29 drwxr-xr-x 3 root root 4096 May 9 23:52 . 00:04:29 drwxrwxr-x 10 jenkins jenkins 4096 May 10 00:04 .. 00:04:29 drwxr-xr-x 2 root root 4096 May 9 23:52 cost 00:04:29 -rw-r--r-- 1 root root 86 May 9 23:52 cost.csv 00:04:29 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 00:04:29 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 00:04:29 total 16 00:04:29 drwxr-xr-x 3 jenkins jenkins 4096 May 9 23:52 . 00:04:29 drwxrwxr-x 10 jenkins jenkins 4096 May 10 00:04 .. 00:04:29 drwxr-xr-x 2 jenkins jenkins 4096 May 9 23:52 cost 00:04:29 -rw-r--r-- 1 jenkins jenkins 86 May 9 23:52 cost.csv [Pipeline] libraryResource [Pipeline] sh 00:04:29 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 00:04:30 ---> package-listing.sh 00:04:30 ++ facter osfamily 00:04:30 ++ tr '[:upper:]' '[:lower:]' 00:04:30 + OS_FAMILY=debian 00:04:30 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 00:04:30 + START_PACKAGES=/tmp/packages_start.txt 00:04:30 + END_PACKAGES=/tmp/packages_end.txt 00:04:30 + DIFF_PACKAGES=/tmp/packages_diff.txt 00:04:30 + PACKAGES=/tmp/packages_start.txt 00:04:30 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 00:04:30 + PACKAGES=/tmp/packages_end.txt 00:04:30 + case "${OS_FAMILY}" in 00:04:30 + dpkg -l 00:04:30 + grep '^ii' 00:04:30 + '[' -f /tmp/packages_start.txt ']' 00:04:30 + '[' -f /tmp/packages_end.txt ']' 00:04:30 + diff /tmp/packages_start.txt /tmp/packages_end.txt 00:04:30 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 00:04:30 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 00:04:30 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 00:04:30 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 00:04:31 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 00:04:31 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 00:04:31 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 00:04:31 prd-ubuntu20.04-docker-8c-8g-14825 does not seem to be running inside a container 00:04:31 $ 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 00:04:31 $ docker top 8b49ecc1f1fc5b5a5dd8598a1adaea846de75db317f81cf3d5598ddf91a30c6e -eo pid,comm [Pipeline] { [Pipeline] sh 00:04:32 + touch /tmp/pre-build-complete [Pipeline] sh 00:04:32 + mkdir -p /var/log/sysstat [Pipeline] sh 00:04:32 + ls /var/log/sa-host 00:04:32 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 00:04:33 provisioning config files... 00:04:33 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9478701835265884373tmp [Pipeline] { [Pipeline] echo 00:04:33 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 00:04:33 ---> create-netrc.sh [Pipeline] } 00:04:33 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 00:04:33 ---> python-tools-install.sh [Pipeline] echo 00:04:33 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 00:04:33 ---> sudo-logs.sh 00:04:33 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 00:04:34 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 00:04:34 ---> job-cost.sh 00:04:34 lf-activate-venv: SKIPPING 00:04:34 DEBUG: total: 0.2199999988079071 00:04:34 INFO: Retrieving Stack Cost... 00:04:34 INFO: Retrieving Pricing Info for: v3-standard-8 00:04:35 INFO: Archiving Costs [Pipeline] echo 00:04:35 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 00:04:35 ---> logs-deploy.sh 00:04:35 lf-activate-venv: SKIPPING 00:04:35 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/111 00:04:35 INFO: archiving workspace using pattern(s): 00:04:36 Archives upload complete. 00:04:36 INFO: archiving logs to Nexus 00:04:37 ---> uname -a: 00:04:37 Linux prd-ubuntu20-04-docker-8c-8g-14825 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 00:04:37 00:04:37 00:04:37 ---> lscpu: 00:04:37 Architecture: x86_64 00:04:37 CPU op-mode(s): 32-bit, 64-bit 00:04:37 Byte Order: Little Endian 00:04:37 Address sizes: 40 bits physical, 48 bits virtual 00:04:37 CPU(s): 8 00:04:37 On-line CPU(s) list: 0-7 00:04:37 Thread(s) per core: 1 00:04:37 Core(s) per socket: 1 00:04:37 Socket(s): 8 00:04:37 NUMA node(s): 1 00:04:37 Vendor ID: AuthenticAMD 00:04:37 CPU family: 23 00:04:37 Model: 49 00:04:37 Model name: AMD EPYC-Rome Processor 00:04:37 Stepping: 0 00:04:37 CPU MHz: 2799.998 00:04:37 BogoMIPS: 5599.99 00:04:37 Virtualization: AMD-V 00:04:37 Hypervisor vendor: KVM 00:04:37 Virtualization type: full 00:04:37 L1d cache: 256 KiB 00:04:37 L1i cache: 256 KiB 00:04:37 L2 cache: 4 MiB 00:04:37 L3 cache: 128 MiB 00:04:37 NUMA node0 CPU(s): 0-7 00:04:37 Vulnerability Itlb multihit: Not affected 00:04:37 Vulnerability L1tf: Not affected 00:04:37 Vulnerability Mds: Not affected 00:04:37 Vulnerability Meltdown: Not affected 00:04:37 Vulnerability Mmio stale data: Not affected 00:04:37 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 00:04:37 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 00:04:37 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 00:04:37 Vulnerability Srbds: Not affected 00:04:37 Vulnerability Tsx async abort: Not affected 00:04:37 Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm rep_good nopl cpuid extd_apicid tsc_known_freq pni pclmulqdq ssse3 fma cx16 sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm cmp_legacy svm cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw topoext perfctr_core ssbd ibrs ibpb stibp vmmcall fsgsbase tsc_adjust bmi1 avx2 smep bmi2 rdseed adx smap clflushopt clwb sha_ni xsaveopt xsavec xgetbv1 xsaves clzero xsaveerptr wbnoinvd arat npt nrip_save umip rdpid arch_capabilities 00:04:37 00:04:37 00:04:37 ---> nproc: 00:04:37 8 00:04:37 00:04:37 00:04:37 ---> df -h: 00:04:37 Filesystem Size Used Avail Use% Mounted on 00:04:37 overlay 155G 13G 143G 9% / 00:04:37 tmpfs 64M 0 64M 0% /dev 00:04:37 tmpfs 16G 0 16G 0% /sys/fs/cgroup 00:04:37 shm 64M 0 64M 0% /dev/shm 00:04:37 /dev/vda1 155G 13G 143G 9% /facter-os 00:04:37 00:04:37 00:04:37 ---> sar -b -r -n DEV: 00:04:37 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-14825) 05/10/23 _x86_64_ (8 CPU) 00:04:37 00:04:37 00:00:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 00:04:37 00:00:01 250.00 0.00 250.00 0.00 0.00 5200.00 0.00 00:04:37 00:01:01 4.70 0.03 4.67 0.00 0.27 135.44 0.00 00:04:37 00:02:01 3.25 0.00 3.25 0.00 0.00 36.25 0.00 00:04:37 00:03:01 1.40 0.00 1.40 0.00 0.00 15.46 0.00 00:04:37 00:04:01 60.14 0.27 59.87 0.00 26.13 35316.38 0.00 00:04:37 Average: 17.39 0.07 17.32 0.00 6.60 8875.21 0.00 00:04:37 00:04:37 00:00:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 00:04:37 00:00:01 27268752 31562348 723728 2.20 167236 4257228 1838148 5.42 1486528 3588436 24 00:04:37 00:01:01 27268528 31562748 723516 2.20 167548 4257264 1797192 5.30 1487384 3587740 564 00:04:37 00:02:01 27268772 31563056 723108 2.20 167620 4257268 1797192 5.30 1487376 3587744 16 00:04:37 00:03:01 27268716 31563060 723004 2.20 167712 4257260 1797192 5.30 1487312 3587748 8 00:04:37 00:04:01 26030824 31490572 793112 2.41 185168 5334368 2124688 6.26 1616148 4622796 373212 00:04:37 Average: 27021118 31548357 737294 2.24 171057 4472678 1870882 5.51 1512950 3794893 74765 00:04:37 00:04:37 00:00:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 00:04:37 00:00:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:37 00:00:01 ens3 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:37 00:00:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:37 00:01:01 lo 0.13 0.13 0.01 0.01 0.00 0.00 0.00 0.00 00:04:37 00:01:01 ens3 0.27 0.18 0.09 0.07 0.00 0.00 0.00 0.00 00:04:37 00:01:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:37 00:02:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 00:04:37 00:02:01 ens3 0.15 0.08 0.01 0.01 0.00 0.00 0.00 0.00 00:04:37 00:02:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:37 00:03:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:37 00:03:01 ens3 0.03 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:37 00:03:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 00:04:37 00:04:01 lo 2.20 2.20 0.21 0.21 0.00 0.00 0.00 0.00 00:04:37 00:04:01 ens3 327.45 197.85 7748.80 29.14 0.00 0.00 0.00 0.00 00:04:37 00:04:01 docker0 36.34 63.82 3.00 579.05 0.00 0.00 0.00 0.00 00:04:37 Average: lo 0.63 0.63 0.06 0.06 0.00 0.00 0.00 0.00 00:04:37 Average: ens3 81.96 49.52 1936.98 7.30 0.00 0.00 0.00 0.00 00:04:37 Average: docker0 9.08 15.95 0.75 144.74 0.00 0.00 0.00 0.00 00:04:37 00:04:37 00:04:37 ---> sar -P ALL: 00:04:37 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-14825) 05/10/23 _x86_64_ (8 CPU) 00:04:37 00:04:37 00:00:01 CPU %user %nice %system %iowait %steal %idle 00:04:37 00:00:01 all 0.00 0.00 25.00 0.00 0.00 75.00 00:04:37 00:00:01 0 0.00 0.00 50.00 0.00 0.00 50.00 00:04:37 00:00:01 1 0.00 0.00 0.00 0.00 0.00 100.00 00:04:37 00:00:01 2 0.00 0.00 0.00 0.00 0.00 100.00 00:04:37 00:00:01 3 0.00 0.00 50.00 0.00 0.00 50.00 00:04:37 00:00:01 4 0.00 0.00 33.33 0.00 0.00 66.67 00:04:37 00:00:01 5 0.00 0.00 50.00 0.00 0.00 50.00 00:04:37 00:00:01 6 0.00 0.00 0.00 0.00 0.00 100.00 00:04:37 00:00:01 7 0.00 0.00 0.00 0.00 0.00 100.00 00:04:37 00:01:01 all 0.05 0.02 0.05 0.02 0.00 99.86 00:04:37 00:01:01 0 0.10 0.13 0.08 0.07 0.00 99.62 00:04:37 00:01:01 1 0.05 0.00 0.07 0.00 0.00 99.88 00:04:37 00:01:01 2 0.00 0.00 0.05 0.00 0.00 99.95 00:04:37 00:01:01 3 0.07 0.00 0.05 0.00 0.00 99.88 00:04:37 00:01:01 4 0.03 0.00 0.02 0.00 0.00 99.95 00:04:37 00:01:01 5 0.05 0.00 0.05 0.00 0.00 99.90 00:04:37 00:01:01 6 0.05 0.00 0.03 0.00 0.00 99.92 00:04:37 00:01:01 7 0.05 0.00 0.07 0.10 0.03 99.75 00:04:37 00:02:01 all 0.02 0.00 0.01 0.01 0.01 99.95 00:04:37 00:02:01 0 0.00 0.00 0.00 0.00 0.02 99.98 00:04:37 00:02:01 1 0.03 0.00 0.00 0.00 0.00 99.97 00:04:37 00:02:01 2 0.03 0.00 0.00 0.02 0.00 99.95 00:04:37 00:02:01 3 0.00 0.00 0.00 0.00 0.00 100.00 00:04:37 00:02:01 4 0.02 0.00 0.02 0.00 0.02 99.95 00:04:37 00:02:01 5 0.00 0.00 0.02 0.00 0.02 99.97 00:04:37 00:02:01 6 0.02 0.00 0.02 0.02 0.02 99.93 00:04:37 00:02:01 7 0.05 0.00 0.02 0.02 0.03 99.88 00:04:37 00:03:01 all 0.21 0.00 0.02 0.01 0.01 99.75 00:04:37 00:03:01 0 0.00 0.00 0.00 0.00 0.00 100.00 00:04:37 00:03:01 1 1.52 0.00 0.02 0.00 0.02 98.45 00:04:37 00:03:01 2 0.02 0.00 0.03 0.00 0.02 99.93 00:04:37 00:03:01 3 0.02 0.00 0.02 0.00 0.02 99.95 00:04:37 00:03:01 4 0.05 0.00 0.02 0.00 0.02 99.92 00:04:37 00:03:01 5 0.02 0.00 0.02 0.00 0.02 99.95 00:04:37 00:03:01 6 0.03 0.00 0.00 0.00 0.00 99.97 00:04:37 00:03:01 7 0.02 0.00 0.07 0.05 0.02 99.85 00:04:37 00:04:01 all 5.67 0.00 2.51 1.10 0.04 90.67 00:04:37 00:04:01 0 6.15 0.00 2.25 0.03 0.03 91.53 00:04:37 00:04:01 1 5.33 0.00 2.42 0.05 0.02 92.19 00:04:37 00:04:01 2 6.25 0.00 2.39 1.41 0.05 89.90 00:04:37 00:04:01 3 6.19 0.00 3.02 0.44 0.03 90.32 00:04:37 00:04:01 4 4.89 0.00 2.50 0.42 0.03 92.16 00:04:37 00:04:01 5 6.10 0.00 2.98 4.38 0.03 86.51 00:04:37 00:04:01 6 5.13 0.00 2.71 0.44 0.02 91.70 00:04:37 00:04:01 7 5.36 0.00 1.83 1.68 0.07 91.07 00:04:37 Average: all 1.48 0.00 0.65 0.28 0.02 97.57 00:04:37 Average: 0 1.55 0.03 0.58 0.03 0.01 97.79 00:04:37 Average: 1 1.74 0.00 0.62 0.01 0.01 97.62 00:04:37 Average: 2 1.57 0.00 0.61 0.36 0.02 97.45 00:04:37 Average: 3 1.56 0.00 0.77 0.11 0.01 97.55 00:04:37 Average: 4 1.24 0.00 0.64 0.10 0.02 98.00 00:04:37 Average: 5 1.53 0.00 0.76 1.09 0.02 96.60 00:04:37 Average: 6 1.30 0.00 0.68 0.11 0.01 97.90 00:04:37 Average: 7 1.36 0.00 0.49 0.46 0.04 97.65 00:04:37 00:04:37 00:04:37