Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e 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-ssh11523181638122050063.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh11515823168516359995.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 d4291cbe28daa2a40ca94d44cc831565108a4ea5 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-ssh16923978055199769123.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision d4291cbe28daa2a40ca94d44cc831565108a4ea5 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f d4291cbe28daa2a40ca94d44cc831565108a4ea5 # timeout=10 Commit message: "Merge pull request #431 from ernestojeda/update-compose" > 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-ssh13752895954347360658.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-ssh4662439169637807992.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-18477 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 ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e (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 ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e # timeout=10 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.4 (#327)" > git rev-list --no-walk 1e3f17100cbecc49b07fca8c81a93e30a5261c95 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout 18:02:41 Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials 18:02:41 Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo 18:02:41 ========================================================= 18:02:41 EdgeX Global Pipelines Version Info 18:02:41 ========================================================= [Pipeline] libraryResource [Pipeline] sh 18:02:42 ------------------- 18:02:42 stable info: 18:02:42 ------------------- 18:02:42 Commited By: Ernesto Ojeda ernesto.ojeda@intel.com 18:02:42 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 18:02:42 Message: update stable to v1.0.250 18:02:43 ------------------- 18:02:43 experimental info: 18:02:43 ------------------- 18:02:43 Commited By: **** collab-it+edgex@linuxfoundation.org 18:02:43 Commit SHA: d4291cbe28daa2a40ca94d44cc831565108a4ea5 18:02:43 Message: update experimental to v1.0.250 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo 18:02:43 [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo 18:02:43 [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo 18:02:43 [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo 18:02:43 [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo 18:02:43 [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo 18:02:43 [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.20 [Pipeline] echo 18:02:43 [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo 18:02:43 [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo 18:02:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo 18:02:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo 18:02:43 [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo 18:02:43 [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo 18:02:43 [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo 18:02:43 [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo 18:02:43 [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo 18:02:43 [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo 18:02:43 [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo 18:02:43 [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo 18:02:43 [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo 18:02:43 [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo 18:02:43 [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo 18:02:43 [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo 18:02:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo 18:02:43 [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo 18:02:43 [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo 18:02:43 [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo 18:02:43 [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo 18:02:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo 18:02:43 [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo 18:02:43 [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo 18:02:43 [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e [Pipeline] echo 18:02:43 [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ad4aeca [Pipeline] echo 18:02:43 [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:02:43 provisioning config files... 18:02:43 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config12128635973613947299tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:02:44 ---> docker-login.sh 18:02:44 nexus3.edgexfoundry.org:10001 18:02:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:44 Configure a credential helper to remove this warning. See 18:02:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:44 18:02:44 Login Succeeded 18:02:44 nexus3.edgexfoundry.org:10002 18:02:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:44 Configure a credential helper to remove this warning. See 18:02:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:44 18:02:44 Login Succeeded 18:02:44 nexus3.edgexfoundry.org:10003 18:02:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:44 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:44 Configure a credential helper to remove this warning. See 18:02:44 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:44 18:02:44 Login Succeeded 18:02:44 nexus3.edgexfoundry.org:10004 18:02:44 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:45 Configure a credential helper to remove this warning. See 18:02:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:45 18:02:45 Login Succeeded 18:02:45 docker.io 18:02:45 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:02:45 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:02:45 Configure a credential helper to remove this warning. See 18:02:45 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:02:45 18:02:45 Login Succeeded 18:02:45 ---> docker-login.sh ends [Pipeline] } 18:02:45 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh 18:02:46 + git rev-list -1 --merges ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e~1..ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e [Pipeline] echo 18:02:46 -----------> git rev-list -1 --merges ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e~1..ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e [false] [Pipeline] sh 18:02:46 + git log --format=format:%s -1 ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e [Pipeline] echo 18:02:46 ========================================================= 18:02:46 [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] 18:02:46 ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:02:46 + git log --format=format:%s -1 ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e [Pipeline] echo 18:02:46 [semverPrep] GIT_COMMIT: ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e, Commit Message: build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.4 (#327) [Pipeline] echo 18:02:46 [semverPrep] This is not a build commit. [Pipeline] sh 18:02:47 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:02:47 + grep -v github /etc/ssh/ssh_known_hosts 18:02:47 + [ -e /tmp/ssh_known_hosts ] 18:02:47 + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts 18:02:47 + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= 18:02:47 + sudo tee -a /etc/ssh/ssh_known_hosts 18:02:47 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:47 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:02:47 18:02:47 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:02:47 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:02:47 0.1.4: Pulling from edgex-devops/py-git-semver 18:02:47 b85a868b505f: Pulling fs layer 18:02:47 e2be974225ed: Pulling fs layer 18:02:47 339a4e72a1f5: Pulling fs layer 18:02:47 988bab9f4d93: Pulling fs layer 18:02:47 1469e6f7b9e6: Pulling fs layer 18:02:47 eaf3925da568: Pulling fs layer 18:02:47 bab4dde63d76: Pulling fs layer 18:02:47 bde34c3a00c8: Pulling fs layer 18:02:47 b352a97aabf1: Pulling fs layer 18:02:47 4872d77fe225: Pulling fs layer 18:02:47 5851b861e8e6: Pulling fs layer 18:02:47 1469e6f7b9e6: Waiting 18:02:47 eaf3925da568: Waiting 18:02:47 bab4dde63d76: Waiting 18:02:47 bde34c3a00c8: Waiting 18:02:47 b352a97aabf1: Waiting 18:02:47 4872d77fe225: Waiting 18:02:47 5851b861e8e6: Waiting 18:02:47 988bab9f4d93: Waiting 18:02:47 e2be974225ed: Verifying Checksum 18:02:47 e2be974225ed: Download complete 18:02:47 988bab9f4d93: Verifying Checksum 18:02:47 988bab9f4d93: Download complete 18:02:48 339a4e72a1f5: Verifying Checksum 18:02:48 339a4e72a1f5: Download complete 18:02:48 1469e6f7b9e6: Verifying Checksum 18:02:48 1469e6f7b9e6: Download complete 18:02:48 eaf3925da568: Download complete 18:02:48 bde34c3a00c8: Download complete 18:02:48 b352a97aabf1: Download complete 18:02:48 4872d77fe225: Download complete 18:02:48 5851b861e8e6: Verifying Checksum 18:02:48 5851b861e8e6: Download complete 18:02:48 b85a868b505f: Verifying Checksum 18:02:48 b85a868b505f: Download complete 18:02:48 bab4dde63d76: Verifying Checksum 18:02:48 bab4dde63d76: Download complete 18:02:49 b85a868b505f: Pull complete 18:02:49 e2be974225ed: Pull complete 18:02:49 339a4e72a1f5: Pull complete 18:02:49 988bab9f4d93: Pull complete 18:02:50 1469e6f7b9e6: Pull complete 18:02:50 eaf3925da568: Pull complete 18:02:52 bab4dde63d76: Pull complete 18:02:52 bde34c3a00c8: Pull complete 18:02:52 b352a97aabf1: Pull complete 18:02:52 4872d77fe225: Pull complete 18:02:52 5851b861e8e6: Pull complete 18:02:52 Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 18:02:52 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:02:52 nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:02:52 prd-ubuntu20.04-docker-8c-8g-18477 does not seem to be running inside a container 18:02:52 $ 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 18:02:55 $ docker top 41d5efc294eaa8ac695c6e91f092c60cb11526cbdc767e833fa5ca1aac5a9f94 -eo pid,comm 18:02:55 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). 18:02:55 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:02:55 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:02:55 [ssh-agent] Looking for ssh-agent implementation... 18:02:55 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:02:55 $ docker exec 41d5efc294eaa8ac695c6e91f092c60cb11526cbdc767e833fa5ca1aac5a9f94 ssh-agent 18:02:55 SSH_AUTH_SOCK=/tmp/ssh-ExqUz5OuZxqd/agent.32 18:02:55 SSH_AGENT_PID=39 18:02:55 Running ssh-add (command line suppressed) 18:02:56 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3062229069006283929.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3062229069006283929.key) 18:02:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:02:56 + git tag --points-at HEAD [Pipeline] } 18:02:56 $ docker exec --env ******** --env ******** 41d5efc294eaa8ac695c6e91f092c60cb11526cbdc767e833fa5ca1aac5a9f94 ssh-agent -k 18:02:56 unset SSH_AUTH_SOCK; 18:02:56 unset SSH_AGENT_PID; 18:02:56 echo Agent pid 39 killed; 18:02:56 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent 18:02:56 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:02:56 [ssh-agent] Looking for ssh-agent implementation... 18:02:56 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:02:56 $ docker exec 41d5efc294eaa8ac695c6e91f092c60cb11526cbdc767e833fa5ca1aac5a9f94 ssh-agent 18:02:56 SSH_AUTH_SOCK=/tmp/ssh-40e2iZIkoUh6/agent.72 18:02:56 SSH_AGENT_PID=78 18:02:56 Running ssh-add (command line suppressed) 18:02:56 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6305487059484065014.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6305487059484065014.key) 18:02:56 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:02:57 + git semver init 18:02:57 2023-06-12 18:02:57,435 [run_init] DEBUG init version:0.0.0 force:False 18:02:57 2023-06-12 18:02:57,436 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver 18:02:57 2023-06-12 18:02:57,436 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver 18:02:57 2023-06-12 18:02:57,436 [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) 18:02:58 2023-06-12 18:02:58,471 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude 18:02:58 2023-06-12 18:02:58,472 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False 18:02:58 2023-06-12 18:02:58,472 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:02:58 2023-06-12 18:02:58,472 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:02:58 3.1.0-dev.1 [Pipeline] } 18:02:58 $ docker exec --env ******** --env ******** 41d5efc294eaa8ac695c6e91f092c60cb11526cbdc767e833fa5ca1aac5a9f94 ssh-agent -k 18:02:58 unset SSH_AUTH_SOCK; 18:02:58 unset SSH_AGENT_PID; 18:02:58 echo Agent pid 78 killed; 18:02:58 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:02:59 + git semver [Pipeline] } 18:02:59 $ docker stop --time=1 41d5efc294eaa8ac695c6e91f092c60cb11526cbdc767e833fa5ca1aac5a9f94 18:03:00 $ docker rm -f --volumes 41d5efc294eaa8ac695c6e91f092c60cb11526cbdc767e833fa5ca1aac5a9f94 [Pipeline] // withDockerContainer [Pipeline] sh 18:03:01 + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash 18:03:01 Stashed 1 file(s) [Pipeline] echo 18:03:01 [edgeXSemver]: initialized semver on version 3.1.0-dev.1 [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 18:03:01 provisioning config files... 18:03:01 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1321133020940001449tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:03:01 ---> docker-login.sh 18:03:01 nexus3.edgexfoundry.org:10001 18:03:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:01 Configure a credential helper to remove this warning. See 18:03:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:01 18:03:01 Login Succeeded 18:03:01 nexus3.edgexfoundry.org:10002 18:03:01 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:01 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:01 Configure a credential helper to remove this warning. See 18:03:01 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:01 18:03:01 Login Succeeded 18:03:01 nexus3.edgexfoundry.org:10003 18:03:01 Running on prd-ubuntu20.04-docker-arm64-4c-16g-18476 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws 18:03:01 Running in /w/workspace/device-rest-go/121 [Pipeline] { [Pipeline] checkout 18:03:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:02 Configure a credential helper to remove this warning. See 18:03:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:02 18:03:02 Login Succeeded 18:03:02 nexus3.edgexfoundry.org:10004 18:03:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:02 Configure a credential helper to remove this warning. See 18:03:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:02 18:03:02 Login Succeeded 18:03:02 docker.io 18:03:02 The recommended git tool is: git 18:03:02 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:02 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:02 Configure a credential helper to remove this warning. See 18:03:02 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:02 18:03:02 Login Succeeded 18:03:02 ---> docker-login.sh ends [Pipeline] } 18:03:02 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:03:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:03:02 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:03:02 ========================================================= 18:03:02 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine] 18:03:02 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:02 + 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 . 18:03:02 Sending build context to Docker daemon 10.91MB 18:03:02 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 18:03:02 Step 2/12 : FROM ${BASE} AS builder 18:03:02 1.20-alpine: Pulling from edgex-devops/edgex-golang-base 18:03:02 f56be85fc22e: Pulling fs layer 18:03:02 85791d961cd3: Pulling fs layer 18:03:02 d694b5ae8c79: Pulling fs layer 18:03:02 9f32a84ed3da: Pulling fs layer 18:03:02 4d19c01a9841: Pulling fs layer 18:03:02 9325e15d5711: Pulling fs layer 18:03:02 556b6ee489ea: Pulling fs layer 18:03:02 c5a4b2cf53e6: Pulling fs layer 18:03:02 9325e15d5711: Waiting 18:03:02 9f32a84ed3da: Waiting 18:03:02 556b6ee489ea: Waiting 18:03:02 4d19c01a9841: Waiting 18:03:02 c5a4b2cf53e6: Waiting 18:03:02 85791d961cd3: Verifying Checksum 18:03:02 85791d961cd3: Download complete 18:03:02 9f32a84ed3da: Verifying Checksum 18:03:02 9f32a84ed3da: Download complete 18:03:02 4d19c01a9841: Verifying Checksum 18:03:02 4d19c01a9841: Download complete 18:03:02 f56be85fc22e: Verifying Checksum 18:03:02 f56be85fc22e: Download complete 18:03:02 9325e15d5711: Verifying Checksum 18:03:02 9325e15d5711: Download complete 18:03:02 f56be85fc22e: Pull complete 18:03:03 85791d961cd3: Pull complete 18:03:03 c5a4b2cf53e6: Verifying Checksum 18:03:03 c5a4b2cf53e6: Download complete 18:03:03 d694b5ae8c79: Verifying Checksum 18:03:03 d694b5ae8c79: Download complete 18:03:03 556b6ee489ea: Verifying Checksum 18:03:03 556b6ee489ea: Download complete 18:03:07 d694b5ae8c79: Pull complete 18:03:07 9f32a84ed3da: Pull complete 18:03:07 4d19c01a9841: Pull complete 18:03:07 9325e15d5711: Pull complete 18:03:09 using credential edgex-jenkins-ssh 18:03:09 Cloning the remote Git repository 18:03:09 Cloning repository git@github.com:edgexfoundry/device-rest-go.git 18:03:09 > git init /w/workspace/device-rest-go/121 # timeout=10 18:03:09 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git 18:03:09 > git --version # timeout=10 18:03:09 > git --version # 'git version 2.25.1' 18:03:09 using GIT_SSH to set credentials SSH Credentials for GitHub 18:03:09 > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 18:03:09 556b6ee489ea: Pull complete 18:03:10 c5a4b2cf53e6: Pull complete 18:03:10 Digest: sha256:cdb650785bd12602035d3ff87499385c169773a4d12d6eaf394b34464d3a0f2b 18:03:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.20-alpine 18:03:10 ---> c4be618373d6 18:03:10 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:03:11 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 18:03:11 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 18:03:12 Avoid second fetch 18:03:12 Checking out Revision ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e (main) 18:03:13 Commit message: "build(deps): Bump github.com/stretchr/testify from 1.8.2 to 1.8.4 (#327)" 18:03:12 > git config core.sparsecheckout # timeout=10 18:03:13 > git checkout -f ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh 18:03:14 + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json 18:03:14 % Total % Received % Xferd Average Speed Time Time Time Current 18:03:14 Dload Upload Total Spent Left Speed 18:03:14 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 90432 0 --:--:-- --:--:-- --:--:-- 91078 [Pipeline] sh 18:03:15 + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh 18:03:15 + sudo tee /etc/docker/daemon.new 18:03:15 + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json 18:03:15 { 18:03:15 "registry-mirrors": [ 18:03:15 "https://nexus3.edgexfoundry.org:10001" 18:03:15 ], 18:03:15 "bip": "10.250.0.254/24", 18:03:15 "hosts": [ 18:03:15 "tcp://0.0.0.0:5555", 18:03:15 "unix:///var/run/docker.sock" 18:03:15 ], 18:03:15 "mtu": 1458, 18:03:15 "selinux-enabled": true, 18:03:15 "seccomp-profile": "/etc/docker/seccomp.json" 18:03:15 } [Pipeline] sh 18:03:16 + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh 18:03:16 + sudo service docker restart 18:03:17 ---> Running in 182ba86f6fcd 18:03:17 Removing intermediate container 182ba86f6fcd 18:03:17 ---> 8109c8e7b0b1 18:03:17 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:03:17 ---> Running in b347d1895270 18:03:17 Removing intermediate container b347d1895270 18:03:17 ---> a0139312cb1d 18:03:17 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:03:17 ---> Running in cc8a208283e3 18:03:17 Removing intermediate container cc8a208283e3 18:03:17 ---> 6268f51697dc 18:03:17 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:03:17 ---> Running in a8f54a27184e 18:03:17 Removing intermediate container a8f54a27184e 18:03:17 ---> 235542ee0964 18:03:17 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:03:17 ---> Running in e54f43a57d6c 18:03:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:03:17 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:03:17 (1/4) Installing openssh-keygen (9.1_p1-r3) 18:03:17 (2/4) Installing libedit (20221030.3.1-r0) 18:03:17 (3/4) Installing openssh-client-common (9.1_p1-r3) 18:03:17 (4/4) Installing openssh-client-default (9.1_p1-r3) 18:03:17 Executing busybox-1.35.0-r29.trigger 18:03:17 OK: 269 MiB in 57 packages 18:03:17 Removing intermediate container e54f43a57d6c 18:03:17 ---> df17e771676d 18:03:17 Step 8/12 : WORKDIR /device-rest-go 18:03:17 ---> Running in bf8752f15d0a 18:03:17 Removing intermediate container bf8752f15d0a 18:03:17 ---> 20d0eb189ec0 18:03:17 Step 9/12 : COPY go.mod vendor* ./ 18:03:18 ---> b9fa6c77593b 18:03:18 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:03:18 ---> Running in 3722adc83728 [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:03:34 provisioning config files... 18:03:34 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/121@tmp/config17568874921199188327tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:03:35 ---> docker-login.sh 18:03:35 nexus3.edgexfoundry.org:10001 18:03:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:35 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:35 Configure a credential helper to remove this warning. See 18:03:35 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:35 18:03:35 Login Succeeded 18:03:35 nexus3.edgexfoundry.org:10002 18:03:35 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:36 Configure a credential helper to remove this warning. See 18:03:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:36 18:03:36 Login Succeeded 18:03:36 nexus3.edgexfoundry.org:10003 18:03:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:36 Configure a credential helper to remove this warning. See 18:03:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:36 18:03:36 Login Succeeded 18:03:36 nexus3.edgexfoundry.org:10004 18:03:36 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:36 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:36 Configure a credential helper to remove this warning. See 18:03:36 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:36 18:03:36 Login Succeeded 18:03:36 docker.io 18:03:37 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:03:37 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:03:37 Configure a credential helper to remove this warning. See 18:03:37 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:03:37 18:03:37 Login Succeeded 18:03:37 ---> docker-login.sh ends [Pipeline] } 18:03:37 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo 18:03:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:03:37 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:03:37 ========================================================= 18:03:37 [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine] 18:03:37 ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:38 + 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 . 18:03:38 Sending build context to Docker daemon 141.8kB 18:03:38 Step 1/12 : ARG BASE=golang:1.20-alpine3.17 18:03:38 Step 2/12 : FROM ${BASE} AS builder 18:03:38 1.20-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 18:03:38 c41833b44d91: Pulling fs layer 18:03:38 ed15518f5707: Pulling fs layer 18:03:38 feae8fd75edb: Pulling fs layer 18:03:38 242c74f7c9fa: Pulling fs layer 18:03:38 3cdef696dda3: Pulling fs layer 18:03:38 2ced38df9373: Pulling fs layer 18:03:38 58f1dce35555: Pulling fs layer 18:03:38 242c74f7c9fa: Waiting 18:03:38 2ced38df9373: Waiting 18:03:38 3cdef696dda3: Waiting 18:03:38 58f1dce35555: Waiting 18:03:38 ed15518f5707: Verifying Checksum 18:03:38 ed15518f5707: Download complete 18:03:38 242c74f7c9fa: Verifying Checksum 18:03:38 242c74f7c9fa: Download complete 18:03:38 3cdef696dda3: Download complete 18:03:38 c41833b44d91: Verifying Checksum 18:03:39 c41833b44d91: Pull complete 18:03:40 58f1dce35555: Verifying Checksum 18:03:40 58f1dce35555: Download complete 18:03:40 ed15518f5707: Pull complete 18:03:41 feae8fd75edb: Verifying Checksum 18:03:41 feae8fd75edb: Download complete 18:03:41 2ced38df9373: Verifying Checksum 18:03:41 2ced38df9373: Download complete 18:03:54 feae8fd75edb: Pull complete 18:03:54 242c74f7c9fa: Pull complete 18:03:54 3cdef696dda3: Pull complete 18:03:56 Removing intermediate container 3722adc83728 18:03:56 ---> c2b2ac5f9c35 18:03:56 Step 11/12 : COPY . . 18:03:56 ---> e42edcfe26cf 18:03:56 Step 12/12 : RUN $MAKE 18:03:56 ---> Running in 15d9f4c6269f 18:03:56 noop 18:03:56 Removing intermediate container 15d9f4c6269f 18:03:56 ---> b95b1f7c617a 18:03:56 Successfully built b95b1f7c617a 18:03:56 Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:03:57 + docker inspect -f . ci-base-image-x86_64 18:03:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:03:57 prd-ubuntu20.04-docker-8c-8g-18477 does not seem to be running inside a container 18:03:57 $ 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 18:03:58 $ docker top 2482768658df53aeb74f0299f28444be99a7fde6b7e80a5e0e194a82fb0b99c4 -eo pid,comm [Pipeline] { [Pipeline] sh 18:03:58 + go version 18:03:58 go version go1.20.2 linux/amd64 [Pipeline] } 18:03:58 $ docker stop --time=1 2482768658df53aeb74f0299f28444be99a7fde6b7e80a5e0e194a82fb0b99c4 18:04:00 $ docker rm -f --volumes 2482768658df53aeb74f0299f28444be99a7fde6b7e80a5e0e194a82fb0b99c4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:00 2ced38df9373: Pull complete 18:04:00 + docker inspect -f . ci-base-image-x86_64 18:04:00 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:04:00 prd-ubuntu20.04-docker-8c-8g-18477 does not seem to be running inside a container 18:04:00 $ 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 18:04:01 $ docker top 0d3980887a05386ecde0ffb0263c717f46a840f4fbf21620e2a984a062419f72 -eo pid,comm [Pipeline] { [Pipeline] sh 18:04:01 + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh 18:04:01 + make test 18:04:01 go test ./... -coverprofile=coverage.out ./... 18:04:02 58f1dce35555: Pull complete 18:04:02 Digest: sha256:3b55595e96c696ae732e8cb20cde5b1ff7282a1fe1423a8de67617af8d15ea1e 18:04:02 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.20-alpine 18:04:02 ---> fadd8f120f05 18:04:02 Step 3/12 : ARG ADD_BUILD_TAGS="" 18:04:04 ---> Running in 5ff9373cfd56 18:04:05 Removing intermediate container 5ff9373cfd56 18:04:05 ---> fb371113c704 18:04:05 Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:04:05 ---> Running in d11355072481 18:04:06 Removing intermediate container d11355072481 18:04:06 ---> 0cf9e266dae1 18:04:06 Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:04:06 ---> Running in f891a1a3ca8e 18:04:06 Removing intermediate container f891a1a3ca8e 18:04:06 ---> ffe34c8097ad 18:04:06 Step 6/12 : ARG ALPINE_PKG_EXTRA="" 18:04:07 ---> Running in 3f3611478d2a 18:04:07 ? github.com/edgexfoundry/device-rest-go [no test files] 18:04:07 Removing intermediate container 3f3611478d2a 18:04:07 ---> 3d05784e99a0 18:04:07 Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:04:07 ---> Running in b9798f26e387 18:04:08 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:04:09 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:04:10 (1/4) Installing openssh-keygen (9.1_p1-r3) 18:04:10 (2/4) Installing libedit (20221030.3.1-r0) 18:04:10 (3/4) Installing openssh-client-common (9.1_p1-r3) 18:04:10 (4/4) Installing openssh-client-default (9.1_p1-r3) 18:04:10 Executing busybox-1.35.0-r29.trigger 18:04:10 OK: 268 MiB in 57 packages 18:04:11 Removing intermediate container b9798f26e387 18:04:11 ---> 3461482e0fe1 18:04:11 Step 8/12 : WORKDIR /device-rest-go 18:04:11 ---> Running in b8efc6ae138b 18:04:12 Removing intermediate container b8efc6ae138b 18:04:12 ---> 445b8bbd0eba 18:04:12 Step 9/12 : COPY go.mod vendor* ./ 18:04:12 ---> 124fc2aab273 18:04:12 Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:04:12 ---> Running in c23a3b22638a 18:04:17 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:04:17 ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 32.2% of statements 18:04:23 go vet ./... 18:04:26 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:04:26 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:04:26 ./bin/test-attribution-txt.sh [Pipeline] echo 18:04:26 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:04:26 $ docker stop --time=1 0d3980887a05386ecde0ffb0263c717f46a840f4fbf21620e2a984a062419f72 18:04:29 $ docker rm -f --volumes 0d3980887a05386ecde0ffb0263c717f46a840f4fbf21620e2a984a062419f72 [Pipeline] // withDockerContainer [Pipeline] sh 18:04:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:04:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh 18:04:30 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:04:31 + ls -al . 18:04:31 total 184 18:04:31 drwxrwxr-x 9 jenkins jenkins 4096 Jun 12 18:04 . 18:04:31 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 18:02 .. 18:04:31 -rw-rw-r-- 1 jenkins jenkins 151 Jun 12 18:02 .dockerignore 18:04:31 drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 18:02 .git 18:04:31 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 18:02 .github 18:04:31 -rw-rw-r-- 1 jenkins jenkins 329 Jun 12 18:02 .gitignore 18:04:31 -rw-rw-r-- 1 jenkins jenkins 41 Jun 12 18:02 .golangci.yml 18:04:31 drwxr-xr-x 3 jenkins jenkins 4096 Jun 12 18:02 .semver 18:04:31 -rw-rw-r-- 1 jenkins jenkins 9331 Jun 12 18:02 Attribution.txt 18:04:31 -rw-rw-r-- 1 jenkins jenkins 15709 Jun 12 18:02 CHANGELOG.md 18:04:31 -rw-rw-r-- 1 jenkins jenkins 1578 Jun 12 18:02 Dockerfile 18:04:31 -rw-rw-r-- 1 jenkins jenkins 677 Jun 12 18:02 GOVERNANCE.md 18:04:31 -rw-rw-r-- 1 jenkins jenkins 680 Jun 12 18:02 Jenkinsfile 18:04:31 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 12 18:02 LICENSE 18:04:31 -rw-rw-r-- 1 jenkins jenkins 1779 Jun 12 18:02 Makefile 18:04:31 -rw-rw-r-- 1 jenkins jenkins 620 Jun 12 18:02 OWNERS.md 18:04:31 -rw-rw-r-- 1 jenkins jenkins 15827 Jun 12 18:02 README.md 18:04:31 -rw-rw-r-- 1 jenkins jenkins 11 Jun 12 18:03 VERSION 18:04:31 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 18:02 bin 18:04:31 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 18:02 cmd 18:04:31 -rw-r--r-- 1 jenkins jenkins 14663 Jun 12 18:04 coverage.out 18:04:31 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 18:02 driver 18:04:31 -rw-rw-r-- 1 jenkins jenkins 3354 Jun 12 18:02 go.mod 18:04:31 -rw-rw-r-- 1 jenkins jenkins 31322 Jun 12 18:02 go.sum 18:04:31 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 18:02 snap 18:04:31 -rw-rw-r-- 1 jenkins jenkins 713 Jun 12 18:02 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:31 + 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=ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e --label arch=amd64 --label version=3.1.0-dev.1 . 18:04:31 Sending build context to Docker daemon 10.92MB 18:04:31 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 18:04:31 Step 2/25 : FROM ${BASE} AS builder 18:04:31 ---> b95b1f7c617a 18:04:31 Step 3/25 : ARG ADD_BUILD_TAGS="" 18:04:31 ---> Running in 913b538eb968 18:04:31 Removing intermediate container 913b538eb968 18:04:31 ---> fb3823474dbb 18:04:31 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:04:31 ---> Running in 718565437fe3 18:04:31 Removing intermediate container 718565437fe3 18:04:31 ---> fe1ced7bb91b 18:04:31 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:04:31 ---> Running in a4098c0b4edb 18:04:32 Removing intermediate container a4098c0b4edb 18:04:32 ---> f68af381b7ad 18:04:32 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 18:04:32 ---> Running in 15cd86527fb0 18:04:32 Removing intermediate container 15cd86527fb0 18:04:32 ---> 458ef99d86ef 18:04:32 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:04:32 ---> Running in 48e6af09debd 18:04:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:04:32 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:04:32 OK: 269 MiB in 57 packages 18:04:32 Removing intermediate container 48e6af09debd 18:04:32 ---> 9cf43aeb8805 18:04:32 Step 8/25 : WORKDIR /device-rest-go 18:04:32 ---> Running in 1b3dac3e4ed1 18:04:33 Removing intermediate container 1b3dac3e4ed1 18:04:33 ---> f7218a46328a 18:04:33 Step 9/25 : COPY go.mod vendor* ./ 18:04:33 ---> bb7c421fead9 18:04:33 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:04:33 ---> Running in 9d2dd1595f58 18:04:34 Removing intermediate container 9d2dd1595f58 18:04:34 ---> 8539bb9ececd 18:04:34 Step 11/25 : COPY . . 18:04:34 ---> a71a858a784e 18:04:34 Step 12/25 : RUN $MAKE 18:04:34 ---> Running in e421d6c3f962 18:04:34 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.1" -trimpath -mod=readonly -o cmd/device-rest ./cmd 18:04:52 Removing intermediate container e421d6c3f962 18:04:52 ---> 39622781140e 18:04:52 Step 13/25 : FROM alpine:3.17 18:04:52 3.17: Pulling from library/alpine 18:04:52 f56be85fc22e: Already exists 18:04:52 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:04:52 Status: Downloaded newer image for alpine:3.17 18:04:52 ---> 9ed4aefc74f6 18:04:52 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:04:52 ---> Running in 4ca9b3b8d820 18:04:53 Removing intermediate container 4ca9b3b8d820 18:04:53 ---> a540c3ee31af 18:04:53 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 18:04:53 ---> Running in 0fa328c06fb7 18:04:53 Removing intermediate container 0fa328c06fb7 18:04:53 ---> 699c5e95438f 18:04:53 Step 16/25 : RUN apk add --update --no-cache dumb-init 18:04:53 ---> Running in c1aad3efef2f 18:04:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/x86_64/APKINDEX.tar.gz 18:04:53 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/x86_64/APKINDEX.tar.gz 18:04:53 (1/1) Installing dumb-init (1.2.5-r2) 18:04:53 Executing busybox-1.35.0-r29.trigger 18:04:53 OK: 7 MiB in 16 packages 18:04:54 Removing intermediate container c1aad3efef2f 18:04:54 ---> 23615a1141aa 18:04:54 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 18:04:54 ---> 68a4ba915198 18:04:54 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 18:04:54 ---> faa13489569a 18:04:54 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 18:04:55 ---> 3d7b0578e295 18:04:55 Step 20/25 : EXPOSE 59986 18:04:55 ---> Running in 9eb701bd9638 18:04:55 Removing intermediate container 9eb701bd9638 18:04:55 ---> 39371fd1d7f0 18:04:55 Step 21/25 : ENTRYPOINT ["/device-rest"] 18:04:55 ---> Running in 93996e0d1943 18:04:55 Removing intermediate container 93996e0d1943 18:04:55 ---> 671bdce46367 18:04:55 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:04:55 ---> Running in 24b378a61f6d 18:04:55 Removing intermediate container 24b378a61f6d 18:04:55 ---> bc4edeb710c9 18:04:55 Step 23/25 : LABEL arch=amd64 18:04:55 ---> Running in ccc238b798af 18:04:55 Removing intermediate container ccc238b798af 18:04:55 ---> 7ce9bb9ac9fa 18:04:55 Step 24/25 : LABEL git_sha=ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e 18:04:55 ---> Running in a15840aa227f 18:04:55 Removing intermediate container a15840aa227f 18:04:55 ---> 911472141ef9 18:04:55 Step 25/25 : LABEL version=3.1.0-dev.1 18:04:55 ---> Running in 197e073424bf 18:04:55 Removing intermediate container 197e073424bf 18:04:55 ---> 911771ba17fb 18:04:55 [Warning] One or more build-args [ARCH] were not consumed 18:04:55 Successfully built 911771ba17fb 18:04:55 Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:04:55 provisioning config files... 18:04:55 copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3297606919612678464tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:04:56 ---> docker-login.sh 18:04:56 nexus3.edgexfoundry.org:10001 18:04:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:04:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:04:56 Configure a credential helper to remove this warning. See 18:04:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:04:56 18:04:56 Login Succeeded 18:04:56 nexus3.edgexfoundry.org:10002 18:04:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:04:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:04:56 Configure a credential helper to remove this warning. See 18:04:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:04:56 18:04:56 Login Succeeded 18:04:56 nexus3.edgexfoundry.org:10003 18:04:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:04:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:04:56 Configure a credential helper to remove this warning. See 18:04:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:04:56 18:04:56 Login Succeeded 18:04:56 nexus3.edgexfoundry.org:10004 18:04:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:04:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:04:56 Configure a credential helper to remove this warning. See 18:04:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:04:56 18:04:56 Login Succeeded 18:04:56 docker.io 18:04:56 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:04:56 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:04:56 Configure a credential helper to remove this warning. See 18:04:56 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:04:56 18:04:56 Login Succeeded 18:04:56 ---> docker-login.sh ends [Pipeline] } 18:04:56 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:04:56 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:04:56 [edgeXDocker.push] Tagging docker image device-rest with the following tags: 18:04:56 ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e 18:04:56 latest 18:04:56 3.1.0-dev.1 18:04:56 ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e-3.1.0-dev.1 18:04:56 main 18:04:56 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:56 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:04:57 + docker push nexus3.edgexfoundry.org:10004/device-rest:ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e 18:04:57 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 18:04:57 1730b545bcad: Preparing 18:04:57 09550ee846bd: Preparing 18:04:57 1de548c81902: Preparing 18:04:57 43597eac0c7b: Preparing 18:04:57 f1417ff83b31: Preparing 18:04:57 f1417ff83b31: Layer already exists 18:04:57 1730b545bcad: Pushed 18:04:57 43597eac0c7b: Pushed 18:04:57 09550ee846bd: Pushed 18:04:59 1de548c81902: Pushed 18:04:59 ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e: digest: sha256:f92143286f16e4f7e51230cd011b3618ad9382359daad59a9a1e1e1090181da7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:00 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:00 + docker push nexus3.edgexfoundry.org:10004/device-rest:latest 18:05:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 18:05:00 1730b545bcad: Preparing 18:05:00 09550ee846bd: Preparing 18:05:00 1de548c81902: Preparing 18:05:00 43597eac0c7b: Preparing 18:05:00 f1417ff83b31: Preparing 18:05:00 09550ee846bd: Layer already exists 18:05:00 1de548c81902: Layer already exists 18:05:00 f1417ff83b31: Layer already exists 18:05:00 43597eac0c7b: Layer already exists 18:05:00 1730b545bcad: Layer already exists 18:05:00 latest: digest: sha256:f92143286f16e4f7e51230cd011b3618ad9382359daad59a9a1e1e1090181da7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:00 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:01 + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.1 18:05:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 18:05:01 1730b545bcad: Preparing 18:05:01 09550ee846bd: Preparing 18:05:01 1de548c81902: Preparing 18:05:01 43597eac0c7b: Preparing 18:05:01 f1417ff83b31: Preparing 18:05:01 09550ee846bd: Layer already exists 18:05:01 1de548c81902: Layer already exists 18:05:01 43597eac0c7b: Layer already exists 18:05:01 f1417ff83b31: Layer already exists 18:05:01 1730b545bcad: Layer already exists 18:05:01 3.1.0-dev.1: digest: sha256:f92143286f16e4f7e51230cd011b3618ad9382359daad59a9a1e1e1090181da7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:01 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e-3.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:01 + docker push nexus3.edgexfoundry.org:10004/device-rest:ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e-3.1.0-dev.1 18:05:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 18:05:01 1730b545bcad: Preparing 18:05:01 09550ee846bd: Preparing 18:05:01 1de548c81902: Preparing 18:05:01 43597eac0c7b: Preparing 18:05:01 f1417ff83b31: Preparing 18:05:01 43597eac0c7b: Layer already exists 18:05:01 1de548c81902: Layer already exists 18:05:01 1730b545bcad: Layer already exists 18:05:01 09550ee846bd: Layer already exists 18:05:01 f1417ff83b31: Layer already exists 18:05:01 ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e-3.1.0-dev.1: digest: sha256:f92143286f16e4f7e51230cd011b3618ad9382359daad59a9a1e1e1090181da7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:02 + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:02 + docker push nexus3.edgexfoundry.org:10004/device-rest:main 18:05:02 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] 18:05:02 1730b545bcad: Preparing 18:05:02 09550ee846bd: Preparing 18:05:02 1de548c81902: Preparing 18:05:02 43597eac0c7b: Preparing 18:05:02 f1417ff83b31: Preparing 18:05:02 09550ee846bd: Layer already exists 18:05:02 f1417ff83b31: Layer already exists 18:05:02 1de548c81902: Layer already exists 18:05:02 43597eac0c7b: Layer already exists 18:05:02 1730b545bcad: Layer already exists 18:05:02 main: digest: sha256:f92143286f16e4f7e51230cd011b3618ad9382359daad59a9a1e1e1090181da7 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:05:02 ===================================================== [Pipeline] echo 18:05:02 taggedImages: 18:05:02 - nexus3.edgexfoundry.org:10004/device-rest:ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e 18:05:02 - nexus3.edgexfoundry.org:10004/device-rest:latest 18:05:02 - nexus3.edgexfoundry.org:10004/device-rest:3.1.0-dev.1 18:05:02 - nexus3.edgexfoundry.org:10004/device-rest:ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e-3.1.0-dev.1 18:05:02 - 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 18:05:03 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:05:03 18:05:03 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:03 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:05:03 latest: Pulling from edgex-lftools-log-publisher 18:05:03 5eb5b503b376: Pulling fs layer 18:05:03 5c69ac0246d0: Pulling fs layer 18:05:03 ec43610c2a17: Pulling fs layer 18:05:03 3a2ae6a8a46f: Pulling fs layer 18:05:03 33b1e0a273af: Pulling fs layer 18:05:03 5d3b04190fa2: Pulling fs layer 18:05:03 2f39f015ded8: Pulling fs layer 18:05:03 3a2ae6a8a46f: Waiting 18:05:03 33b1e0a273af: Waiting 18:05:03 5d3b04190fa2: Waiting 18:05:03 2f39f015ded8: Waiting 18:05:03 5c69ac0246d0: Download complete 18:05:03 3a2ae6a8a46f: Verifying Checksum 18:05:03 3a2ae6a8a46f: Download complete 18:05:03 33b1e0a273af: Verifying Checksum 18:05:03 33b1e0a273af: Download complete 18:05:03 5d3b04190fa2: Verifying Checksum 18:05:03 5d3b04190fa2: Download complete 18:05:03 ec43610c2a17: Verifying Checksum 18:05:03 ec43610c2a17: Download complete 18:05:03 5eb5b503b376: Verifying Checksum 18:05:03 5eb5b503b376: Download complete 18:05:04 2f39f015ded8: Download complete 18:05:04 5eb5b503b376: Pull complete 18:05:05 5c69ac0246d0: Pull complete 18:05:05 ec43610c2a17: Pull complete 18:05:05 3a2ae6a8a46f: Pull complete 18:05:06 33b1e0a273af: Pull complete 18:05:06 5d3b04190fa2: Pull complete 18:05:10 2f39f015ded8: Pull complete 18:05:10 Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 18:05:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:05:10 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:05:10 prd-ubuntu20.04-docker-8c-8g-18477 does not seem to be running inside a container 18:05:10 $ 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 18:05:14 $ docker top d4d520d29f1fe1480861451fe9ac4786c844158bea58f8343aabced3dc503e68 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:05:14 ---> job-cost.sh 18:05:14 lf-activate-venv: SKIPPING 18:05:14 INFO: No Stack... 18:05:15 INFO: Retrieving Pricing Info for: v3-standard-8 18:05:15 INFO: Archiving Costs [Pipeline] sh 18:05:16 + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv 18:05:16 + cut -d, -f6 [Pipeline] lock 18:05:16 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-121-stack-cost] 18:05:16 Resource [jenkins-edgexfoundry-device-rest-go-main-121-stack-cost] did not exist. Created. 18:05:16 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-121-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:05:16 + echo total: 0.2199999988079071 [Pipeline] stash 18:05:16 Stashed 1 file(s) [Pipeline] } 18:05:16 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-121-stack-cost] [Pipeline] // lock [Pipeline] } 18:05:16 $ docker stop --time=1 d4d520d29f1fe1480861451fe9ac4786c844158bea58f8343aabced3dc503e68 18:05:17 $ docker rm -f --volumes d4d520d29f1fe1480861451fe9ac4786c844158bea58f8343aabced3dc503e68 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } 18:05:20 Removing intermediate container c23a3b22638a 18:05:20 ---> 95fe6cee3013 18:05:20 Step 11/12 : COPY . . 18:05:20 ---> e0cb81c3e37d 18:05:20 Step 12/12 : RUN $MAKE 18:05:20 ---> Running in 9b0d5979754a 18:05:20 noop 18:05:20 Removing intermediate container 9b0d5979754a 18:05:20 ---> 742d4b11776c 18:05:20 Successfully built 742d4b11776c 18:05:20 Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:21 + docker inspect -f . ci-base-image-arm64 18:05:21 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:05:21 prd-ubuntu20.04-docker-arm64-4c-16g-18476 does not seem to be running inside a container 18:05:21 $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/121 -v /w/workspace/device-rest-go/121:/w/workspace/device-rest-go/121:rw,z -v /w/workspace/device-rest-go/121@tmp:/w/workspace/device-rest-go/121@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:05:23 $ docker top e6e924bfc24d27de98222c4f516b5678d7bf9a6b0d5d12aac0b186aaa249ef62 -eo pid,comm [Pipeline] { [Pipeline] sh 18:05:23 + go version 18:05:23 go version go1.20.2 linux/arm64 [Pipeline] } 18:05:24 $ docker stop --time=1 e6e924bfc24d27de98222c4f516b5678d7bf9a6b0d5d12aac0b186aaa249ef62 18:05:26 $ docker rm -f --volumes e6e924bfc24d27de98222c4f516b5678d7bf9a6b0d5d12aac0b186aaa249ef62 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:05:27 + docker inspect -f . ci-base-image-arm64 18:05:27 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:05:27 prd-ubuntu20.04-docker-arm64-4c-16g-18476 does not seem to be running inside a container 18:05:27 $ 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/121 -v /w/workspace/device-rest-go/121:/w/workspace/device-rest-go/121:rw,z -v /w/workspace/device-rest-go/121@tmp:/w/workspace/device-rest-go/121@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat 18:05:28 $ docker top 05cc67cb86cf1241103c63385badce3f8bd43c0691ff53d670ef01d34d974e3a -eo pid,comm [Pipeline] { [Pipeline] sh 18:05:29 + git config --global --add safe.directory /w/workspace/device-rest-go/121 [Pipeline] fileExists [Pipeline] sh 18:05:30 + make test 18:05:30 go test ./... -coverprofile=coverage.out ./... 18:06:09 ? github.com/edgexfoundry/device-rest-go [no test files] 18:08:00 ? github.com/edgexfoundry/device-rest-go/cmd [no test files] 18:08:00 ok github.com/edgexfoundry/device-rest-go/driver 0.064s coverage: 32.2% of statements 18:08:00 WARNING: Linting skipped (not on x86_64 or linter not installed) 18:08:00 go vet ./... 18:08:27 gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") 18:08:27 [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] 18:08:27 ./bin/test-attribution-txt.sh [Pipeline] echo 18:08:27 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } 18:08:27 $ docker stop --time=1 05cc67cb86cf1241103c63385badce3f8bd43c0691ff53d670ef01d34d974e3a 18:08:29 $ docker rm -f --volumes 05cc67cb86cf1241103c63385badce3f8bd43c0691ff53d670ef01d34d974e3a [Pipeline] // withDockerContainer [Pipeline] sh 18:08:30 + sudo chown -R jenkins:jenkins . [Pipeline] stash 18:08:30 Warning: overwriting stash ‘coverage-report’ 18:08:30 Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh 18:08:31 + sudo chown -R jenkins:jenkins . [Pipeline] sh 18:08:31 + ls -al . 18:08:31 total 180 18:08:31 drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 18:05 . 18:08:31 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 18:03 .. 18:08:31 -rw-rw-r-- 1 jenkins jenkins 151 Jun 12 18:03 .dockerignore 18:08:31 drwxrwxr-x 8 jenkins jenkins 4096 Jun 12 18:03 .git 18:08:31 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 18:03 .github 18:08:31 -rw-rw-r-- 1 jenkins jenkins 329 Jun 12 18:03 .gitignore 18:08:31 -rw-rw-r-- 1 jenkins jenkins 41 Jun 12 18:03 .golangci.yml 18:08:31 -rw-rw-r-- 1 jenkins jenkins 9331 Jun 12 18:03 Attribution.txt 18:08:31 -rw-rw-r-- 1 jenkins jenkins 15709 Jun 12 18:03 CHANGELOG.md 18:08:31 -rw-rw-r-- 1 jenkins jenkins 1578 Jun 12 18:03 Dockerfile 18:08:31 -rw-rw-r-- 1 jenkins jenkins 677 Jun 12 18:03 GOVERNANCE.md 18:08:31 -rw-rw-r-- 1 jenkins jenkins 680 Jun 12 18:03 Jenkinsfile 18:08:31 -rw-rw-r-- 1 jenkins jenkins 11340 Jun 12 18:03 LICENSE 18:08:31 -rw-rw-r-- 1 jenkins jenkins 1779 Jun 12 18:03 Makefile 18:08:31 -rw-rw-r-- 1 jenkins jenkins 620 Jun 12 18:03 OWNERS.md 18:08:31 -rw-rw-r-- 1 jenkins jenkins 15827 Jun 12 18:03 README.md 18:08:31 -rw-rw-r-- 1 jenkins jenkins 11 Jun 12 18:03 VERSION 18:08:31 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 18:03 bin 18:08:31 drwxrwxr-x 3 jenkins jenkins 4096 Jun 12 18:03 cmd 18:08:31 -rw-r--r-- 1 jenkins jenkins 14663 Jun 12 18:07 coverage.out 18:08:31 drwxrwxr-x 2 jenkins jenkins 4096 Jun 12 18:03 driver 18:08:31 -rw-rw-r-- 1 jenkins jenkins 3354 Jun 12 18:03 go.mod 18:08:31 -rw-rw-r-- 1 jenkins jenkins 31322 Jun 12 18:03 go.sum 18:08:31 drwxrwxr-x 4 jenkins jenkins 4096 Jun 12 18:03 snap 18:08:31 -rw-rw-r-- 1 jenkins jenkins 713 Jun 12 18:03 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:08:31 + 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=ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e --label arch=arm64 --label version=3.1.0-dev.1 . 18:08:31 Sending build context to Docker daemon 157.2kB 18:08:31 Step 1/25 : ARG BASE=golang:1.20-alpine3.17 18:08:31 Step 2/25 : FROM ${BASE} AS builder 18:08:31 ---> 742d4b11776c 18:08:31 Step 3/25 : ARG ADD_BUILD_TAGS="" 18:08:31 ---> Running in 864c974e4c4c 18:08:32 Removing intermediate container 864c974e4c4c 18:08:32 ---> fc10b6b0280d 18:08:32 Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" 18:08:32 ---> Running in 1ec543341b9b 18:08:32 Removing intermediate container 1ec543341b9b 18:08:32 ---> 27ec1340c009 18:08:32 Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" 18:08:32 ---> Running in 9011ab70adce 18:08:33 Removing intermediate container 9011ab70adce 18:08:33 ---> e4968018e25c 18:08:33 Step 6/25 : ARG ALPINE_PKG_EXTRA="" 18:08:33 ---> Running in ed152ff0e043 18:08:33 Removing intermediate container ed152ff0e043 18:08:33 ---> e97ec761d5df 18:08:33 Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} 18:08:33 ---> Running in 6cb0b1231c60 18:08:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:08:34 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:08:35 OK: 268 MiB in 57 packages 18:08:36 Removing intermediate container 6cb0b1231c60 18:08:36 ---> 50d4c11d4bea 18:08:36 Step 8/25 : WORKDIR /device-rest-go 18:08:36 ---> Running in c0087aea3ba2 18:08:37 Removing intermediate container c0087aea3ba2 18:08:37 ---> 0f68e2a484e4 18:08:37 Step 9/25 : COPY go.mod vendor* ./ 18:08:38 ---> 16596e457751 18:08:38 Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." 18:08:38 ---> Running in ceb5195bd658 18:08:40 Removing intermediate container ceb5195bd658 18:08:40 ---> f4c0f5630999 18:08:40 Step 11/25 : COPY . . 18:08:41 ---> b17ccf041885 18:08:41 Step 12/25 : RUN $MAKE 18:08:41 ---> Running in 31a11f37ac1b 18:08:42 CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.0-dev.1" -trimpath -mod=readonly -o cmd/device-rest ./cmd 18:10:48 Removing intermediate container 31a11f37ac1b 18:10:48 ---> c8ed27594792 18:10:48 Step 13/25 : FROM alpine:3.17 18:10:48 3.17: Pulling from library/alpine 18:10:48 c41833b44d91: Already exists 18:10:48 Digest: sha256:124c7d2707904eea7431fffe91522a01e5a861a624ee31d03372cc1d138a3126 18:10:48 Status: Downloaded newer image for alpine:3.17 18:10:48 ---> 51e60588ff2c 18:10:48 Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' 18:10:48 ---> Running in bc7d5897dade 18:10:48 Removing intermediate container bc7d5897dade 18:10:48 ---> 317f0e442a4c 18:10:48 Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} 18:10:48 ---> Running in ec5ad0f5c35b 18:10:48 Removing intermediate container ec5ad0f5c35b 18:10:48 ---> 443728174e7d 18:10:48 Step 16/25 : RUN apk add --update --no-cache dumb-init 18:10:48 ---> Running in 3905b53d6645 18:10:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/main/aarch64/APKINDEX.tar.gz 18:10:48 fetch https://dl-cdn.alpinelinux.org/alpine/v3.17/community/aarch64/APKINDEX.tar.gz 18:10:48 (1/1) Installing dumb-init (1.2.5-r2) 18:10:48 Executing busybox-1.35.0-r29.trigger 18:10:48 OK: 8 MiB in 16 packages 18:10:48 Removing intermediate container 3905b53d6645 18:10:48 ---> b2c6964391db 18:10:48 Step 17/25 : COPY --from=builder /device-rest-go/cmd / 18:10:48 ---> d4cd43ec014d 18:10:48 Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / 18:10:48 ---> 040460fecf65 18:10:48 Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / 18:10:48 ---> a0556bb83d22 18:10:48 Step 20/25 : EXPOSE 59986 18:10:48 ---> Running in 1da6fd37c52e 18:10:48 Removing intermediate container 1da6fd37c52e 18:10:48 ---> 4278d87168e5 18:10:48 Step 21/25 : ENTRYPOINT ["/device-rest"] 18:10:48 ---> Running in 56e790e8b089 18:10:48 Removing intermediate container 56e790e8b089 18:10:48 ---> ae44d16960d3 18:10:48 Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] 18:10:48 ---> Running in 1e7b8b53b2d2 18:10:48 Removing intermediate container 1e7b8b53b2d2 18:10:48 ---> cf320b5a2089 18:10:48 Step 23/25 : LABEL arch=arm64 18:10:48 ---> Running in 58e937a06be6 18:10:48 Removing intermediate container 58e937a06be6 18:10:48 ---> 84deddc209b4 18:10:48 Step 24/25 : LABEL git_sha=ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e 18:10:49 ---> Running in 4166d9663383 18:10:49 Removing intermediate container 4166d9663383 18:10:49 ---> 12616080f09b 18:10:49 Step 25/25 : LABEL version=3.1.0-dev.1 18:10:49 ---> Running in 6d9727582a45 18:10:49 Removing intermediate container 6d9727582a45 18:10:49 ---> 3309da08c0b7 18:10:49 [Warning] One or more build-args [ARCH] were not consumed 18:10:49 Successfully built 3309da08c0b7 18:10:49 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 18:10:49 provisioning config files... 18:10:49 copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/121@tmp/config14594069512874033333tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:10:49 ---> docker-login.sh 18:10:49 nexus3.edgexfoundry.org:10001 18:10:49 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:50 Configure a credential helper to remove this warning. See 18:10:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:50 18:10:50 Login Succeeded 18:10:50 nexus3.edgexfoundry.org:10002 18:10:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:50 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:50 Configure a credential helper to remove this warning. See 18:10:50 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:50 18:10:50 Login Succeeded 18:10:50 nexus3.edgexfoundry.org:10003 18:10:50 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:51 Configure a credential helper to remove this warning. See 18:10:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:51 18:10:51 Login Succeeded 18:10:51 nexus3.edgexfoundry.org:10004 18:10:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:51 Configure a credential helper to remove this warning. See 18:10:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:51 18:10:51 Login Succeeded 18:10:51 docker.io 18:10:51 WARNING! Using --password via the CLI is insecure. Use --password-stdin. 18:10:51 WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. 18:10:51 Configure a credential helper to remove this warning. See 18:10:51 https://docs.docker.com/engine/reference/commandline/login/#credentials-store 18:10:51 18:10:51 Login Succeeded 18:10:51 ---> docker-login.sh ends [Pipeline] } 18:10:51 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:10:51 [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo 18:10:51 [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: 18:10:51 ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e 18:10:51 latest 18:10:51 3.1.0-dev.1 18:10:51 ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e-3.1.0-dev.1 18:10:51 main 18:10:51 ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:10:52 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:10:52 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e 18:10:52 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 18:10:52 bd39e7533fcc: Preparing 18:10:52 c22cddd87798: Preparing 18:10:52 b039ee22ec29: Preparing 18:10:52 be9c5bd14922: Preparing 18:10:52 26cbea5cba74: Preparing 18:10:52 26cbea5cba74: Layer already exists 18:10:52 be9c5bd14922: Pushed 18:10:52 bd39e7533fcc: Pushed 18:10:52 c22cddd87798: Pushed 18:10:58 b039ee22ec29: Pushed 18:10:58 ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e: digest: sha256:184e5a46d2918d47cc9ac43783feb02d047a02446cfb06b0306d30f52a40a7b3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:10:58 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:10:58 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 18:10:58 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 18:10:58 bd39e7533fcc: Preparing 18:10:58 c22cddd87798: Preparing 18:10:58 b039ee22ec29: Preparing 18:10:58 be9c5bd14922: Preparing 18:10:58 26cbea5cba74: Preparing 18:10:58 26cbea5cba74: Layer already exists 18:10:58 b039ee22ec29: Layer already exists 18:10:58 c22cddd87798: Layer already exists 18:10:58 be9c5bd14922: Layer already exists 18:10:58 bd39e7533fcc: Layer already exists 18:10:59 latest: digest: sha256:184e5a46d2918d47cc9ac43783feb02d047a02446cfb06b0306d30f52a40a7b3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:10:59 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:10:59 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.1 18:10:59 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 18:10:59 bd39e7533fcc: Preparing 18:10:59 c22cddd87798: Preparing 18:10:59 b039ee22ec29: Preparing 18:10:59 be9c5bd14922: Preparing 18:10:59 26cbea5cba74: Preparing 18:10:59 26cbea5cba74: Layer already exists 18:10:59 c22cddd87798: Layer already exists 18:10:59 be9c5bd14922: Layer already exists 18:10:59 b039ee22ec29: Layer already exists 18:10:59 bd39e7533fcc: Layer already exists 18:11:00 3.1.0-dev.1: digest: sha256:184e5a46d2918d47cc9ac43783feb02d047a02446cfb06b0306d30f52a40a7b3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11:00 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e-3.1.0-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11:00 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e-3.1.0-dev.1 18:11:00 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 18:11:00 bd39e7533fcc: Preparing 18:11:00 c22cddd87798: Preparing 18:11:00 b039ee22ec29: Preparing 18:11:00 be9c5bd14922: Preparing 18:11:00 26cbea5cba74: Preparing 18:11:00 b039ee22ec29: Layer already exists 18:11:00 bd39e7533fcc: Layer already exists 18:11:00 be9c5bd14922: Layer already exists 18:11:00 c22cddd87798: Layer already exists 18:11:00 26cbea5cba74: Layer already exists 18:11:01 ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e-3.1.0-dev.1: digest: sha256:184e5a46d2918d47cc9ac43783feb02d047a02446cfb06b0306d30f52a40a7b3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11:01 + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11:01 + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main 18:11:01 The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] 18:11:01 bd39e7533fcc: Preparing 18:11:01 c22cddd87798: Preparing 18:11:01 b039ee22ec29: Preparing 18:11:01 be9c5bd14922: Preparing 18:11:01 26cbea5cba74: Preparing 18:11:01 26cbea5cba74: Layer already exists 18:11:01 be9c5bd14922: Layer already exists 18:11:01 c22cddd87798: Layer already exists 18:11:01 bd39e7533fcc: Layer already exists 18:11:01 b039ee22ec29: Layer already exists 18:11:02 main: digest: sha256:184e5a46d2918d47cc9ac43783feb02d047a02446cfb06b0306d30f52a40a7b3 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo 18:11:02 ===================================================== [Pipeline] echo 18:11:02 taggedImages: 18:11:02 - nexus3.edgexfoundry.org:10004/device-rest-arm64:ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e 18:11:02 - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest 18:11:02 - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.0-dev.1 18:11:02 - nexus3.edgexfoundry.org:10004/device-rest-arm64:ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e-3.1.0-dev.1 18:11:02 - 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 18:11:02 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:11:02 18:11:02 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:11:02 arm64: Pulling from edgex-lftools-log-publisher 18:11:02 8998bd30e6a1: Pulling fs layer 18:11:02 04944245beec: Pulling fs layer 18:11:02 699f458cf7ca: Pulling fs layer 18:11:02 765212b225bb: Pulling fs layer 18:11:02 f23df028b6ca: Pulling fs layer 18:11:02 d65c8cfc05b1: Pulling fs layer 18:11:02 2437ff75d9bd: Pulling fs layer 18:11:02 f23df028b6ca: Waiting 18:11:02 765212b225bb: Waiting 18:11:02 d65c8cfc05b1: Waiting 18:11:02 2437ff75d9bd: Waiting 18:11:03 04944245beec: Verifying Checksum 18:11:03 04944245beec: Download complete 18:11:03 765212b225bb: Verifying Checksum 18:11:03 765212b225bb: Download complete 18:11:03 f23df028b6ca: Verifying Checksum 18:11:03 f23df028b6ca: Download complete 18:11:03 d65c8cfc05b1: Verifying Checksum 18:11:03 d65c8cfc05b1: Download complete 18:11:03 699f458cf7ca: Verifying Checksum 18:11:03 699f458cf7ca: Download complete 18:11:03 8998bd30e6a1: Verifying Checksum 18:11:03 8998bd30e6a1: Download complete 18:11:06 2437ff75d9bd: Verifying Checksum 18:11:06 2437ff75d9bd: Download complete 18:11:07 8998bd30e6a1: Pull complete 18:11:07 04944245beec: Pull complete 18:11:09 699f458cf7ca: Pull complete 18:11:09 765212b225bb: Pull complete 18:11:10 f23df028b6ca: Pull complete 18:11:10 d65c8cfc05b1: Pull complete 18:11:25 2437ff75d9bd: Pull complete 18:11:25 Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da 18:11:25 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 18:11:25 nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:11:25 prd-ubuntu20.04-docker-arm64-4c-16g-18476 does not seem to be running inside a container 18:11:25 $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/device-rest-go/121 -v /w/workspace/device-rest-go/121:/w/workspace/device-rest-go/121:rw,z -v /w/workspace/device-rest-go/121@tmp:/w/workspace/device-rest-go/121@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat 18:11:28 $ docker top 553bcd0d62f77f4c4da61e3efcea0421e7517b101ca6c51ed1796fdb0e455d86 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh 18:11:28 ---> job-cost.sh 18:11:28 lf-activate-venv: SKIPPING 18:11:28 INFO: No Stack... 18:11:29 INFO: Retrieving Pricing Info for: v3-standard-4 18:11:30 INFO: Archiving Costs [Pipeline] sh 18:11:30 + + cut -d,cat -f6 /w/workspace/device-rest-go/121/archives/cost.csv 18:11:30 [Pipeline] lock 18:11:30 Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-121-stack-cost] 18:11:30 Resource [jenkins-edgexfoundry-device-rest-go-main-121-stack-cost] did not exist. Created. 18:11:30 Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-121-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh 18:11:31 /w/workspace/device-rest-go/121@tmp/durable-39586353/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh 18:11:31 + echo total: 0.10999999940395355 [Pipeline] stash 18:11:31 Warning: overwriting stash ‘stack-cost’ 18:11:31 Stashed 1 file(s) [Pipeline] } 18:11:31 Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-121-stack-cost] [Pipeline] // lock [Pipeline] } 18:11:32 $ docker stop --time=1 553bcd0d62f77f4c4da61e3efcea0421e7517b101ca6c51ed1796fdb0e455d86 18:11:34 $ docker rm -f --volumes 553bcd0d62f77f4c4da61e3efcea0421e7517b101ca6c51ed1796fdb0e455d86 [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 18:11:34 provisioning config files... 18:11:34 copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4286163972010376937tmp [Pipeline] { [Pipeline] sh 18:11:34 + set +x 18:11:34 + + curl -s https://codecov.io/bashbash 18:11:34 -s -- 18:11:34 18:11:34 _____ _ 18:11:34 / ____| | | 18:11:34 | | ___ __| | ___ ___ _____ __ 18:11:34 | | / _ \ / _` |/ _ \/ __/ _ \ \ / / 18:11:34 | |___| (_) | (_| | __/ (_| (_) \ V / 18:11:34 \_____\___/ \__,_|\___|\___\___/ \_/ 18:11:34 Bash-1.0.6 18:11:34 18:11:34 18:11:34 ==> git version 2.25.1 found 18:11:34 ==> 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 18:11:34 Release-Date: 2020-01-08 18:11:34 Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp 18:11:34 Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets 18:11:34 ==> Jenkins CI detected. 18:11:34 current dir:  /w/workspace/edgexfoundry_device-rest-go_main 18:11:34 project root: . 18:11:34 --> token set from env 18:11:34 Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml 18:11:34 ==> Running gcov in . (disable via -X gcov) 18:11:34 ==> Python coveragepy not found 18:11:34 ==> Searching for coverage reports in: 18:11:34 + . 18:11:34 -> Found 1 reports 18:11:34 ==> Detecting git/mercurial file structure 18:11:34 ==> Reading reports 18:11:34 + ./coverage.out bytes=14663 18:11:34 ==> Appending adjustments 18:11:34 https://docs.codecov.io/docs/fixing-reports 18:11:34 + Found adjustments 18:11:34 ==> Gzipping contents 18:11:34 4.0K /tmp/codecov.XEIQEn.gz 18:11:34 ==> Uploading reports 18:11:34 url: https://codecov.io 18:11:34 query: branch=main&commit=ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e&build=121&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F121%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:11:34 -> Pinging Codecov 18:11:34 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=ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e&build=121&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F121%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= 18:11:35 -> Uploading to 18:11:35 https://storage.googleapis.com/codecov/v4/raw/2023-06-12/4E5D53B4F1F92C436F7061BF334D961C/ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e/d45e19c3-7ade-45d7-945e-90d5d233c6ce.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230612%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230612T181135Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=c15c27ae595d4ee83df3dca5954f5825d3e9d4dbc54622789e22920555604b13 18:11:35 % Total % Received % Xferd Average Speed Time Time Time Current 18:11:35 Dload Upload Total Spent Left Speed 18:11:35 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2510 0 0 100 2510 0 14593 --:--:-- --:--:-- --:--:-- 14593 18:11:35 -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e [Pipeline] } 18:11:35 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo 18:11:35 [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials 18:11:35 Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11:35 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:11:35 18:11:35 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11:36 + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:11:36 1.410.4: Pulling from edgex-devops/edgex-snyk-go 18:11:36 df9b9388f04a: Pulling fs layer 18:11:36 52dc419b0ee2: Pulling fs layer 18:11:36 25bc292e5bac: Pulling fs layer 18:11:36 114826534d7a: Pulling fs layer 18:11:36 4657fd5d0bcf: Pulling fs layer 18:11:36 6ad1cebc031e: Pulling fs layer 18:11:36 8a3aa393b2d8: Pulling fs layer 18:11:36 8a3aa393b2d8: Waiting 18:11:36 25bc292e5bac: Verifying Checksum 18:11:36 25bc292e5bac: Download complete 18:11:36 52dc419b0ee2: Download complete 18:11:36 4657fd5d0bcf: Download complete 18:11:36 df9b9388f04a: Download complete 18:11:36 6ad1cebc031e: Verifying Checksum 18:11:36 6ad1cebc031e: Download complete 18:11:36 df9b9388f04a: Pull complete 18:11:36 52dc419b0ee2: Pull complete 18:11:36 25bc292e5bac: Pull complete 18:11:36 114826534d7a: Verifying Checksum 18:11:36 114826534d7a: Download complete 18:11:37 8a3aa393b2d8: Verifying Checksum 18:11:37 8a3aa393b2d8: Download complete 18:11:40 114826534d7a: Pull complete 18:11:40 4657fd5d0bcf: Pull complete 18:11:40 6ad1cebc031e: Pull complete 18:11:43 8a3aa393b2d8: Pull complete 18:11:43 Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 18:11:43 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 18:11:43 nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:11:43 prd-ubuntu20.04-docker-8c-8g-18477 does not seem to be running inside a container 18:11:43 $ 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 18:11:48 $ docker top 3221f2657629be3f6311f4846b5463e6967e67a9d4d825645ba663b26a616666 -eo pid,comm [Pipeline] { [Pipeline] echo 18:11:48 [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh 18:11:48 + set -o pipefail 18:11:48 + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' 18:11:52 18:11:52 Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... 18:11:52 18:11:52 Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/2fbece4a-160b-425f-aaa3-9a8a0520e226 18:11:52 18:11:52 Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. 18:11:52 18:11:52 Notifications about newly disclosed issues related to these dependencies will be emailed to you. 18:11:52 18:11:52 18:11:52 A medium severity vulnerability was found in the Snyk CLI versions you are using. 18:11:52 We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. 18:11:52 More details here: https://snyk.co/ue1NS 18:11:52 You have reached your monthly limit of 401 private tests for your edgex-jenkins org. 18:11:52 To learn more about our plans and increase your tests limit visit https://snyk.io/plans. [Pipeline] } 18:11:52 $ docker stop --time=1 3221f2657629be3f6311f4846b5463e6967e67a9d4d825645ba663b26a616666 18:11:56 $ docker rm -f --volumes 3221f2657629be3f6311f4846b5463e6967e67a9d4d825645ba663b26a616666 [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 18:11:57 + git log --format=format:%s -1 ad4aeca8b744c27a88ee6b1f9f0a6bbf87ef981e [Pipeline] sh 18:11:57 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:11:57 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:11:57 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:11:57 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:11:57 prd-ubuntu20.04-docker-8c-8g-18477 does not seem to be running inside a container 18:11:57 $ 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 18:11:58 $ docker top 8896cec8966c537411c6c238deec5d0fc75ad2f822e2f0833689c9d1122c1e96 -eo pid,comm 18:11:58 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:11:58 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:11:58 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:11:58 [ssh-agent] Looking for ssh-agent implementation... 18:11:58 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:11:58 $ docker exec 8896cec8966c537411c6c238deec5d0fc75ad2f822e2f0833689c9d1122c1e96 ssh-agent 18:11:58 SSH_AUTH_SOCK=/tmp/ssh-f93WmsjjYHeh/agent.32 18:11:58 SSH_AGENT_PID=38 18:11:58 Running ssh-add (command line suppressed) 18:11:58 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10587267946782818040.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10587267946782818040.key) 18:11:58 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:11:59 + git semver tag 18:11:59 2023-06-12 18:11:59,258 [run_tag] DEBUG tag force:False 18:11:59 2023-06-12 18:11:59,258 [check_head_tag] DEBUG check head tag 18:11:59 2023-06-12 18:11:59,259 [execute] INFO git cat-file --batch-check 18:11:59 2023-06-12 18:11:59,259 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 18:11:59 2023-06-12 18:11:59,262 [execute] INFO git cat-file --batch 18:11:59 2023-06-12 18:11:59,262 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) 18:11:59 2023-06-12 18:11:59,268 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:11:59 2023-06-12 18:11:59,268 [execute] INFO git tag -a v3.1.0-dev.1 -m v3.1.0-dev.1 18:11:59 2023-06-12 18:11:59,268 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.1.0-dev.1', '-m', 'v3.1.0-dev.1'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) 18:11:59 2023-06-12 18:11:59,273 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:11:59 3.1.0-dev.1 [Pipeline] } 18:11:59 $ docker exec --env ******** --env ******** 8896cec8966c537411c6c238deec5d0fc75ad2f822e2f0833689c9d1122c1e96 ssh-agent -k 18:11:59 unset SSH_AUTH_SOCK; 18:11:59 unset SSH_AGENT_PID; 18:11:59 echo Agent pid 38 killed; 18:11:59 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:11:59 + git semver [Pipeline] } 18:12:00 $ docker stop --time=1 8896cec8966c537411c6c238deec5d0fc75ad2f822e2f0833689c9d1122c1e96 18:12:01 $ docker rm -f --volumes 8896cec8966c537411c6c238deec5d0fc75ad2f822e2f0833689c9d1122c1e96 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:12:01 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:12:01 18:12:01 Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:12:02 + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:12:02 0.23.1-centos7: Pulling from edgex-lftools 18:12:02 ab5ef0e58194: Pulling fs layer 18:12:02 9712f1f96733: Pulling fs layer 18:12:02 63f879dbbcfc: Pulling fs layer 18:12:02 0d9ebad4ef96: Pulling fs layer 18:12:02 e9a5061849ea: Pulling fs layer 18:12:02 d747dcd14b5f: Pulling fs layer 18:12:02 2de7ff778b66: Pulling fs layer 18:12:02 0d9ebad4ef96: Waiting 18:12:02 e9a5061849ea: Waiting 18:12:02 d747dcd14b5f: Waiting 18:12:02 2de7ff778b66: Waiting 18:12:02 9712f1f96733: Download complete 18:12:02 63f879dbbcfc: Verifying Checksum 18:12:02 63f879dbbcfc: Download complete 18:12:02 ab5ef0e58194: Verifying Checksum 18:12:02 ab5ef0e58194: Download complete 18:12:02 d747dcd14b5f: Verifying Checksum 18:12:02 d747dcd14b5f: Download complete 18:12:02 e9a5061849ea: Verifying Checksum 18:12:02 e9a5061849ea: Download complete 18:12:02 0d9ebad4ef96: Verifying Checksum 18:12:02 0d9ebad4ef96: Download complete 18:12:02 2de7ff778b66: Verifying Checksum 18:12:02 2de7ff778b66: Download complete 18:12:05 ab5ef0e58194: Pull complete 18:12:05 9712f1f96733: Pull complete 18:12:05 63f879dbbcfc: Pull complete 18:12:09 0d9ebad4ef96: Pull complete 18:12:09 e9a5061849ea: Pull complete 18:12:09 d747dcd14b5f: Pull complete 18:12:10 2de7ff778b66: Pull complete 18:12:10 Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 18:12:10 Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 18:12:10 nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:12:10 prd-ubuntu20.04-docker-8c-8g-18477 does not seem to be running inside a container 18:12:10 $ 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 18:12:15 $ docker top 1c03bf6b0a4a596f82ba2988c45503dab7d76bd540a0bbd2784039bba17b1b45 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider 18:12:15 provisioning config files... 18:12:15 copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10821613872655421448tmp 18:12:15 copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config666318427701363711tmp 18:12:15 copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4591743645422204817tmp [Pipeline] { [Pipeline] echo 18:12:15 Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh 18:12:16 ---> sigul-configuration.sh 18:12:16 gpg: directory `/root/.gnupg' created 18:12:16 gpg: new configuration file `/root/.gnupg/gpg.conf' created 18:12:16 gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run 18:12:16 gpg: keyring `/root/.gnupg/secring.gpg' created 18:12:16 gpg: keyring `/root/.gnupg/pubring.gpg' created 18:12:16 gpg: CAST5 encrypted data 18:12:16 gpg: encrypted with 1 passphrase 18:12:16 gpg: WARNING: message was not integrity protected [Pipeline] sh 18:12:16 + mkdir /home/jenkins 18:12:16 + mkdir /home/jenkins/sigul [Pipeline] sh 18:12:16 + 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 18:12:16 Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh 18:12:17 ---> sigul-install.sh 18:12:17 Sigul already installed; skipping installation. [Pipeline] sh 18:12:17 + git tag --list 18:12:17 v1.0.0 18:12:17 v1.1.0 18:12:17 v1.1.1 18:12:17 v1.1.2 18:12:17 v1.2.0 18:12:17 v1.2.1 18:12:17 v2.0.0 18:12:17 v2.1.0 18:12:17 v2.1.1 18:12:17 v2.2.0 18:12:17 v2.3.0 18:12:17 v3.0 18:12:17 v3.0.0 18:12:17 v3.1.0-dev.1 [Pipeline] sh 18:12:17 + lftools sign git-tag v3.1.0-dev.1 18:12:18 Signing Git tag with Sigul... 18:12:18 Signing v3.1.0-dev.1 [Pipeline] echo 18:12:18 Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh 18:12:18 ---> sigul-configuration-cleanup.sh [Pipeline] } 18:12:18 Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } 18:12:18 $ docker stop --time=1 1c03bf6b0a4a596f82ba2988c45503dab7d76bd540a0bbd2784039bba17b1b45 18:12:20 $ docker rm -f --volumes 1c03bf6b0a4a596f82ba2988c45503dab7d76bd540a0bbd2784039bba17b1b45 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh 18:12:20 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:12:20 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:12:20 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:12:20 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:12:20 prd-ubuntu20.04-docker-8c-8g-18477 does not seem to be running inside a container 18:12:20 $ 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 18:12:21 $ docker top 00652b74a51080ed71b2f94c964d3b211de503f259a83f091b09bfad1fbc318b -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:12:21 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:12:21 [ssh-agent] Looking for ssh-agent implementation... 18:12:21 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:12:21 $ docker exec 00652b74a51080ed71b2f94c964d3b211de503f259a83f091b09bfad1fbc318b ssh-agent 18:12:21 SSH_AUTH_SOCK=/tmp/ssh-iWBgSBPMOE2c/agent.32 18:12:21 SSH_AGENT_PID=38 18:12:21 Running ssh-add (command line suppressed) 18:12:21 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12869398799379648929.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12869398799379648929.key) 18:12:21 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:12:21 + git semver bump pre 18:12:22 2023-06-12 18:12:22,118 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:12:22 2023-06-12 18:12:22,118 [bump_version] DEBUG bumping version:3.1.0-dev.1 on axis:pre with prefix:dev 18:12:22 2023-06-12 18:12:22,118 [bump_version] DEBUG bumped version:3.1.0-dev.2 18:12:22 2023-06-12 18:12:22,118 [write_version] DEBUG write version:3.1.0-dev.2 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True 18:12:22 2023-06-12 18:12:22,118 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:12:22 2023-06-12 18:12:22,118 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:12:22 2023-06-12 18:12:22,120 [execute] INFO git cat-file --batch-check 18:12:22 2023-06-12 18:12:22,120 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:12:22 2023-06-12 18:12:22,125 [execute] INFO git cat-file --batch 18:12:22 2023-06-12 18:12:22,125 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:12:22 2023-06-12 18:12:22,130 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:12:22 3.1.0-dev.2 [Pipeline] } 18:12:22 $ docker exec --env ******** --env ******** 00652b74a51080ed71b2f94c964d3b211de503f259a83f091b09bfad1fbc318b ssh-agent -k 18:12:22 unset SSH_AUTH_SOCK; 18:12:22 unset SSH_AGENT_PID; 18:12:22 echo Agent pid 38 killed; 18:12:22 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:12:22 + git semver [Pipeline] } 18:12:22 $ docker stop --time=1 00652b74a51080ed71b2f94c964d3b211de503f259a83f091b09bfad1fbc318b 18:12:24 $ docker rm -f --volumes 00652b74a51080ed71b2f94c964d3b211de503f259a83f091b09bfad1fbc318b [Pipeline] // withDockerContainer [Pipeline] sh 18:12:24 + grep github.com ecdsa /etc/ssh/ssh_known_hosts 18:12:24 github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:12:24 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 18:12:24 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:12:24 prd-ubuntu20.04-docker-8c-8g-18477 does not seem to be running inside a container 18:12:24 $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat 18:12:25 $ docker top 174e0192822cbe6d579e3f7493049b0e5162e3a8b4571941275ed53b98d01d4d -eo pid,comm 18:12:25 ERROR: The container started but didn't run the expected command. Please double check your ENTRYPOINT does execute the command passed as docker run argument, as required by official docker images (see https://github.com/docker-library/official-images#consistency for entrypoint consistency requirements). 18:12:25 Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent 18:12:25 [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) 18:12:25 [ssh-agent] Looking for ssh-agent implementation... 18:12:25 [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) 18:12:25 $ docker exec 174e0192822cbe6d579e3f7493049b0e5162e3a8b4571941275ed53b98d01d4d ssh-agent 18:12:25 SSH_AUTH_SOCK=/tmp/ssh-UZwSbihKs5Qz/agent.32 18:12:25 SSH_AGENT_PID=38 18:12:25 Running ssh-add (command line suppressed) 18:12:25 Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15664977397250975124.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_15664977397250975124.key) 18:12:25 [ssh-agent] Started. [Pipeline] { [Pipeline] sh 18:12:25 + git semver push 18:12:26 2023-06-12 18:12:26,167 [run_push] DEBUG push 18:12:26 2023-06-12 18:12:26,167 [execute] INFO git cat-file --batch-check 18:12:26 2023-06-12 18:12:26,167 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) 18:12:26 2023-06-12 18:12:26,171 [execute] INFO git rev-list 7aa3654621c80d0b7cd15d4eb63a75660b19a599 -- 18:12:26 2023-06-12 18:12:26,171 [execute] DEBUG Popen(['git', 'rev-list', '7aa3654621c80d0b7cd15d4eb63a75660b19a599', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:12:26 2023-06-12 18:12:26,178 [execute] INFO git fetch -v origin 18:12:26 2023-06-12 18:12:26,178 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) 18:12:26 2023-06-12 18:12:26,762 [run_push] DEBUG no remote changes detected 18:12:26 2023-06-12 18:12:26,762 [execute] INFO git push origin semver 18:12:26 2023-06-12 18:12:26,763 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) 18:12:27 2023-06-12 18:12:27,531 [run_push] DEBUG push all version tags 18:12:27 2023-06-12 18:12:27,532 [execute] INFO git push origin refs/tags/v*:refs/tags/v* 18:12:27 2023-06-12 18:12:27,532 [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) 18:12:28 2023-06-12 18:12:28,284 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main 18:12:28 3.1.0-dev.2 [Pipeline] } 18:12:28 $ docker exec --env ******** --env ******** 174e0192822cbe6d579e3f7493049b0e5162e3a8b4571941275ed53b98d01d4d ssh-agent -k 18:12:28 unset SSH_AUTH_SOCK; 18:12:28 unset SSH_AGENT_PID; 18:12:28 echo Agent pid 38 killed; 18:12:28 [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh 18:12:28 + git semver [Pipeline] } 18:12:29 $ docker stop --time=1 174e0192822cbe6d579e3f7493049b0e5162e3a8b4571941275ed53b98d01d4d 18:12:30 $ docker rm -f --volumes 174e0192822cbe6d579e3f7493049b0e5162e3a8b4571941275ed53b98d01d4d [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 18:12:30 + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] 18:12:30 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 18:12:30 total 16 18:12:30 drwxr-xr-x 3 root root 4096 Jun 12 18:05 . 18:12:30 drwxrwxr-x 10 jenkins jenkins 4096 Jun 12 18:12 .. 18:12:30 drwxr-xr-x 2 root root 4096 Jun 12 18:05 cost 18:12:30 -rw-r--r-- 1 root root 86 Jun 12 18:05 cost.csv 18:12:30 + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives 18:12:30 + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives 18:12:30 total 16 18:12:30 drwxr-xr-x 3 jenkins jenkins 4096 Jun 12 18:05 . 18:12:30 drwxrwxr-x 10 jenkins jenkins 4096 Jun 12 18:12 .. 18:12:30 drwxr-xr-x 2 jenkins jenkins 4096 Jun 12 18:05 cost 18:12:30 -rw-r--r-- 1 jenkins jenkins 86 Jun 12 18:05 cost.csv [Pipeline] libraryResource [Pipeline] sh 18:12:31 ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh 18:12:31 ---> package-listing.sh 18:12:31 ++ facter osfamily 18:12:31 ++ tr '[:upper:]' '[:lower:]' 18:12:32 + OS_FAMILY=debian 18:12:32 + workspace=/w/workspace/edgexfoundry_device-rest-go_main 18:12:32 + START_PACKAGES=/tmp/packages_start.txt 18:12:32 + END_PACKAGES=/tmp/packages_end.txt 18:12:32 + DIFF_PACKAGES=/tmp/packages_diff.txt 18:12:32 + PACKAGES=/tmp/packages_start.txt 18:12:32 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 18:12:32 + PACKAGES=/tmp/packages_end.txt 18:12:32 + case "${OS_FAMILY}" in 18:12:32 + dpkg -l 18:12:32 + grep '^ii' 18:12:32 + '[' -f /tmp/packages_start.txt ']' 18:12:32 + '[' -f /tmp/packages_end.txt ']' 18:12:32 + diff /tmp/packages_start.txt /tmp/packages_end.txt 18:12:32 + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' 18:12:32 + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ 18:12:32 + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo 18:12:32 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 18:12:32 + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh 18:12:33 + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest 18:12:33 . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer 18:12:33 prd-ubuntu20.04-docker-8c-8g-18477 does not seem to be running inside a container 18:12:33 $ 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 18:12:33 $ docker top 210976c836c56d1b6cc63550895aee4da732958f1d9c4607d070d8bcfd3b3e03 -eo pid,comm [Pipeline] { [Pipeline] sh 18:12:33 + touch /tmp/pre-build-complete [Pipeline] sh 18:12:34 + mkdir -p /var/log/sysstat [Pipeline] sh 18:12:34 + ls /var/log/sa-host 18:12:34 ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider 18:12:34 provisioning config files... 18:12:34 copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11747753056431927767tmp [Pipeline] { [Pipeline] echo 18:12:34 Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh 18:12:34 ---> create-netrc.sh [Pipeline] } 18:12:34 Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh 18:12:35 ---> python-tools-install.sh [Pipeline] echo 18:12:35 Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh 18:12:35 ---> sudo-logs.sh 18:12:35 Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo 18:12:35 Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh 18:12:35 ---> job-cost.sh 18:12:35 lf-activate-venv: SKIPPING 18:12:35 DEBUG: total: 0.2199999988079071 18:12:35 INFO: Retrieving Stack Cost... 18:12:35 INFO: Retrieving Pricing Info for: v3-standard-8 18:12:36 INFO: Archiving Costs [Pipeline] echo 18:12:36 Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh 18:12:36 ---> logs-deploy.sh 18:12:36 lf-activate-venv: SKIPPING 18:12:36 INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/121 18:12:36 INFO: archiving workspace using pattern(s): 18:12:37 Archives upload complete. 18:12:38 INFO: archiving logs to Nexus 18:12:38 ---> uname -a: 18:12:38 Linux prd-ubuntu20-04-docker-8c-8g-18477 5.4.0-126-generic #142-Ubuntu SMP Fri Aug 26 12:12:57 UTC 2022 x86_64 GNU/Linux 18:12:38 18:12:38 18:12:38 ---> lscpu: 18:12:38 Architecture: x86_64 18:12:38 CPU op-mode(s): 32-bit, 64-bit 18:12:38 Byte Order: Little Endian 18:12:38 Address sizes: 40 bits physical, 48 bits virtual 18:12:38 CPU(s): 8 18:12:38 On-line CPU(s) list: 0-7 18:12:38 Thread(s) per core: 1 18:12:38 Core(s) per socket: 1 18:12:38 Socket(s): 8 18:12:38 NUMA node(s): 1 18:12:38 Vendor ID: AuthenticAMD 18:12:38 CPU family: 23 18:12:38 Model: 49 18:12:38 Model name: AMD EPYC-Rome Processor 18:12:38 Stepping: 0 18:12:38 CPU MHz: 2800.000 18:12:38 BogoMIPS: 5600.00 18:12:38 Virtualization: AMD-V 18:12:38 Hypervisor vendor: KVM 18:12:38 Virtualization type: full 18:12:38 L1d cache: 256 KiB 18:12:38 L1i cache: 256 KiB 18:12:38 L2 cache: 4 MiB 18:12:38 L3 cache: 128 MiB 18:12:38 NUMA node0 CPU(s): 0-7 18:12:38 Vulnerability Itlb multihit: Not affected 18:12:38 Vulnerability L1tf: Not affected 18:12:38 Vulnerability Mds: Not affected 18:12:38 Vulnerability Meltdown: Not affected 18:12:38 Vulnerability Mmio stale data: Not affected 18:12:38 Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and seccomp 18:12:38 Vulnerability Spectre v1: Mitigation; usercopy/swapgs barriers and __user pointer sanitization 18:12:38 Vulnerability Spectre v2: Mitigation; Retpolines, IBPB conditional, IBRS_FW, STIBP disabled, RSB filling 18:12:38 Vulnerability Srbds: Not affected 18:12:38 Vulnerability Tsx async abort: Not affected 18:12:38 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 18:12:38 18:12:38 18:12:38 ---> nproc: 18:12:38 8 18:12:38 18:12:38 18:12:38 ---> df -h: 18:12:38 Filesystem Size Used Avail Use% Mounted on 18:12:38 overlay 155G 13G 143G 9% / 18:12:38 tmpfs 64M 0 64M 0% /dev 18:12:38 tmpfs 16G 0 16G 0% /sys/fs/cgroup 18:12:38 shm 64M 0 64M 0% /dev/shm 18:12:38 /dev/vda1 155G 13G 143G 9% /facter-os 18:12:38 18:12:38 18:12:38 ---> sar -b -r -n DEV: 18:12:38 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-18477) 06/12/23 _x86_64_ (8 CPU) 18:12:38 18:12:38 18:02:04 LINUX RESTART (8 CPU) 18:12:38 18:12:38 18:03:01 tps rtps wtps dtps bread/s bwrtn/s bdscd/s 18:12:38 18:04:01 188.03 1.77 186.27 0.00 29.60 72693.60 0.00 18:12:38 18:05:01 148.75 0.18 148.57 0.00 2.67 27418.06 0.00 18:12:38 18:06:01 34.96 0.05 34.91 0.00 8.80 16761.89 0.00 18:12:38 18:07:01 1.73 0.00 1.73 0.00 0.00 19.60 0.00 18:12:38 18:08:02 48.06 11.35 36.71 0.00 3443.29 6242.03 0.00 18:12:38 18:09:01 4.25 0.02 4.24 0.00 0.14 90.55 0.00 18:12:38 18:10:01 1.42 0.00 1.42 0.00 0.00 15.46 0.00 18:12:38 18:11:01 2.10 0.00 2.10 0.00 0.00 22.80 0.00 18:12:38 18:12:01 53.87 0.27 53.61 0.00 15.33 34832.19 0.00 18:12:38 Average: 53.78 1.52 52.26 0.00 389.58 17597.49 0.00 18:12:38 18:12:38 18:03:01 kbmemfree kbavail kbmemused %memused kbbuffers kbcached kbcommit %commit kbactive kbinact kbdirty 18:12:38 18:04:01 28389812 31567792 737636 2.24 145292 3229824 1890428 5.57 1076956 2964956 2020 18:12:38 18:05:01 28149672 31586268 718252 2.18 151052 3474192 1739704 5.13 1231360 3044952 704 18:12:38 18:06:01 27631192 31577140 725596 2.21 158436 3926388 1777472 5.24 1253976 3484568 8 18:12:38 18:07:01 27631692 31577780 724488 2.20 158492 3926388 1777472 5.24 1254292 3484572 32 18:12:38 18:08:02 27261232 31566680 714976 2.17 184672 4250552 1828848 5.39 1486548 3590216 196 18:12:38 18:09:01 27266516 31567200 714920 2.17 183280 4247296 1794384 5.29 1485056 3587000 8 18:12:38 18:10:01 27268328 31569076 713048 2.17 183356 4247300 1794384 5.29 1483344 3587000 8 18:12:38 18:11:01 27268364 31569324 712572 2.17 183440 4247304 1794384 5.29 1483140 3587004 8 18:12:38 18:12:01 26447964 31524044 752196 2.29 200828 4951564 2011360 5.93 1582012 4249516 792 18:12:38 Average: 27479419 31567256 723743 2.20 172094 4055645 1823160 5.37 1370743 3508865 420 18:12:38 18:12:38 18:03:01 IFACE rxpck/s txpck/s rxkB/s txkB/s rxcmp/s txcmp/s rxmcst/s %ifutil 18:12:38 18:04:01 lo 1.33 1.33 0.13 0.13 0.00 0.00 0.00 0.00 18:12:38 18:04:01 ens3 472.17 271.02 6221.65 35.37 0.00 0.00 0.00 0.00 18:12:38 18:04:01 veth89b28fc 0.00 0.08 0.00 0.01 0.00 0.00 0.00 0.00 18:12:38 18:04:01 docker0 174.82 302.50 13.97 1967.87 0.00 0.00 0.00 0.00 18:12:38 18:05:01 lo 6.20 6.20 0.60 0.60 0.00 0.00 0.00 0.00 18:12:38 18:05:01 ens3 91.32 87.90 135.12 305.07 0.00 0.00 0.00 0.00 18:12:38 18:05:01 docker0 3.08 6.76 0.19 85.52 0.00 0.00 0.00 0.00 18:12:38 18:06:01 lo 1.53 1.53 0.15 0.15 0.00 0.00 0.00 0.00 18:12:38 18:06:01 ens3 90.60 56.62 2524.54 11.37 0.00 0.00 0.00 0.00 18:12:38 18:06:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:38 18:07:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:12:38 18:07:01 ens3 4.00 3.33 5.30 0.22 0.00 0.00 0.00 0.00 18:12:38 18:07:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:38 18:08:02 lo 0.40 0.40 0.04 0.04 0.00 0.00 0.00 0.00 18:12:38 18:08:02 ens3 140.29 74.84 2288.55 5.30 0.00 0.00 0.00 0.00 18:12:38 18:08:02 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:38 18:09:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:12:38 18:09:01 ens3 0.86 0.15 0.08 0.01 0.00 0.00 0.00 0.00 18:12:38 18:09:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:38 18:10:01 lo 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:38 18:10:01 ens3 1.10 0.68 0.59 0.42 0.00 0.00 0.00 0.00 18:12:38 18:10:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:38 18:11:01 lo 0.20 0.20 0.01 0.01 0.00 0.00 0.00 0.00 18:12:38 18:11:01 ens3 0.48 0.12 0.03 0.01 0.00 0.00 0.00 0.00 18:12:38 18:11:01 docker0 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 18:12:38 18:12:01 lo 1.07 1.07 0.10 0.10 0.00 0.00 0.00 0.00 18:12:38 18:12:01 veth9ddc7fd 0.00 0.13 0.00 0.01 0.00 0.00 0.00 0.00 18:12:38 18:12:01 ens3 207.90 115.53 4571.41 21.11 0.00 0.00 0.00 0.00 18:12:38 18:12:01 docker0 36.01 63.62 3.02 579.12 0.00 0.00 0.00 0.00 18:12:38 Average: lo 1.24 1.24 0.12 0.12 0.00 0.00 0.00 0.00 18:12:38 Average: veth9ddc7fd 0.00 0.01 0.00 0.00 0.00 0.00 0.00 0.00 18:12:38 Average: ens3 112.28 67.92 1752.80 42.18 0.00 0.00 0.00 0.00 18:12:38 Average: docker0 23.81 41.50 1.91 293.00 0.00 0.00 0.00 0.00 18:12:38 18:12:38 18:12:38 ---> sar -P ALL: 18:12:38 Linux 5.4.0-126-generic (prd-ubuntu20-04-docker-8c-8g-18477) 06/12/23 _x86_64_ (8 CPU) 18:12:38 18:12:38 18:02:04 LINUX RESTART (8 CPU) 18:12:38 18:12:38 18:03:01 CPU %user %nice %system %iowait %steal %idle 18:12:38 18:04:01 all 7.75 0.00 3.94 6.35 0.07 81.89 18:12:38 18:04:01 0 8.14 0.00 4.23 7.62 0.05 79.96 18:12:38 18:04:01 1 7.59 0.00 4.23 25.47 0.12 62.58 18:12:38 18:04:01 2 7.69 0.00 5.61 1.07 0.07 85.56 18:12:38 18:04:01 3 7.66 0.00 3.22 3.98 0.07 85.07 18:12:38 18:04:01 4 7.74 0.00 2.93 1.18 0.03 88.11 18:12:38 18:04:01 5 7.75 0.00 3.25 8.23 0.07 80.71 18:12:38 18:04:01 6 7.54 0.00 3.29 1.61 0.05 87.51 18:12:38 18:04:01 7 7.88 0.00 4.75 1.67 0.10 85.60 18:12:38 18:05:01 all 39.62 0.00 6.50 1.16 0.08 52.64 18:12:38 18:05:01 0 39.46 0.00 6.55 0.34 0.08 53.58 18:12:38 18:05:01 1 40.79 0.00 6.58 0.13 0.10 52.40 18:12:38 18:05:01 2 39.32 0.00 6.82 5.83 0.08 47.95 18:12:38 18:05:01 3 39.70 0.00 6.33 0.03 0.08 53.85 18:12:38 18:05:01 4 39.58 0.00 6.63 1.30 0.08 52.41 18:12:38 18:05:01 5 42.19 0.00 6.26 1.04 0.08 50.42 18:12:38 18:05:01 6 36.12 0.00 5.91 0.25 0.07 57.64 18:12:38 18:05:01 7 39.79 0.00 6.95 0.34 0.08 52.84 18:12:38 18:06:01 all 2.50 0.00 0.99 0.90 0.03 95.58 18:12:38 18:06:01 0 2.82 0.00 0.89 0.03 0.02 96.24 18:12:38 18:06:01 1 2.99 0.00 1.28 5.35 0.05 90.34 18:12:38 18:06:01 2 1.99 0.00 1.14 0.00 0.02 96.85 18:12:38 18:06:01 3 2.20 0.00 0.86 0.08 0.02 96.84 18:12:38 18:06:01 4 2.59 0.00 0.94 1.34 0.02 95.12 18:12:38 18:06:01 5 2.55 0.00 1.16 0.39 0.03 95.87 18:12:38 18:06:01 6 1.72 0.00 0.74 0.03 0.08 97.42 18:12:38 18:06:01 7 3.10 0.00 0.92 0.02 0.03 95.93 18:12:38 18:07:01 all 0.02 0.00 0.01 0.02 0.01 99.94 18:12:38 18:07:01 0 0.05 0.00 0.02 0.00 0.03 99.90 18:12:38 18:07:01 1 0.03 0.00 0.03 0.02 0.02 99.90 18:12:38 18:07:01 2 0.00 0.00 0.00 0.00 0.00 100.00 18:12:38 18:07:01 3 0.00 0.00 0.00 0.00 0.00 100.00 18:12:38 18:07:01 4 0.00 0.00 0.02 0.08 0.02 99.88 18:12:38 18:07:01 5 0.02 0.00 0.00 0.05 0.02 99.92 18:12:38 18:07:01 6 0.02 0.00 0.00 0.00 0.00 99.98 18:12:38 18:07:01 7 0.05 0.00 0.00 0.00 0.00 99.95 18:12:38 18:08:02 all 1.91 0.00 1.22 0.48 0.02 96.37 18:12:38 18:08:02 0 2.14 0.00 0.58 0.40 0.02 96.86 18:12:38 18:08:02 1 2.74 0.00 1.30 0.47 0.02 95.48 18:12:38 18:08:02 2 2.47 0.00 2.14 0.07 0.02 95.31 18:12:38 18:08:02 3 1.41 0.00 0.75 0.18 0.03 97.62 18:12:38 18:08:02 4 1.64 0.00 0.80 1.02 0.02 96.52 18:12:38 18:08:02 5 1.19 0.00 2.12 0.52 0.02 96.16 18:12:38 18:08:02 6 1.58 0.00 1.25 0.17 0.02 96.98 18:12:38 18:08:02 7 2.09 0.00 0.82 1.00 0.03 96.05 18:12:38 18:09:01 all 0.21 0.00 0.05 0.01 0.01 99.72 18:12:38 18:09:01 0 0.10 0.00 0.07 0.00 0.02 99.81 18:12:38 18:09:01 1 0.03 0.00 0.05 0.00 0.00 99.92 18:12:38 18:09:01 2 0.17 0.00 0.07 0.00 0.02 99.75 18:12:38 18:09:01 3 1.24 0.00 0.07 0.00 0.02 98.67 18:12:38 18:09:01 4 0.05 0.00 0.03 0.07 0.00 99.85 18:12:38 18:09:01 5 0.03 0.00 0.03 0.00 0.02 99.92 18:12:38 18:09:01 6 0.05 0.00 0.03 0.00 0.00 99.92 18:12:38 18:09:01 7 0.02 0.00 0.03 0.02 0.02 99.92 18:12:38 18:10:01 all 0.27 0.00 0.01 0.00 0.01 99.71 18:12:38 18:10:01 0 0.02 0.00 0.05 0.00 0.02 99.92 18:12:38 18:10:01 1 0.02 0.00 0.00 0.00 0.00 99.98 18:12:38 18:10:01 2 0.02 0.00 0.00 0.00 0.00 99.98 18:12:38 18:10:01 3 1.94 0.00 0.00 0.00 0.02 98.04 18:12:38 18:10:01 4 0.05 0.00 0.02 0.02 0.02 99.90 18:12:38 18:10:01 5 0.02 0.00 0.00 0.00 0.00 99.98 18:12:38 18:10:01 6 0.00 0.00 0.02 0.00 0.00 99.98 18:12:38 18:10:01 7 0.05 0.00 0.02 0.02 0.00 99.92 18:12:38 18:11:01 all 0.20 0.00 0.02 0.01 0.01 99.76 18:12:38 18:11:01 0 0.02 0.00 0.02 0.00 0.00 99.97 18:12:38 18:11:01 1 0.00 0.00 0.02 0.00 0.00 99.98 18:12:38 18:11:01 2 0.00 0.00 0.02 0.00 0.00 99.98 18:12:38 18:11:01 3 1.52 0.00 0.08 0.00 0.03 98.37 18:12:38 18:11:01 4 0.05 0.00 0.00 0.03 0.02 99.90 18:12:38 18:11:01 5 0.00 0.00 0.02 0.00 0.00 99.98 18:12:38 18:11:01 6 0.02 0.00 0.00 0.00 0.00 99.98 18:12:38 18:11:01 7 0.02 0.00 0.00 0.02 0.02 99.95 18:12:38 18:12:01 all 4.35 0.00 1.73 1.50 0.04 92.39 18:12:38 18:12:01 0 3.93 0.00 2.37 0.49 0.03 93.18 18:12:38 18:12:01 1 3.97 0.00 1.97 0.20 0.03 93.82 18:12:38 18:12:01 2 3.94 0.00 1.27 0.12 0.03 94.64 18:12:38 18:12:01 3 4.73 0.00 1.54 0.25 0.03 93.44 18:12:38 18:12:01 4 3.77 0.00 1.16 1.64 0.02 93.42 18:12:38 18:12:01 5 6.16 0.00 1.31 0.02 0.03 92.48 18:12:38 18:12:01 6 3.26 0.00 1.90 0.05 0.07 94.73 18:12:38 18:12:01 7 5.04 0.00 2.35 9.24 0.05 83.32 18:12:38 Average: all 6.29 0.00 1.60 1.15 0.03 90.93 18:12:38 Average: 0 6.28 0.00 1.63 0.98 0.03 91.08 18:12:38 Average: 1 6.43 0.00 1.71 3.49 0.04 88.33 18:12:38 Average: 2 6.14 0.00 1.89 0.78 0.03 91.16 18:12:38 Average: 3 6.69 0.00 1.42 0.50 0.03 91.35 18:12:38 Average: 4 6.14 0.00 1.39 0.74 0.02 91.71 18:12:38 Average: 5 6.64 0.00 1.57 1.13 0.03 90.62 18:12:38 Average: 6 5.55 0.00 1.45 0.23 0.03 92.73 18:12:38 Average: 7 6.42 0.00 1.75 1.36 0.04 90.43 18:12:38 18:12:38 18:12:38