Push event to branch napa Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 26dd2cd913d05f397b62e8034ff483e97214642e 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-ssh16507792340575819977.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision f5e0e1f8358a839901f1a476b3a28a62f8570917 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-ssh16735717574095925724.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 f5e0e1f8358a839901f1a476b3a28a62f8570917 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/napa/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/napa/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17883892368212950754.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision f5e0e1f8358a839901f1a476b3a28a62f8570917 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f f5e0e1f8358a839901f1a476b3a28a62f8570917 # timeout=10 Commit message: "Merge pull request #449 from jinlinGuan/issue-448" > 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-ssh4807788131854232501.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/napa/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/napa/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh9532241510135922680.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.21 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 Running on prd-ubuntu20.04-docker-8c-8g-687 in /w/workspace/edgexfoundry_device-rest-go_napa [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_napa # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 26dd2cd913d05f397b62e8034ff483e97214642e (napa) Commit message: "Merge pull request #391 from cloudxxx8/bump-sdk-3.1.1" > git config core.sparsecheckout # timeout=10 > git checkout -f 26dd2cd913d05f397b62e8034ff483e97214642e # timeout=10 > git rev-list --no-walk 71bb43dbd033e4b79fac5b32175e59679d8e2e88 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2024-05-24T08:32:14.237Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2024-05-24T08:32:14.320Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2024-05-24T08:32:14.341Z] ========================================================= [2024-05-24T08:32:14.341Z] EdgeX Global Pipelines Version Info [2024-05-24T08:32:14.341Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:32:15.058Z] ------------------- [2024-05-24T08:32:15.059Z] No tag info for: stable [2024-05-24T08:32:15.319Z] ------------------- [2024-05-24T08:32:15.319Z] experimental info: [2024-05-24T08:32:15.319Z] ------------------- [2024-05-24T08:32:15.319Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2024-05-24T08:32:15.319Z] Commit SHA: f5e0e1f8358a839901f1a476b3a28a62f8570917 [2024-05-24T08:32:15.319Z] Message: update experimental to v1.0.259 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-24T08:32:15.425Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2024-05-24T08:32:15.449Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2024-05-24T08:32:15.472Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2024-05-24T08:32:15.496Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2024-05-24T08:32:15.527Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2024-05-24T08:32:15.549Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.21 [Pipeline] echo [2024-05-24T08:32:15.576Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2024-05-24T08:32:15.598Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2024-05-24T08:32:15.628Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2024-05-24T08:32:15.655Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2024-05-24T08:32:15.738Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2024-05-24T08:32:15.759Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2024-05-24T08:32:15.782Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2024-05-24T08:32:15.803Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2024-05-24T08:32:15.822Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2024-05-24T08:32:15.843Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2024-05-24T08:32:15.864Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2024-05-24T08:32:15.881Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2024-05-24T08:32:15.904Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2024-05-24T08:32:15.927Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2024-05-24T08:32:15.952Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2024-05-24T08:32:15.974Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2024-05-24T08:32:15.992Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2024-05-24T08:32:16.012Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2024-05-24T08:32:16.036Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2024-05-24T08:32:16.059Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2024-05-24T08:32:16.083Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2024-05-24T08:32:16.102Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = napa [Pipeline] echo [2024-05-24T08:32:16.122Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = napa [Pipeline] echo [2024-05-24T08:32:16.143Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = napa [Pipeline] echo [2024-05-24T08:32:16.164Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 26dd2cd913d05f397b62e8034ff483e97214642e [Pipeline] echo [2024-05-24T08:32:16.184Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 26dd2cd [Pipeline] echo [2024-05-24T08:32:16.209Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-24T08:32:16.266Z] provisioning config files... [2024-05-24T08:32:16.281Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config2818953506796529248tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:32:16.615Z] ---> ****-login.sh [2024-05-24T08:32:16.615Z] nexus3.edgexfoundry.org:10001 [2024-05-24T08:32:16.615Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:32:16.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:32:16.875Z] Configure a credential helper to remove this warning. See [2024-05-24T08:32:16.875Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:32:16.875Z] [2024-05-24T08:32:16.875Z] Login Succeeded [2024-05-24T08:32:16.875Z] nexus3.edgexfoundry.org:10002 [2024-05-24T08:32:16.875Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:32:16.875Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:32:16.875Z] Configure a credential helper to remove this warning. See [2024-05-24T08:32:16.875Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:32:16.876Z] [2024-05-24T08:32:16.876Z] Login Succeeded [2024-05-24T08:32:16.876Z] nexus3.edgexfoundry.org:10003 [2024-05-24T08:32:16.876Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:32:17.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:32:17.135Z] Configure a credential helper to remove this warning. See [2024-05-24T08:32:17.135Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:32:17.135Z] [2024-05-24T08:32:17.135Z] Login Succeeded [2024-05-24T08:32:17.135Z] nexus3.edgexfoundry.org:10004 [2024-05-24T08:32:17.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:32:17.135Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:32:17.135Z] Configure a credential helper to remove this warning. See [2024-05-24T08:32:17.135Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:32:17.135Z] [2024-05-24T08:32:17.135Z] Login Succeeded [2024-05-24T08:32:17.135Z] ****.io [2024-05-24T08:32:17.135Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:32:17.395Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:32:17.395Z] Configure a credential helper to remove this warning. See [2024-05-24T08:32:17.395Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:32:17.395Z] [2024-05-24T08:32:17.395Z] Login Succeeded [2024-05-24T08:32:17.395Z] ---> ****-login.sh ends [Pipeline] } [2024-05-24T08:32:17.402Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2024-05-24T08:32:17.813Z] + git rev-list -1 --merges 26dd2cd913d05f397b62e8034ff483e97214642e~1..26dd2cd913d05f397b62e8034ff483e97214642e [Pipeline] echo [2024-05-24T08:32:17.839Z] -----------> git rev-list -1 --merges 26dd2cd913d05f397b62e8034ff483e97214642e~1..26dd2cd913d05f397b62e8034ff483e97214642e 26dd2cd913d05f397b62e8034ff483e97214642e [2024-05-24T08:32:17.839Z] 26dd2cd913d05f397b62e8034ff483e97214642e [false] [Pipeline] sh [2024-05-24T08:32:18.129Z] + git log --format=format:%s -1 26dd2cd913d05f397b62e8034ff483e97214642e [Pipeline] echo [2024-05-24T08:32:18.144Z] ========================================================= [2024-05-24T08:32:18.144Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2024-05-24T08:32:18.144Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-24T08:32:18.476Z] + git log --format=format:%s -1 26dd2cd913d05f397b62e8034ff483e97214642e [Pipeline] echo [2024-05-24T08:32:18.488Z] [semverPrep] GIT_COMMIT: 26dd2cd913d05f397b62e8034ff483e97214642e, Commit Message: Merge pull request #391 from cloudxxx8/bump-sdk-3.1.1 [Pipeline] echo [2024-05-24T08:32:18.501Z] [semverPrep] This is not a build commit. [Pipeline] sh [2024-05-24T08:32:18.861Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2024-05-24T08:32:18.861Z] + grep -v github /etc/ssh/ssh_known_hosts [2024-05-24T08:32:18.861Z] + [ -e /tmp/ssh_known_hosts ] [2024-05-24T08:32:18.861Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2024-05-24T08:32:18.861Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2024-05-24T08:32:18.861Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2024-05-24T08:32:18.861Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:32:19.207Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-24T08:32:19.207Z] [2024-05-24T08:32:19.207Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:32:19.509Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-24T08:32:19.509Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2024-05-24T08:32:19.509Z] b85a868b505f: Pulling fs layer [2024-05-24T08:32:19.509Z] e2be974225ed: Pulling fs layer [2024-05-24T08:32:19.509Z] 339a4e72a1f5: Pulling fs layer [2024-05-24T08:32:19.509Z] 988bab9f4d93: Pulling fs layer [2024-05-24T08:32:19.509Z] 1469e6f7b9e6: Pulling fs layer [2024-05-24T08:32:19.509Z] eaf3925da568: Pulling fs layer [2024-05-24T08:32:19.509Z] bab4dde63d76: Pulling fs layer [2024-05-24T08:32:19.509Z] bde34c3a00c8: Pulling fs layer [2024-05-24T08:32:19.509Z] b352a97aabf1: Pulling fs layer [2024-05-24T08:32:19.509Z] 4872d77fe225: Pulling fs layer [2024-05-24T08:32:19.509Z] 1469e6f7b9e6: Waiting [2024-05-24T08:32:19.509Z] eaf3925da568: Waiting [2024-05-24T08:32:19.509Z] bab4dde63d76: Waiting [2024-05-24T08:32:19.509Z] bde34c3a00c8: Waiting [2024-05-24T08:32:19.509Z] 988bab9f4d93: Waiting [2024-05-24T08:32:19.509Z] b352a97aabf1: Waiting [2024-05-24T08:32:19.509Z] 5851b861e8e6: Pulling fs layer [2024-05-24T08:32:19.509Z] 4872d77fe225: Waiting [2024-05-24T08:32:19.509Z] e2be974225ed: Download complete [2024-05-24T08:32:19.509Z] 988bab9f4d93: Download complete [2024-05-24T08:32:19.509Z] 1469e6f7b9e6: Verifying Checksum [2024-05-24T08:32:19.509Z] 1469e6f7b9e6: Download complete [2024-05-24T08:32:19.509Z] eaf3925da568: Verifying Checksum [2024-05-24T08:32:19.509Z] eaf3925da568: Download complete [2024-05-24T08:32:19.509Z] 339a4e72a1f5: Verifying Checksum [2024-05-24T08:32:19.509Z] 339a4e72a1f5: Download complete [2024-05-24T08:32:19.768Z] bde34c3a00c8: Verifying Checksum [2024-05-24T08:32:19.768Z] b352a97aabf1: Verifying Checksum [2024-05-24T08:32:19.768Z] b352a97aabf1: Download complete [2024-05-24T08:32:19.768Z] 4872d77fe225: Verifying Checksum [2024-05-24T08:32:19.768Z] 4872d77fe225: Download complete [2024-05-24T08:32:19.768Z] 5851b861e8e6: Verifying Checksum [2024-05-24T08:32:19.768Z] 5851b861e8e6: Download complete [2024-05-24T08:32:19.768Z] b85a868b505f: Download complete [2024-05-24T08:32:20.027Z] bab4dde63d76: Verifying Checksum [2024-05-24T08:32:20.027Z] bab4dde63d76: Download complete [2024-05-24T08:32:20.965Z] b85a868b505f: Pull complete [2024-05-24T08:32:21.223Z] e2be974225ed: Pull complete [2024-05-24T08:32:21.800Z] 339a4e72a1f5: Pull complete [2024-05-24T08:32:21.800Z] 988bab9f4d93: Pull complete [2024-05-24T08:32:22.058Z] 1469e6f7b9e6: Pull complete [2024-05-24T08:32:22.058Z] eaf3925da568: Pull complete [2024-05-24T08:32:23.970Z] bab4dde63d76: Pull complete [2024-05-24T08:32:23.970Z] bde34c3a00c8: Pull complete [2024-05-24T08:32:24.230Z] b352a97aabf1: Pull complete [2024-05-24T08:32:24.230Z] 4872d77fe225: Pull complete [2024-05-24T08:32:24.489Z] 5851b861e8e6: Pull complete [2024-05-24T08:32:24.489Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2024-05-24T08:32:24.489Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2024-05-24T08:32:24.489Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T08:32:24.642Z] prd-ubuntu20.04-docker-8c-8g-687 does not seem to be running inside a container [2024-05-24T08:32:24.689Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2024-05-24T08:32:27.597Z] $ docker top d0a508fdc14c45e64193e645721e31b416136d1b5388b945b71cd0aee68b4a74 -eo pid,comm [2024-05-24T08:32:27.650Z] 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). [2024-05-24T08:32:27.650Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2024-05-24T08:32:27.708Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-24T08:32:27.708Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-24T08:32:27.820Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-24T08:32:27.827Z] $ docker exec d0a508fdc14c45e64193e645721e31b416136d1b5388b945b71cd0aee68b4a74 ssh-agent [2024-05-24T08:32:27.940Z] SSH_AUTH_SOCK=/tmp/ssh-UWrZxeSeC4d6/agent.31 [2024-05-24T08:32:27.940Z] SSH_AGENT_PID=37 [2024-05-24T08:32:27.947Z] Running ssh-add (command line suppressed) [2024-05-24T08:32:28.039Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_napa@tmp/private_key_4550706509343490339.key (/w/workspace/edgexfoundry_device-rest-go_napa@tmp/private_key_4550706509343490339.key) [2024-05-24T08:32:28.049Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-24T08:32:28.343Z] + git tag --points-at HEAD [Pipeline] } [2024-05-24T08:32:28.356Z] $ docker exec --env ******** --env ******** d0a508fdc14c45e64193e645721e31b416136d1b5388b945b71cd0aee68b4a74 ssh-agent -k [2024-05-24T08:32:28.465Z] unset SSH_AUTH_SOCK; [2024-05-24T08:32:28.466Z] unset SSH_AGENT_PID; [2024-05-24T08:32:28.466Z] echo Agent pid 37 killed; [2024-05-24T08:32:28.472Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2024-05-24T08:32:28.509Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2024-05-24T08:32:28.509Z] [ssh-agent] Looking for ssh-agent implementation... [2024-05-24T08:32:28.615Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2024-05-24T08:32:28.621Z] $ docker exec d0a508fdc14c45e64193e645721e31b416136d1b5388b945b71cd0aee68b4a74 ssh-agent [2024-05-24T08:32:28.725Z] SSH_AUTH_SOCK=/tmp/ssh-cO3yRA01eRs5/agent.70 [2024-05-24T08:32:28.725Z] SSH_AGENT_PID=76 [2024-05-24T08:32:28.730Z] Running ssh-add (command line suppressed) [2024-05-24T08:32:28.840Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_napa@tmp/private_key_4942176710411121027.key (/w/workspace/edgexfoundry_device-rest-go_napa@tmp/private_key_4942176710411121027.key) [2024-05-24T08:32:28.851Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2024-05-24T08:32:29.151Z] + git semver init [2024-05-24T08:32:29.410Z] 2024-05-24 08:32:29,320 [run_init] DEBUG init version:0.0.0 force:False [2024-05-24T08:32:29.410Z] 2024-05-24 08:32:29,321 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_napa/.semver [2024-05-24T08:32:29.410Z] 2024-05-24 08:32:29,322 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_napa/.semver [2024-05-24T08:32:29.410Z] 2024-05-24 08:32:29,322 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_napa/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_napa, universal_newlines=False, shell=None, istream=None) [2024-05-24T08:32:31.330Z] 2024-05-24 08:32:30,850 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_napa/.git/info/exclude [2024-05-24T08:32:31.330Z] 2024-05-24 08:32:30,850 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_napa/.semver/napa with force:False [2024-05-24T08:32:31.330Z] 2024-05-24 08:32:30,851 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_napa/.semver/napa [2024-05-24T08:32:31.330Z] 2024-05-24 08:32:30,851 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_napa/.semver/napa [2024-05-24T08:32:31.330Z] 3.1.1-dev.1 [Pipeline] } [2024-05-24T08:32:31.342Z] $ docker exec --env ******** --env ******** d0a508fdc14c45e64193e645721e31b416136d1b5388b945b71cd0aee68b4a74 ssh-agent -k [2024-05-24T08:32:31.443Z] unset SSH_AUTH_SOCK; [2024-05-24T08:32:31.443Z] unset SSH_AGENT_PID; [2024-05-24T08:32:31.444Z] echo Agent pid 76 killed; [2024-05-24T08:32:31.450Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2024-05-24T08:32:31.769Z] + git semver [Pipeline] } [2024-05-24T08:32:32.044Z] $ docker stop --time=1 d0a508fdc14c45e64193e645721e31b416136d1b5388b945b71cd0aee68b4a74 [2024-05-24T08:32:33.344Z] $ docker rm -f --volumes d0a508fdc14c45e64193e645721e31b416136d1b5388b945b71cd0aee68b4a74 [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-24T08:32:33.693Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2024-05-24T08:32:33.921Z] Stashed 1 file(s) [Pipeline] echo [2024-05-24T08:32:33.924Z] [edgeXSemver]: initialized semver on version 3.1.1-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 [2024-05-24T08:32:34.101Z] provisioning config files... [2024-05-24T08:32:34.109Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config10310628969257737718tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:32:34.408Z] ---> ****-login.sh [2024-05-24T08:32:34.408Z] nexus3.edgexfoundry.org:10001 [2024-05-24T08:32:34.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:32:34.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:32:34.408Z] Configure a credential helper to remove this warning. See [2024-05-24T08:32:34.408Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:32:34.408Z] [2024-05-24T08:32:34.408Z] Login Succeeded [2024-05-24T08:32:34.408Z] nexus3.edgexfoundry.org:10002 [2024-05-24T08:32:34.408Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:32:34.408Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:32:34.408Z] Configure a credential helper to remove this warning. See [2024-05-24T08:32:34.408Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:32:34.408Z] [2024-05-24T08:32:34.408Z] Login Succeeded [2024-05-24T08:32:34.408Z] nexus3.edgexfoundry.org:10003 [2024-05-24T08:32:34.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:32:34.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:32:34.668Z] Configure a credential helper to remove this warning. See [2024-05-24T08:32:34.668Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:32:34.668Z] [2024-05-24T08:32:34.668Z] Login Succeeded [2024-05-24T08:32:34.668Z] nexus3.edgexfoundry.org:10004 [2024-05-24T08:32:34.668Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:32:34.668Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:32:34.668Z] Configure a credential helper to remove this warning. See [2024-05-24T08:32:34.668Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:32:34.668Z] [2024-05-24T08:32:34.668Z] Login Succeeded [2024-05-24T08:32:34.668Z] ****.io [2024-05-24T08:32:34.928Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:32:34.928Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:32:34.928Z] Configure a credential helper to remove this warning. See [2024-05-24T08:32:34.928Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:32:34.928Z] [2024-05-24T08:32:34.928Z] Login Succeeded [2024-05-24T08:32:34.928Z] ---> ****-login.sh ends [Pipeline] } [2024-05-24T08:32:34.935Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-24T08:32:35.028Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2024-05-24T08:32:35.318Z] + grep ^go [0-9].[0-9]* go.mod [2024-05-24T08:32:35.319Z] + cut -d -f 2 [Pipeline] echo [2024-05-24T08:32:35.334Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-24T08:32:35.348Z] ========================================================= [2024-05-24T08:32:35.348Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts] [2024-05-24T08:32:35.348Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:32:35.681Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . [2024-05-24T08:32:35.940Z] Sending build context to Docker daemon 45.78MB [2024-05-24T08:32:35.940Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-05-24T08:32:35.940Z] Step 2/12 : FROM ${BASE} AS builder [2024-05-24T08:32:36.204Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base [2024-05-24T08:32:36.204Z] 619be1103602: Pulling fs layer [2024-05-24T08:32:36.204Z] 7862e08f4a3e: Pulling fs layer [2024-05-24T08:32:36.204Z] 5df492c9dc93: Pulling fs layer [2024-05-24T08:32:36.204Z] 7629e6793208: Pulling fs layer [2024-05-24T08:32:36.204Z] 4f4fb700ef54: Pulling fs layer [2024-05-24T08:32:36.204Z] 8de7f028bff5: Pulling fs layer [2024-05-24T08:32:36.204Z] 44042ff1420b: Pulling fs layer [2024-05-24T08:32:36.204Z] 5cdaf54b7214: Pulling fs layer [2024-05-24T08:32:36.204Z] 38f3e5a9071a: Pulling fs layer [2024-05-24T08:32:36.204Z] 7629e6793208: Waiting [2024-05-24T08:32:36.204Z] 4f4fb700ef54: Waiting [2024-05-24T08:32:36.204Z] 8de7f028bff5: Waiting [2024-05-24T08:32:36.204Z] 44042ff1420b: Waiting [2024-05-24T08:32:36.204Z] 5cdaf54b7214: Waiting [2024-05-24T08:32:36.204Z] 38f3e5a9071a: Waiting [2024-05-24T08:32:36.204Z] 7862e08f4a3e: Verifying Checksum [2024-05-24T08:32:36.204Z] 7862e08f4a3e: Download complete [2024-05-24T08:32:36.204Z] 7629e6793208: Verifying Checksum [2024-05-24T08:32:36.204Z] 7629e6793208: Download complete [2024-05-24T08:32:36.204Z] 4f4fb700ef54: Download complete [2024-05-24T08:32:36.204Z] 619be1103602: Verifying Checksum [2024-05-24T08:32:36.204Z] 619be1103602: Download complete [2024-05-24T08:32:36.204Z] 8de7f028bff5: Download complete [2024-05-24T08:32:36.204Z] 44042ff1420b: Verifying Checksum [2024-05-24T08:32:36.204Z] 44042ff1420b: Download complete [2024-05-24T08:32:36.472Z] 619be1103602: Pull complete [2024-05-24T08:32:36.472Z] 38f3e5a9071a: Verifying Checksum [2024-05-24T08:32:36.472Z] 38f3e5a9071a: Download complete [2024-05-24T08:32:36.472Z] 7862e08f4a3e: Pull complete [2024-05-24T08:32:36.731Z] 5df492c9dc93: Verifying Checksum [2024-05-24T08:32:36.731Z] 5df492c9dc93: Download complete [2024-05-24T08:32:37.297Z] 5cdaf54b7214: Verifying Checksum [2024-05-24T08:32:37.297Z] 5cdaf54b7214: Download complete [2024-05-24T08:32:40.585Z] 5df492c9dc93: Pull complete [2024-05-24T08:32:40.585Z] 7629e6793208: Pull complete [2024-05-24T08:32:40.585Z] 4f4fb700ef54: Pull complete [2024-05-24T08:32:40.585Z] 8de7f028bff5: Pull complete [2024-05-24T08:32:40.585Z] 44042ff1420b: Pull complete [2024-05-24T08:32:43.116Z] 5cdaf54b7214: Pull complete [2024-05-24T08:32:43.683Z] 38f3e5a9071a: Pull complete [2024-05-24T08:32:43.683Z] Digest: sha256:d452b7c9dc822626b28f2158ccf3bbf04957b0b2ad14062d8ea2b98b8d6f5c64 [2024-05-24T08:32:43.683Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base:1.21-alpine-lts [2024-05-24T08:32:43.683Z] ---> 60b93f829570 [2024-05-24T08:32:43.683Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-05-24T08:32:47.871Z] ---> Running in 85300ab46011 [2024-05-24T08:32:47.871Z] Removing intermediate container 85300ab46011 [2024-05-24T08:32:47.871Z] ---> c5edfd66ea71 [2024-05-24T08:32:47.871Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-24T08:32:47.871Z] ---> Running in 3c4057a0a208 [2024-05-24T08:32:47.871Z] Removing intermediate container 3c4057a0a208 [2024-05-24T08:32:47.871Z] ---> b471da376a14 [2024-05-24T08:32:47.871Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-24T08:32:47.871Z] ---> Running in be2241ed3f5c [2024-05-24T08:32:47.871Z] Removing intermediate container be2241ed3f5c [2024-05-24T08:32:47.871Z] ---> f545823aa0d1 [2024-05-24T08:32:47.871Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-05-24T08:32:47.871Z] ---> Running in 058cc2327d3c [2024-05-24T08:32:47.871Z] Removing intermediate container 058cc2327d3c [2024-05-24T08:32:47.871Z] ---> 13b59bbf88f8 [2024-05-24T08:32:47.871Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-24T08:32:47.871Z] ---> Running in ad9c5aa385f0 [2024-05-24T08:32:48.130Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-24T08:32:48.388Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-24T08:32:48.647Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-05-24T08:32:48.647Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-05-24T08:32:48.647Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-05-24T08:32:48.647Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-05-24T08:32:48.647Z] Executing busybox-1.36.1-r5.trigger [2024-05-24T08:32:48.647Z] OK: 268 MiB in 56 packages [2024-05-24T08:32:49.053Z] Still waiting to schedule task [2024-05-24T08:32:49.054Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2024-05-24T08:32:49.215Z] Removing intermediate container ad9c5aa385f0 [2024-05-24T08:32:49.215Z] ---> 15ffce5febee [2024-05-24T08:32:49.215Z] Step 8/12 : WORKDIR /device-rest-go [2024-05-24T08:32:49.215Z] ---> Running in 11fe322bb864 [2024-05-24T08:32:49.475Z] Removing intermediate container 11fe322bb864 [2024-05-24T08:32:49.475Z] ---> 35d4b0ec15fb [2024-05-24T08:32:49.475Z] Step 9/12 : COPY go.mod vendor* ./ [2024-05-24T08:32:51.378Z] ---> 2233f0176e72 [2024-05-24T08:32:51.378Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-24T08:32:51.378Z] ---> Running in dcb3a1f28a27 [2024-05-24T08:33:13.349Z] Removing intermediate container dcb3a1f28a27 [2024-05-24T08:33:13.349Z] ---> 1c37a01d54db [2024-05-24T08:33:13.349Z] Step 11/12 : COPY . . [2024-05-24T08:33:14.289Z] ---> 3d0e9dbdeacc [2024-05-24T08:33:14.289Z] Step 12/12 : RUN $MAKE [2024-05-24T08:33:14.548Z] ---> Running in c5816a345b1a [2024-05-24T08:33:14.808Z] noop [2024-05-24T08:33:15.068Z] Removing intermediate container c5816a345b1a [2024-05-24T08:33:15.069Z] ---> ff5cdf3ae964 [2024-05-24T08:33:15.069Z] Successfully built ff5cdf3ae964 [2024-05-24T08:33:15.069Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:33:15.396Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-24T08:33:15.396Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T08:33:15.482Z] prd-ubuntu20.04-docker-8c-8g-687 does not seem to be running inside a container [2024-05-24T08:33:15.520Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@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 ******** ci-base-image-x86_64 cat [2024-05-24T08:33:15.891Z] $ docker top b831594a9db38de5f3d49a07f112fab168243d75cca73a12c1c5b59e89f3d133 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-24T08:33:16.240Z] + go version [2024-05-24T08:33:16.240Z] go version go1.21.9 linux/amd64 [Pipeline] } [2024-05-24T08:33:16.254Z] $ docker stop --time=1 b831594a9db38de5f3d49a07f112fab168243d75cca73a12c1c5b59e89f3d133 [2024-05-24T08:33:17.543Z] $ docker rm -f --volumes b831594a9db38de5f3d49a07f112fab168243d75cca73a12c1c5b59e89f3d133 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:33:17.976Z] + docker inspect -f . ci-base-image-x86_64 [2024-05-24T08:33:17.976Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T08:33:18.061Z] prd-ubuntu20.04-docker-8c-8g-687 does not seem to be running inside a container [2024-05-24T08:33:18.095Z] $ 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_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@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 ******** ci-base-image-x86_64 cat [2024-05-24T08:33:18.441Z] $ docker top 20d17ae2661c7ec255718eb7e207961a3499042515d1b6b17ffb56372a0961df -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-24T08:33:18.785Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_napa [Pipeline] fileExists [Pipeline] sh [2024-05-24T08:33:19.081Z] + make test [2024-05-24T08:33:19.081Z] go test ./... -coverprofile=coverage.out ./... [2024-05-24T08:33:20.458Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-05-24T08:33:32.844Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-05-24T08:33:32.844Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 33.2% of statements [2024-05-24T08:33:39.967Z] go vet ./... [2024-05-24T08:33:43.285Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-24T08:33:43.285Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-24T08:33:43.285Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-05-24T08:33:43.554Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2024-05-24T08:33:43.861Z] + go mod tidy [Pipeline] } [2024-05-24T08:33:44.446Z] $ docker stop --time=1 20d17ae2661c7ec255718eb7e207961a3499042515d1b6b17ffb56372a0961df [2024-05-24T08:33:47.580Z] $ docker rm -f --volumes 20d17ae2661c7ec255718eb7e207961a3499042515d1b6b17ffb56372a0961df [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-24T08:33:48.094Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-24T08:33:48.190Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2024-05-24T08:33:48.654Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-24T08:33:48.942Z] + ls -al . [2024-05-24T08:33:48.942Z] total 184 [2024-05-24T08:33:48.942Z] drwxrwxr-x 10 jenkins jenkins 4096 May 24 08:33 . [2024-05-24T08:33:48.942Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 08:32 .. [2024-05-24T08:33:48.942Z] -rw-rw-r-- 1 jenkins jenkins 151 May 24 08:32 .dockerignore [2024-05-24T08:33:48.942Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 08:33 .git [2024-05-24T08:33:48.942Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 08:32 .github [2024-05-24T08:33:48.942Z] -rw-rw-r-- 1 jenkins jenkins 256 May 24 08:32 .gitignore [2024-05-24T08:33:48.942Z] -rw-rw-r-- 1 jenkins jenkins 41 May 24 08:32 .golangci.yml [2024-05-24T08:33:48.942Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 08:32 .semver [2024-05-24T08:33:48.942Z] -rw-rw-r-- 1 jenkins jenkins 10319 May 24 08:32 Attribution.txt [2024-05-24T08:33:48.942Z] -rw-rw-r-- 1 jenkins jenkins 17685 May 24 08:32 CHANGELOG.md [2024-05-24T08:33:48.942Z] -rw-rw-r-- 1 jenkins jenkins 1687 May 24 08:32 Dockerfile [2024-05-24T08:33:48.942Z] -rw-rw-r-- 1 jenkins jenkins 677 May 24 08:32 GOVERNANCE.md [2024-05-24T08:33:48.942Z] -rw-rw-r-- 1 jenkins jenkins 680 May 24 08:32 Jenkinsfile [2024-05-24T08:33:48.942Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 24 08:32 LICENSE [2024-05-24T08:33:48.942Z] -rw-rw-r-- 1 jenkins jenkins 2010 May 24 08:32 Makefile [2024-05-24T08:33:48.942Z] -rw-rw-r-- 1 jenkins jenkins 620 May 24 08:32 OWNERS.md [2024-05-24T08:33:48.942Z] -rw-rw-r-- 1 jenkins jenkins 3989 May 24 08:32 README.md [2024-05-24T08:33:48.942Z] -rw-rw-r-- 1 jenkins jenkins 11 May 24 08:32 VERSION [2024-05-24T08:33:48.942Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 08:32 bin [2024-05-24T08:33:48.942Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 08:32 cmd [2024-05-24T08:33:48.942Z] -rw-r--r-- 1 jenkins jenkins 14499 May 24 08:33 coverage.out [2024-05-24T08:33:48.942Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 08:32 driver [2024-05-24T08:33:48.942Z] -rw-rw-r-- 1 jenkins jenkins 3814 May 24 08:32 go.mod [2024-05-24T08:33:48.942Z] -rw-rw-r-- 1 jenkins jenkins 34195 May 24 08:32 go.sum [2024-05-24T08:33:48.942Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 08:32 openapi [2024-05-24T08:33:48.942Z] drwxrwxr-x 6 jenkins jenkins 4096 May 24 08:32 vendor [2024-05-24T08:33:48.942Z] -rw-rw-r-- 1 jenkins jenkins 713 May 24 08:32 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:33:49.264Z] + 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=26dd2cd913d05f397b62e8034ff483e97214642e --label arch=amd64 --label version=3.1.1-dev.1 . [2024-05-24T08:33:49.522Z] Sending build context to Docker daemon 45.8MB [2024-05-24T08:33:49.522Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-05-24T08:33:49.522Z] Step 2/26 : FROM ${BASE} AS builder [2024-05-24T08:33:49.522Z] ---> ff5cdf3ae964 [2024-05-24T08:33:49.522Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-05-24T08:33:50.123Z] ---> Running in 82151391ab9f [2024-05-24T08:33:50.123Z] Removing intermediate container 82151391ab9f [2024-05-24T08:33:50.123Z] ---> 23bb95485722 [2024-05-24T08:33:50.123Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-24T08:33:50.123Z] ---> Running in ae91cf189be3 [2024-05-24T08:33:50.123Z] Removing intermediate container ae91cf189be3 [2024-05-24T08:33:50.123Z] ---> acd18229640c [2024-05-24T08:33:50.123Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-24T08:33:50.123Z] ---> Running in 5f3ec94893a9 [2024-05-24T08:33:50.383Z] Removing intermediate container 5f3ec94893a9 [2024-05-24T08:33:50.383Z] ---> 94e1d04f9706 [2024-05-24T08:33:50.383Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-05-24T08:33:50.383Z] ---> Running in 989d05c1bd05 [2024-05-24T08:33:50.383Z] Removing intermediate container 989d05c1bd05 [2024-05-24T08:33:50.383Z] ---> a441c23d3507 [2024-05-24T08:33:50.383Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-24T08:33:50.383Z] ---> Running in df8625c6e42e [2024-05-24T08:33:50.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-24T08:33:50.642Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-24T08:33:50.901Z] OK: 268 MiB in 56 packages [2024-05-24T08:33:51.159Z] Removing intermediate container df8625c6e42e [2024-05-24T08:33:51.159Z] ---> 605538b0df4a [2024-05-24T08:33:51.159Z] Step 8/26 : WORKDIR /device-rest-go [2024-05-24T08:33:51.159Z] ---> Running in 4bf6a80c2132 [2024-05-24T08:33:51.418Z] Removing intermediate container 4bf6a80c2132 [2024-05-24T08:33:51.418Z] ---> 9b9b5622e065 [2024-05-24T08:33:51.418Z] Step 9/26 : COPY go.mod vendor* ./ [2024-05-24T08:33:53.321Z] ---> 223e13021fb1 [2024-05-24T08:33:53.321Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-24T08:33:53.321Z] ---> Running in f0b4d55ac536 [2024-05-24T08:33:53.321Z] skipping... [2024-05-24T08:33:53.582Z] Removing intermediate container f0b4d55ac536 [2024-05-24T08:33:53.582Z] ---> ae072c35714b [2024-05-24T08:33:53.582Z] Step 11/26 : COPY . . [2024-05-24T08:33:55.497Z] ---> af85d17e32b7 [2024-05-24T08:33:55.497Z] Step 12/26 : RUN $MAKE [2024-05-24T08:33:55.756Z] ---> Running in 994518cfbd74 [2024-05-24T08:33:56.014Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.1-dev.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-05-24T08:34:18.432Z] Removing intermediate container 994518cfbd74 [2024-05-24T08:34:18.432Z] ---> c8ba5b4622b2 [2024-05-24T08:34:18.432Z] Step 13/26 : FROM alpine:3.18 [2024-05-24T08:34:18.432Z] 3.18: Pulling from library/alpine [2024-05-24T08:34:18.432Z] 619be1103602: Already exists [2024-05-24T08:34:18.432Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-24T08:34:18.432Z] Status: Downloaded newer image for alpine:3.18 [2024-05-24T08:34:18.432Z] ---> d3782b16ccc9 [2024-05-24T08:34:18.432Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-24T08:34:18.432Z] ---> Running in 952a97614270 [2024-05-24T08:34:18.432Z] Removing intermediate container 952a97614270 [2024-05-24T08:34:18.432Z] ---> e82113542b16 [2024-05-24T08:34:18.432Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-05-24T08:34:18.432Z] ---> Running in 384f7cea84d3 [2024-05-24T08:34:18.432Z] Removing intermediate container 384f7cea84d3 [2024-05-24T08:34:18.432Z] ---> b70b5d655fd8 [2024-05-24T08:34:18.432Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-05-24T08:34:18.432Z] ---> Running in 6f4428902516 [2024-05-24T08:34:18.432Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-24T08:34:18.432Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-24T08:34:18.432Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-24T08:34:18.432Z] Executing busybox-1.36.1-r5.trigger [2024-05-24T08:34:18.432Z] OK: 7 MiB in 16 packages [2024-05-24T08:34:18.432Z] Removing intermediate container 6f4428902516 [2024-05-24T08:34:18.432Z] ---> bf78e5ea17df [2024-05-24T08:34:18.432Z] Step 17/26 : RUN apk --no-cache upgrade [2024-05-24T08:34:18.432Z] ---> Running in 6d5ed1348f77 [2024-05-24T08:34:18.432Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-24T08:34:18.432Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-24T08:34:18.432Z] Upgrading critical system libraries and apk-tools: [2024-05-24T08:34:18.432Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-24T08:34:18.432Z] Executing busybox-1.36.1-r5.trigger [2024-05-24T08:34:18.432Z] Continuing the upgrade transaction with new apk-tools: [2024-05-24T08:34:18.432Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz [2024-05-24T08:34:18.432Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz [2024-05-24T08:34:18.432Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) [2024-05-24T08:34:18.432Z] Executing busybox-1.36.1-r6.post-upgrade [2024-05-24T08:34:18.432Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) [2024-05-24T08:34:18.432Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-24T08:34:18.432Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-24T08:34:18.432Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-24T08:34:18.432Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) [2024-05-24T08:34:18.432Z] Executing busybox-1.36.1-r6.trigger [2024-05-24T08:34:18.432Z] OK: 7 MiB in 16 packages [2024-05-24T08:34:18.690Z] Removing intermediate container 6d5ed1348f77 [2024-05-24T08:34:18.690Z] ---> 8ad63c3971a6 [2024-05-24T08:34:18.690Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-05-24T08:34:19.656Z] ---> 4e07b992344a [2024-05-24T08:34:19.656Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-05-24T08:34:19.656Z] ---> 6ddf1e327a11 [2024-05-24T08:34:19.656Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-05-24T08:34:19.656Z] ---> b6b156204d6a [2024-05-24T08:34:19.656Z] Step 21/26 : EXPOSE 59986 [2024-05-24T08:34:19.656Z] ---> Running in 7a6b8b7e38b8 [2024-05-24T08:34:19.656Z] Removing intermediate container 7a6b8b7e38b8 [2024-05-24T08:34:19.656Z] ---> f82e3d82e305 [2024-05-24T08:34:19.656Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-05-24T08:34:19.656Z] ---> Running in 13725579e90a [2024-05-24T08:34:19.914Z] Removing intermediate container 13725579e90a [2024-05-24T08:34:19.914Z] ---> ba25456e0054 [2024-05-24T08:34:19.914Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-05-24T08:34:19.914Z] ---> Running in 2d1d149c98aa [2024-05-24T08:34:19.914Z] Removing intermediate container 2d1d149c98aa [2024-05-24T08:34:19.914Z] ---> 07123660b447 [2024-05-24T08:34:19.914Z] Step 24/26 : LABEL arch=amd64 [2024-05-24T08:34:19.914Z] ---> Running in aa226c6079dd [2024-05-24T08:34:19.914Z] Removing intermediate container aa226c6079dd [2024-05-24T08:34:19.914Z] ---> 8f74a9a852a7 [2024-05-24T08:34:19.914Z] Step 25/26 : LABEL git_sha=26dd2cd913d05f397b62e8034ff483e97214642e [2024-05-24T08:34:19.914Z] ---> Running in 53367e0d1b99 [2024-05-24T08:34:20.175Z] Removing intermediate container 53367e0d1b99 [2024-05-24T08:34:20.175Z] ---> 641e52f1d96b [2024-05-24T08:34:20.175Z] Step 26/26 : LABEL version=3.1.1-dev.1 [2024-05-24T08:34:20.175Z] ---> Running in a3e784bc144b [2024-05-24T08:34:20.175Z] Removing intermediate container a3e784bc144b [2024-05-24T08:34:20.175Z] ---> f85e4ec33017 [2024-05-24T08:34:20.175Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-24T08:34:20.175Z] Successfully built f85e4ec33017 [2024-05-24T08:34:20.175Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-24T08:34:20.298Z] provisioning config files... [2024-05-24T08:34:20.308Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config12934402066181950677tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:34:20.606Z] ---> ****-login.sh [2024-05-24T08:34:20.606Z] nexus3.edgexfoundry.org:10001 [2024-05-24T08:34:20.606Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:34:20.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:34:20.607Z] Configure a credential helper to remove this warning. See [2024-05-24T08:34:20.607Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:34:20.607Z] [2024-05-24T08:34:20.607Z] Login Succeeded [2024-05-24T08:34:20.607Z] nexus3.edgexfoundry.org:10002 [2024-05-24T08:34:20.607Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:34:20.607Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:34:20.607Z] Configure a credential helper to remove this warning. See [2024-05-24T08:34:20.607Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:34:20.607Z] [2024-05-24T08:34:20.607Z] Login Succeeded [2024-05-24T08:34:20.607Z] nexus3.edgexfoundry.org:10003 [2024-05-24T08:34:20.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:34:20.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:34:20.866Z] Configure a credential helper to remove this warning. See [2024-05-24T08:34:20.866Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:34:20.866Z] [2024-05-24T08:34:20.866Z] Login Succeeded [2024-05-24T08:34:20.866Z] nexus3.edgexfoundry.org:10004 [2024-05-24T08:34:20.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:34:20.866Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:34:20.866Z] Configure a credential helper to remove this warning. See [2024-05-24T08:34:20.866Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:34:20.866Z] [2024-05-24T08:34:20.866Z] Login Succeeded [2024-05-24T08:34:20.866Z] ****.io [2024-05-24T08:34:20.866Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:34:21.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:34:21.125Z] Configure a credential helper to remove this warning. See [2024-05-24T08:34:21.125Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:34:21.125Z] [2024-05-24T08:34:21.125Z] Login Succeeded [2024-05-24T08:34:21.125Z] ---> ****-login.sh ends [Pipeline] } [2024-05-24T08:34:21.132Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-24T08:34:21.181Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-24T08:34:21.215Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2024-05-24T08:34:21.215Z] 26dd2cd913d05f397b62e8034ff483e97214642e [2024-05-24T08:34:21.215Z] 3.1.1-dev.1 [2024-05-24T08:34:21.215Z] 26dd2cd913d05f397b62e8034ff483e97214642e-3.1.1-dev.1 [2024-05-24T08:34:21.215Z] napa [2024-05-24T08:34:21.215Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:34:21.557Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:26dd2cd913d05f397b62e8034ff483e97214642e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:34:22.758Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:26dd2cd913d05f397b62e8034ff483e97214642e [2024-05-24T08:34:22.758Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-05-24T08:34:22.758Z] 01213d675556: Preparing [2024-05-24T08:34:22.758Z] 341ec37a283c: Preparing [2024-05-24T08:34:22.758Z] f8dff51cbebb: Preparing [2024-05-24T08:34:22.758Z] fa405496c0bd: Preparing [2024-05-24T08:34:22.758Z] 6a68f6c3698a: Preparing [2024-05-24T08:34:22.758Z] aedc3bda2944: Preparing [2024-05-24T08:34:22.758Z] aedc3bda2944: Waiting [2024-05-24T08:34:22.758Z] 01213d675556: Pushed [2024-05-24T08:34:22.758Z] 6a68f6c3698a: Pushed [2024-05-24T08:34:22.758Z] 341ec37a283c: Pushed [2024-05-24T08:34:22.758Z] aedc3bda2944: Layer already exists [2024-05-24T08:34:23.693Z] fa405496c0bd: Pushed [2024-05-24T08:34:25.590Z] f8dff51cbebb: Pushed [2024-05-24T08:34:25.590Z] 26dd2cd913d05f397b62e8034ff483e97214642e: digest: sha256:171517a5bea2458b3879264c8e7ae76dc44dc9859b2d36f6f992ab7600fdb1a7 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:34:25.921Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:34:26.243Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.1.1-dev.1 [2024-05-24T08:34:26.243Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-05-24T08:34:26.243Z] 01213d675556: Preparing [2024-05-24T08:34:26.243Z] 341ec37a283c: Preparing [2024-05-24T08:34:26.243Z] f8dff51cbebb: Preparing [2024-05-24T08:34:26.243Z] fa405496c0bd: Preparing [2024-05-24T08:34:26.243Z] 6a68f6c3698a: Preparing [2024-05-24T08:34:26.243Z] aedc3bda2944: Preparing [2024-05-24T08:34:26.243Z] 01213d675556: Layer already exists [2024-05-24T08:34:26.243Z] 341ec37a283c: Layer already exists [2024-05-24T08:34:26.243Z] f8dff51cbebb: Layer already exists [2024-05-24T08:34:26.243Z] fa405496c0bd: Layer already exists [2024-05-24T08:34:26.243Z] 6a68f6c3698a: Layer already exists [2024-05-24T08:34:26.243Z] aedc3bda2944: Layer already exists [2024-05-24T08:34:26.243Z] 3.1.1-dev.1: digest: sha256:171517a5bea2458b3879264c8e7ae76dc44dc9859b2d36f6f992ab7600fdb1a7 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:34:26.571Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:26dd2cd913d05f397b62e8034ff483e97214642e-3.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:34:26.890Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:26dd2cd913d05f397b62e8034ff483e97214642e-3.1.1-dev.1 [2024-05-24T08:34:26.890Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-05-24T08:34:26.890Z] 01213d675556: Preparing [2024-05-24T08:34:26.890Z] 341ec37a283c: Preparing [2024-05-24T08:34:26.890Z] f8dff51cbebb: Preparing [2024-05-24T08:34:26.890Z] fa405496c0bd: Preparing [2024-05-24T08:34:26.890Z] 6a68f6c3698a: Preparing [2024-05-24T08:34:26.890Z] aedc3bda2944: Preparing [2024-05-24T08:34:26.890Z] aedc3bda2944: Waiting [2024-05-24T08:34:26.890Z] f8dff51cbebb: Layer already exists [2024-05-24T08:34:26.890Z] 6a68f6c3698a: Layer already exists [2024-05-24T08:34:26.891Z] 341ec37a283c: Layer already exists [2024-05-24T08:34:26.891Z] 01213d675556: Layer already exists [2024-05-24T08:34:26.891Z] fa405496c0bd: Layer already exists [2024-05-24T08:34:26.891Z] aedc3bda2944: Layer already exists [2024-05-24T08:34:26.891Z] 26dd2cd913d05f397b62e8034ff483e97214642e-3.1.1-dev.1: digest: sha256:171517a5bea2458b3879264c8e7ae76dc44dc9859b2d36f6f992ab7600fdb1a7 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:34:27.216Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:34:27.537Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:napa [2024-05-24T08:34:27.538Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2024-05-24T08:34:27.538Z] 01213d675556: Preparing [2024-05-24T08:34:27.538Z] 341ec37a283c: Preparing [2024-05-24T08:34:27.538Z] f8dff51cbebb: Preparing [2024-05-24T08:34:27.538Z] fa405496c0bd: Preparing [2024-05-24T08:34:27.538Z] 6a68f6c3698a: Preparing [2024-05-24T08:34:27.538Z] aedc3bda2944: Preparing [2024-05-24T08:34:27.538Z] aedc3bda2944: Waiting [2024-05-24T08:34:27.538Z] 341ec37a283c: Layer already exists [2024-05-24T08:34:27.538Z] 6a68f6c3698a: Layer already exists [2024-05-24T08:34:27.538Z] fa405496c0bd: Layer already exists [2024-05-24T08:34:27.538Z] 01213d675556: Layer already exists [2024-05-24T08:34:27.538Z] f8dff51cbebb: Layer already exists [2024-05-24T08:34:27.538Z] aedc3bda2944: Layer already exists [2024-05-24T08:34:27.538Z] napa: digest: sha256:171517a5bea2458b3879264c8e7ae76dc44dc9859b2d36f6f992ab7600fdb1a7 size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-24T08:34:27.623Z] ===================================================== [Pipeline] echo [2024-05-24T08:34:27.639Z] taggedImages: [2024-05-24T08:34:27.639Z] - nexus3.edgexfoundry.org:10004/device-rest:26dd2cd913d05f397b62e8034ff483e97214642e [2024-05-24T08:34:27.639Z] - nexus3.edgexfoundry.org:10004/device-rest:3.1.1-dev.1 [2024-05-24T08:34:27.639Z] - nexus3.edgexfoundry.org:10004/device-rest:26dd2cd913d05f397b62e8034ff483e97214642e-3.1.1-dev.1 [2024-05-24T08:34:27.639Z] - nexus3.edgexfoundry.org:10004/device-rest:napa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] getContext [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:34:28.052Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-24T08:34:28.052Z] [2024-05-24T08:34:28.052Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:34:28.358Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-24T08:34:28.358Z] latest: Pulling from edgex-lftools-log-publisher [2024-05-24T08:34:28.358Z] 5eb5b503b376: Pulling fs layer [2024-05-24T08:34:28.358Z] 5c69ac0246d0: Pulling fs layer [2024-05-24T08:34:28.358Z] ec43610c2a17: Pulling fs layer [2024-05-24T08:34:28.358Z] 3a2ae6a8a46f: Pulling fs layer [2024-05-24T08:34:28.358Z] 33b1e0a273af: Pulling fs layer [2024-05-24T08:34:28.358Z] 5d3b04190fa2: Pulling fs layer [2024-05-24T08:34:28.358Z] 2f39f015ded8: Pulling fs layer [2024-05-24T08:34:28.358Z] 33b1e0a273af: Waiting [2024-05-24T08:34:28.358Z] 5d3b04190fa2: Waiting [2024-05-24T08:34:28.358Z] 2f39f015ded8: Waiting [2024-05-24T08:34:28.358Z] 3a2ae6a8a46f: Waiting [2024-05-24T08:34:28.358Z] 5c69ac0246d0: Verifying Checksum [2024-05-24T08:34:28.358Z] 5c69ac0246d0: Download complete [2024-05-24T08:34:28.358Z] 3a2ae6a8a46f: Download complete [2024-05-24T08:34:28.358Z] 33b1e0a273af: Verifying Checksum [2024-05-24T08:34:28.358Z] 33b1e0a273af: Download complete [2024-05-24T08:34:28.359Z] 5d3b04190fa2: Verifying Checksum [2024-05-24T08:34:28.359Z] 5d3b04190fa2: Download complete [2024-05-24T08:34:28.359Z] ec43610c2a17: Verifying Checksum [2024-05-24T08:34:28.359Z] ec43610c2a17: Download complete [2024-05-24T08:34:28.616Z] 5eb5b503b376: Verifying Checksum [2024-05-24T08:34:28.616Z] 5eb5b503b376: Download complete [2024-05-24T08:34:29.187Z] 2f39f015ded8: Download complete [2024-05-24T08:34:29.755Z] 5eb5b503b376: Pull complete [2024-05-24T08:34:29.755Z] 5c69ac0246d0: Pull complete [2024-05-24T08:34:30.321Z] ec43610c2a17: Pull complete [2024-05-24T08:34:30.321Z] 3a2ae6a8a46f: Pull complete [2024-05-24T08:34:30.578Z] 33b1e0a273af: Pull complete [2024-05-24T08:34:30.578Z] 5d3b04190fa2: Pull complete [2024-05-24T08:34:34.764Z] 2f39f015ded8: Pull complete [2024-05-24T08:34:34.764Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2024-05-24T08:34:34.764Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-24T08:34:34.764Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T08:34:34.867Z] prd-ubuntu20.04-docker-8c-8g-687 does not seem to be running inside a container [2024-05-24T08:34:34.903Z] $ 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_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2024-05-24T08:34:37.656Z] $ docker top e3d890a0bd19af0e2f7a1be76c5a2a55d5dbe23ed18ace37fc2f4190c6027cbd -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:34:38.050Z] ---> job-cost.sh [2024-05-24T08:34:38.050Z] lf-activate-venv: SKIPPING [2024-05-24T08:34:38.050Z] INFO: No Stack... [2024-05-24T08:34:38.309Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-24T08:34:38.568Z] INFO: Archiving Costs [Pipeline] sh [2024-05-24T08:34:38.856Z] + cat /w/workspace/edgexfoundry_device-rest-go_napa/archives/cost.csv [2024-05-24T08:34:38.856Z] + cut -d, -f6 [Pipeline] lock [2024-05-24T08:34:38.871Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-napa-3-stack-cost] [2024-05-24T08:34:38.880Z] Resource [jenkins-edgexfoundry-device-rest-go-napa-3-stack-cost] did not exist. Created. [2024-05-24T08:34:38.887Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-napa-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-24T08:34:39.200Z] + echo total: 0.2199999988079071 [Pipeline] stash [2024-05-24T08:34:39.336Z] Stashed 1 file(s) [Pipeline] } [2024-05-24T08:34:39.347Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-napa-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-24T08:34:39.387Z] $ docker stop --time=1 e3d890a0bd19af0e2f7a1be76c5a2a55d5dbe23ed18ace37fc2f4190c6027cbd [2024-05-24T08:34:40.535Z] $ docker rm -f --volumes e3d890a0bd19af0e2f7a1be76c5a2a55d5dbe23ed18ace37fc2f4190c6027cbd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2024-05-24T08:35:31.597Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-689 in /w/workspace/edgexfoundry_device-rest-go_napa [Pipeline] { [Pipeline] ws [2024-05-24T08:35:31.615Z] Running in /w/workspace/device-rest-go/3 [Pipeline] { [Pipeline] checkout [2024-05-24T08:35:31.650Z] The recommended git tool is: git [2024-05-24T08:35:36.757Z] using credential edgex-jenkins-ssh [2024-05-24T08:35:36.779Z] Cloning the remote Git repository [2024-05-24T08:35:36.832Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2024-05-24T08:35:36.937Z] > git init /w/workspace/device-rest-go/3 # timeout=10 [2024-05-24T08:35:37.112Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2024-05-24T08:35:37.114Z] > git --version # timeout=10 [2024-05-24T08:35:37.136Z] > git --version # 'git version 2.25.1' [2024-05-24T08:35:37.138Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2024-05-24T08:35:37.294Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-24T08:35:40.323Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2024-05-24T08:35:40.344Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2024-05-24T08:35:41.259Z] Avoid second fetch [2024-05-24T08:35:41.259Z] Checking out Revision 26dd2cd913d05f397b62e8034ff483e97214642e (napa) [2024-05-24T08:35:41.277Z] > git config core.sparsecheckout # timeout=10 [2024-05-24T08:35:41.350Z] > git checkout -f 26dd2cd913d05f397b62e8034ff483e97214642e # timeout=10 [2024-05-24T08:35:42.693Z] Commit message: "Merge pull request #391 from cloudxxx8/bump-sdk-3.1.1" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-24T08:35:47.367Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2024-05-24T08:35:47.368Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-24T08:35:47.368Z] Dload Upload Total Spent Left Speed [2024-05-24T08:35:47.368Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12828 100 12828 0 0 240k 0 --:--:-- --:--:-- --:--:-- 245k [Pipeline] sh [2024-05-24T08:35:47.700Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2024-05-24T08:35:48.034Z] + + sudo jqsudo . += {"seccomp-profile": "/etc/docker/seccomp.json"} tee /etc/docker/daemon.json /etc/docker/daemon.new [2024-05-24T08:35:48.034Z] [2024-05-24T08:35:48.034Z] { [2024-05-24T08:35:48.034Z] "registry-mirrors": [ [2024-05-24T08:35:48.034Z] "https://nexus3.edgexfoundry.org:10001" [2024-05-24T08:35:48.034Z] ], [2024-05-24T08:35:48.034Z] "bip": "10.250.0.254/24", [2024-05-24T08:35:48.034Z] "hosts": [ [2024-05-24T08:35:48.034Z] "tcp://0.0.0.0:5555", [2024-05-24T08:35:48.034Z] "unix:///var/run/docker.sock" [2024-05-24T08:35:48.034Z] ], [2024-05-24T08:35:48.034Z] "mtu": 1458, [2024-05-24T08:35:48.034Z] "selinux-enabled": true, [2024-05-24T08:35:48.034Z] "seccomp-profile": "/etc/docker/seccomp.json" [2024-05-24T08:35:48.034Z] } [Pipeline] sh [2024-05-24T08:35:48.359Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2024-05-24T08:35:48.690Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-24T08:36:06.939Z] provisioning config files... [2024-05-24T08:36:06.965Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config3336962226606342369tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:36:07.419Z] ---> ****-login.sh [2024-05-24T08:36:07.419Z] nexus3.edgexfoundry.org:10001 [2024-05-24T08:36:08.018Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:36:08.018Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:36:08.018Z] Configure a credential helper to remove this warning. See [2024-05-24T08:36:08.018Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:36:08.018Z] [2024-05-24T08:36:08.018Z] Login Succeeded [2024-05-24T08:36:08.018Z] nexus3.edgexfoundry.org:10002 [2024-05-24T08:36:08.290Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:36:08.290Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:36:08.290Z] Configure a credential helper to remove this warning. See [2024-05-24T08:36:08.290Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:36:08.290Z] [2024-05-24T08:36:08.290Z] Login Succeeded [2024-05-24T08:36:08.290Z] nexus3.edgexfoundry.org:10003 [2024-05-24T08:36:08.563Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:36:08.832Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:36:08.832Z] Configure a credential helper to remove this warning. See [2024-05-24T08:36:08.832Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:36:08.832Z] [2024-05-24T08:36:08.832Z] Login Succeeded [2024-05-24T08:36:08.832Z] nexus3.edgexfoundry.org:10004 [2024-05-24T08:36:09.109Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:36:09.109Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:36:09.109Z] Configure a credential helper to remove this warning. See [2024-05-24T08:36:09.109Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:36:09.109Z] [2024-05-24T08:36:09.109Z] Login Succeeded [2024-05-24T08:36:09.109Z] ****.io [2024-05-24T08:36:09.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:36:09.645Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:36:09.646Z] Configure a credential helper to remove this warning. See [2024-05-24T08:36:09.646Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:36:09.646Z] [2024-05-24T08:36:09.646Z] Login Succeeded [2024-05-24T08:36:09.646Z] ---> ****-login.sh ends [Pipeline] } [2024-05-24T08:36:09.659Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2024-05-24T08:36:09.971Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] sh [2024-05-24T08:36:10.294Z] + grep ^go [0-9].[0-9]* go.mod [2024-05-24T08:36:10.294Z] + cut -d -f 2 [Pipeline] echo [2024-05-24T08:36:10.353Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-24T08:36:10.372Z] ========================================================= [2024-05-24T08:36:10.372Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts] [2024-05-24T08:36:10.372Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:36:10.735Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts --build-arg MAKE=echo noop --target=builder . [2024-05-24T08:36:12.691Z] Sending build context to Docker daemon 27.75MB [2024-05-24T08:36:12.691Z] Step 1/12 : ARG BASE=golang:1.21-alpine3.18 [2024-05-24T08:36:12.691Z] Step 2/12 : FROM ${BASE} AS builder [2024-05-24T08:36:12.963Z] 1.21-alpine-lts: Pulling from edgex-devops/edgex-golang-base-arm64 [2024-05-24T08:36:12.963Z] c6b39de5b339: Pulling fs layer [2024-05-24T08:36:12.963Z] a69c41024577: Pulling fs layer [2024-05-24T08:36:12.963Z] d6de4b400683: Pulling fs layer [2024-05-24T08:36:12.963Z] 35cb2a7552d0: Pulling fs layer [2024-05-24T08:36:12.963Z] 4f4fb700ef54: Pulling fs layer [2024-05-24T08:36:12.963Z] 9e011611b7f5: Pulling fs layer [2024-05-24T08:36:12.963Z] 3bd174042beb: Pulling fs layer [2024-05-24T08:36:12.963Z] 4476f39b5e91: Pulling fs layer [2024-05-24T08:36:12.963Z] 4f4fb700ef54: Waiting [2024-05-24T08:36:12.963Z] 3bd174042beb: Waiting [2024-05-24T08:36:12.963Z] 9e011611b7f5: Waiting [2024-05-24T08:36:12.963Z] 35cb2a7552d0: Waiting [2024-05-24T08:36:12.963Z] 4476f39b5e91: Waiting [2024-05-24T08:36:12.963Z] a69c41024577: Verifying Checksum [2024-05-24T08:36:12.963Z] a69c41024577: Download complete [2024-05-24T08:36:12.963Z] 35cb2a7552d0: Verifying Checksum [2024-05-24T08:36:12.963Z] 35cb2a7552d0: Download complete [2024-05-24T08:36:12.963Z] 4f4fb700ef54: Verifying Checksum [2024-05-24T08:36:12.963Z] 4f4fb700ef54: Download complete [2024-05-24T08:36:12.963Z] 9e011611b7f5: Verifying Checksum [2024-05-24T08:36:12.963Z] 9e011611b7f5: Download complete [2024-05-24T08:36:12.963Z] c6b39de5b339: Verifying Checksum [2024-05-24T08:36:12.963Z] c6b39de5b339: Download complete [2024-05-24T08:36:13.556Z] 4476f39b5e91: Verifying Checksum [2024-05-24T08:36:13.556Z] 4476f39b5e91: Download complete [2024-05-24T08:36:13.825Z] c6b39de5b339: Pull complete [2024-05-24T08:36:14.413Z] a69c41024577: Pull complete [2024-05-24T08:36:15.000Z] d6de4b400683: Verifying Checksum [2024-05-24T08:36:15.000Z] d6de4b400683: Download complete [2024-05-24T08:36:15.968Z] 3bd174042beb: Verifying Checksum [2024-05-24T08:36:15.968Z] 3bd174042beb: Download complete [2024-05-24T08:36:28.298Z] d6de4b400683: Pull complete [2024-05-24T08:36:28.298Z] 35cb2a7552d0: Pull complete [2024-05-24T08:36:28.298Z] 4f4fb700ef54: Pull complete [2024-05-24T08:36:28.298Z] 9e011611b7f5: Pull complete [2024-05-24T08:36:36.546Z] 3bd174042beb: Pull complete [2024-05-24T08:36:38.497Z] 4476f39b5e91: Pull complete [2024-05-24T08:36:38.497Z] Digest: sha256:3ff92c4bac7a686c9bee1a691493ca45b01f27f0008dd3b8e347e1ca93528f02 [2024-05-24T08:36:38.497Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10002/edgex-devops/edgex-golang-base-arm64:1.21-alpine-lts [2024-05-24T08:36:38.497Z] ---> 981a0608b64a [2024-05-24T08:36:38.497Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2024-05-24T08:36:40.436Z] ---> Running in a0a3b8032368 [2024-05-24T08:36:40.702Z] Removing intermediate container a0a3b8032368 [2024-05-24T08:36:40.702Z] ---> f23f60b6f3f7 [2024-05-24T08:36:40.702Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-24T08:36:40.702Z] ---> Running in bba04a83357a [2024-05-24T08:36:40.968Z] Removing intermediate container bba04a83357a [2024-05-24T08:36:40.968Z] ---> 08b3443635a3 [2024-05-24T08:36:40.968Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-24T08:36:40.968Z] ---> Running in e4471514dfad [2024-05-24T08:36:41.234Z] Removing intermediate container e4471514dfad [2024-05-24T08:36:41.234Z] ---> 096dbc57e5a9 [2024-05-24T08:36:41.234Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2024-05-24T08:36:41.515Z] ---> Running in 1b90dfac6cae [2024-05-24T08:36:41.802Z] Removing intermediate container 1b90dfac6cae [2024-05-24T08:36:41.802Z] ---> 42d7049eb0c4 [2024-05-24T08:36:41.802Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-24T08:36:41.802Z] ---> Running in 2c584a737b91 [2024-05-24T08:36:43.219Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-24T08:36:43.488Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-24T08:36:44.449Z] (1/4) Installing openssh-keygen (9.3_p2-r1) [2024-05-24T08:36:44.449Z] (2/4) Installing libedit (20221030.3.1-r1) [2024-05-24T08:36:44.449Z] (3/4) Installing openssh-client-common (9.3_p2-r1) [2024-05-24T08:36:44.449Z] (4/4) Installing openssh-client-default (9.3_p2-r1) [2024-05-24T08:36:44.449Z] Executing busybox-1.36.1-r5.trigger [2024-05-24T08:36:44.449Z] OK: 271 MiB in 56 packages [2024-05-24T08:36:45.435Z] Removing intermediate container 2c584a737b91 [2024-05-24T08:36:45.435Z] ---> 527eefcf511b [2024-05-24T08:36:45.435Z] Step 8/12 : WORKDIR /device-rest-go [2024-05-24T08:36:45.435Z] ---> Running in 408dfccee514 [2024-05-24T08:36:45.702Z] Removing intermediate container 408dfccee514 [2024-05-24T08:36:45.702Z] ---> 12f8e994657e [2024-05-24T08:36:45.702Z] Step 9/12 : COPY go.mod vendor* ./ [2024-05-24T08:36:52.365Z] ---> 354ade0364cb [2024-05-24T08:36:52.365Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-24T08:36:52.366Z] ---> Running in f45ac9937b5b [2024-05-24T08:37:48.786Z] Removing intermediate container f45ac9937b5b [2024-05-24T08:37:48.786Z] ---> e7b299e814c2 [2024-05-24T08:37:48.786Z] Step 11/12 : COPY . . [2024-05-24T08:37:53.054Z] ---> 55a089211874 [2024-05-24T08:37:53.054Z] Step 12/12 : RUN $MAKE [2024-05-24T08:37:53.054Z] ---> Running in b489b85c75e8 [2024-05-24T08:37:54.035Z] noop [2024-05-24T08:37:54.623Z] Removing intermediate container b489b85c75e8 [2024-05-24T08:37:54.623Z] ---> db8289af0b6c [2024-05-24T08:37:54.891Z] Successfully built db8289af0b6c [2024-05-24T08:37:54.891Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:37:55.321Z] + docker inspect -f . ci-base-image-arm64 [2024-05-24T08:37:55.321Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T08:37:55.582Z] prd-ubuntu20.04-docker-arm64-4c-16g-689 does not seem to be running inside a container [2024-05-24T08:37:55.676Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 ******** ci-base-image-arm64 cat [2024-05-24T08:37:56.959Z] $ docker top 5bed0af1360cab0e1b3c9840d31abf7d9764427394bceda3f8651e5f1f4550dc -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-24T08:37:57.823Z] + go version [2024-05-24T08:37:57.823Z] go version go1.21.9 linux/arm64 [Pipeline] } [2024-05-24T08:37:57.842Z] $ docker stop --time=1 5bed0af1360cab0e1b3c9840d31abf7d9764427394bceda3f8651e5f1f4550dc [2024-05-24T08:37:59.525Z] $ docker rm -f --volumes 5bed0af1360cab0e1b3c9840d31abf7d9764427394bceda3f8651e5f1f4550dc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:38:00.122Z] + docker inspect -f . ci-base-image-arm64 [2024-05-24T08:38:00.123Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T08:38:00.308Z] prd-ubuntu20.04-docker-arm64-4c-16g-689 does not seem to be running inside a container [2024-05-24T08:38:00.377Z] $ 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/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 ******** ci-base-image-arm64 cat [2024-05-24T08:38:01.588Z] $ docker top 7a6ccefd0b2b4c3538450002a7f750bab6724c3004c20c1bde80efea6cb20eff -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-24T08:38:02.434Z] + git config --global --add safe.directory /w/workspace/device-rest-go/3 [Pipeline] fileExists [Pipeline] sh [2024-05-24T08:38:03.104Z] + make test [2024-05-24T08:38:03.104Z] go test ./... -coverprofile=coverage.out ./... [2024-05-24T08:38:05.705Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2024-05-24T08:40:12.414Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2024-05-24T08:40:12.414Z] ok github.com/edgexfoundry/device-rest-go/driver 0.074s coverage: 33.2% of statements [2024-05-24T08:40:12.414Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2024-05-24T08:40:12.414Z] go vet ./... [2024-05-24T08:40:39.126Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2024-05-24T08:40:39.126Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2024-05-24T08:40:39.126Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2024-05-24T08:40:39.146Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] fileExists [Pipeline] sh [2024-05-24T08:40:39.798Z] + go mod tidy [Pipeline] } [2024-05-24T08:40:43.169Z] $ docker stop --time=1 7a6ccefd0b2b4c3538450002a7f750bab6724c3004c20c1bde80efea6cb20eff [2024-05-24T08:40:45.132Z] $ docker rm -f --volumes 7a6ccefd0b2b4c3538450002a7f750bab6724c3004c20c1bde80efea6cb20eff [Pipeline] // withDockerContainer [Pipeline] sh [2024-05-24T08:40:46.493Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2024-05-24T08:40:46.522Z] Warning: overwriting stash ‘coverage-report’ [2024-05-24T08:40:47.468Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2024-05-24T08:40:47.875Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2024-05-24T08:40:48.198Z] + ls -al . [2024-05-24T08:40:48.198Z] total 180 [2024-05-24T08:40:48.198Z] drwxrwxr-x 9 jenkins jenkins 4096 May 24 08:38 . [2024-05-24T08:40:48.198Z] drwxrwxr-x 4 jenkins jenkins 4096 May 24 08:35 .. [2024-05-24T08:40:48.198Z] -rw-rw-r-- 1 jenkins jenkins 151 May 24 08:35 .dockerignore [2024-05-24T08:40:48.198Z] drwxrwxr-x 8 jenkins jenkins 4096 May 24 08:35 .git [2024-05-24T08:40:48.198Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 08:35 .github [2024-05-24T08:40:48.198Z] -rw-rw-r-- 1 jenkins jenkins 256 May 24 08:35 .gitignore [2024-05-24T08:40:48.198Z] -rw-rw-r-- 1 jenkins jenkins 41 May 24 08:35 .golangci.yml [2024-05-24T08:40:48.198Z] -rw-rw-r-- 1 jenkins jenkins 10319 May 24 08:35 Attribution.txt [2024-05-24T08:40:48.198Z] -rw-rw-r-- 1 jenkins jenkins 17685 May 24 08:35 CHANGELOG.md [2024-05-24T08:40:48.198Z] -rw-rw-r-- 1 jenkins jenkins 1687 May 24 08:35 Dockerfile [2024-05-24T08:40:48.198Z] -rw-rw-r-- 1 jenkins jenkins 677 May 24 08:35 GOVERNANCE.md [2024-05-24T08:40:48.198Z] -rw-rw-r-- 1 jenkins jenkins 680 May 24 08:35 Jenkinsfile [2024-05-24T08:40:48.198Z] -rw-rw-r-- 1 jenkins jenkins 11340 May 24 08:35 LICENSE [2024-05-24T08:40:48.198Z] -rw-rw-r-- 1 jenkins jenkins 2010 May 24 08:35 Makefile [2024-05-24T08:40:48.198Z] -rw-rw-r-- 1 jenkins jenkins 620 May 24 08:35 OWNERS.md [2024-05-24T08:40:48.198Z] -rw-rw-r-- 1 jenkins jenkins 3989 May 24 08:35 README.md [2024-05-24T08:40:48.198Z] -rw-rw-r-- 1 jenkins jenkins 11 May 24 08:32 VERSION [2024-05-24T08:40:48.198Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 08:35 bin [2024-05-24T08:40:48.198Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 08:35 cmd [2024-05-24T08:40:48.198Z] -rw-r--r-- 1 jenkins jenkins 14499 May 24 08:40 coverage.out [2024-05-24T08:40:48.198Z] drwxrwxr-x 2 jenkins jenkins 4096 May 24 08:35 driver [2024-05-24T08:40:48.198Z] -rw-rw-r-- 1 jenkins jenkins 3814 May 24 08:35 go.mod [2024-05-24T08:40:48.198Z] -rw-rw-r-- 1 jenkins jenkins 34195 May 24 08:35 go.sum [2024-05-24T08:40:48.198Z] drwxrwxr-x 3 jenkins jenkins 4096 May 24 08:35 openapi [2024-05-24T08:40:48.198Z] drwxrwxr-x 6 jenkins jenkins 4096 May 24 08:35 vendor [2024-05-24T08:40:48.198Z] -rw-rw-r-- 1 jenkins jenkins 713 May 24 08:35 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:40:48.553Z] + 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=26dd2cd913d05f397b62e8034ff483e97214642e --label arch=arm64 --label version=3.1.1-dev.1 . [2024-05-24T08:40:51.149Z] Sending build context to Docker daemon 27.76MB [2024-05-24T08:40:51.149Z] Step 1/26 : ARG BASE=golang:1.21-alpine3.18 [2024-05-24T08:40:51.149Z] Step 2/26 : FROM ${BASE} AS builder [2024-05-24T08:40:51.149Z] ---> db8289af0b6c [2024-05-24T08:40:51.149Z] Step 3/26 : ARG ADD_BUILD_TAGS="" [2024-05-24T08:40:51.149Z] ---> Running in 9f035ef82ab5 [2024-05-24T08:40:51.418Z] Removing intermediate container 9f035ef82ab5 [2024-05-24T08:40:51.418Z] ---> 7bfd403c8305 [2024-05-24T08:40:51.418Z] Step 4/26 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2024-05-24T08:40:51.418Z] ---> Running in feac1cadd93e [2024-05-24T08:40:51.685Z] Removing intermediate container feac1cadd93e [2024-05-24T08:40:51.685Z] ---> 52d517ca2d4d [2024-05-24T08:40:51.685Z] Step 5/26 : ARG ALPINE_PKG_BASE="make git openssh-client" [2024-05-24T08:40:51.685Z] ---> Running in c332bef63ed5 [2024-05-24T08:40:51.959Z] Removing intermediate container c332bef63ed5 [2024-05-24T08:40:51.959Z] ---> 67245cf6bf8c [2024-05-24T08:40:51.959Z] Step 6/26 : ARG ALPINE_PKG_EXTRA="" [2024-05-24T08:40:52.247Z] ---> Running in b1b4ebaadb55 [2024-05-24T08:40:52.534Z] Removing intermediate container b1b4ebaadb55 [2024-05-24T08:40:52.534Z] ---> d15a16972086 [2024-05-24T08:40:52.534Z] Step 7/26 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2024-05-24T08:40:52.534Z] ---> Running in 63c7b94c8964 [2024-05-24T08:40:53.498Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-24T08:40:54.078Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-24T08:40:55.036Z] OK: 271 MiB in 56 packages [2024-05-24T08:40:56.012Z] Removing intermediate container 63c7b94c8964 [2024-05-24T08:40:56.012Z] ---> 5be117c3d6fd [2024-05-24T08:40:56.012Z] Step 8/26 : WORKDIR /device-rest-go [2024-05-24T08:40:56.012Z] ---> Running in 9d66e5a5d794 [2024-05-24T08:40:56.280Z] Removing intermediate container 9d66e5a5d794 [2024-05-24T08:40:56.280Z] ---> 8b01e67030ff [2024-05-24T08:40:56.280Z] Step 9/26 : COPY go.mod vendor* ./ [2024-05-24T08:41:04.508Z] ---> 407d35d4ca49 [2024-05-24T08:41:04.508Z] Step 10/26 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2024-05-24T08:41:04.508Z] ---> Running in d2303d296c7b [2024-05-24T08:41:04.508Z] skipping... [2024-05-24T08:41:05.105Z] Removing intermediate container d2303d296c7b [2024-05-24T08:41:05.105Z] ---> ec2a92ab5d1d [2024-05-24T08:41:05.105Z] Step 11/26 : COPY . . [2024-05-24T08:41:11.741Z] ---> db1432e79cb7 [2024-05-24T08:41:11.741Z] Step 12/26 : RUN $MAKE [2024-05-24T08:41:11.741Z] ---> Running in b9c7f9b19886 [2024-05-24T08:41:12.322Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.1.1-dev.1 -X github.com/edgexfoundry/device-sdk-go/v3/internal/common.SDKVersion=v3.1.1" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2024-05-24T08:43:33.996Z] Removing intermediate container b9c7f9b19886 [2024-05-24T08:43:33.996Z] ---> 29d091359cc1 [2024-05-24T08:43:33.996Z] Step 13/26 : FROM alpine:3.18 [2024-05-24T08:43:33.996Z] 3.18: Pulling from library/alpine [2024-05-24T08:43:33.996Z] c6b39de5b339: Already exists [2024-05-24T08:43:33.996Z] Digest: sha256:11e21d7b981a59554b3f822c49f6e9f57b6068bb74f49c4cd5cc4c663c7e5160 [2024-05-24T08:43:33.996Z] Status: Downloaded newer image for alpine:3.18 [2024-05-24T08:43:33.996Z] ---> 33abbf032149 [2024-05-24T08:43:33.996Z] Step 14/26 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2023: Intel' [2024-05-24T08:43:33.996Z] ---> Running in e9a837762af2 [2024-05-24T08:43:33.996Z] Removing intermediate container e9a837762af2 [2024-05-24T08:43:33.996Z] ---> f29761e2b8e7 [2024-05-24T08:43:33.996Z] Step 15/26 : LABEL Name=device-rest-go Version=${VERSION} [2024-05-24T08:43:33.996Z] ---> Running in 59a8025bf1d0 [2024-05-24T08:43:33.996Z] Removing intermediate container 59a8025bf1d0 [2024-05-24T08:43:33.996Z] ---> 80d3c7373a84 [2024-05-24T08:43:33.996Z] Step 16/26 : RUN apk add --update --no-cache dumb-init [2024-05-24T08:43:33.996Z] ---> Running in 6bddb9626aa4 [2024-05-24T08:43:33.996Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-24T08:43:33.996Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-24T08:43:33.996Z] (1/1) Installing dumb-init (1.2.5-r2) [2024-05-24T08:43:33.996Z] Executing busybox-1.36.1-r5.trigger [2024-05-24T08:43:33.996Z] OK: 8 MiB in 16 packages [2024-05-24T08:43:33.996Z] Removing intermediate container 6bddb9626aa4 [2024-05-24T08:43:33.996Z] ---> 0a96c9e155f4 [2024-05-24T08:43:33.996Z] Step 17/26 : RUN apk --no-cache upgrade [2024-05-24T08:43:33.996Z] ---> Running in 01c6ffe3a148 [2024-05-24T08:43:33.996Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-24T08:43:33.996Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-24T08:43:33.996Z] Upgrading critical system libraries and apk-tools: [2024-05-24T08:43:33.996Z] (1/1) Upgrading apk-tools (2.14.0-r2 -> 2.14.4-r0) [2024-05-24T08:43:33.996Z] Executing busybox-1.36.1-r5.trigger [2024-05-24T08:43:33.996Z] Continuing the upgrade transaction with new apk-tools: [2024-05-24T08:43:33.996Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/aarch64/APKINDEX.tar.gz [2024-05-24T08:43:33.996Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/aarch64/APKINDEX.tar.gz [2024-05-24T08:43:33.996Z] (1/6) Upgrading busybox (1.36.1-r5 -> 1.36.1-r6) [2024-05-24T08:43:33.996Z] Executing busybox-1.36.1-r6.post-upgrade [2024-05-24T08:43:33.996Z] (2/6) Upgrading busybox-binsh (1.36.1-r5 -> 1.36.1-r6) [2024-05-24T08:43:33.996Z] (3/6) Upgrading ca-certificates-bundle (20230506-r0 -> 20240226-r0) [2024-05-24T08:43:33.996Z] (4/6) Upgrading libcrypto3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-24T08:43:33.996Z] (5/6) Upgrading libssl3 (3.1.4-r5 -> 3.1.5-r0) [2024-05-24T08:43:33.996Z] (6/6) Upgrading ssl_client (1.36.1-r5 -> 1.36.1-r6) [2024-05-24T08:43:33.996Z] Executing busybox-1.36.1-r6.trigger [2024-05-24T08:43:33.996Z] OK: 8 MiB in 16 packages [2024-05-24T08:43:34.961Z] Removing intermediate container 01c6ffe3a148 [2024-05-24T08:43:34.961Z] ---> ad9e47b2940d [2024-05-24T08:43:34.961Z] Step 18/26 : COPY --from=builder /device-rest-go/cmd / [2024-05-24T08:43:36.366Z] ---> bdab4f739a88 [2024-05-24T08:43:36.366Z] Step 19/26 : COPY --from=builder /device-rest-go/LICENSE / [2024-05-24T08:43:36.632Z] ---> e7ed811d2343 [2024-05-24T08:43:36.632Z] Step 20/26 : COPY --from=builder /device-rest-go/Attribution.txt / [2024-05-24T08:43:37.214Z] ---> 2d54951feb66 [2024-05-24T08:43:37.214Z] Step 21/26 : EXPOSE 59986 [2024-05-24T08:43:37.214Z] ---> Running in 0a4af67c0945 [2024-05-24T08:43:37.484Z] Removing intermediate container 0a4af67c0945 [2024-05-24T08:43:37.485Z] ---> fa49aca7b50c [2024-05-24T08:43:37.485Z] Step 22/26 : ENTRYPOINT ["/device-rest"] [2024-05-24T08:43:37.485Z] ---> Running in 4fd458f0fbf5 [2024-05-24T08:43:37.753Z] Removing intermediate container 4fd458f0fbf5 [2024-05-24T08:43:37.753Z] ---> a7eebe9cde83 [2024-05-24T08:43:37.753Z] Step 23/26 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2024-05-24T08:43:37.753Z] ---> Running in 5c645d1d679a [2024-05-24T08:43:38.020Z] Removing intermediate container 5c645d1d679a [2024-05-24T08:43:38.020Z] ---> d55bb600b3d9 [2024-05-24T08:43:38.020Z] Step 24/26 : LABEL arch=arm64 [2024-05-24T08:43:38.294Z] ---> Running in f4c8aa5bb6ea [2024-05-24T08:43:38.559Z] Removing intermediate container f4c8aa5bb6ea [2024-05-24T08:43:38.559Z] ---> 886c068436b0 [2024-05-24T08:43:38.559Z] Step 25/26 : LABEL git_sha=26dd2cd913d05f397b62e8034ff483e97214642e [2024-05-24T08:43:38.559Z] ---> Running in 5a30da4e31f2 [2024-05-24T08:43:38.824Z] Removing intermediate container 5a30da4e31f2 [2024-05-24T08:43:38.824Z] ---> fd6b29098418 [2024-05-24T08:43:38.824Z] Step 26/26 : LABEL version=3.1.1-dev.1 [2024-05-24T08:43:38.824Z] ---> Running in abb1578b1fd6 [2024-05-24T08:43:39.090Z] Removing intermediate container abb1578b1fd6 [2024-05-24T08:43:39.090Z] ---> 76a25908ad8e [2024-05-24T08:43:39.090Z] [Warning] One or more build-args [ARCH] were not consumed [2024-05-24T08:43:39.354Z] Successfully built 76a25908ad8e [2024-05-24T08:43:39.618Z] 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 [2024-05-24T08:43:39.752Z] provisioning config files... [2024-05-24T08:43:39.768Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/3@tmp/config3140551755409142224tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:43:40.119Z] ---> ****-login.sh [2024-05-24T08:43:40.119Z] nexus3.edgexfoundry.org:10001 [2024-05-24T08:43:40.119Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:43:40.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:43:40.386Z] Configure a credential helper to remove this warning. See [2024-05-24T08:43:40.386Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:43:40.386Z] [2024-05-24T08:43:40.386Z] Login Succeeded [2024-05-24T08:43:40.386Z] nexus3.edgexfoundry.org:10002 [2024-05-24T08:43:40.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:43:40.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:43:40.651Z] Configure a credential helper to remove this warning. See [2024-05-24T08:43:40.651Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:43:40.651Z] [2024-05-24T08:43:40.651Z] Login Succeeded [2024-05-24T08:43:40.651Z] nexus3.edgexfoundry.org:10003 [2024-05-24T08:43:40.916Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:43:40.916Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:43:40.916Z] Configure a credential helper to remove this warning. See [2024-05-24T08:43:40.916Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:43:40.916Z] [2024-05-24T08:43:40.916Z] Login Succeeded [2024-05-24T08:43:40.916Z] nexus3.edgexfoundry.org:10004 [2024-05-24T08:43:41.182Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:43:41.447Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:43:41.447Z] Configure a credential helper to remove this warning. See [2024-05-24T08:43:41.447Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:43:41.447Z] [2024-05-24T08:43:41.447Z] Login Succeeded [2024-05-24T08:43:41.447Z] ****.io [2024-05-24T08:43:41.711Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-24T08:43:42.356Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.****/config.json. [2024-05-24T08:43:42.356Z] Configure a credential helper to remove this warning. See [2024-05-24T08:43:42.356Z] https://docs.****.com/engine/reference/commandline/login/#credentials-store [2024-05-24T08:43:42.356Z] [2024-05-24T08:43:42.356Z] Login Succeeded [2024-05-24T08:43:42.356Z] ---> ****-login.sh ends [Pipeline] } [2024-05-24T08:43:42.374Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-24T08:43:42.422Z] [edgeX.isLTS] Checking if [napa] matches against LTS streams [[^jakarta$, ^napa$, ^lts-test$]] [Pipeline] echo [2024-05-24T08:43:42.447Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2024-05-24T08:43:42.447Z] 26dd2cd913d05f397b62e8034ff483e97214642e [2024-05-24T08:43:42.447Z] 3.1.1-dev.1 [2024-05-24T08:43:42.447Z] 26dd2cd913d05f397b62e8034ff483e97214642e-3.1.1-dev.1 [2024-05-24T08:43:42.447Z] napa [2024-05-24T08:43:42.447Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:43:42.818Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:26dd2cd913d05f397b62e8034ff483e97214642e [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:43:43.198Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:26dd2cd913d05f397b62e8034ff483e97214642e [2024-05-24T08:43:43.198Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-05-24T08:43:43.198Z] 9f474932c003: Preparing [2024-05-24T08:43:43.198Z] 6b4baeec1263: Preparing [2024-05-24T08:43:43.198Z] ce0a67f976b4: Preparing [2024-05-24T08:43:43.198Z] 72a7d4ca80e7: Preparing [2024-05-24T08:43:43.198Z] bc740e2f1a54: Preparing [2024-05-24T08:43:43.198Z] 7c504f21be85: Preparing [2024-05-24T08:43:43.198Z] 7c504f21be85: Waiting [2024-05-24T08:43:43.484Z] 9f474932c003: Pushed [2024-05-24T08:43:43.484Z] 6b4baeec1263: Pushed [2024-05-24T08:43:43.484Z] bc740e2f1a54: Pushed [2024-05-24T08:43:43.484Z] 7c504f21be85: Layer already exists [2024-05-24T08:43:44.907Z] 72a7d4ca80e7: Pushed [2024-05-24T08:43:49.144Z] ce0a67f976b4: Pushed [2024-05-24T08:43:49.144Z] 26dd2cd913d05f397b62e8034ff483e97214642e: digest: sha256:96bf6f32479761baec8108a9d6d4b61af4dd41b8fcea342fe5f48b261b2065fd size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:43:49.497Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:43:49.850Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.1-dev.1 [2024-05-24T08:43:49.850Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-05-24T08:43:49.850Z] 9f474932c003: Preparing [2024-05-24T08:43:49.850Z] 6b4baeec1263: Preparing [2024-05-24T08:43:49.850Z] ce0a67f976b4: Preparing [2024-05-24T08:43:49.850Z] 72a7d4ca80e7: Preparing [2024-05-24T08:43:49.850Z] bc740e2f1a54: Preparing [2024-05-24T08:43:49.850Z] 7c504f21be85: Preparing [2024-05-24T08:43:49.850Z] 7c504f21be85: Waiting [2024-05-24T08:43:49.850Z] bc740e2f1a54: Layer already exists [2024-05-24T08:43:49.850Z] 9f474932c003: Layer already exists [2024-05-24T08:43:49.850Z] ce0a67f976b4: Layer already exists [2024-05-24T08:43:49.850Z] 72a7d4ca80e7: Layer already exists [2024-05-24T08:43:49.850Z] 6b4baeec1263: Layer already exists [2024-05-24T08:43:49.850Z] 7c504f21be85: Layer already exists [2024-05-24T08:43:49.850Z] 3.1.1-dev.1: digest: sha256:96bf6f32479761baec8108a9d6d4b61af4dd41b8fcea342fe5f48b261b2065fd size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:43:50.208Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:26dd2cd913d05f397b62e8034ff483e97214642e-3.1.1-dev.1 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:43:50.563Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:26dd2cd913d05f397b62e8034ff483e97214642e-3.1.1-dev.1 [2024-05-24T08:43:50.563Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-05-24T08:43:50.563Z] 9f474932c003: Preparing [2024-05-24T08:43:50.563Z] 6b4baeec1263: Preparing [2024-05-24T08:43:50.563Z] ce0a67f976b4: Preparing [2024-05-24T08:43:50.563Z] 72a7d4ca80e7: Preparing [2024-05-24T08:43:50.563Z] bc740e2f1a54: Preparing [2024-05-24T08:43:50.563Z] 7c504f21be85: Preparing [2024-05-24T08:43:50.563Z] 9f474932c003: Layer already exists [2024-05-24T08:43:50.563Z] 72a7d4ca80e7: Layer already exists [2024-05-24T08:43:50.563Z] bc740e2f1a54: Layer already exists [2024-05-24T08:43:50.563Z] ce0a67f976b4: Layer already exists [2024-05-24T08:43:50.563Z] 6b4baeec1263: Layer already exists [2024-05-24T08:43:50.563Z] 7c504f21be85: Layer already exists [2024-05-24T08:43:50.563Z] 26dd2cd913d05f397b62e8034ff483e97214642e-3.1.1-dev.1: digest: sha256:96bf6f32479761baec8108a9d6d4b61af4dd41b8fcea342fe5f48b261b2065fd size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:43:51.185Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:napa [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:43:51.535Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:napa [2024-05-24T08:43:51.536Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2024-05-24T08:43:51.536Z] 9f474932c003: Preparing [2024-05-24T08:43:51.536Z] 6b4baeec1263: Preparing [2024-05-24T08:43:51.536Z] ce0a67f976b4: Preparing [2024-05-24T08:43:51.536Z] 72a7d4ca80e7: Preparing [2024-05-24T08:43:51.536Z] bc740e2f1a54: Preparing [2024-05-24T08:43:51.536Z] 7c504f21be85: Preparing [2024-05-24T08:43:51.536Z] 7c504f21be85: Waiting [2024-05-24T08:43:51.536Z] bc740e2f1a54: Layer already exists [2024-05-24T08:43:51.536Z] ce0a67f976b4: Layer already exists [2024-05-24T08:43:51.536Z] 9f474932c003: Layer already exists [2024-05-24T08:43:51.536Z] 6b4baeec1263: Layer already exists [2024-05-24T08:43:51.536Z] 72a7d4ca80e7: Layer already exists [2024-05-24T08:43:51.536Z] 7c504f21be85: Layer already exists [2024-05-24T08:43:51.536Z] napa: digest: sha256:96bf6f32479761baec8108a9d6d4b61af4dd41b8fcea342fe5f48b261b2065fd size: 1576 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2024-05-24T08:43:51.616Z] ===================================================== [Pipeline] echo [2024-05-24T08:43:51.629Z] taggedImages: [2024-05-24T08:43:51.629Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:26dd2cd913d05f397b62e8034ff483e97214642e [2024-05-24T08:43:51.629Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.1.1-dev.1 [2024-05-24T08:43:51.629Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:26dd2cd913d05f397b62e8034ff483e97214642e-3.1.1-dev.1 [2024-05-24T08:43:51.629Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:napa [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:43:52.004Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-24T08:43:52.005Z] [2024-05-24T08:43:52.005Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:43:52.336Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-24T08:43:52.336Z] arm64: Pulling from edgex-lftools-log-publisher [2024-05-24T08:43:52.336Z] 8998bd30e6a1: Pulling fs layer [2024-05-24T08:43:52.336Z] 04944245beec: Pulling fs layer [2024-05-24T08:43:52.336Z] 699f458cf7ca: Pulling fs layer [2024-05-24T08:43:52.336Z] 765212b225bb: Pulling fs layer [2024-05-24T08:43:52.336Z] f23df028b6ca: Pulling fs layer [2024-05-24T08:43:52.336Z] d65c8cfc05b1: Pulling fs layer [2024-05-24T08:43:52.336Z] 2437ff75d9bd: Pulling fs layer [2024-05-24T08:43:52.336Z] 765212b225bb: Waiting [2024-05-24T08:43:52.336Z] f23df028b6ca: Waiting [2024-05-24T08:43:52.336Z] d65c8cfc05b1: Waiting [2024-05-24T08:43:52.336Z] 2437ff75d9bd: Waiting [2024-05-24T08:43:52.605Z] 04944245beec: Verifying Checksum [2024-05-24T08:43:52.605Z] 04944245beec: Download complete [2024-05-24T08:43:52.605Z] 765212b225bb: Verifying Checksum [2024-05-24T08:43:52.605Z] 765212b225bb: Download complete [2024-05-24T08:43:52.605Z] f23df028b6ca: Verifying Checksum [2024-05-24T08:43:52.605Z] f23df028b6ca: Download complete [2024-05-24T08:43:52.605Z] d65c8cfc05b1: Download complete [2024-05-24T08:43:52.878Z] 699f458cf7ca: Verifying Checksum [2024-05-24T08:43:52.878Z] 699f458cf7ca: Download complete [2024-05-24T08:43:53.146Z] 8998bd30e6a1: Verifying Checksum [2024-05-24T08:43:53.146Z] 8998bd30e6a1: Download complete [2024-05-24T08:43:55.723Z] 2437ff75d9bd: Verifying Checksum [2024-05-24T08:43:55.723Z] 2437ff75d9bd: Download complete [2024-05-24T08:43:58.298Z] 8998bd30e6a1: Pull complete [2024-05-24T08:43:58.564Z] 04944245beec: Pull complete [2024-05-24T08:43:59.968Z] 699f458cf7ca: Pull complete [2024-05-24T08:44:00.238Z] 765212b225bb: Pull complete [2024-05-24T08:44:01.196Z] f23df028b6ca: Pull complete [2024-05-24T08:44:01.196Z] d65c8cfc05b1: Pull complete [2024-05-24T08:44:19.394Z] 2437ff75d9bd: Pull complete [2024-05-24T08:44:19.394Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2024-05-24T08:44:19.394Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2024-05-24T08:44:19.394Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T08:44:19.589Z] prd-ubuntu20.04-docker-arm64-4c-16g-689 does not seem to be running inside a container [2024-05-24T08:44:19.648Z] $ 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/3 -v /w/workspace/device-rest-go/3:/w/workspace/device-rest-go/3:rw,z -v /w/workspace/device-rest-go/3@tmp:/w/workspace/device-rest-go/3@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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2024-05-24T08:44:22.316Z] $ docker top 8d38b24817154152070d4196b29722002123eaef25d1c5821bed1ea41136bde6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:44:23.130Z] ---> job-cost.sh [2024-05-24T08:44:23.130Z] lf-activate-venv: SKIPPING [2024-05-24T08:44:23.130Z] INFO: No Stack... [2024-05-24T08:44:23.707Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2024-05-24T08:44:24.284Z] INFO: Archiving Costs [Pipeline] sh [2024-05-24T08:44:24.909Z] + cat /w/workspace/device-rest-go/3/archives/cost.csv [2024-05-24T08:44:24.909Z] + cut -d, -f6 [Pipeline] lock [2024-05-24T08:44:24.928Z] Trying to acquire lock on [Resource: jenkins-edgexfoundry-device-rest-go-napa-3-stack-cost] [2024-05-24T08:44:24.938Z] Resource [jenkins-edgexfoundry-device-rest-go-napa-3-stack-cost] did not exist. Created. [2024-05-24T08:44:24.945Z] Lock acquired on [Resource: jenkins-edgexfoundry-device-rest-go-napa-3-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2024-05-24T08:44:25.277Z] /w/workspace/device-rest-go/3@tmp/durable-c381f57e/script.sh.copy: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2024-05-24T08:44:25.920Z] + echo total: 0.10999999940395355 [Pipeline] stash [2024-05-24T08:44:25.943Z] Warning: overwriting stash ‘stack-cost’ [2024-05-24T08:44:26.312Z] Stashed 1 file(s) [Pipeline] } [2024-05-24T08:44:26.324Z] Lock released on resource [Resource: jenkins-edgexfoundry-device-rest-go-napa-3-stack-cost] [Pipeline] // lock [Pipeline] } [2024-05-24T08:44:26.353Z] $ docker stop --time=1 8d38b24817154152070d4196b29722002123eaef25d1c5821bed1ea41136bde6 [2024-05-24T08:44:27.831Z] $ docker rm -f --volumes 8d38b24817154152070d4196b29722002123eaef25d1c5821bed1ea41136bde6 [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 [2024-05-24T08:44:28.270Z] provisioning config files... [2024-05-24T08:44:28.301Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config4682086015408752167tmp [Pipeline] { [Pipeline] sh [2024-05-24T08:44:28.637Z] + set +x [2024-05-24T08:44:28.637Z] + + curl -s https://codecov.io/bash [2024-05-24T08:44:28.637Z] bash -s -- [2024-05-24T08:44:28.637Z] [2024-05-24T08:44:28.637Z] _____ _ [2024-05-24T08:44:28.637Z] / ____| | | [2024-05-24T08:44:28.637Z] | | ___ __| | ___ ___ _____ __ [2024-05-24T08:44:28.637Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2024-05-24T08:44:28.637Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2024-05-24T08:44:28.637Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2024-05-24T08:44:28.637Z] Bash-1.0.6 [2024-05-24T08:44:28.637Z] [2024-05-24T08:44:28.637Z] [2024-05-24T08:44:28.637Z] ==> git version 2.25.1 found [2024-05-24T08:44:28.637Z] ==> 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 [2024-05-24T08:44:28.637Z] Release-Date: 2020-01-08 [2024-05-24T08:44:28.638Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2024-05-24T08:44:28.638Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2024-05-24T08:44:28.638Z] ==> Jenkins CI detected. [2024-05-24T08:44:28.638Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_napa [2024-05-24T08:44:28.638Z] project root: . [2024-05-24T08:44:28.638Z] --> token set from env [2024-05-24T08:44:28.638Z] Yaml found at: vendor/github.com/labstack/echo/v4/codecov.yml [2024-05-24T08:44:28.638Z] ==> Running gcov in . (disable via -X gcov) [2024-05-24T08:44:28.638Z] ==> Python coveragepy not found [2024-05-24T08:44:28.638Z] ==> Searching for coverage reports in: [2024-05-24T08:44:28.638Z] + . [2024-05-24T08:44:28.638Z] -> Found 1 reports [2024-05-24T08:44:28.638Z] ==> Detecting git/mercurial file structure [2024-05-24T08:44:28.897Z] ==> Reading reports [2024-05-24T08:44:28.897Z] + ./coverage.out bytes=14499 [2024-05-24T08:44:28.897Z] ==> Appending adjustments [2024-05-24T08:44:28.897Z] https://docs.codecov.io/docs/fixing-reports [2024-05-24T08:44:28.897Z] + Found adjustments [2024-05-24T08:44:28.897Z] ==> Gzipping contents [2024-05-24T08:44:28.897Z] 16K /tmp/codecov.1NfExF.gz [2024-05-24T08:44:28.897Z] ==> Uploading reports [2024-05-24T08:44:28.897Z] url: https://codecov.io [2024-05-24T08:44:28.897Z] query: branch=napa&commit=26dd2cd913d05f397b62e8034ff483e97214642e&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fnapa%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-05-24T08:44:28.897Z] -> Pinging Codecov [2024-05-24T08:44:28.897Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=****&branch=napa&commit=26dd2cd913d05f397b62e8034ff483e97214642e&build=3&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fnapa%2F3%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2024-05-24T08:44:29.156Z] -> Uploading to [2024-05-24T08:44:29.156Z] https://storage.googleapis.com/codecov/v4/raw/2024-05-24/4E5D53B4F1F92C436F7061BF334D961C/26dd2cd913d05f397b62e8034ff483e97214642e/c3778888-0ee5-444a-a35f-3720fa12541f.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20240524%2Fus-west2%2Fs3%2Faws4_request&X-Amz-Date=20240524T084428Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=cef7c4885ed5fde89f2ab91033a27d860cd58e01c79f89c02f949e97e73ca24c [2024-05-24T08:44:29.156Z] % Total % Received % Xferd Average Speed Time Time Time Current [2024-05-24T08:44:29.156Z] Dload Upload Total Spent Left Speed [2024-05-24T08:44:29.156Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 14111 0 0 100 14111 0 62715 --:--:-- --:--:-- --:--:-- 62715 [2024-05-24T08:44:29.416Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/26dd2cd913d05f397b62e8034ff483e97214642e [Pipeline] } [2024-05-24T08:44:29.423Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2024-05-24T08:44:29.565Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2024-05-24T08:44:29.581Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:44:29.894Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-24T08:44:29.894Z] [2024-05-24T08:44:29.894Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:44:30.203Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-24T08:44:30.203Z] latest: Pulling from edgex-devops/edgex-snyk-go [2024-05-24T08:44:30.203Z] 619be1103602: Already exists [2024-05-24T08:44:30.203Z] f8ea3408117e: Pulling fs layer [2024-05-24T08:44:30.203Z] 91320369b822: Pulling fs layer [2024-05-24T08:44:30.203Z] 0406650e8295: Pulling fs layer [2024-05-24T08:44:30.203Z] 4f4fb700ef54: Pulling fs layer [2024-05-24T08:44:30.203Z] 96d80e3f36e1: Pulling fs layer [2024-05-24T08:44:30.203Z] bcf3aedb951c: Pulling fs layer [2024-05-24T08:44:30.203Z] 96d80e3f36e1: Waiting [2024-05-24T08:44:30.203Z] 4f4fb700ef54: Waiting [2024-05-24T08:44:30.203Z] bcf3aedb951c: Waiting [2024-05-24T08:44:30.203Z] 0406650e8295: Verifying Checksum [2024-05-24T08:44:30.203Z] 0406650e8295: Download complete [2024-05-24T08:44:30.203Z] f8ea3408117e: Verifying Checksum [2024-05-24T08:44:30.203Z] f8ea3408117e: Download complete [2024-05-24T08:44:30.203Z] 4f4fb700ef54: Verifying Checksum [2024-05-24T08:44:30.203Z] 4f4fb700ef54: Download complete [2024-05-24T08:44:30.467Z] f8ea3408117e: Pull complete [2024-05-24T08:44:30.467Z] 96d80e3f36e1: Verifying Checksum [2024-05-24T08:44:30.467Z] 96d80e3f36e1: Download complete [2024-05-24T08:44:30.742Z] 91320369b822: Verifying Checksum [2024-05-24T08:44:30.742Z] 91320369b822: Download complete [2024-05-24T08:44:31.313Z] bcf3aedb951c: Verifying Checksum [2024-05-24T08:44:31.313Z] bcf3aedb951c: Download complete [2024-05-24T08:44:33.848Z] 91320369b822: Pull complete [2024-05-24T08:44:33.848Z] 0406650e8295: Pull complete [2024-05-24T08:44:33.848Z] 4f4fb700ef54: Pull complete [2024-05-24T08:44:34.106Z] 96d80e3f36e1: Pull complete [2024-05-24T08:44:36.640Z] bcf3aedb951c: Pull complete [2024-05-24T08:44:36.640Z] Digest: sha256:c73d2844e4fc57f5aa9e06c5c2de6da6b3046f14c04b5c54aa9a8d6bbc057662 [2024-05-24T08:44:36.640Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [2024-05-24T08:44:36.640Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T08:44:36.744Z] prd-ubuntu20.04-docker-8c-8g-687 does not seem to be running inside a container [2024-05-24T08:44:36.778Z] $ 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_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:latest cat [2024-05-24T08:44:39.819Z] $ docker top 4cec004bc240f07fead0f26bba3568cd88caed021e9d596072e903fbde1f0ecc -eo pid,comm [Pipeline] { [Pipeline] echo [2024-05-24T08:44:39.881Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:napa' [Pipeline] sh [2024-05-24T08:44:40.156Z] + set -o pipefail [2024-05-24T08:44:40.156Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:napa' [2024-05-24T08:44:42.064Z] [2024-05-24T08:44:42.064Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_napa... [2024-05-24T08:44:42.064Z] [2024-05-24T08:44:42.064Z] 'go list -json -deps ./...' command failed with error: error obtaining VCS status: exit status 128 [2024-05-24T08:44:42.064Z] Use -buildvcs=false to disable VCS stamping. [2024-05-24T08:44:42.064Z] [Pipeline] } [2024-05-24T08:44:42.333Z] $ docker stop --time=1 4cec004bc240f07fead0f26bba3568cd88caed021e9d596072e903fbde1f0ecc [2024-05-24T08:44:43.980Z] $ docker rm -f --volumes 4cec004bc240f07fead0f26bba3568cd88caed021e9d596072e903fbde1f0ecc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2024-05-24T08:44:44.083Z] [edgeXSnyk] Exit Code: 2 [Pipeline] error [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] stage [Pipeline] { (Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Semver" skipped due to earlier failure(s) [Pipeline] getContext [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2024-05-24T08:44:44.805Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_napa/archives ] [2024-05-24T08:44:44.805Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_napa/archives [2024-05-24T08:44:44.805Z] total 16 [2024-05-24T08:44:44.805Z] drwxr-xr-x 3 root root 4096 May 24 08:34 . [2024-05-24T08:44:44.805Z] drwxrwxr-x 11 jenkins jenkins 4096 May 24 08:34 .. [2024-05-24T08:44:44.805Z] drwxr-xr-x 2 root root 4096 May 24 08:34 cost [2024-05-24T08:44:44.805Z] -rw-r--r-- 1 root root 84 May 24 08:34 cost.csv [2024-05-24T08:44:44.805Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_napa/archives [2024-05-24T08:44:44.805Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_napa/archives [2024-05-24T08:44:44.805Z] total 16 [2024-05-24T08:44:44.805Z] drwxr-xr-x 3 jenkins jenkins 4096 May 24 08:34 . [2024-05-24T08:44:44.805Z] drwxrwxr-x 11 jenkins jenkins 4096 May 24 08:34 .. [2024-05-24T08:44:44.805Z] drwxr-xr-x 2 jenkins jenkins 4096 May 24 08:34 cost [2024-05-24T08:44:44.805Z] -rw-r--r-- 1 jenkins jenkins 84 May 24 08:34 cost.csv [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:44:45.094Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:44:45.942Z] ---> package-listing.sh [2024-05-24T08:44:45.942Z] ++ facter osfamily [2024-05-24T08:44:45.942Z] ++ tr '[:upper:]' '[:lower:]' [2024-05-24T08:44:46.199Z] + OS_FAMILY=debian [2024-05-24T08:44:46.199Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_napa [2024-05-24T08:44:46.199Z] + START_PACKAGES=/tmp/packages_start.txt [2024-05-24T08:44:46.199Z] + END_PACKAGES=/tmp/packages_end.txt [2024-05-24T08:44:46.199Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2024-05-24T08:44:46.199Z] + PACKAGES=/tmp/packages_start.txt [2024-05-24T08:44:46.199Z] + '[' /w/workspace/edgexfoundry_device-rest-go_napa ']' [2024-05-24T08:44:46.199Z] + PACKAGES=/tmp/packages_end.txt [2024-05-24T08:44:46.199Z] + case "${OS_FAMILY}" in [2024-05-24T08:44:46.199Z] + dpkg -l [2024-05-24T08:44:46.199Z] + grep '^ii' [2024-05-24T08:44:46.199Z] + '[' -f /tmp/packages_start.txt ']' [2024-05-24T08:44:46.199Z] + '[' -f /tmp/packages_end.txt ']' [2024-05-24T08:44:46.199Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2024-05-24T08:44:46.199Z] + '[' /w/workspace/edgexfoundry_device-rest-go_napa ']' [2024-05-24T08:44:46.199Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_napa/archives/ [2024-05-24T08:44:46.199Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_napa/archives/ [Pipeline] echo [2024-05-24T08:44:46.210Z] 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_napa/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2024-05-24T08:44:46.484Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2024-05-24T08:44:47.043Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2024-05-24T08:44:47.043Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2024-05-24T08:44:47.119Z] prd-ubuntu20.04-docker-8c-8g-687 does not seem to be running inside a container [2024-05-24T08:44:47.146Z] $ 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_napa/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_napa -v /w/workspace/edgexfoundry_device-rest-go_napa:/w/workspace/edgexfoundry_device-rest-go_napa:rw,z -v /w/workspace/edgexfoundry_device-rest-go_napa@tmp:/w/workspace/edgexfoundry_device-rest-go_napa@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-lftools-log-publisher:latest cat [2024-05-24T08:44:47.380Z] $ docker top a7c21a350aea35a2885488dafb75f2090fd2b16571c04265e211b8d4d0456653 -eo pid,comm [Pipeline] { [Pipeline] sh [2024-05-24T08:44:47.724Z] + touch /tmp/pre-build-complete [Pipeline] sh [2024-05-24T08:44:48.005Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2024-05-24T08:44:48.286Z] + ls /var/log/sa-host [2024-05-24T08:44:48.286Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2024-05-24T08:44:48.365Z] provisioning config files... [2024-05-24T08:44:48.374Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_napa@tmp/config15183508225260519130tmp [Pipeline] { [Pipeline] echo [2024-05-24T08:44:48.392Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:44:48.673Z] ---> create-netrc.sh [Pipeline] } [2024-05-24T08:44:48.679Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:44:49.008Z] ---> python-tools-install.sh [Pipeline] echo [2024-05-24T08:44:49.017Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:44:49.295Z] ---> sudo-logs.sh [2024-05-24T08:44:49.295Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2024-05-24T08:44:49.330Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:44:49.608Z] ---> job-cost.sh [2024-05-24T08:44:49.608Z] lf-activate-venv: SKIPPING [2024-05-24T08:44:49.608Z] DEBUG: total: 0.2199999988079071 [2024-05-24T08:44:49.608Z] INFO: Retrieving Stack Cost... [2024-05-24T08:44:50.174Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2024-05-24T08:44:50.433Z] INFO: Archiving Costs [Pipeline] echo [2024-05-24T08:44:50.445Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2024-05-24T08:44:50.724Z] ---> logs-deploy.sh [2024-05-24T08:44:50.724Z] lf-activate-venv: SKIPPING [2024-05-24T08:44:50.724Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/napa/3 [2024-05-24T08:44:50.724Z] INFO: archiving workspace using pattern(s): [2024-05-24T08:44:51.659Z] Archives upload complete. [2024-05-24T08:44:51.659Z] INFO: archiving logs to Nexus