Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from b8541e7e07d14b35bcb3c6fb0ee347edefdec343 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-ssh14847732049994400475.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 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-ssh9835288666727634797.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 cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 The recommended git tool is: git using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Fetching with tags Fetching upstream changes from git@github.com:edgexfoundry/edgex-global-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/711e2b78f836f82711d3b25fb9937a6f21c7d85885a63faf9727f7092bdaef82@tmp/jenkins-gitclient-ssh17226985213827974636.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 # timeout=10 Commit message: "Merge pull request #420 from bill-mahoney/levski-update" > 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-ssh16542260092186273166.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 65355178549468b165f8106641c96c3190b1d843 The recommended git tool is: NONE using credential edgex-jenkins-ssh > git rev-parse --resolve-git-dir /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e/.git # timeout=10 Fetching changes from the remote Git repository > git config remote.origin.url git@github.com:lfit/releng-pipelines.git # timeout=10 Fetching without tags Fetching upstream changes from git@github.com:lfit/releng-pipelines.git > git --version # timeout=10 > git --version # 'git version 2.16.6' using GIT_SSH to set credentials SSH Credentials for GitHub [INFO] Currently running in a labeled security context [INFO] Currently SELinux is 'enforcing' on the host > /usr/bin/chcon --type=ssh_home_t /var/lib/jenkins/jobs/edgexfoundry/jobs/device-rest-go/branches/main/workspace@libs/43bcb2cb36fa890fc8ffff9daeee975b45f005d05d2c7bdedc52bb4b4373df4e@tmp/jenkins-gitclient-ssh15363768152268652616.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.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-5003 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b8541e7e07d14b35bcb3c6fb0ee347edefdec343 (main) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b8541e7e07d14b35bcb3c6fb0ee347edefdec343 # timeout=10 Commit message: "feat!: Use latest SDK for MessageBus Request API (#247)" > git rev-list --no-walk 83d0d95cb873d118c9d8fcbcde0c6c79336165c6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-07T22:45:09.883Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-07T22:45:09.923Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-07T22:45:09.935Z] ========================================================= [2023-02-07T22:45:09.935Z] EdgeX Global Pipelines Version Info [2023-02-07T22:45:09.935Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:45:10.658Z] ------------------- [2023-02-07T22:45:10.658Z] stable info: [2023-02-07T22:45:10.658Z] ------------------- [2023-02-07T22:45:10.658Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-07T22:45:10.658Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-07T22:45:10.658Z] Message: update stable to v1.0.244 [2023-02-07T22:45:11.227Z] ------------------- [2023-02-07T22:45:11.227Z] experimental info: [2023-02-07T22:45:11.227Z] ------------------- [2023-02-07T22:45:11.227Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-07T22:45:11.228Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-07T22:45:11.228Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-07T22:45:11.380Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-02-07T22:45:11.389Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-02-07T22:45:11.398Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-07T22:45:11.406Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-07T22:45:11.415Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-07T22:45:11.423Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-07T22:45:11.436Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-07T22:45:11.448Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-07T22:45:11.462Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-07T22:45:11.473Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-07T22:45:11.484Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-07T22:45:11.496Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-02-07T22:45:11.511Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-07T22:45:11.521Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-07T22:45:11.530Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-07T22:45:11.538Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-07T22:45:11.547Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-07T22:45:11.556Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-07T22:45:11.565Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-07T22:45:11.578Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-07T22:45:11.590Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-07T22:45:11.602Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-07T22:45:11.615Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-07T22:45:11.628Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-07T22:45:11.639Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-07T22:45:11.650Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-07T22:45:11.662Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-07T22:45:11.677Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-02-07T22:45:11.692Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-02-07T22:45:11.703Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-02-07T22:45:11.714Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = b8541e7e07d14b35bcb3c6fb0ee347edefdec343 [Pipeline] echo [2023-02-07T22:45:11.730Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = b8541e7 [Pipeline] echo [2023-02-07T22:45:11.740Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-07T22:45:11.779Z] provisioning config files... [2023-02-07T22:45:11.792Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2050662986770633437tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:45:12.092Z] ---> docker-login.sh [2023-02-07T22:45:12.092Z] nexus3.edgexfoundry.org:10001 [2023-02-07T22:45:12.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:45:12.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:45:12.353Z] Configure a credential helper to remove this warning. See [2023-02-07T22:45:12.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:45:12.353Z] [2023-02-07T22:45:12.353Z] Login Succeeded [2023-02-07T22:45:12.353Z] nexus3.edgexfoundry.org:10002 [2023-02-07T22:45:12.353Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:45:12.353Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:45:12.353Z] Configure a credential helper to remove this warning. See [2023-02-07T22:45:12.353Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:45:12.353Z] [2023-02-07T22:45:12.353Z] Login Succeeded [2023-02-07T22:45:12.353Z] nexus3.edgexfoundry.org:10003 [2023-02-07T22:45:12.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:45:12.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:45:12.613Z] Configure a credential helper to remove this warning. See [2023-02-07T22:45:12.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:45:12.613Z] [2023-02-07T22:45:12.613Z] Login Succeeded [2023-02-07T22:45:12.613Z] nexus3.edgexfoundry.org:10004 [2023-02-07T22:45:12.613Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:45:12.613Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:45:12.613Z] Configure a credential helper to remove this warning. See [2023-02-07T22:45:12.613Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:45:12.613Z] [2023-02-07T22:45:12.613Z] Login Succeeded [2023-02-07T22:45:12.613Z] docker.io [2023-02-07T22:45:12.872Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:45:13.132Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:45:13.132Z] Configure a credential helper to remove this warning. See [2023-02-07T22:45:13.132Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:45:13.132Z] [2023-02-07T22:45:13.132Z] Login Succeeded [2023-02-07T22:45:13.132Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T22:45:13.140Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-07T22:45:13.508Z] + git rev-list -1 --merges b8541e7e07d14b35bcb3c6fb0ee347edefdec343~1..b8541e7e07d14b35bcb3c6fb0ee347edefdec343 [Pipeline] echo [2023-02-07T22:45:13.567Z] -----------> git rev-list -1 --merges b8541e7e07d14b35bcb3c6fb0ee347edefdec343~1..b8541e7e07d14b35bcb3c6fb0ee347edefdec343 b8541e7e07d14b35bcb3c6fb0ee347edefdec343 [false] [Pipeline] sh [2023-02-07T22:45:13.855Z] + git log --format=format:%s -1 b8541e7e07d14b35bcb3c6fb0ee347edefdec343 [Pipeline] echo [2023-02-07T22:45:13.872Z] ========================================================= [2023-02-07T22:45:13.872Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-07T22:45:13.872Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-07T22:45:14.197Z] + git log --format=format:%s -1 b8541e7e07d14b35bcb3c6fb0ee347edefdec343 [Pipeline] echo [2023-02-07T22:45:14.208Z] [semverPrep] GIT_COMMIT: b8541e7e07d14b35bcb3c6fb0ee347edefdec343, Commit Message: feat!: Use latest SDK for MessageBus Request API (#247) [Pipeline] echo [2023-02-07T22:45:14.220Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-07T22:45:14.563Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-07T22:45:14.564Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-07T22:45:14.564Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-07T22:45:14.564Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-07T22:45:14.564Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-07T22:45:14.564Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-07T22:45:14.564Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:45:14.922Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T22:45:14.922Z] [2023-02-07T22:45:14.922Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:45:15.222Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T22:45:15.222Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-07T22:45:15.222Z] b85a868b505f: Pulling fs layer [2023-02-07T22:45:15.222Z] e2be974225ed: Pulling fs layer [2023-02-07T22:45:15.222Z] 339a4e72a1f5: Pulling fs layer [2023-02-07T22:45:15.222Z] 988bab9f4d93: Pulling fs layer [2023-02-07T22:45:15.222Z] 1469e6f7b9e6: Pulling fs layer [2023-02-07T22:45:15.222Z] eaf3925da568: Pulling fs layer [2023-02-07T22:45:15.222Z] bab4dde63d76: Pulling fs layer [2023-02-07T22:45:15.222Z] bde34c3a00c8: Pulling fs layer [2023-02-07T22:45:15.222Z] b352a97aabf1: Pulling fs layer [2023-02-07T22:45:15.222Z] 4872d77fe225: Pulling fs layer [2023-02-07T22:45:15.222Z] 5851b861e8e6: Pulling fs layer [2023-02-07T22:45:15.222Z] 988bab9f4d93: Waiting [2023-02-07T22:45:15.222Z] 1469e6f7b9e6: Waiting [2023-02-07T22:45:15.222Z] 4872d77fe225: Waiting [2023-02-07T22:45:15.222Z] 5851b861e8e6: Waiting [2023-02-07T22:45:15.222Z] bde34c3a00c8: Waiting [2023-02-07T22:45:15.222Z] bab4dde63d76: Waiting [2023-02-07T22:45:15.222Z] eaf3925da568: Waiting [2023-02-07T22:45:15.222Z] b352a97aabf1: Waiting [2023-02-07T22:45:15.222Z] e2be974225ed: Download complete [2023-02-07T22:45:15.222Z] 988bab9f4d93: Download complete [2023-02-07T22:45:15.483Z] 339a4e72a1f5: Verifying Checksum [2023-02-07T22:45:15.483Z] 339a4e72a1f5: Download complete [2023-02-07T22:45:15.483Z] eaf3925da568: Verifying Checksum [2023-02-07T22:45:15.483Z] eaf3925da568: Download complete [2023-02-07T22:45:15.751Z] 1469e6f7b9e6: Verifying Checksum [2023-02-07T22:45:15.751Z] 1469e6f7b9e6: Download complete [2023-02-07T22:45:15.751Z] bde34c3a00c8: Download complete [2023-02-07T22:45:15.751Z] b85a868b505f: Verifying Checksum [2023-02-07T22:45:15.751Z] b85a868b505f: Download complete [2023-02-07T22:45:15.751Z] 4872d77fe225: Verifying Checksum [2023-02-07T22:45:15.751Z] 4872d77fe225: Download complete [2023-02-07T22:45:15.751Z] 5851b861e8e6: Verifying Checksum [2023-02-07T22:45:15.751Z] 5851b861e8e6: Download complete [2023-02-07T22:45:15.751Z] b352a97aabf1: Verifying Checksum [2023-02-07T22:45:15.751Z] b352a97aabf1: Download complete [2023-02-07T22:45:16.012Z] bab4dde63d76: Verifying Checksum [2023-02-07T22:45:16.012Z] bab4dde63d76: Download complete [2023-02-07T22:45:17.391Z] b85a868b505f: Pull complete [2023-02-07T22:45:17.972Z] e2be974225ed: Pull complete [2023-02-07T22:45:18.908Z] 339a4e72a1f5: Pull complete [2023-02-07T22:45:19.168Z] 988bab9f4d93: Pull complete [2023-02-07T22:45:20.107Z] 1469e6f7b9e6: Pull complete [2023-02-07T22:45:20.368Z] eaf3925da568: Pull complete [2023-02-07T22:45:22.283Z] bab4dde63d76: Pull complete [2023-02-07T22:45:22.283Z] bde34c3a00c8: Pull complete [2023-02-07T22:45:22.543Z] b352a97aabf1: Pull complete [2023-02-07T22:45:22.543Z] 4872d77fe225: Pull complete [2023-02-07T22:45:22.543Z] 5851b861e8e6: Pull complete [2023-02-07T22:45:22.802Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-07T22:45:22.802Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T22:45:22.802Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:45:22.900Z] prd-ubuntu20.04-docker-8c-8g-5003 does not seem to be running inside a container [2023-02-07T22:45:22.937Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-07T22:45:25.638Z] $ docker top 15895d49cfc35cb9604cc821320c2b8dbf86e50c43acfbd1cc52af1774e6db22 -eo pid,comm [2023-02-07T22:45:25.736Z] 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). [2023-02-07T22:45:25.736Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-07T22:45:25.773Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-07T22:45:25.773Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-07T22:45:25.921Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-07T22:45:25.927Z] $ docker exec 15895d49cfc35cb9604cc821320c2b8dbf86e50c43acfbd1cc52af1774e6db22 ssh-agent [2023-02-07T22:45:26.032Z] SSH_AUTH_SOCK=/tmp/ssh-GAKF6sUMFnJz/agent.15 [2023-02-07T22:45:26.033Z] SSH_AGENT_PID=21 [2023-02-07T22:45:26.039Z] Running ssh-add (command line suppressed) [2023-02-07T22:45:26.149Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16808464559876670763.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_16808464559876670763.key) [2023-02-07T22:45:26.162Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-07T22:45:26.448Z] + git tag --points-at HEAD [Pipeline] } [2023-02-07T22:45:26.461Z] $ docker exec --env ******** --env ******** 15895d49cfc35cb9604cc821320c2b8dbf86e50c43acfbd1cc52af1774e6db22 ssh-agent -k [2023-02-07T22:45:26.563Z] unset SSH_AUTH_SOCK; [2023-02-07T22:45:26.563Z] unset SSH_AGENT_PID; [2023-02-07T22:45:26.564Z] echo Agent pid 21 killed; [2023-02-07T22:45:26.575Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-07T22:45:26.608Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-07T22:45:26.608Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-07T22:45:26.705Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-07T22:45:26.711Z] $ docker exec 15895d49cfc35cb9604cc821320c2b8dbf86e50c43acfbd1cc52af1774e6db22 ssh-agent [2023-02-07T22:45:26.804Z] SSH_AUTH_SOCK=/tmp/ssh-UHeJkgsv9bvM/agent.53 [2023-02-07T22:45:26.804Z] SSH_AGENT_PID=59 [2023-02-07T22:45:26.809Z] Running ssh-add (command line suppressed) [2023-02-07T22:45:26.912Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_716368336801205848.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_716368336801205848.key) [2023-02-07T22:45:26.924Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-07T22:45:27.217Z] + git semver init [2023-02-07T22:45:27.538Z] 2023-02-07 22:45:27,471 [run_init] DEBUG init version:0.0.0 force:False [2023-02-07T22:45:27.538Z] 2023-02-07 22:45:27,472 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-02-07T22:45:27.538Z] 2023-02-07 22:45:27,473 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-02-07T22:45:27.538Z] 2023-02-07 22:45:27,474 [execute] DEBUG Popen(['git', 'clone', '-b', 'semver', 'git@github.com:edgexfoundry/device-rest-go.git', '/w/workspace/edgexfoundry_device-rest-go_main/.semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-02-07T22:45:29.450Z] 2023-02-07 22:45:29,349 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-02-07T22:45:29.450Z] 2023-02-07 22:45:29,350 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-02-07T22:45:29.450Z] 2023-02-07 22:45:29,350 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-07T22:45:29.450Z] 2023-02-07 22:45:29,350 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-07T22:45:29.450Z] 3.0.0-dev.8 [Pipeline] } [2023-02-07T22:45:29.463Z] $ docker exec --env ******** --env ******** 15895d49cfc35cb9604cc821320c2b8dbf86e50c43acfbd1cc52af1774e6db22 ssh-agent -k [2023-02-07T22:45:29.575Z] unset SSH_AUTH_SOCK; [2023-02-07T22:45:29.575Z] unset SSH_AGENT_PID; [2023-02-07T22:45:29.575Z] echo Agent pid 59 killed; [2023-02-07T22:45:29.580Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-07T22:45:29.884Z] + git semver [Pipeline] } [2023-02-07T22:45:30.161Z] $ docker stop --time=1 15895d49cfc35cb9604cc821320c2b8dbf86e50c43acfbd1cc52af1774e6db22 [2023-02-07T22:45:31.763Z] $ docker rm -f --volumes 15895d49cfc35cb9604cc821320c2b8dbf86e50c43acfbd1cc52af1774e6db22 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-07T22:45:32.176Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-07T22:45:32.417Z] Stashed 1 file(s) [Pipeline] echo [2023-02-07T22:45:32.421Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.8 [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 [2023-02-07T22:45:32.568Z] provisioning config files... [2023-02-07T22:45:32.580Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3143923122860328788tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:45:32.937Z] ---> docker-login.sh [2023-02-07T22:45:32.937Z] nexus3.edgexfoundry.org:10001 [2023-02-07T22:45:32.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:45:32.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:45:32.937Z] Configure a credential helper to remove this warning. See [2023-02-07T22:45:32.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:45:32.937Z] [2023-02-07T22:45:32.937Z] Login Succeeded [2023-02-07T22:45:32.937Z] nexus3.edgexfoundry.org:10002 [2023-02-07T22:45:32.937Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:45:32.937Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:45:32.937Z] Configure a credential helper to remove this warning. See [2023-02-07T22:45:32.937Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:45:32.937Z] [2023-02-07T22:45:32.937Z] Login Succeeded [2023-02-07T22:45:32.937Z] nexus3.edgexfoundry.org:10003 [2023-02-07T22:45:33.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:45:33.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:45:33.197Z] Configure a credential helper to remove this warning. See [2023-02-07T22:45:33.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:45:33.197Z] [2023-02-07T22:45:33.197Z] Login Succeeded [2023-02-07T22:45:33.197Z] nexus3.edgexfoundry.org:10004 [2023-02-07T22:45:33.197Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:45:33.197Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:45:33.197Z] Configure a credential helper to remove this warning. See [2023-02-07T22:45:33.197Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:45:33.197Z] [2023-02-07T22:45:33.197Z] Login Succeeded [2023-02-07T22:45:33.197Z] docker.io [2023-02-07T22:45:33.456Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:45:33.725Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:45:33.725Z] Configure a credential helper to remove this warning. See [2023-02-07T22:45:33.725Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:45:33.725Z] [2023-02-07T22:45:33.725Z] Login Succeeded [2023-02-07T22:45:33.725Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T22:45:33.733Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-07T22:45:33.790Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T22:45:33.800Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T22:45:33.806Z] ========================================================= [2023-02-07T22:45:33.806Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-07T22:45:33.806Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:45:34.106Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-07T22:45:34.106Z] Sending build context to Docker daemon 10.82MB [2023-02-07T22:45:34.106Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T22:45:34.106Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-07T22:45:34.370Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-07T22:45:34.370Z] 213ec9aee27d: Pulling fs layer [2023-02-07T22:45:34.370Z] 4583459ba037: Pulling fs layer [2023-02-07T22:45:34.370Z] 93c1e223e6f2: Pulling fs layer [2023-02-07T22:45:34.370Z] 53926ce57604: Pulling fs layer [2023-02-07T22:45:34.370Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-07T22:45:34.370Z] 22ff95d597cd: Pulling fs layer [2023-02-07T22:45:34.370Z] 12d6caf4c0d1: Pulling fs layer [2023-02-07T22:45:34.370Z] 53926ce57604: Waiting [2023-02-07T22:45:34.370Z] 21b2b0c7a3f4: Waiting [2023-02-07T22:45:34.370Z] 22ff95d597cd: Waiting [2023-02-07T22:45:34.370Z] 96b7cbca73a9: Pulling fs layer [2023-02-07T22:45:34.370Z] a7acece74701: Pulling fs layer [2023-02-07T22:45:34.370Z] 12d6caf4c0d1: Waiting [2023-02-07T22:45:34.370Z] 93c1e223e6f2: Verifying Checksum [2023-02-07T22:45:34.370Z] 93c1e223e6f2: Download complete [2023-02-07T22:45:34.370Z] 4583459ba037: Download complete [2023-02-07T22:45:34.370Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-07T22:45:34.370Z] 21b2b0c7a3f4: Download complete [2023-02-07T22:45:34.370Z] 22ff95d597cd: Verifying Checksum [2023-02-07T22:45:34.370Z] 22ff95d597cd: Download complete [2023-02-07T22:45:34.370Z] 213ec9aee27d: Verifying Checksum [2023-02-07T22:45:34.370Z] 213ec9aee27d: Download complete [2023-02-07T22:45:34.635Z] 12d6caf4c0d1: Download complete [2023-02-07T22:45:34.635Z] 213ec9aee27d: Pull complete [2023-02-07T22:45:34.912Z] 4583459ba037: Pull complete [2023-02-07T22:45:34.912Z] 93c1e223e6f2: Pull complete [2023-02-07T22:45:35.931Z] a7acece74701: Verifying Checksum [2023-02-07T22:45:35.931Z] a7acece74701: Download complete [2023-02-07T22:45:35.931Z] 53926ce57604: Verifying Checksum [2023-02-07T22:45:35.931Z] 53926ce57604: Download complete [2023-02-07T22:45:36.191Z] 96b7cbca73a9: Verifying Checksum [2023-02-07T22:45:36.191Z] 96b7cbca73a9: Download complete [2023-02-07T22:45:40.400Z] 53926ce57604: Pull complete [2023-02-07T22:45:40.400Z] 21b2b0c7a3f4: Pull complete [2023-02-07T22:45:40.966Z] 22ff95d597cd: Pull complete [2023-02-07T22:45:41.226Z] 12d6caf4c0d1: Pull complete [2023-02-07T22:45:43.778Z] 96b7cbca73a9: Pull complete [2023-02-07T22:45:45.156Z] a7acece74701: Pull complete [2023-02-07T22:45:45.424Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-07T22:45:45.424Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-07T22:45:45.424Z] ---> db6d94c90886 [2023-02-07T22:45:45.424Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-07T22:45:47.520Z] Still waiting to schedule task [2023-02-07T22:45:47.521Z] ‘prd-ubuntu20.04-docker-arm64-4c-16g-5001’ is offline [2023-02-07T22:45:53.581Z] ---> Running in b0ac666db59d [2023-02-07T22:45:53.581Z] Removing intermediate container b0ac666db59d [2023-02-07T22:45:53.581Z] ---> e3a16506b29c [2023-02-07T22:45:53.581Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-07T22:45:53.581Z] ---> Running in ef44e22a757a [2023-02-07T22:45:53.581Z] Removing intermediate container ef44e22a757a [2023-02-07T22:45:53.581Z] ---> 622fd97522be [2023-02-07T22:45:53.581Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-07T22:45:53.581Z] ---> Running in 623e73346c4c [2023-02-07T22:45:53.581Z] Removing intermediate container 623e73346c4c [2023-02-07T22:45:53.581Z] ---> c624a9770b5f [2023-02-07T22:45:53.581Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-07T22:45:53.581Z] ---> Running in bab92b91530b [2023-02-07T22:45:53.581Z] Removing intermediate container bab92b91530b [2023-02-07T22:45:53.581Z] ---> fab0dea36653 [2023-02-07T22:45:53.582Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-07T22:45:53.582Z] ---> Running in d5e8ab0cca4a [2023-02-07T22:45:53.582Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-07T22:45:53.582Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-07T22:45:53.582Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-07T22:45:53.582Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-07T22:45:53.582Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-07T22:45:53.582Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-07T22:45:53.582Z] Executing busybox-1.35.0-r17.trigger [2023-02-07T22:45:53.582Z] OK: 216 MiB in 55 packages [2023-02-07T22:45:54.147Z] Removing intermediate container d5e8ab0cca4a [2023-02-07T22:45:54.147Z] ---> abe1d75d32ef [2023-02-07T22:45:54.147Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-07T22:45:54.147Z] ---> Running in dbb73c6a48c7 [2023-02-07T22:45:54.147Z] Removing intermediate container dbb73c6a48c7 [2023-02-07T22:45:54.147Z] ---> 861123496396 [2023-02-07T22:45:54.147Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-07T22:45:54.405Z] ---> 9c9777e34fdb [2023-02-07T22:45:54.405Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T22:45:54.405Z] ---> Running in d979fd0a7738 [2023-02-07T22:46:41.141Z] Removing intermediate container d979fd0a7738 [2023-02-07T22:46:41.141Z] ---> e9c8d1432ba9 [2023-02-07T22:46:41.141Z] Step 11/12 : COPY . . [2023-02-07T22:46:41.141Z] ---> 65d0bb33547d [2023-02-07T22:46:41.141Z] Step 12/12 : RUN $MAKE [2023-02-07T22:46:41.141Z] ---> Running in 30a46ff72cb0 [2023-02-07T22:46:41.141Z] noop [2023-02-07T22:46:41.141Z] Removing intermediate container 30a46ff72cb0 [2023-02-07T22:46:41.141Z] ---> 99da7314564d [2023-02-07T22:46:41.141Z] Successfully built 99da7314564d [2023-02-07T22:46:41.141Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:46:41.447Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-07T22:46:41.447Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:46:41.516Z] prd-ubuntu20.04-docker-8c-8g-5003 does not seem to be running inside a container [2023-02-07T22:46:41.560Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-07T22:46:42.562Z] $ docker top 6f5eec0cfc505778f9747dc8e495fe4cfab0fc89ed94d800df1c4a1a46951fdd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T22:46:42.969Z] + go version [2023-02-07T22:46:42.969Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-07T22:46:42.993Z] $ docker stop --time=1 6f5eec0cfc505778f9747dc8e495fe4cfab0fc89ed94d800df1c4a1a46951fdd [2023-02-07T22:46:44.855Z] $ docker rm -f --volumes 6f5eec0cfc505778f9747dc8e495fe4cfab0fc89ed94d800df1c4a1a46951fdd [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:46:45.339Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-07T22:46:45.339Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:46:45.409Z] prd-ubuntu20.04-docker-8c-8g-5003 does not seem to be running inside a container [2023-02-07T22:46:45.440Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-x86_64 cat [2023-02-07T22:46:46.226Z] $ docker top 8401ecd0db00590870baf1b5bbc7a0a709baa48f8b064397ec0ab26137c6d5a9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T22:46:46.566Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-02-07T22:46:46.861Z] + make test [2023-02-07T22:46:46.861Z] go test ./... -coverprofile=coverage.out ./... [2023-02-07T22:46:47.133Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-07T22:46:59.391Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-02-07T22:46:59.391Z] ok github.com/edgexfoundry/device-rest-go/driver 0.018s coverage: 33.9% of statements [2023-02-07T22:47:05.949Z] level=warning msg="[linters context] structcheck is disabled because of go1.18. You can track the evolution of the go1.18 support by following the https://github.com/golangci/golangci-lint/issues/2649." [2023-02-07T22:47:05.949Z] go vet ./... [2023-02-07T22:47:09.255Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-07T22:47:09.255Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-07T22:47:09.255Z] ./bin/test-attribution-txt.sh [2023-02-07T22:47:09.255Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-07T22:47:09.255Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-07T22:47:09.268Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-07T22:47:09.280Z] $ docker stop --time=1 8401ecd0db00590870baf1b5bbc7a0a709baa48f8b064397ec0ab26137c6d5a9 [2023-02-07T22:47:12.632Z] $ docker rm -f --volumes 8401ecd0db00590870baf1b5bbc7a0a709baa48f8b064397ec0ab26137c6d5a9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-07T22:47:13.105Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-07T22:47:13.146Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-07T22:47:13.557Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-07T22:47:13.849Z] + ls -al . [2023-02-07T22:47:13.849Z] total 188 [2023-02-07T22:47:13.849Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 7 22:46 . [2023-02-07T22:47:13.849Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 22:45 .. [2023-02-07T22:47:13.849Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 7 22:45 .dockerignore [2023-02-07T22:47:13.849Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 22:46 .git [2023-02-07T22:47:13.849Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 22:45 .github [2023-02-07T22:47:13.849Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 7 22:45 .gitignore [2023-02-07T22:47:13.849Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 7 22:45 .golangci.yml [2023-02-07T22:47:13.849Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 22:45 .semver [2023-02-07T22:47:13.849Z] -rw-rw-r-- 1 jenkins jenkins 8996 Feb 7 22:45 Attribution.txt [2023-02-07T22:47:13.849Z] -rw-rw-r-- 1 jenkins jenkins 13085 Feb 7 22:45 CHANGELOG.md [2023-02-07T22:47:13.849Z] -rw-rw-r-- 1 jenkins jenkins 1578 Feb 7 22:45 Dockerfile [2023-02-07T22:47:13.849Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 22:45 GOVERNANCE.md [2023-02-07T22:47:13.849Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 7 22:45 Jenkinsfile [2023-02-07T22:47:13.849Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 7 22:45 LICENSE [2023-02-07T22:47:13.849Z] -rw-rw-r-- 1 jenkins jenkins 1744 Feb 7 22:45 Makefile [2023-02-07T22:47:13.849Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 7 22:45 OWNERS.md [2023-02-07T22:47:13.849Z] -rw-rw-r-- 1 jenkins jenkins 15447 Feb 7 22:45 README.md [2023-02-07T22:47:13.849Z] -rw-rw-r-- 1 jenkins jenkins 11 Feb 7 22:45 VERSION [2023-02-07T22:47:13.849Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 22:45 bin [2023-02-07T22:47:13.849Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 22:45 cmd [2023-02-07T22:47:13.849Z] -rw-r--r-- 1 jenkins jenkins 13744 Feb 7 22:46 coverage.out [2023-02-07T22:47:13.849Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 22:45 driver [2023-02-07T22:47:13.849Z] -rw-rw-r-- 1 jenkins jenkins 3399 Feb 7 22:45 go.mod [2023-02-07T22:47:13.849Z] -rw-rw-r-- 1 jenkins jenkins 33277 Feb 7 22:45 go.sum [2023-02-07T22:47:13.849Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 22:45 snap [2023-02-07T22:47:13.849Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 7 22:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:47:14.175Z] + 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=b8541e7e07d14b35bcb3c6fb0ee347edefdec343 --label arch=amd64 --label version=3.0.0-dev.8 . [2023-02-07T22:47:14.175Z] Sending build context to Docker daemon 10.84MB [2023-02-07T22:47:14.175Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T22:47:14.175Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-07T22:47:14.175Z] ---> 99da7314564d [2023-02-07T22:47:14.175Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-07T22:47:14.432Z] ---> Running in 3edb6ff9ee4b [2023-02-07T22:47:14.689Z] Removing intermediate container 3edb6ff9ee4b [2023-02-07T22:47:14.689Z] ---> b83511077477 [2023-02-07T22:47:14.689Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-07T22:47:14.689Z] ---> Running in 9708c80938a5 [2023-02-07T22:47:14.689Z] Removing intermediate container 9708c80938a5 [2023-02-07T22:47:14.689Z] ---> 749759a3814d [2023-02-07T22:47:14.689Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-07T22:47:14.689Z] ---> Running in 6a5123b531a6 [2023-02-07T22:47:14.953Z] Removing intermediate container 6a5123b531a6 [2023-02-07T22:47:14.953Z] ---> be8ca53f1fef [2023-02-07T22:47:14.953Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-07T22:47:14.953Z] ---> Running in 844b6f75fa21 [2023-02-07T22:47:15.213Z] Removing intermediate container 844b6f75fa21 [2023-02-07T22:47:15.213Z] ---> 2f07eec05444 [2023-02-07T22:47:15.213Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-07T22:47:15.213Z] ---> Running in 0eea037927e1 [2023-02-07T22:47:15.777Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-07T22:47:15.777Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-07T22:47:16.035Z] OK: 216 MiB in 55 packages [2023-02-07T22:47:16.602Z] Removing intermediate container 0eea037927e1 [2023-02-07T22:47:16.602Z] ---> b774db3b8d78 [2023-02-07T22:47:16.602Z] Step 8/25 : WORKDIR /device-rest-go [2023-02-07T22:47:16.602Z] ---> Running in d7f2882ce5d8 [2023-02-07T22:47:16.602Z] Removing intermediate container d7f2882ce5d8 [2023-02-07T22:47:16.602Z] ---> c489ed484bde [2023-02-07T22:47:16.602Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-07T22:47:16.602Z] ---> 879e2e63a6a8 [2023-02-07T22:47:16.602Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T22:47:16.602Z] ---> Running in f61deb9f9210 [2023-02-07T22:47:17.538Z] Removing intermediate container f61deb9f9210 [2023-02-07T22:47:17.538Z] ---> f82c7fe11180 [2023-02-07T22:47:17.538Z] Step 11/25 : COPY . . [2023-02-07T22:47:18.119Z] ---> fe5cffef505b [2023-02-07T22:47:18.119Z] Step 12/25 : RUN $MAKE [2023-02-07T22:47:18.119Z] ---> Running in 7888f0d313c1 [2023-02-07T22:47:18.425Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.8" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-02-07T22:47:45.188Z] Removing intermediate container 7888f0d313c1 [2023-02-07T22:47:45.188Z] ---> 77a6b1f91cac [2023-02-07T22:47:45.188Z] Step 13/25 : FROM alpine:3.16 [2023-02-07T22:47:45.188Z] 3.16: Pulling from library/alpine [2023-02-07T22:47:45.188Z] ca7dd9ec2225: Pulling fs layer [2023-02-07T22:47:45.188Z] ca7dd9ec2225: Verifying Checksum [2023-02-07T22:47:45.188Z] ca7dd9ec2225: Download complete [2023-02-07T22:47:45.188Z] ca7dd9ec2225: Pull complete [2023-02-07T22:47:45.188Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-07T22:47:45.188Z] Status: Downloaded newer image for alpine:3.16 [2023-02-07T22:47:45.188Z] ---> bfe296a52501 [2023-02-07T22:47:45.188Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-07T22:47:45.188Z] ---> Running in 090ee3f236f7 [2023-02-07T22:47:45.188Z] Removing intermediate container 090ee3f236f7 [2023-02-07T22:47:45.188Z] ---> 3fbce0b03eaf [2023-02-07T22:47:45.188Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-02-07T22:47:45.188Z] ---> Running in 46e15bea9f05 [2023-02-07T22:47:45.188Z] Removing intermediate container 46e15bea9f05 [2023-02-07T22:47:45.188Z] ---> 1844d2f5f58d [2023-02-07T22:47:45.188Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-02-07T22:47:45.188Z] ---> Running in 0b18b7602c1a [2023-02-07T22:47:45.188Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-07T22:47:45.447Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-07T22:47:45.447Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-07T22:47:45.447Z] Executing busybox-1.35.0-r17.trigger [2023-02-07T22:47:45.447Z] OK: 6 MiB in 15 packages [2023-02-07T22:47:46.012Z] Removing intermediate container 0b18b7602c1a [2023-02-07T22:47:46.012Z] ---> dccfe09efad7 [2023-02-07T22:47:46.012Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-02-07T22:47:46.999Z] ---> 99a175f4c624 [2023-02-07T22:47:46.999Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-02-07T22:47:47.258Z] ---> 99365d0213ff [2023-02-07T22:47:47.258Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-02-07T22:47:47.826Z] ---> f0e726e3497e [2023-02-07T22:47:47.826Z] Step 20/25 : EXPOSE 59986 [2023-02-07T22:47:48.085Z] ---> Running in 4f225b528374 [2023-02-07T22:47:48.344Z] Removing intermediate container 4f225b528374 [2023-02-07T22:47:48.344Z] ---> 1a34743b7ce7 [2023-02-07T22:47:48.344Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-02-07T22:47:48.344Z] ---> Running in 19296dde0a59 [2023-02-07T22:47:48.616Z] Removing intermediate container 19296dde0a59 [2023-02-07T22:47:48.616Z] ---> e92e4262adf0 [2023-02-07T22:47:48.616Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-07T22:47:48.876Z] ---> Running in d322f3979521 [2023-02-07T22:47:49.134Z] Removing intermediate container d322f3979521 [2023-02-07T22:47:49.134Z] ---> c0affbebbc0c [2023-02-07T22:47:49.134Z] Step 23/25 : LABEL arch=amd64 [2023-02-07T22:47:49.134Z] ---> Running in 989ef000879d [2023-02-07T22:47:49.392Z] Removing intermediate container 989ef000879d [2023-02-07T22:47:49.392Z] ---> 5686e7f03846 [2023-02-07T22:47:49.392Z] Step 24/25 : LABEL git_sha=b8541e7e07d14b35bcb3c6fb0ee347edefdec343 [2023-02-07T22:47:49.392Z] ---> Running in b194c638a824 [2023-02-07T22:47:49.651Z] Removing intermediate container b194c638a824 [2023-02-07T22:47:49.651Z] ---> 88879c8bed55 [2023-02-07T22:47:49.651Z] Step 25/25 : LABEL version=3.0.0-dev.8 [2023-02-07T22:47:49.937Z] ---> Running in 6e55ad77be93 [2023-02-07T22:47:50.196Z] Removing intermediate container 6e55ad77be93 [2023-02-07T22:47:50.196Z] ---> e8e2a39183ea [2023-02-07T22:47:50.196Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-07T22:47:50.196Z] Successfully built e8e2a39183ea [2023-02-07T22:47:50.196Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-07T22:47:50.290Z] provisioning config files... [2023-02-07T22:47:50.297Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config617866902165616853tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:47:50.604Z] ---> docker-login.sh [2023-02-07T22:47:50.604Z] nexus3.edgexfoundry.org:10001 [2023-02-07T22:47:50.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:47:50.604Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:47:50.604Z] Configure a credential helper to remove this warning. See [2023-02-07T22:47:50.604Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:47:50.604Z] [2023-02-07T22:47:50.604Z] Login Succeeded [2023-02-07T22:47:50.604Z] nexus3.edgexfoundry.org:10002 [2023-02-07T22:47:50.604Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:47:50.797Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-5009 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-02-07T22:47:50.812Z] Running in /w/workspace/device-rest-go/80 [Pipeline] { [Pipeline] checkout [2023-02-07T22:47:50.848Z] The recommended git tool is: git [2023-02-07T22:47:50.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:47:50.862Z] Configure a credential helper to remove this warning. See [2023-02-07T22:47:50.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:47:50.862Z] [2023-02-07T22:47:50.862Z] Login Succeeded [2023-02-07T22:47:50.862Z] nexus3.edgexfoundry.org:10003 [2023-02-07T22:47:50.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:47:50.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:47:50.862Z] Configure a credential helper to remove this warning. See [2023-02-07T22:47:50.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:47:50.862Z] [2023-02-07T22:47:50.862Z] Login Succeeded [2023-02-07T22:47:50.862Z] nexus3.edgexfoundry.org:10004 [2023-02-07T22:47:50.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:47:50.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:47:50.862Z] Configure a credential helper to remove this warning. See [2023-02-07T22:47:50.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:47:50.862Z] [2023-02-07T22:47:50.862Z] Login Succeeded [2023-02-07T22:47:50.862Z] docker.io [2023-02-07T22:47:51.121Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:47:51.380Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:47:51.380Z] Configure a credential helper to remove this warning. See [2023-02-07T22:47:51.380Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:47:51.380Z] [2023-02-07T22:47:51.380Z] Login Succeeded [2023-02-07T22:47:51.380Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T22:47:51.387Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-07T22:47:51.417Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T22:47:51.438Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-02-07T22:47:51.438Z] b8541e7e07d14b35bcb3c6fb0ee347edefdec343 [2023-02-07T22:47:51.438Z] latest [2023-02-07T22:47:51.438Z] 3.0.0-dev.8 [2023-02-07T22:47:51.438Z] b8541e7e07d14b35bcb3c6fb0ee347edefdec343-3.0.0-dev.8 [2023-02-07T22:47:51.438Z] main [2023-02-07T22:47:51.438Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:47:51.752Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:b8541e7e07d14b35bcb3c6fb0ee347edefdec343 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:47:52.072Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:b8541e7e07d14b35bcb3c6fb0ee347edefdec343 [2023-02-07T22:47:52.072Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-02-07T22:47:52.072Z] 992256820781: Preparing [2023-02-07T22:47:52.072Z] c83af364e60d: Preparing [2023-02-07T22:47:52.072Z] e2032c660894: Preparing [2023-02-07T22:47:52.072Z] 25c41e94e422: Preparing [2023-02-07T22:47:52.072Z] e5e13b0c77cb: Preparing [2023-02-07T22:47:52.072Z] e5e13b0c77cb: Layer already exists [2023-02-07T22:47:52.072Z] 25c41e94e422: Pushed [2023-02-07T22:47:52.072Z] c83af364e60d: Pushed [2023-02-07T22:47:52.072Z] 992256820781: Pushed [2023-02-07T22:47:54.645Z] e2032c660894: Pushed [2023-02-07T22:47:54.645Z] b8541e7e07d14b35bcb3c6fb0ee347edefdec343: digest: sha256:82451d8083418ef20d2ac2a1e6f9acbf7df8f65e1dda8b80a39f87411ec70de4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:47:54.955Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:47:55.260Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-02-07T22:47:55.260Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-02-07T22:47:55.260Z] 992256820781: Preparing [2023-02-07T22:47:55.260Z] c83af364e60d: Preparing [2023-02-07T22:47:55.260Z] e2032c660894: Preparing [2023-02-07T22:47:55.260Z] 25c41e94e422: Preparing [2023-02-07T22:47:55.260Z] e5e13b0c77cb: Preparing [2023-02-07T22:47:55.260Z] e2032c660894: Layer already exists [2023-02-07T22:47:55.260Z] 992256820781: Layer already exists [2023-02-07T22:47:55.260Z] c83af364e60d: Layer already exists [2023-02-07T22:47:55.260Z] 25c41e94e422: Layer already exists [2023-02-07T22:47:55.260Z] e5e13b0c77cb: Layer already exists [2023-02-07T22:47:55.260Z] latest: digest: sha256:82451d8083418ef20d2ac2a1e6f9acbf7df8f65e1dda8b80a39f87411ec70de4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:47:55.575Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:47:55.876Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.8 [2023-02-07T22:47:55.876Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-02-07T22:47:55.876Z] 992256820781: Preparing [2023-02-07T22:47:55.876Z] c83af364e60d: Preparing [2023-02-07T22:47:55.876Z] e2032c660894: Preparing [2023-02-07T22:47:55.876Z] 25c41e94e422: Preparing [2023-02-07T22:47:55.876Z] e5e13b0c77cb: Preparing [2023-02-07T22:47:55.876Z] e5e13b0c77cb: Layer already exists [2023-02-07T22:47:55.876Z] c83af364e60d: Layer already exists [2023-02-07T22:47:55.876Z] 25c41e94e422: Layer already exists [2023-02-07T22:47:55.876Z] e2032c660894: Layer already exists [2023-02-07T22:47:55.876Z] 992256820781: Layer already exists [2023-02-07T22:47:55.876Z] 3.0.0-dev.8: digest: sha256:82451d8083418ef20d2ac2a1e6f9acbf7df8f65e1dda8b80a39f87411ec70de4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:47:56.192Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:b8541e7e07d14b35bcb3c6fb0ee347edefdec343-3.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:47:56.495Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:b8541e7e07d14b35bcb3c6fb0ee347edefdec343-3.0.0-dev.8 [2023-02-07T22:47:56.495Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-02-07T22:47:56.495Z] 992256820781: Preparing [2023-02-07T22:47:56.495Z] c83af364e60d: Preparing [2023-02-07T22:47:56.495Z] e2032c660894: Preparing [2023-02-07T22:47:56.495Z] 25c41e94e422: Preparing [2023-02-07T22:47:56.495Z] e5e13b0c77cb: Preparing [2023-02-07T22:47:56.495Z] 25c41e94e422: Layer already exists [2023-02-07T22:47:56.495Z] c83af364e60d: Layer already exists [2023-02-07T22:47:56.495Z] e2032c660894: Layer already exists [2023-02-07T22:47:56.495Z] 992256820781: Layer already exists [2023-02-07T22:47:56.495Z] e5e13b0c77cb: Layer already exists [2023-02-07T22:47:56.495Z] b8541e7e07d14b35bcb3c6fb0ee347edefdec343-3.0.0-dev.8: digest: sha256:82451d8083418ef20d2ac2a1e6f9acbf7df8f65e1dda8b80a39f87411ec70de4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:47:56.806Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:47:56.926Z] using credential edgex-jenkins-ssh [2023-02-07T22:47:56.954Z] Cloning the remote Git repository [2023-02-07T22:47:57.007Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-02-07T22:47:57.117Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-02-07T22:47:57.117Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-02-07T22:47:57.117Z] 992256820781: Preparing [2023-02-07T22:47:57.117Z] c83af364e60d: Preparing [2023-02-07T22:47:57.117Z] e2032c660894: Preparing [2023-02-07T22:47:57.117Z] 25c41e94e422: Preparing [2023-02-07T22:47:57.117Z] e5e13b0c77cb: Preparing [2023-02-07T22:47:57.117Z] c83af364e60d: Layer already exists [2023-02-07T22:47:57.117Z] e5e13b0c77cb: Layer already exists [2023-02-07T22:47:57.117Z] 992256820781: Layer already exists [2023-02-07T22:47:57.117Z] e2032c660894: Layer already exists [2023-02-07T22:47:57.117Z] 25c41e94e422: Layer already exists [2023-02-07T22:47:57.117Z] main: digest: sha256:82451d8083418ef20d2ac2a1e6f9acbf7df8f65e1dda8b80a39f87411ec70de4 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-07T22:47:57.162Z] ===================================================== [Pipeline] echo [2023-02-07T22:47:57.170Z] taggedImages: [2023-02-07T22:47:57.170Z] - nexus3.edgexfoundry.org:10004/device-rest:b8541e7e07d14b35bcb3c6fb0ee347edefdec343 [2023-02-07T22:47:57.170Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-02-07T22:47:57.170Z] - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.8 [2023-02-07T22:47:57.170Z] - nexus3.edgexfoundry.org:10004/device-rest:b8541e7e07d14b35bcb3c6fb0ee347edefdec343-3.0.0-dev.8 [2023-02-07T22:47:57.170Z] - nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snap) Stage "Snap" skipped due to when conditional [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:47:57.547Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T22:47:57.547Z] [2023-02-07T22:47:57.547Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:47:57.838Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T22:47:58.099Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-07T22:47:58.099Z] 5eb5b503b376: Pulling fs layer [2023-02-07T22:47:58.099Z] 5c69ac0246d0: Pulling fs layer [2023-02-07T22:47:58.099Z] ec43610c2a17: Pulling fs layer [2023-02-07T22:47:58.099Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-07T22:47:58.099Z] 33b1e0a273af: Pulling fs layer [2023-02-07T22:47:58.099Z] 5d3b04190fa2: Pulling fs layer [2023-02-07T22:47:58.099Z] 2f39f015ded8: Pulling fs layer [2023-02-07T22:47:58.099Z] 3a2ae6a8a46f: Waiting [2023-02-07T22:47:58.099Z] 33b1e0a273af: Waiting [2023-02-07T22:47:58.099Z] 5d3b04190fa2: Waiting [2023-02-07T22:47:58.099Z] 5c69ac0246d0: Verifying Checksum [2023-02-07T22:47:58.099Z] 5c69ac0246d0: Download complete [2023-02-07T22:47:58.099Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-07T22:47:58.099Z] 3a2ae6a8a46f: Download complete [2023-02-07T22:47:57.102Z] > git init /w/workspace/device-rest-go/80 # timeout=10 [2023-02-07T22:47:57.287Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-02-07T22:47:57.288Z] > git --version # timeout=10 [2023-02-07T22:47:57.319Z] > git --version # 'git version 2.25.1' [2023-02-07T22:47:57.322Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-07T22:47:57.388Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-07T22:47:58.366Z] 33b1e0a273af: Verifying Checksum [2023-02-07T22:47:58.366Z] 33b1e0a273af: Download complete [2023-02-07T22:47:58.366Z] 5d3b04190fa2: Download complete [2023-02-07T22:47:58.627Z] ec43610c2a17: Verifying Checksum [2023-02-07T22:47:58.627Z] ec43610c2a17: Download complete [2023-02-07T22:47:58.627Z] 5eb5b503b376: Verifying Checksum [2023-02-07T22:47:58.627Z] 5eb5b503b376: Download complete [2023-02-07T22:47:59.562Z] 2f39f015ded8: Verifying Checksum [2023-02-07T22:47:59.562Z] 2f39f015ded8: Download complete [2023-02-07T22:47:59.352Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-02-07T22:47:59.376Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-07T22:47:59.834Z] 5eb5b503b376: Pull complete [2023-02-07T22:48:00.415Z] 5c69ac0246d0: Pull complete [2023-02-07T22:48:00.480Z] Avoid second fetch [2023-02-07T22:48:00.480Z] Checking out Revision b8541e7e07d14b35bcb3c6fb0ee347edefdec343 (main) [2023-02-07T22:48:00.501Z] > git config core.sparsecheckout # timeout=10 [2023-02-07T22:48:00.525Z] > git checkout -f b8541e7e07d14b35bcb3c6fb0ee347edefdec343 # timeout=10 [2023-02-07T22:48:01.155Z] Commit message: "feat!: Use latest SDK for MessageBus Request API (#247)" [2023-02-07T22:48:01.350Z] ec43610c2a17: Pull complete [2023-02-07T22:48:01.530Z] [2023-02-07T22:48:01.530Z] GitHub has been notified of this commit’s build result [2023-02-07T22:48:01.530Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-07T22:48:01.606Z] 3a2ae6a8a46f: Pull complete [2023-02-07T22:48:02.140Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-07T22:48:02.140Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-07T22:48:02.140Z] Dload Upload Total Spent Left Speed [2023-02-07T22:48:02.140Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 180k 0 --:--:-- --:--:-- --:--:-- 183k [2023-02-07T22:48:02.176Z] 33b1e0a273af: Pull complete [Pipeline] sh [2023-02-07T22:48:02.742Z] 5d3b04190fa2: Pull complete [2023-02-07T22:48:02.921Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-07T22:48:03.256Z] + sudo tee /etc/docker/daemon.new [2023-02-07T22:48:03.256Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-07T22:48:03.256Z] { [2023-02-07T22:48:03.256Z] "registry-mirrors": [ [2023-02-07T22:48:03.256Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-07T22:48:03.256Z] ], [2023-02-07T22:48:03.256Z] "bip": "10.250.0.254/24", [2023-02-07T22:48:03.256Z] "hosts": [ [2023-02-07T22:48:03.256Z] "tcp://0.0.0.0:5555", [2023-02-07T22:48:03.256Z] "unix:///var/run/docker.sock" [2023-02-07T22:48:03.256Z] ], [2023-02-07T22:48:03.256Z] "mtu": 1458, [2023-02-07T22:48:03.256Z] "selinux-enabled": true, [2023-02-07T22:48:03.256Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-07T22:48:03.256Z] } [Pipeline] sh [2023-02-07T22:48:03.604Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-07T22:48:03.962Z] + sudo service docker restart [2023-02-07T22:48:08.023Z] 2f39f015ded8: Pull complete [2023-02-07T22:48:08.023Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-07T22:48:08.286Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T22:48:08.286Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:48:08.394Z] prd-ubuntu20.04-docker-8c-8g-5003 does not seem to be running inside a container [2023-02-07T22:48:08.458Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged --net host -v /home/jenkins:/home/jenkins -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-07T22:48:16.737Z] $ docker top 03916c7424f474f22609eb4bac58c3d19892bf7c6d5f67ad859fd0fef3c9d767 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:48:17.122Z] ---> job-cost.sh [2023-02-07T22:48:17.122Z] lf-activate-venv: SKIPPING [2023-02-07T22:48:17.122Z] INFO: No Stack... [2023-02-07T22:48:17.690Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-07T22:48:17.949Z] INFO: Archiving Costs [Pipeline] sh [2023-02-07T22:48:18.239Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-02-07T22:48:18.239Z] + cut -d, -f6 [Pipeline] lock [2023-02-07T22:48:18.255Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-80-stack-cost] [2023-02-07T22:48:18.260Z] Resource [jenkins-edgexfoundry-device-rest-go-main-80-stack-cost] did not exist. Created. [2023-02-07T22:48:18.260Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-80-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-07T22:48:18.556Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-07T22:48:18.581Z] Stashed 1 file(s) [Pipeline] } [2023-02-07T22:48:18.587Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-80-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-07T22:48:18.606Z] $ docker stop --time=1 03916c7424f474f22609eb4bac58c3d19892bf7c6d5f67ad859fd0fef3c9d767 [2023-02-07T22:48:21.025Z] $ docker rm -f --volumes 03916c7424f474f22609eb4bac58c3d19892bf7c6d5f67ad859fd0fef3c9d767 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-07T22:48:22.291Z] provisioning config files... [2023-02-07T22:48:22.331Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/80@tmp/config13397880036883279931tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:48:22.721Z] ---> docker-login.sh [2023-02-07T22:48:22.721Z] nexus3.edgexfoundry.org:10001 [2023-02-07T22:48:23.311Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:48:23.311Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:48:23.311Z] Configure a credential helper to remove this warning. See [2023-02-07T22:48:23.311Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:48:23.311Z] [2023-02-07T22:48:23.311Z] Login Succeeded [2023-02-07T22:48:23.585Z] nexus3.edgexfoundry.org:10002 [2023-02-07T22:48:23.865Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:48:23.865Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:48:23.865Z] Configure a credential helper to remove this warning. See [2023-02-07T22:48:23.865Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:48:23.865Z] [2023-02-07T22:48:23.865Z] Login Succeeded [2023-02-07T22:48:23.865Z] nexus3.edgexfoundry.org:10003 [2023-02-07T22:48:24.136Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:48:24.416Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:48:24.416Z] Configure a credential helper to remove this warning. See [2023-02-07T22:48:24.416Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:48:24.416Z] [2023-02-07T22:48:24.416Z] Login Succeeded [2023-02-07T22:48:24.416Z] nexus3.edgexfoundry.org:10004 [2023-02-07T22:48:24.416Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:48:24.691Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:48:24.691Z] Configure a credential helper to remove this warning. See [2023-02-07T22:48:24.691Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:48:24.691Z] [2023-02-07T22:48:24.691Z] Login Succeeded [2023-02-07T22:48:24.691Z] docker.io [2023-02-07T22:48:24.959Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:48:25.228Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:48:25.228Z] Configure a credential helper to remove this warning. See [2023-02-07T22:48:25.228Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:48:25.228Z] [2023-02-07T22:48:25.228Z] Login Succeeded [2023-02-07T22:48:25.228Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T22:48:25.244Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-07T22:48:25.543Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T22:48:25.561Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T22:48:25.572Z] ========================================================= [2023-02-07T22:48:25.572Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-07T22:48:25.572Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:48:25.928Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine --build-arg MAKE=echo noop --target=builder . [2023-02-07T22:48:25.928Z] Sending build context to Docker daemon 142.8kB [2023-02-07T22:48:26.201Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T22:48:26.201Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-07T22:48:26.472Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-07T22:48:26.472Z] 9b18e9b68314: Pulling fs layer [2023-02-07T22:48:26.472Z] 35d82f9e3411: Pulling fs layer [2023-02-07T22:48:26.472Z] e16973657156: Pulling fs layer [2023-02-07T22:48:26.472Z] fc693d55d65f: Pulling fs layer [2023-02-07T22:48:26.472Z] 7e9fc2657dce: Pulling fs layer [2023-02-07T22:48:26.472Z] dda99020689f: Pulling fs layer [2023-02-07T22:48:26.472Z] db1c61fa0a46: Pulling fs layer [2023-02-07T22:48:26.472Z] 891c053d2c06: Pulling fs layer [2023-02-07T22:48:26.472Z] fc693d55d65f: Waiting [2023-02-07T22:48:26.472Z] 7e9fc2657dce: Waiting [2023-02-07T22:48:26.472Z] dda99020689f: Waiting [2023-02-07T22:48:26.472Z] db1c61fa0a46: Waiting [2023-02-07T22:48:26.472Z] 891c053d2c06: Waiting [2023-02-07T22:48:26.472Z] e16973657156: Download complete [2023-02-07T22:48:26.472Z] 35d82f9e3411: Verifying Checksum [2023-02-07T22:48:26.472Z] 35d82f9e3411: Download complete [2023-02-07T22:48:26.472Z] 7e9fc2657dce: Verifying Checksum [2023-02-07T22:48:26.472Z] 7e9fc2657dce: Download complete [2023-02-07T22:48:26.472Z] dda99020689f: Verifying Checksum [2023-02-07T22:48:26.472Z] dda99020689f: Download complete [2023-02-07T22:48:26.472Z] 9b18e9b68314: Verifying Checksum [2023-02-07T22:48:26.472Z] 9b18e9b68314: Download complete [2023-02-07T22:48:27.461Z] 9b18e9b68314: Pull complete [2023-02-07T22:48:27.738Z] 891c053d2c06: Verifying Checksum [2023-02-07T22:48:27.738Z] 891c053d2c06: Download complete [2023-02-07T22:48:28.017Z] 35d82f9e3411: Pull complete [2023-02-07T22:48:28.295Z] e16973657156: Pull complete [2023-02-07T22:48:28.888Z] db1c61fa0a46: Verifying Checksum [2023-02-07T22:48:28.888Z] db1c61fa0a46: Download complete [2023-02-07T22:48:29.481Z] fc693d55d65f: Verifying Checksum [2023-02-07T22:48:29.481Z] fc693d55d65f: Download complete [2023-02-07T22:48:41.947Z] fc693d55d65f: Pull complete [2023-02-07T22:48:41.947Z] 7e9fc2657dce: Pull complete [2023-02-07T22:48:42.216Z] dda99020689f: Pull complete [2023-02-07T22:48:48.897Z] db1c61fa0a46: Pull complete [2023-02-07T22:48:50.324Z] 891c053d2c06: Pull complete [2023-02-07T22:48:50.324Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-07T22:48:50.596Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-07T22:48:50.596Z] ---> f96f9c87975a [2023-02-07T22:48:50.596Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-07T22:48:53.217Z] ---> Running in cef8d78271dc [2023-02-07T22:48:53.217Z] Removing intermediate container cef8d78271dc [2023-02-07T22:48:53.217Z] ---> 456e11a55bc9 [2023-02-07T22:48:53.217Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-07T22:48:53.217Z] ---> Running in 6fa5a48ff5c2 [2023-02-07T22:48:53.485Z] Removing intermediate container 6fa5a48ff5c2 [2023-02-07T22:48:53.485Z] ---> 8b2a188e7f6e [2023-02-07T22:48:53.485Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-07T22:48:53.485Z] ---> Running in 1fced18b50f1 [2023-02-07T22:48:54.082Z] Removing intermediate container 1fced18b50f1 [2023-02-07T22:48:54.082Z] ---> abc83d2477ce [2023-02-07T22:48:54.082Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-07T22:48:54.082Z] ---> Running in 946457acf2d6 [2023-02-07T22:48:54.351Z] Removing intermediate container 946457acf2d6 [2023-02-07T22:48:54.351Z] ---> d1a9fa7ee7fa [2023-02-07T22:48:54.351Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-07T22:48:54.621Z] ---> Running in bd9ff7e97932 [2023-02-07T22:48:56.041Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-07T22:48:56.310Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-07T22:48:57.722Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-07T22:48:57.722Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-07T22:48:57.722Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-07T22:48:57.722Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-07T22:48:57.722Z] Executing busybox-1.35.0-r17.trigger [2023-02-07T22:48:57.722Z] OK: 226 MiB in 55 packages [2023-02-07T22:48:58.691Z] Removing intermediate container bd9ff7e97932 [2023-02-07T22:48:58.691Z] ---> 7c1de0c00146 [2023-02-07T22:48:58.691Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-07T22:48:58.691Z] ---> Running in 7e56319c46f7 [2023-02-07T22:48:59.282Z] Removing intermediate container 7e56319c46f7 [2023-02-07T22:48:59.282Z] ---> 90d771f7c2e8 [2023-02-07T22:48:59.282Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-07T22:48:59.550Z] ---> 8790fca34354 [2023-02-07T22:48:59.550Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T22:48:59.821Z] ---> Running in 2156f5a22291 [2023-02-07T22:50:21.640Z] Removing intermediate container 2156f5a22291 [2023-02-07T22:50:21.640Z] ---> d175f99a79b6 [2023-02-07T22:50:21.640Z] Step 11/12 : COPY . . [2023-02-07T22:50:21.640Z] ---> c0371d6efb4c [2023-02-07T22:50:21.640Z] Step 12/12 : RUN $MAKE [2023-02-07T22:50:21.640Z] ---> Running in 57e9d1f4abd8 [2023-02-07T22:50:21.640Z] noop [2023-02-07T22:50:21.640Z] Removing intermediate container 57e9d1f4abd8 [2023-02-07T22:50:21.640Z] ---> 9ecc52136d5c [2023-02-07T22:50:21.640Z] Successfully built 9ecc52136d5c [2023-02-07T22:50:21.640Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:50:21.998Z] + docker inspect -f . ci-base-image-arm64 [2023-02-07T22:50:21.998Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:50:22.222Z] prd-ubuntu20.04-docker-arm64-4c-16g-5009 does not seem to be running inside a container [2023-02-07T22:50:22.302Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/80 -v /w/workspace/device-rest-go/80:/w/workspace/device-rest-go/80:rw,z -v /w/workspace/device-rest-go/80@tmp:/w/workspace/device-rest-go/80@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-07T22:50:23.637Z] $ docker top 9844ca5b885e648c3df46ff5be349c9b5018b32bf52256400e61848135178b2a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T22:50:24.484Z] + go version [2023-02-07T22:50:24.484Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-07T22:50:24.522Z] $ docker stop --time=1 9844ca5b885e648c3df46ff5be349c9b5018b32bf52256400e61848135178b2a [2023-02-07T22:50:26.285Z] $ docker rm -f --volumes 9844ca5b885e648c3df46ff5be349c9b5018b32bf52256400e61848135178b2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:50:26.887Z] + docker inspect -f . ci-base-image-arm64 [2023-02-07T22:50:26.887Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:50:27.134Z] prd-ubuntu20.04-docker-arm64-4c-16g-5009 does not seem to be running inside a container [2023-02-07T22:50:27.229Z] $ 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/80 -v /w/workspace/device-rest-go/80:/w/workspace/device-rest-go/80:rw,z -v /w/workspace/device-rest-go/80@tmp:/w/workspace/device-rest-go/80@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-07T22:50:28.492Z] $ docker top 725865ab95c6b3b824cab7b5f85372d6e42c70c5187e9920e08d3cf20f3eed8b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T22:50:29.341Z] + git config --global --add safe.directory /w/workspace/device-rest-go/80 [Pipeline] fileExists [Pipeline] sh [2023-02-07T22:50:29.678Z] + make test [2023-02-07T22:50:29.946Z] go test ./... -coverprofile=coverage.out ./... [2023-02-07T22:50:32.109Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-07T22:52:09.121Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-02-07T22:52:09.121Z] ok github.com/edgexfoundry/device-rest-go/driver 0.069s coverage: 33.9% of statements [2023-02-07T22:52:09.121Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-07T22:52:09.121Z] go vet ./... [2023-02-07T22:52:37.716Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-07T22:52:37.716Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-07T22:52:37.716Z] ./bin/test-attribution-txt.sh [2023-02-07T22:52:37.716Z] An attribution for golang.org/x/mod is missing from Attribution.txt, please add [2023-02-07T22:52:37.716Z] An attribution for golang.org/x/tools is missing from Attribution.txt, please add [Pipeline] echo [2023-02-07T22:52:37.740Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-07T22:52:37.756Z] $ docker stop --time=1 725865ab95c6b3b824cab7b5f85372d6e42c70c5187e9920e08d3cf20f3eed8b [2023-02-07T22:52:39.813Z] $ docker rm -f --volumes 725865ab95c6b3b824cab7b5f85372d6e42c70c5187e9920e08d3cf20f3eed8b [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-07T22:52:40.843Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-07T22:52:40.869Z] Warning: overwriting stash ‘coverage-report’ [2023-02-07T22:52:41.403Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-07T22:52:41.808Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-07T22:52:42.140Z] + ls -al . [2023-02-07T22:52:42.141Z] total 184 [2023-02-07T22:52:42.141Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 22:50 . [2023-02-07T22:52:42.141Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 22:47 .. [2023-02-07T22:52:42.141Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 7 22:48 .dockerignore [2023-02-07T22:52:42.141Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 7 22:48 .git [2023-02-07T22:52:42.141Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 22:48 .github [2023-02-07T22:52:42.141Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 7 22:48 .gitignore [2023-02-07T22:52:42.141Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 7 22:48 .golangci.yml [2023-02-07T22:52:42.141Z] -rw-rw-r-- 1 jenkins jenkins 8996 Feb 7 22:48 Attribution.txt [2023-02-07T22:52:42.141Z] -rw-rw-r-- 1 jenkins jenkins 13085 Feb 7 22:48 CHANGELOG.md [2023-02-07T22:52:42.141Z] -rw-rw-r-- 1 jenkins jenkins 1578 Feb 7 22:48 Dockerfile [2023-02-07T22:52:42.141Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 7 22:48 GOVERNANCE.md [2023-02-07T22:52:42.141Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 7 22:48 Jenkinsfile [2023-02-07T22:52:42.141Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 7 22:48 LICENSE [2023-02-07T22:52:42.141Z] -rw-rw-r-- 1 jenkins jenkins 1744 Feb 7 22:48 Makefile [2023-02-07T22:52:42.141Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 7 22:48 OWNERS.md [2023-02-07T22:52:42.141Z] -rw-rw-r-- 1 jenkins jenkins 15447 Feb 7 22:48 README.md [2023-02-07T22:52:42.141Z] -rw-rw-r-- 1 jenkins jenkins 11 Feb 7 22:45 VERSION [2023-02-07T22:52:42.141Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 22:48 bin [2023-02-07T22:52:42.141Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 7 22:48 cmd [2023-02-07T22:52:42.141Z] -rw-r--r-- 1 jenkins jenkins 13744 Feb 7 22:52 coverage.out [2023-02-07T22:52:42.141Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 7 22:48 driver [2023-02-07T22:52:42.141Z] -rw-rw-r-- 1 jenkins jenkins 3399 Feb 7 22:48 go.mod [2023-02-07T22:52:42.141Z] -rw-rw-r-- 1 jenkins jenkins 33277 Feb 7 22:48 go.sum [2023-02-07T22:52:42.141Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 7 22:48 snap [2023-02-07T22:52:42.141Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 7 22:48 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:52:42.499Z] + 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=b8541e7e07d14b35bcb3c6fb0ee347edefdec343 --label arch=arm64 --label version=3.0.0-dev.8 . [2023-02-07T22:52:42.499Z] Sending build context to Docker daemon 157.2kB [2023-02-07T22:52:42.786Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-07T22:52:42.786Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-07T22:52:42.786Z] ---> 9ecc52136d5c [2023-02-07T22:52:42.786Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-07T22:52:43.054Z] ---> Running in d812436cbf18 [2023-02-07T22:52:43.321Z] Removing intermediate container d812436cbf18 [2023-02-07T22:52:43.321Z] ---> 67903e5a133a [2023-02-07T22:52:43.321Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-07T22:52:43.321Z] ---> Running in a985d30d1c58 [2023-02-07T22:52:43.590Z] Removing intermediate container a985d30d1c58 [2023-02-07T22:52:43.590Z] ---> 353b46cb944f [2023-02-07T22:52:43.590Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-07T22:52:43.858Z] ---> Running in 002e407eec68 [2023-02-07T22:52:44.126Z] Removing intermediate container 002e407eec68 [2023-02-07T22:52:44.126Z] ---> 14856d416ae6 [2023-02-07T22:52:44.126Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-07T22:52:44.126Z] ---> Running in 79bd191292ae [2023-02-07T22:52:44.714Z] Removing intermediate container 79bd191292ae [2023-02-07T22:52:44.714Z] ---> 414ba4ea19d0 [2023-02-07T22:52:44.714Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-07T22:52:44.714Z] ---> Running in a734fcf74846 [2023-02-07T22:52:45.685Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-07T22:52:46.270Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-07T22:52:47.688Z] OK: 226 MiB in 55 packages [2023-02-07T22:52:49.646Z] Removing intermediate container a734fcf74846 [2023-02-07T22:52:49.646Z] ---> 023e41eff349 [2023-02-07T22:52:49.646Z] Step 8/25 : WORKDIR /device-rest-go [2023-02-07T22:52:49.646Z] ---> Running in d1526c6f0a49 [2023-02-07T22:52:50.235Z] Removing intermediate container d1526c6f0a49 [2023-02-07T22:52:50.235Z] ---> 4c3e34beae1a [2023-02-07T22:52:50.235Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-07T22:52:50.511Z] ---> 48f24f5877b3 [2023-02-07T22:52:50.511Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-07T22:52:50.787Z] ---> Running in 50ea903e5306 [2023-02-07T22:52:54.132Z] Removing intermediate container 50ea903e5306 [2023-02-07T22:52:54.132Z] ---> 09b7ef1e2309 [2023-02-07T22:52:54.132Z] Step 11/25 : COPY . . [2023-02-07T22:52:54.723Z] ---> a1bf7c2cb8f1 [2023-02-07T22:52:54.723Z] Step 12/25 : RUN $MAKE [2023-02-07T22:52:54.723Z] ---> Running in 2929fe904273 [2023-02-07T22:52:56.147Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.8" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-02-07T22:55:32.899Z] Removing intermediate container 2929fe904273 [2023-02-07T22:55:32.899Z] ---> 3d9b0dde2a0e [2023-02-07T22:55:32.899Z] Step 13/25 : FROM alpine:3.16 [2023-02-07T22:55:32.899Z] 3.16: Pulling from library/alpine [2023-02-07T22:55:32.899Z] 6875df1f5354: Pulling fs layer [2023-02-07T22:55:32.899Z] 6875df1f5354: Download complete [2023-02-07T22:55:32.899Z] 6875df1f5354: Pull complete [2023-02-07T22:55:32.899Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-02-07T22:55:32.899Z] Status: Downloaded newer image for alpine:3.16 [2023-02-07T22:55:32.899Z] ---> 2b4661558fb8 [2023-02-07T22:55:32.899Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-07T22:55:32.899Z] ---> Running in 8b05c015c701 [2023-02-07T22:55:32.899Z] Removing intermediate container 8b05c015c701 [2023-02-07T22:55:32.899Z] ---> 8ef2448725dc [2023-02-07T22:55:32.899Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-02-07T22:55:32.899Z] ---> Running in aaf11f49b65b [2023-02-07T22:55:32.899Z] Removing intermediate container aaf11f49b65b [2023-02-07T22:55:32.899Z] ---> e547795ece58 [2023-02-07T22:55:32.899Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-02-07T22:55:32.899Z] ---> Running in 0a4870b43d83 [2023-02-07T22:55:32.899Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-07T22:55:32.899Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-07T22:55:32.899Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-07T22:55:32.899Z] Executing busybox-1.35.0-r17.trigger [2023-02-07T22:55:32.899Z] OK: 5 MiB in 15 packages [2023-02-07T22:55:32.899Z] Removing intermediate container 0a4870b43d83 [2023-02-07T22:55:32.899Z] ---> 67b6a763bfa4 [2023-02-07T22:55:32.899Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-02-07T22:55:32.899Z] ---> e5295ae5edb5 [2023-02-07T22:55:32.899Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-02-07T22:55:32.899Z] ---> 04966dfd626c [2023-02-07T22:55:32.899Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-02-07T22:55:32.899Z] ---> e0e88021d401 [2023-02-07T22:55:32.899Z] Step 20/25 : EXPOSE 59986 [2023-02-07T22:55:32.899Z] ---> Running in eccdc04b0e9f [2023-02-07T22:55:32.899Z] Removing intermediate container eccdc04b0e9f [2023-02-07T22:55:32.899Z] ---> ec067398f445 [2023-02-07T22:55:32.899Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-02-07T22:55:32.899Z] ---> Running in 7ca8a5ce1801 [2023-02-07T22:55:32.899Z] Removing intermediate container 7ca8a5ce1801 [2023-02-07T22:55:32.899Z] ---> de5319cbb20b [2023-02-07T22:55:32.899Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-07T22:55:32.899Z] ---> Running in 9a4b9f387292 [2023-02-07T22:55:32.899Z] Removing intermediate container 9a4b9f387292 [2023-02-07T22:55:32.899Z] ---> 41b4b3ee3476 [2023-02-07T22:55:32.899Z] Step 23/25 : LABEL arch=arm64 [2023-02-07T22:55:32.899Z] ---> Running in 2d55b156df1d [2023-02-07T22:55:32.899Z] Removing intermediate container 2d55b156df1d [2023-02-07T22:55:32.899Z] ---> 3d3467100adf [2023-02-07T22:55:32.900Z] Step 24/25 : LABEL git_sha=b8541e7e07d14b35bcb3c6fb0ee347edefdec343 [2023-02-07T22:55:32.900Z] ---> Running in 01ef52636bb5 [2023-02-07T22:55:32.900Z] Removing intermediate container 01ef52636bb5 [2023-02-07T22:55:32.900Z] ---> 394183e3c6ed [2023-02-07T22:55:32.900Z] Step 25/25 : LABEL version=3.0.0-dev.8 [2023-02-07T22:55:32.900Z] ---> Running in a9fc2ffcb08a [2023-02-07T22:55:32.900Z] Removing intermediate container a9fc2ffcb08a [2023-02-07T22:55:32.900Z] ---> 162b35531a27 [2023-02-07T22:55:32.900Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-07T22:55:32.900Z] Successfully built 162b35531a27 [2023-02-07T22:55:32.900Z] 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 [2023-02-07T22:55:33.029Z] provisioning config files... [2023-02-07T22:55:33.045Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/80@tmp/config14169662579396264454tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:55:33.393Z] ---> docker-login.sh [2023-02-07T22:55:33.393Z] nexus3.edgexfoundry.org:10001 [2023-02-07T22:55:33.661Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:55:33.661Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:55:33.661Z] Configure a credential helper to remove this warning. See [2023-02-07T22:55:33.661Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:55:33.661Z] [2023-02-07T22:55:33.661Z] Login Succeeded [2023-02-07T22:55:33.661Z] nexus3.edgexfoundry.org:10002 [2023-02-07T22:55:33.932Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:55:34.205Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:55:34.205Z] Configure a credential helper to remove this warning. See [2023-02-07T22:55:34.205Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:55:34.205Z] [2023-02-07T22:55:34.205Z] Login Succeeded [2023-02-07T22:55:34.205Z] nexus3.edgexfoundry.org:10003 [2023-02-07T22:55:34.474Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:55:34.474Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:55:34.474Z] Configure a credential helper to remove this warning. See [2023-02-07T22:55:34.474Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:55:34.474Z] [2023-02-07T22:55:34.474Z] Login Succeeded [2023-02-07T22:55:34.474Z] nexus3.edgexfoundry.org:10004 [2023-02-07T22:55:34.743Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:55:35.013Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:55:35.013Z] Configure a credential helper to remove this warning. See [2023-02-07T22:55:35.013Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:55:35.013Z] [2023-02-07T22:55:35.013Z] Login Succeeded [2023-02-07T22:55:35.013Z] docker.io [2023-02-07T22:55:35.281Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-07T22:55:35.550Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-07T22:55:35.550Z] Configure a credential helper to remove this warning. See [2023-02-07T22:55:35.550Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-07T22:55:35.550Z] [2023-02-07T22:55:35.550Z] Login Succeeded [2023-02-07T22:55:35.550Z] ---> docker-login.sh ends [Pipeline] } [2023-02-07T22:55:35.565Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-07T22:55:35.594Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-07T22:55:35.616Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-02-07T22:55:35.616Z] b8541e7e07d14b35bcb3c6fb0ee347edefdec343 [2023-02-07T22:55:35.616Z] latest [2023-02-07T22:55:35.616Z] 3.0.0-dev.8 [2023-02-07T22:55:35.616Z] b8541e7e07d14b35bcb3c6fb0ee347edefdec343-3.0.0-dev.8 [2023-02-07T22:55:35.616Z] main [2023-02-07T22:55:35.616Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:55:35.961Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:b8541e7e07d14b35bcb3c6fb0ee347edefdec343 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:55:36.309Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:b8541e7e07d14b35bcb3c6fb0ee347edefdec343 [2023-02-07T22:55:36.309Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-02-07T22:55:36.309Z] 9d016dd4ecc0: Preparing [2023-02-07T22:55:36.309Z] d5c0bfeeb8b0: Preparing [2023-02-07T22:55:36.309Z] dcb3d413808f: Preparing [2023-02-07T22:55:36.309Z] 1308065ee8db: Preparing [2023-02-07T22:55:36.309Z] 17bec77d7fdc: Preparing [2023-02-07T22:55:36.309Z] 17bec77d7fdc: Layer already exists [2023-02-07T22:55:36.579Z] d5c0bfeeb8b0: Pushed [2023-02-07T22:55:36.579Z] 9d016dd4ecc0: Pushed [2023-02-07T22:55:36.579Z] 1308065ee8db: Pushed [2023-02-07T22:55:41.933Z] dcb3d413808f: Pushed [2023-02-07T22:55:41.933Z] b8541e7e07d14b35bcb3c6fb0ee347edefdec343: digest: sha256:ec707cab0b02511298f582b5f815104c84f146af2ff49b8466c062ebc6f05467 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:55:42.280Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:55:42.626Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-02-07T22:55:42.626Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-02-07T22:55:42.626Z] 9d016dd4ecc0: Preparing [2023-02-07T22:55:42.626Z] d5c0bfeeb8b0: Preparing [2023-02-07T22:55:42.626Z] dcb3d413808f: Preparing [2023-02-07T22:55:42.626Z] 1308065ee8db: Preparing [2023-02-07T22:55:42.626Z] 17bec77d7fdc: Preparing [2023-02-07T22:55:42.626Z] 17bec77d7fdc: Layer already exists [2023-02-07T22:55:42.626Z] 9d016dd4ecc0: Layer already exists [2023-02-07T22:55:42.626Z] dcb3d413808f: Layer already exists [2023-02-07T22:55:42.626Z] 1308065ee8db: Layer already exists [2023-02-07T22:55:42.626Z] d5c0bfeeb8b0: Layer already exists [2023-02-07T22:55:42.894Z] latest: digest: sha256:ec707cab0b02511298f582b5f815104c84f146af2ff49b8466c062ebc6f05467 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:55:43.245Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:55:43.593Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.8 [2023-02-07T22:55:43.593Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-02-07T22:55:43.593Z] 9d016dd4ecc0: Preparing [2023-02-07T22:55:43.593Z] d5c0bfeeb8b0: Preparing [2023-02-07T22:55:43.593Z] dcb3d413808f: Preparing [2023-02-07T22:55:43.593Z] 1308065ee8db: Preparing [2023-02-07T22:55:43.593Z] 17bec77d7fdc: Preparing [2023-02-07T22:55:43.593Z] dcb3d413808f: Layer already exists [2023-02-07T22:55:43.593Z] d5c0bfeeb8b0: Layer already exists [2023-02-07T22:55:43.593Z] 9d016dd4ecc0: Layer already exists [2023-02-07T22:55:43.593Z] 1308065ee8db: Layer already exists [2023-02-07T22:55:43.593Z] 17bec77d7fdc: Layer already exists [2023-02-07T22:55:43.860Z] 3.0.0-dev.8: digest: sha256:ec707cab0b02511298f582b5f815104c84f146af2ff49b8466c062ebc6f05467 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:55:44.214Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:b8541e7e07d14b35bcb3c6fb0ee347edefdec343-3.0.0-dev.8 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:55:44.644Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:b8541e7e07d14b35bcb3c6fb0ee347edefdec343-3.0.0-dev.8 [2023-02-07T22:55:44.644Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-02-07T22:55:44.644Z] 9d016dd4ecc0: Preparing [2023-02-07T22:55:44.644Z] d5c0bfeeb8b0: Preparing [2023-02-07T22:55:44.644Z] dcb3d413808f: Preparing [2023-02-07T22:55:44.644Z] 1308065ee8db: Preparing [2023-02-07T22:55:44.644Z] 17bec77d7fdc: Preparing [2023-02-07T22:55:44.644Z] d5c0bfeeb8b0: Layer already exists [2023-02-07T22:55:44.644Z] 17bec77d7fdc: Layer already exists [2023-02-07T22:55:44.644Z] 9d016dd4ecc0: Layer already exists [2023-02-07T22:55:44.644Z] 1308065ee8db: Layer already exists [2023-02-07T22:55:44.644Z] dcb3d413808f: Layer already exists [2023-02-07T22:55:44.920Z] b8541e7e07d14b35bcb3c6fb0ee347edefdec343-3.0.0-dev.8: digest: sha256:ec707cab0b02511298f582b5f815104c84f146af2ff49b8466c062ebc6f05467 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:55:45.299Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:55:45.669Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-02-07T22:55:45.669Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-02-07T22:55:45.669Z] 9d016dd4ecc0: Preparing [2023-02-07T22:55:45.669Z] d5c0bfeeb8b0: Preparing [2023-02-07T22:55:45.669Z] dcb3d413808f: Preparing [2023-02-07T22:55:45.669Z] 1308065ee8db: Preparing [2023-02-07T22:55:45.669Z] 17bec77d7fdc: Preparing [2023-02-07T22:55:45.669Z] 17bec77d7fdc: Layer already exists [2023-02-07T22:55:45.669Z] 9d016dd4ecc0: Layer already exists [2023-02-07T22:55:45.669Z] d5c0bfeeb8b0: Layer already exists [2023-02-07T22:55:45.669Z] dcb3d413808f: Layer already exists [2023-02-07T22:55:45.669Z] 1308065ee8db: Layer already exists [2023-02-07T22:55:45.948Z] main: digest: sha256:ec707cab0b02511298f582b5f815104c84f146af2ff49b8466c062ebc6f05467 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-07T22:55:46.007Z] ===================================================== [Pipeline] echo [2023-02-07T22:55:46.014Z] taggedImages: [2023-02-07T22:55:46.014Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:b8541e7e07d14b35bcb3c6fb0ee347edefdec343 [2023-02-07T22:55:46.014Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-02-07T22:55:46.014Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.8 [2023-02-07T22:55:46.014Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:b8541e7e07d14b35bcb3c6fb0ee347edefdec343-3.0.0-dev.8 [2023-02-07T22:55:46.014Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage Post stage [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:55:46.379Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-07T22:55:46.379Z] [2023-02-07T22:55:46.379Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:55:46.715Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-07T22:55:46.987Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-07T22:55:46.987Z] 8998bd30e6a1: Pulling fs layer [2023-02-07T22:55:46.987Z] 04944245beec: Pulling fs layer [2023-02-07T22:55:46.987Z] 699f458cf7ca: Pulling fs layer [2023-02-07T22:55:46.987Z] 765212b225bb: Pulling fs layer [2023-02-07T22:55:46.987Z] f23df028b6ca: Pulling fs layer [2023-02-07T22:55:46.987Z] d65c8cfc05b1: Pulling fs layer [2023-02-07T22:55:46.987Z] 2437ff75d9bd: Pulling fs layer [2023-02-07T22:55:46.987Z] f23df028b6ca: Waiting [2023-02-07T22:55:46.987Z] d65c8cfc05b1: Waiting [2023-02-07T22:55:46.987Z] 765212b225bb: Waiting [2023-02-07T22:55:46.987Z] 2437ff75d9bd: Waiting [2023-02-07T22:55:46.987Z] 04944245beec: Verifying Checksum [2023-02-07T22:55:46.987Z] 04944245beec: Download complete [2023-02-07T22:55:46.987Z] 765212b225bb: Verifying Checksum [2023-02-07T22:55:46.987Z] 765212b225bb: Download complete [2023-02-07T22:55:46.987Z] f23df028b6ca: Verifying Checksum [2023-02-07T22:55:46.987Z] f23df028b6ca: Download complete [2023-02-07T22:55:46.987Z] d65c8cfc05b1: Verifying Checksum [2023-02-07T22:55:46.987Z] d65c8cfc05b1: Download complete [2023-02-07T22:55:47.255Z] 699f458cf7ca: Verifying Checksum [2023-02-07T22:55:47.255Z] 699f458cf7ca: Download complete [2023-02-07T22:55:47.842Z] 8998bd30e6a1: Verifying Checksum [2023-02-07T22:55:47.842Z] 8998bd30e6a1: Download complete [2023-02-07T22:55:50.507Z] 2437ff75d9bd: Download complete [2023-02-07T22:55:51.931Z] 8998bd30e6a1: Pull complete [2023-02-07T22:55:52.198Z] 04944245beec: Pull complete [2023-02-07T22:55:53.609Z] 699f458cf7ca: Pull complete [2023-02-07T22:55:53.876Z] 765212b225bb: Pull complete [2023-02-07T22:55:54.461Z] f23df028b6ca: Pull complete [2023-02-07T22:55:54.729Z] d65c8cfc05b1: Pull complete [2023-02-07T22:56:09.737Z] 2437ff75d9bd: Pull complete [2023-02-07T22:56:09.737Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-07T22:56:09.737Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-07T22:56:09.737Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:56:09.944Z] prd-ubuntu20.04-docker-arm64-4c-16g-5009 does not seem to be running inside a container [2023-02-07T22:56:10.021Z] $ 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/80 -v /w/workspace/device-rest-go/80:/w/workspace/device-rest-go/80:rw,z -v /w/workspace/device-rest-go/80@tmp:/w/workspace/device-rest-go/80@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-07T22:56:12.992Z] $ docker top c43d1a1ce88f50a409b3e8f8a554ab21561d2701ed3b7273f6f9c8dfb042edc2 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:56:13.885Z] ---> job-cost.sh [2023-02-07T22:56:13.885Z] lf-activate-venv: SKIPPING [2023-02-07T22:56:13.885Z] INFO: No Stack... [2023-02-07T22:56:14.467Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-07T22:56:15.432Z] INFO: Archiving Costs [Pipeline] sh [2023-02-07T22:56:16.085Z] + cat /w/workspace/device-rest-go/80/archives/cost.csv [2023-02-07T22:56:16.085Z] + cut -d, -f6 [Pipeline] lock [2023-02-07T22:56:16.173Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-80-stack-cost] [2023-02-07T22:56:16.183Z] Resource [jenkins-edgexfoundry-device-rest-go-main-80-stack-cost] did not exist. Created. [2023-02-07T22:56:16.183Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-80-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-07T22:56:16.856Z] /w/workspace/device-rest-go/80@tmp/durable-68e6e3af/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-07T22:56:17.518Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-07T22:56:17.538Z] Warning: overwriting stash ‘stack-cost’ [2023-02-07T22:56:17.590Z] Stashed 1 file(s) [Pipeline] } [2023-02-07T22:56:17.597Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-80-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-07T22:56:17.619Z] $ docker stop --time=1 c43d1a1ce88f50a409b3e8f8a554ab21561d2701ed3b7273f6f9c8dfb042edc2 [2023-02-07T22:56:19.179Z] $ docker rm -f --volumes c43d1a1ce88f50a409b3e8f8a554ab21561d2701ed3b7273f6f9c8dfb042edc2 [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 [2023-02-07T22:56:19.597Z] provisioning config files... [2023-02-07T22:56:19.603Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17945624518950187037tmp [Pipeline] { [Pipeline] sh [2023-02-07T22:56:19.893Z] + set +x [2023-02-07T22:56:19.894Z] + curl -s https://codecov.io/bash [2023-02-07T22:56:19.894Z] + bash -s -- [2023-02-07T22:56:19.894Z] [2023-02-07T22:56:19.894Z] _____ _ [2023-02-07T22:56:19.894Z] / ____| | | [2023-02-07T22:56:19.894Z] | | ___ __| | ___ ___ _____ __ [2023-02-07T22:56:19.894Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-07T22:56:19.894Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-07T22:56:19.894Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-07T22:56:19.894Z] Bash-1.0.6 [2023-02-07T22:56:19.894Z] [2023-02-07T22:56:19.894Z] [2023-02-07T22:56:19.894Z] ==> git version 2.25.1 found [2023-02-07T22:56:19.894Z] ==> 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 [2023-02-07T22:56:19.894Z] Release-Date: 2020-01-08 [2023-02-07T22:56:19.894Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2023-02-07T22:56:19.894Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-07T22:56:19.894Z] ==> Jenkins CI detected. [2023-02-07T22:56:19.894Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-02-07T22:56:19.894Z] project root: . [2023-02-07T22:56:19.894Z] --> token set from env [2023-02-07T22:56:19.894Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-07T22:56:19.894Z] ==> Running gcov in . (disable via -X gcov) [2023-02-07T22:56:19.894Z] ==> Python coveragepy not found [2023-02-07T22:56:19.894Z] ==> Searching for coverage reports in: [2023-02-07T22:56:19.894Z] + . [2023-02-07T22:56:19.894Z] -> Found 1 reports [2023-02-07T22:56:19.894Z] ==> Detecting git/mercurial file structure [2023-02-07T22:56:19.894Z] ==> Reading reports [2023-02-07T22:56:19.894Z] + ./coverage.out bytes=13744 [2023-02-07T22:56:19.894Z] ==> Appending adjustments [2023-02-07T22:56:19.894Z] https://docs.codecov.io/docs/fixing-reports [2023-02-07T22:56:20.152Z] + Found adjustments [2023-02-07T22:56:20.152Z] ==> Gzipping contents [2023-02-07T22:56:20.152Z] 4.0K /tmp/codecov.xbRTs2.gz [2023-02-07T22:56:20.152Z] ==> Uploading reports [2023-02-07T22:56:20.152Z] url: https://codecov.io [2023-02-07T22:56:20.152Z] query: branch=main&commit=b8541e7e07d14b35bcb3c6fb0ee347edefdec343&build=80&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F80%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-02-07T22:56:20.152Z] -> Pinging Codecov [2023-02-07T22:56:20.152Z] https://codecov.io/upload/v4?package=bash-1.0.6&token=&package=bash-1.0.6&token=c51feb23-73ac-4f49-b3d1-d26df23137db&branch=main&commit=b8541e7e07d14b35bcb3c6fb0ee347edefdec343&build=80&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F80%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-02-07T22:56:20.410Z] -> Uploading to [2023-02-07T22:56:20.410Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-07/4E5D53B4F1F92C436F7061BF334D961C/b8541e7e07d14b35bcb3c6fb0ee347edefdec343/d4379ca0-1f6d-4baf-82c7-d76712b1e5ab.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230207%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230207T225620Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=fa37e731305257db38e17fe7bc8a1ca96bd43ed3a37b8b6b57c0e2f6c61106f6 [2023-02-07T22:56:20.410Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-07T22:56:20.410Z] Dload Upload Total Spent Left Speed [2023-02-07T22:56:20.669Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2438 0 0 100 2438 0 9713 --:--:-- --:--:-- --:--:-- 9713 [2023-02-07T22:56:20.669Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/b8541e7e07d14b35bcb3c6fb0ee347edefdec343 [Pipeline] } [2023-02-07T22:56:20.675Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-02-07T22:56:20.803Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-02-07T22:56:20.815Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:56:21.104Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-07T22:56:21.104Z] [2023-02-07T22:56:21.104Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:56:21.400Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-07T22:56:21.400Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-02-07T22:56:21.400Z] df9b9388f04a: Pulling fs layer [2023-02-07T22:56:21.400Z] 52dc419b0ee2: Pulling fs layer [2023-02-07T22:56:21.400Z] 25bc292e5bac: Pulling fs layer [2023-02-07T22:56:21.400Z] 114826534d7a: Pulling fs layer [2023-02-07T22:56:21.400Z] 4657fd5d0bcf: Pulling fs layer [2023-02-07T22:56:21.400Z] 6ad1cebc031e: Pulling fs layer [2023-02-07T22:56:21.400Z] 8a3aa393b2d8: Pulling fs layer [2023-02-07T22:56:21.400Z] 4657fd5d0bcf: Waiting [2023-02-07T22:56:21.400Z] 114826534d7a: Waiting [2023-02-07T22:56:21.400Z] 6ad1cebc031e: Waiting [2023-02-07T22:56:21.400Z] 8a3aa393b2d8: Waiting [2023-02-07T22:56:21.400Z] 25bc292e5bac: Download complete [2023-02-07T22:56:21.400Z] 52dc419b0ee2: Download complete [2023-02-07T22:56:21.400Z] 4657fd5d0bcf: Verifying Checksum [2023-02-07T22:56:21.400Z] 4657fd5d0bcf: Download complete [2023-02-07T22:56:21.400Z] df9b9388f04a: Verifying Checksum [2023-02-07T22:56:21.400Z] df9b9388f04a: Download complete [2023-02-07T22:56:21.672Z] df9b9388f04a: Pull complete [2023-02-07T22:56:21.672Z] 52dc419b0ee2: Pull complete [2023-02-07T22:56:21.940Z] 25bc292e5bac: Pull complete [2023-02-07T22:56:21.940Z] 6ad1cebc031e: Verifying Checksum [2023-02-07T22:56:21.940Z] 6ad1cebc031e: Download complete [2023-02-07T22:56:22.954Z] 114826534d7a: Verifying Checksum [2023-02-07T22:56:22.954Z] 114826534d7a: Download complete [2023-02-07T22:56:23.214Z] 8a3aa393b2d8: Verifying Checksum [2023-02-07T22:56:23.214Z] 8a3aa393b2d8: Download complete [2023-02-07T22:56:26.498Z] 114826534d7a: Pull complete [2023-02-07T22:56:26.498Z] 4657fd5d0bcf: Pull complete [2023-02-07T22:56:26.498Z] 6ad1cebc031e: Pull complete [2023-02-07T22:56:29.036Z] 8a3aa393b2d8: Pull complete [2023-02-07T22:56:29.036Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-02-07T22:56:29.036Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-07T22:56:29.036Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:56:29.116Z] prd-ubuntu20.04-docker-8c-8g-5003 does not seem to be running inside a container [2023-02-07T22:56:29.139Z] $ docker run -t -d -u 1001:1001 -u 0:0 --privileged -v /var/run/docker.sock:/var/run/docker.sock --entrypoint= -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2023-02-07T22:56:31.709Z] $ docker top 36893caa47798ae92caa5369d9dbcdc8bf47c5ac89bdd74571151d8709434416 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-02-07T22:56:31.776Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-02-07T22:56:32.053Z] + set -o pipefail [2023-02-07T22:56:32.053Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-02-07T22:56:36.245Z] [2023-02-07T22:56:36.245Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-02-07T22:56:36.245Z] [2023-02-07T22:56:36.245Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/1deeec12-a06a-4d00-a7a7-aca5be5894a0 [2023-02-07T22:56:36.245Z] [2023-02-07T22:56:36.245Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-02-07T22:56:36.245Z] [2023-02-07T22:56:36.245Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-02-07T22:56:36.245Z] [2023-02-07T22:56:36.504Z] [2023-02-07T22:56:36.504Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-02-07T22:56:36.504Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-02-07T22:56:36.504Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-02-07T22:56:36.502Z] $ docker stop --time=1 36893caa47798ae92caa5369d9dbcdc8bf47c5ac89bdd74571151d8709434416 [2023-02-07T22:56:38.976Z] $ docker rm -f --volumes 36893caa47798ae92caa5369d9dbcdc8bf47c5ac89bdd74571151d8709434416 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Archive Prep) Stage "Archive Prep" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Publish Swagger) Stage "Publish Swagger" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Semver) [Pipeline] stage [Pipeline] { (Tag) [Pipeline] script [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-07T22:56:39.635Z] + git log --format=format:%s -1 b8541e7e07d14b35bcb3c6fb0ee347edefdec343 [Pipeline] sh [2023-02-07T22:56:39.923Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-07T22:56:39.923Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:56:40.225Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T22:56:40.225Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:56:40.294Z] prd-ubuntu20.04-docker-8c-8g-5003 does not seem to be running inside a container [2023-02-07T22:56:40.312Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-07T22:56:40.719Z] $ docker top 6707cdcb2b89c8628b231a7b69a6617222a2e70b95641a1d5aba44718a84bd43 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-07T22:56:40.820Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-07T22:56:40.820Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-07T22:56:40.931Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-07T22:56:40.921Z] $ docker exec 6707cdcb2b89c8628b231a7b69a6617222a2e70b95641a1d5aba44718a84bd43 ssh-agent [2023-02-07T22:56:41.048Z] SSH_AUTH_SOCK=/tmp/ssh-tFKGs1uGDTCc/agent.32 [2023-02-07T22:56:41.048Z] SSH_AGENT_PID=38 [2023-02-07T22:56:41.052Z] Running ssh-add (command line suppressed) [2023-02-07T22:56:41.147Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2954513340505367828.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2954513340505367828.key) [2023-02-07T22:56:41.172Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-07T22:56:41.456Z] + git semver tag [2023-02-07T22:56:41.715Z] 2023-02-07 22:56:41,616 [run_tag] DEBUG tag force:False [2023-02-07T22:56:41.715Z] 2023-02-07 22:56:41,616 [check_head_tag] DEBUG check head tag [2023-02-07T22:56:41.715Z] 2023-02-07 22:56:41,618 [execute] INFO git cat-file --batch-check [2023-02-07T22:56:41.715Z] 2023-02-07 22:56:41,619 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-02-07T22:56:41.715Z] 2023-02-07 22:56:41,623 [execute] INFO git cat-file --batch [2023-02-07T22:56:41.715Z] 2023-02-07 22:56:41,623 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-02-07T22:56:41.715Z] 2023-02-07 22:56:41,640 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-07T22:56:41.715Z] 2023-02-07 22:56:41,640 [execute] INFO git tag -a v3.0.0-dev.8 -m v3.0.0-dev.8 [2023-02-07T22:56:41.715Z] 2023-02-07 22:56:41,640 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.8', '-m', 'v3.0.0-dev.8'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-02-07T22:56:41.715Z] 2023-02-07 22:56:41,645 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-07T22:56:41.715Z] 3.0.0-dev.8 [Pipeline] } [2023-02-07T22:56:41.711Z] $ docker exec --env ******** --env ******** 6707cdcb2b89c8628b231a7b69a6617222a2e70b95641a1d5aba44718a84bd43 ssh-agent -k [2023-02-07T22:56:41.804Z] unset SSH_AUTH_SOCK; [2023-02-07T22:56:41.805Z] unset SSH_AGENT_PID; [2023-02-07T22:56:41.805Z] echo Agent pid 38 killed; [2023-02-07T22:56:41.827Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-07T22:56:42.123Z] + git semver [Pipeline] } [2023-02-07T22:56:42.381Z] $ docker stop --time=1 6707cdcb2b89c8628b231a7b69a6617222a2e70b95641a1d5aba44718a84bd43 [2023-02-07T22:56:43.658Z] $ docker rm -f --volumes 6707cdcb2b89c8628b231a7b69a6617222a2e70b95641a1d5aba44718a84bd43 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:56:44.036Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-07T22:56:44.036Z] [2023-02-07T22:56:44.036Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:56:44.341Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-07T22:56:44.341Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-02-07T22:56:44.341Z] ab5ef0e58194: Pulling fs layer [2023-02-07T22:56:44.341Z] 9712f1f96733: Pulling fs layer [2023-02-07T22:56:44.341Z] 63f879dbbcfc: Pulling fs layer [2023-02-07T22:56:44.341Z] 0d9ebad4ef96: Pulling fs layer [2023-02-07T22:56:44.341Z] e9a5061849ea: Pulling fs layer [2023-02-07T22:56:44.341Z] d747dcd14b5f: Pulling fs layer [2023-02-07T22:56:44.341Z] 2de7ff778b66: Pulling fs layer [2023-02-07T22:56:44.341Z] e9a5061849ea: Waiting [2023-02-07T22:56:44.341Z] 2de7ff778b66: Waiting [2023-02-07T22:56:44.341Z] d747dcd14b5f: Waiting [2023-02-07T22:56:44.341Z] 0d9ebad4ef96: Waiting [2023-02-07T22:56:44.341Z] 9712f1f96733: Verifying Checksum [2023-02-07T22:56:44.341Z] 9712f1f96733: Download complete [2023-02-07T22:56:45.366Z] 63f879dbbcfc: Download complete [2023-02-07T22:56:45.366Z] e9a5061849ea: Verifying Checksum [2023-02-07T22:56:45.366Z] e9a5061849ea: Download complete [2023-02-07T22:56:45.644Z] d747dcd14b5f: Verifying Checksum [2023-02-07T22:56:45.644Z] d747dcd14b5f: Download complete [2023-02-07T22:56:45.644Z] ab5ef0e58194: Download complete [2023-02-07T22:56:45.905Z] 0d9ebad4ef96: Verifying Checksum [2023-02-07T22:56:45.905Z] 0d9ebad4ef96: Download complete [2023-02-07T22:56:45.905Z] 2de7ff778b66: Verifying Checksum [2023-02-07T22:56:48.439Z] ab5ef0e58194: Pull complete [2023-02-07T22:56:48.439Z] 9712f1f96733: Pull complete [2023-02-07T22:56:49.007Z] 63f879dbbcfc: Pull complete [2023-02-07T22:56:52.289Z] 0d9ebad4ef96: Pull complete [2023-02-07T22:56:52.546Z] e9a5061849ea: Pull complete [2023-02-07T22:56:52.546Z] d747dcd14b5f: Pull complete [2023-02-07T22:56:53.480Z] 2de7ff778b66: Pull complete [2023-02-07T22:56:53.480Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-02-07T22:56:53.480Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-07T22:56:53.480Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:56:53.565Z] prd-ubuntu20.04-docker-8c-8g-5003 does not seem to be running inside a container [2023-02-07T22:56:53.578Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2023-02-07T22:56:57.286Z] $ docker top 97cab245658610bff124e1ff34f797b875f22d925d9731aa7d889760b3cd1ebc -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-02-07T22:56:57.371Z] provisioning config files... [2023-02-07T22:56:57.377Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9534246514993710016tmp [2023-02-07T22:56:57.388Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15648541449349435110tmp [2023-02-07T22:56:57.397Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config1074635673217059626tmp [Pipeline] { [Pipeline] echo [2023-02-07T22:56:57.416Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:56:57.701Z] ---> sigul-configuration.sh [2023-02-07T22:56:57.701Z] gpg: directory `/root/.gnupg' created [2023-02-07T22:56:57.701Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-02-07T22:56:57.701Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-02-07T22:56:57.701Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-02-07T22:56:57.701Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-02-07T22:56:57.701Z] gpg: CAST5 encrypted data [2023-02-07T22:56:57.701Z] gpg: encrypted with 1 passphrase [2023-02-07T22:56:57.701Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-02-07T22:56:57.990Z] + mkdir /home/jenkins [2023-02-07T22:56:57.991Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-02-07T22:56:58.278Z] + cp -R /root/sigul/cert8.db /root/sigul/key3.db /root/sigul/nss-password.txt /root/sigul/secmod.db /root/sigul/vex-yul-edgex-jenkins-1.ci.codeaurora.org.p12 /home/jenkins/sigul/ [Pipeline] echo [2023-02-07T22:56:58.289Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:56:58.576Z] ---> sigul-install.sh [2023-02-07T22:56:58.576Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-02-07T22:56:58.862Z] + git tag --list [2023-02-07T22:56:58.862Z] v1.0.0 [2023-02-07T22:56:58.862Z] v1.1.0 [2023-02-07T22:56:58.862Z] v1.1.1 [2023-02-07T22:56:58.862Z] v1.1.2 [2023-02-07T22:56:58.862Z] v1.2.0 [2023-02-07T22:56:58.862Z] v1.2.1 [2023-02-07T22:56:58.862Z] v2.0.0 [2023-02-07T22:56:58.862Z] v2.1.0 [2023-02-07T22:56:58.862Z] v2.1.1 [2023-02-07T22:56:58.862Z] v2.1.1-dev.1 [2023-02-07T22:56:58.862Z] v2.1.1-dev.2 [2023-02-07T22:56:58.862Z] v2.1.1-dev.3 [2023-02-07T22:56:58.862Z] v2.2.0 [2023-02-07T22:56:58.862Z] v2.2.1-dev.1 [2023-02-07T22:56:58.862Z] v2.2.1-dev.2 [2023-02-07T22:56:58.862Z] v2.2.1-dev.3 [2023-02-07T22:56:58.862Z] v2.2.1-dev.4 [2023-02-07T22:56:58.862Z] v2.2.1-dev.5 [2023-02-07T22:56:58.862Z] v2.2.1-dev.6 [2023-02-07T22:56:58.862Z] v2.2.1-dev.7 [2023-02-07T22:56:58.862Z] v2.2.1-dev.8 [2023-02-07T22:56:58.862Z] v2.2.1-dev.9 [2023-02-07T22:56:58.862Z] v2.3.0 [2023-02-07T22:56:58.862Z] v2.3.0-dev.10 [2023-02-07T22:56:58.862Z] v2.3.0-dev.11 [2023-02-07T22:56:58.862Z] v2.3.0-dev.12 [2023-02-07T22:56:58.862Z] v2.3.0-dev.13 [2023-02-07T22:56:58.862Z] v2.3.0-dev.14 [2023-02-07T22:56:58.862Z] v2.3.0-dev.15 [2023-02-07T22:56:58.862Z] v2.3.0-dev.16 [2023-02-07T22:56:58.862Z] v2.3.0-dev.17 [2023-02-07T22:56:58.862Z] v2.3.0-dev.18 [2023-02-07T22:56:58.862Z] v2.3.0-dev.19 [2023-02-07T22:56:58.863Z] v2.3.0-dev.20 [2023-02-07T22:56:58.863Z] v2.3.0-dev.21 [2023-02-07T22:56:58.863Z] v2.3.0-dev.22 [2023-02-07T22:56:58.863Z] v2.3.0-dev.23 [2023-02-07T22:56:58.863Z] v2.3.0-dev.24 [2023-02-07T22:56:58.863Z] v2.3.0-dev.25 [2023-02-07T22:56:58.863Z] v2.3.0-dev.9 [2023-02-07T22:56:58.863Z] v3.0.0-dev.1 [2023-02-07T22:56:58.863Z] v3.0.0-dev.2 [2023-02-07T22:56:58.863Z] v3.0.0-dev.3 [2023-02-07T22:56:58.863Z] v3.0.0-dev.4 [2023-02-07T22:56:58.863Z] v3.0.0-dev.5 [2023-02-07T22:56:58.863Z] v3.0.0-dev.6 [2023-02-07T22:56:58.863Z] v3.0.0-dev.7 [2023-02-07T22:56:58.863Z] v3.0.0-dev.8 [Pipeline] sh [2023-02-07T22:56:59.149Z] + lftools sign git-tag v3.0.0-dev.8 [2023-02-07T22:56:59.717Z] Signing Git tag with Sigul... [2023-02-07T22:56:59.717Z] Signing v3.0.0-dev.8 [Pipeline] echo [2023-02-07T22:56:59.985Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:57:00.270Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-02-07T22:57:00.277Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-02-07T22:57:00.284Z] $ docker stop --time=1 97cab245658610bff124e1ff34f797b875f22d925d9731aa7d889760b3cd1ebc [2023-02-07T22:57:01.586Z] $ docker rm -f --volumes 97cab245658610bff124e1ff34f797b875f22d925d9731aa7d889760b3cd1ebc [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-02-07T22:57:02.024Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-07T22:57:02.024Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:57:02.325Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T22:57:02.325Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:57:02.401Z] prd-ubuntu20.04-docker-8c-8g-5003 does not seem to be running inside a container [2023-02-07T22:57:02.417Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-07T22:57:02.755Z] $ docker top c2134fe0c07134fce7419454b15355ae3a514bfc76c286d6600152460808293d -eo pid,comm [2023-02-07T22:57:02.813Z] 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). [2023-02-07T22:57:02.813Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-07T22:57:02.858Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-07T22:57:02.858Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-07T22:57:02.969Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-07T22:57:02.958Z] $ docker exec c2134fe0c07134fce7419454b15355ae3a514bfc76c286d6600152460808293d ssh-agent [2023-02-07T22:57:03.070Z] SSH_AUTH_SOCK=/tmp/ssh-l5aSMvXCg9f3/agent.33 [2023-02-07T22:57:03.070Z] SSH_AGENT_PID=39 [2023-02-07T22:57:03.075Z] Running ssh-add (command line suppressed) [2023-02-07T22:57:03.171Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11770079070102338.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11770079070102338.key) [2023-02-07T22:57:03.196Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-07T22:57:03.486Z] + git semver bump pre [2023-02-07T22:57:03.746Z] 2023-02-07 22:57:03,641 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-07T22:57:03.746Z] 2023-02-07 22:57:03,641 [bump_version] DEBUG bumping version:3.0.0-dev.8 on axis:pre with prefix:dev [2023-02-07T22:57:03.746Z] 2023-02-07 22:57:03,641 [bump_version] DEBUG bumped version:3.0.0-dev.9 [2023-02-07T22:57:03.746Z] 2023-02-07 22:57:03,641 [write_version] DEBUG write version:3.0.0-dev.9 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-02-07T22:57:03.746Z] 2023-02-07 22:57:03,641 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-07T22:57:03.746Z] 2023-02-07 22:57:03,641 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-07T22:57:03.746Z] 2023-02-07 22:57:03,643 [execute] INFO git cat-file --batch-check [2023-02-07T22:57:03.746Z] 2023-02-07 22:57:03,643 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-07T22:57:03.746Z] 2023-02-07 22:57:03,648 [execute] INFO git cat-file --batch [2023-02-07T22:57:03.746Z] 2023-02-07 22:57:03,648 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-07T22:57:03.746Z] 2023-02-07 22:57:03,653 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-07T22:57:03.746Z] 3.0.0-dev.9 [Pipeline] } [2023-02-07T22:57:03.745Z] $ docker exec --env ******** --env ******** c2134fe0c07134fce7419454b15355ae3a514bfc76c286d6600152460808293d ssh-agent -k [2023-02-07T22:57:03.843Z] unset SSH_AUTH_SOCK; [2023-02-07T22:57:03.843Z] unset SSH_AGENT_PID; [2023-02-07T22:57:03.843Z] echo Agent pid 39 killed; [2023-02-07T22:57:03.868Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-07T22:57:04.182Z] + git semver [Pipeline] } [2023-02-07T22:57:04.447Z] $ docker stop --time=1 c2134fe0c07134fce7419454b15355ae3a514bfc76c286d6600152460808293d [2023-02-07T22:57:05.721Z] $ docker rm -f --volumes c2134fe0c07134fce7419454b15355ae3a514bfc76c286d6600152460808293d [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-07T22:57:06.067Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-07T22:57:06.067Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:57:06.367Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-07T22:57:06.367Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:57:06.436Z] prd-ubuntu20.04-docker-8c-8g-5003 does not seem to be running inside a container [2023-02-07T22:57:06.452Z] $ docker run -t -d -u 1001:1001 -u 0:0 -v /etc/ssh:/etc/ssh -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2023-02-07T22:57:06.788Z] $ docker top 264d6e4b3b01b58a0833d5f7801b799d8f11ce3332b6ba519e0e0e05f4db3f24 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-07T22:57:06.890Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-07T22:57:06.891Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-07T22:57:07.002Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-07T22:57:06.991Z] $ docker exec 264d6e4b3b01b58a0833d5f7801b799d8f11ce3332b6ba519e0e0e05f4db3f24 ssh-agent [2023-02-07T22:57:07.104Z] SSH_AUTH_SOCK=/tmp/ssh-nP6NLK48pG4G/agent.33 [2023-02-07T22:57:07.104Z] SSH_AGENT_PID=39 [2023-02-07T22:57:07.109Z] Running ssh-add (command line suppressed) [2023-02-07T22:57:07.213Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8387834109131172656.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8387834109131172656.key) [2023-02-07T22:57:07.262Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-07T22:57:07.581Z] + git semver push [2023-02-07T22:57:07.855Z] 2023-02-07 22:57:07,748 [run_push] DEBUG push [2023-02-07T22:57:07.856Z] 2023-02-07 22:57:07,749 [execute] INFO git cat-file --batch-check [2023-02-07T22:57:07.856Z] 2023-02-07 22:57:07,749 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-07T22:57:07.856Z] 2023-02-07 22:57:07,753 [execute] INFO git rev-list 03efebe609c2fc082ea5acccf25ed0c6ee6aed4c -- [2023-02-07T22:57:07.856Z] 2023-02-07 22:57:07,753 [execute] DEBUG Popen(['git', 'rev-list', '03efebe609c2fc082ea5acccf25ed0c6ee6aed4c', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-02-07T22:57:07.856Z] 2023-02-07 22:57:07,758 [execute] INFO git fetch -v origin [2023-02-07T22:57:07.856Z] 2023-02-07 22:57:07,758 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-02-07T22:57:08.439Z] 2023-02-07 22:57:08,337 [run_push] DEBUG no remote changes detected [2023-02-07T22:57:08.439Z] 2023-02-07 22:57:08,337 [execute] INFO git push origin semver [2023-02-07T22:57:08.439Z] 2023-02-07 22:57:08,338 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-02-07T22:57:09.374Z] 2023-02-07 22:57:09,176 [run_push] DEBUG push all version tags [2023-02-07T22:57:09.374Z] 2023-02-07 22:57:09,176 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-02-07T22:57:09.374Z] 2023-02-07 22:57:09,177 [execute] DEBUG Popen(['git', 'push', 'origin', 'refs/tags/v*:refs/tags/v*'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-02-07T22:57:10.315Z] 2023-02-07 22:57:10,082 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-07T22:57:10.315Z] 3.0.0-dev.9 [Pipeline] } [2023-02-07T22:57:10.313Z] $ docker exec --env ******** --env ******** 264d6e4b3b01b58a0833d5f7801b799d8f11ce3332b6ba519e0e0e05f4db3f24 ssh-agent -k [2023-02-07T22:57:10.425Z] unset SSH_AUTH_SOCK; [2023-02-07T22:57:10.425Z] unset SSH_AGENT_PID; [2023-02-07T22:57:10.426Z] echo Agent pid 39 killed; [2023-02-07T22:57:10.460Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-07T22:57:10.784Z] + git semver [Pipeline] } [2023-02-07T22:57:11.052Z] $ docker stop --time=1 264d6e4b3b01b58a0833d5f7801b799d8f11ce3332b6ba519e0e0e05f4db3f24 [2023-02-07T22:57:12.342Z] $ docker rm -f --volumes 264d6e4b3b01b58a0833d5f7801b799d8f11ce3332b6ba519e0e0e05f4db3f24 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Experimental Tag) Stage "Bump Experimental Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Stable (Named) Tag) Stage "Bump Stable (Named) Tag" skipped due to when conditional [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] stage [Pipeline] { (LF Post Build Actions) [Pipeline] sh [2023-02-07T22:57:12.878Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-02-07T22:57:12.878Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-02-07T22:57:12.878Z] total 16 [2023-02-07T22:57:12.878Z] drwxr-xr-x 3 root root 4096 Feb 7 22:48 . [2023-02-07T22:57:12.878Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 22:56 .. [2023-02-07T22:57:12.878Z] drwxr-xr-x 2 root root 4096 Feb 7 22:48 cost [2023-02-07T22:57:12.878Z] -rw-r--r-- 1 root root 85 Feb 7 22:48 cost.csv [2023-02-07T22:57:12.878Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-02-07T22:57:12.878Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-02-07T22:57:12.878Z] total 16 [2023-02-07T22:57:12.878Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 7 22:48 . [2023-02-07T22:57:12.878Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 7 22:56 .. [2023-02-07T22:57:12.878Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 7 22:48 cost [2023-02-07T22:57:12.878Z] -rw-r--r-- 1 jenkins jenkins 85 Feb 7 22:48 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:57:13.162Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:57:14.020Z] ---> package-listing.sh [2023-02-07T22:57:14.020Z] ++ facter osfamily [2023-02-07T22:57:14.020Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-07T22:57:14.279Z] + OS_FAMILY=debian [2023-02-07T22:57:14.279Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-02-07T22:57:14.279Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-07T22:57:14.279Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-07T22:57:14.279Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-07T22:57:14.279Z] + PACKAGES=/tmp/packages_start.txt [2023-02-07T22:57:14.279Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-02-07T22:57:14.279Z] + PACKAGES=/tmp/packages_end.txt [2023-02-07T22:57:14.279Z] + case "${OS_FAMILY}" in [2023-02-07T22:57:14.279Z] + dpkg -l [2023-02-07T22:57:14.279Z] + grep '^ii' [2023-02-07T22:57:14.279Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-07T22:57:14.279Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-07T22:57:14.279Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-07T22:57:14.279Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-02-07T22:57:14.279Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-02-07T22:57:14.279Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2023-02-07T22:57:14.289Z] Launching container with: [--privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json] [Pipeline] sh [2023-02-07T22:57:14.566Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-07T22:57:15.120Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-07T22:57:15.120Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-07T22:57:15.188Z] prd-ubuntu20.04-docker-8c-8g-5003 does not seem to be running inside a container [2023-02-07T22:57:15.203Z] $ docker run -t -d -u 1001:1001 --privileged -u 0:0 --net host -v /var/log/sysstat:/var/log/sysstat -v /var/log/secure:/var/log/secure -v /var/log/auth.log:/var/log/auth.log -v /w/workspace/edgexfoundry_device-rest-go_main/facter-os:/facter-os -v /proc/uptime:/proc/uptime -v /run/cloud-init/result.json:/run/cloud-init/result.json -w /w/workspace/edgexfoundry_device-rest-go_main -v /w/workspace/edgexfoundry_device-rest-go_main:/w/workspace/edgexfoundry_device-rest-go_main:rw,z -v /w/workspace/edgexfoundry_device-rest-go_main@tmp:/w/workspace/edgexfoundry_device-rest-go_main@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2023-02-07T22:57:15.400Z] $ docker top 408f0c7d9d3c0575bbbb68da0cf363cb67941205f39e102090b1ebff081399a6 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-07T22:57:15.757Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-07T22:57:16.040Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-07T22:57:16.322Z] + ls /var/log/sa-host [2023-02-07T22:57:16.322Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-07T22:57:16.387Z] provisioning config files... [2023-02-07T22:57:16.396Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8639382678206159938tmp [Pipeline] { [Pipeline] echo [2023-02-07T22:57:16.407Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:57:16.688Z] ---> create-netrc.sh [Pipeline] } [2023-02-07T22:57:16.694Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:57:17.012Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-07T22:57:17.021Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:57:17.304Z] ---> sudo-logs.sh [2023-02-07T22:57:17.304Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-07T22:57:17.330Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:57:17.612Z] ---> job-cost.sh [2023-02-07T22:57:17.612Z] lf-activate-venv: SKIPPING [2023-02-07T22:57:17.612Z] DEBUG: total: 0.2199999988079071 [2023-02-07T22:57:17.612Z] INFO: Retrieving Stack Cost... [2023-02-07T22:57:18.179Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-07T22:57:18.438Z] INFO: Archiving Costs [Pipeline] echo [2023-02-07T22:57:18.450Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-07T22:57:18.731Z] ---> logs-deploy.sh [2023-02-07T22:57:18.732Z] lf-activate-venv: SKIPPING [2023-02-07T22:57:18.732Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/80 [2023-02-07T22:57:18.732Z] INFO: archiving workspace using pattern(s): [2023-02-07T22:57:19.672Z] Archives upload complete. [2023-02-07T22:57:19.672Z] INFO: archiving logs to Nexus