Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from eeb2727d50df763d785a8885935756adc9e2bce2 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-ssh14864610611117483195.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-ssh10209948503700790076.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-ssh12619129488521616700.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-ssh15497775889795221535.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-ssh5019561210000780096.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 Waiting for next available executor on ‘prd-ubuntu20.04-docker-8c-8g-6789’ Running on prd-ubuntu20.04-docker-8c-8g-6793 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 eeb2727d50df763d785a8885935756adc9e2bce2 (main) Commit message: "Merge pull request #257 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.34" > 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 eeb2727d50df763d785a8885935756adc9e2bce2 # timeout=10 > git rev-list --no-walk 70384783b5a72194fc813c647394660ae113f8ec # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-21T02:50:46.559Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-21T02:50:46.620Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-21T02:50:46.633Z] ========================================================= [2023-02-21T02:50:46.633Z] EdgeX Global Pipelines Version Info [2023-02-21T02:50:46.633Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-21T02:50:47.341Z] ------------------- [2023-02-21T02:50:47.341Z] stable info: [2023-02-21T02:50:47.341Z] ------------------- [2023-02-21T02:50:47.341Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-21T02:50:47.342Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-21T02:50:47.342Z] Message: update stable to v1.0.244 [2023-02-21T02:50:47.914Z] ------------------- [2023-02-21T02:50:47.914Z] experimental info: [2023-02-21T02:50:47.914Z] ------------------- [2023-02-21T02:50:47.914Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-21T02:50:47.914Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-21T02:50:47.914Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-21T02:50:48.084Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-02-21T02:50:48.093Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-02-21T02:50:48.104Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-21T02:50:48.113Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-21T02:50:48.126Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-21T02:50:48.136Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-21T02:50:48.145Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-21T02:50:48.156Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-21T02:50:48.166Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-21T02:50:48.174Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-21T02:50:48.182Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-21T02:50:48.190Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-02-21T02:50:48.198Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-21T02:50:48.208Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-21T02:50:48.224Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-21T02:50:48.238Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-21T02:50:48.248Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-21T02:50:48.262Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-21T02:50:48.277Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-21T02:50:48.288Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-21T02:50:48.299Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-21T02:50:48.312Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-21T02:50:48.324Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-21T02:50:48.336Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-21T02:50:48.349Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-21T02:50:48.358Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-21T02:50:48.371Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-21T02:50:48.382Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-02-21T02:50:48.392Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-02-21T02:50:48.404Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-02-21T02:50:48.420Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = eeb2727d50df763d785a8885935756adc9e2bce2 [Pipeline] echo [2023-02-21T02:50:48.434Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = eeb2727 [Pipeline] echo [2023-02-21T02:50:48.444Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-21T02:50:48.481Z] provisioning config files... [2023-02-21T02:50:48.496Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10005650645239725797tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-21T02:50:48.790Z] ---> docker-login.sh [2023-02-21T02:50:48.790Z] nexus3.edgexfoundry.org:10001 [2023-02-21T02:50:49.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T02:50:49.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T02:50:49.054Z] Configure a credential helper to remove this warning. See [2023-02-21T02:50:49.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T02:50:49.054Z] [2023-02-21T02:50:49.054Z] Login Succeeded [2023-02-21T02:50:49.054Z] nexus3.edgexfoundry.org:10002 [2023-02-21T02:50:49.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T02:50:49.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T02:50:49.317Z] Configure a credential helper to remove this warning. See [2023-02-21T02:50:49.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T02:50:49.317Z] [2023-02-21T02:50:49.317Z] Login Succeeded [2023-02-21T02:50:49.317Z] nexus3.edgexfoundry.org:10003 [2023-02-21T02:50:49.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T02:50:49.317Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T02:50:49.317Z] Configure a credential helper to remove this warning. See [2023-02-21T02:50:49.317Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T02:50:49.317Z] [2023-02-21T02:50:49.317Z] Login Succeeded [2023-02-21T02:50:49.317Z] nexus3.edgexfoundry.org:10004 [2023-02-21T02:50:49.317Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T02:50:49.575Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T02:50:49.575Z] Configure a credential helper to remove this warning. See [2023-02-21T02:50:49.575Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T02:50:49.575Z] [2023-02-21T02:50:49.575Z] Login Succeeded [2023-02-21T02:50:49.575Z] docker.io [2023-02-21T02:50:49.575Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T02:50:49.833Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T02:50:49.833Z] Configure a credential helper to remove this warning. See [2023-02-21T02:50:49.833Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T02:50:49.833Z] [2023-02-21T02:50:49.833Z] Login Succeeded [2023-02-21T02:50:49.833Z] ---> docker-login.sh ends [Pipeline] } [2023-02-21T02:50:49.841Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-21T02:50:50.208Z] + git rev-list -1 --merges eeb2727d50df763d785a8885935756adc9e2bce2~1..eeb2727d50df763d785a8885935756adc9e2bce2 [Pipeline] echo [2023-02-21T02:50:50.251Z] -----------> git rev-list -1 --merges eeb2727d50df763d785a8885935756adc9e2bce2~1..eeb2727d50df763d785a8885935756adc9e2bce2 eeb2727d50df763d785a8885935756adc9e2bce2 [2023-02-21T02:50:50.251Z] eeb2727d50df763d785a8885935756adc9e2bce2 [false] [Pipeline] sh [2023-02-21T02:50:50.541Z] + git log --format=format:%s -1 eeb2727d50df763d785a8885935756adc9e2bce2 [Pipeline] echo [2023-02-21T02:50:50.559Z] ========================================================= [2023-02-21T02:50:50.559Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-21T02:50:50.559Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-21T02:50:50.911Z] + git log --format=format:%s -1 eeb2727d50df763d785a8885935756adc9e2bce2 [Pipeline] echo [2023-02-21T02:50:50.923Z] [semverPrep] GIT_COMMIT: eeb2727d50df763d785a8885935756adc9e2bce2, Commit Message: Merge pull request #257 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.34 [Pipeline] echo [2023-02-21T02:50:50.931Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-21T02:50:51.277Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-21T02:50:51.278Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-21T02:50:51.278Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-21T02:50:51.278Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-21T02:50:51.278Z] + + echosudo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= tee [2023-02-21T02:50:51.278Z] -a /etc/ssh/ssh_known_hosts [2023-02-21T02:50:51.278Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T02:50:51.622Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-21T02:50:51.622Z] [2023-02-21T02:50:51.622Z] 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-21T02:50:51.926Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-21T02:50:51.926Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-21T02:50:51.926Z] b85a868b505f: Pulling fs layer [2023-02-21T02:50:51.926Z] e2be974225ed: Pulling fs layer [2023-02-21T02:50:51.926Z] 339a4e72a1f5: Pulling fs layer [2023-02-21T02:50:51.926Z] 988bab9f4d93: Pulling fs layer [2023-02-21T02:50:51.926Z] 1469e6f7b9e6: Pulling fs layer [2023-02-21T02:50:51.926Z] eaf3925da568: Pulling fs layer [2023-02-21T02:50:51.926Z] bab4dde63d76: Pulling fs layer [2023-02-21T02:50:51.926Z] bde34c3a00c8: Pulling fs layer [2023-02-21T02:50:51.926Z] eaf3925da568: Waiting [2023-02-21T02:50:51.926Z] 1469e6f7b9e6: Waiting [2023-02-21T02:50:51.926Z] bab4dde63d76: Waiting [2023-02-21T02:50:51.926Z] bde34c3a00c8: Waiting [2023-02-21T02:50:51.926Z] 988bab9f4d93: Waiting [2023-02-21T02:50:51.926Z] b352a97aabf1: Pulling fs layer [2023-02-21T02:50:51.926Z] 4872d77fe225: Pulling fs layer [2023-02-21T02:50:51.926Z] 5851b861e8e6: Pulling fs layer [2023-02-21T02:50:51.926Z] b352a97aabf1: Waiting [2023-02-21T02:50:51.926Z] 4872d77fe225: Waiting [2023-02-21T02:50:51.926Z] 5851b861e8e6: Waiting [2023-02-21T02:50:51.926Z] e2be974225ed: Download complete [2023-02-21T02:50:51.926Z] 988bab9f4d93: Verifying Checksum [2023-02-21T02:50:51.926Z] 988bab9f4d93: Download complete [2023-02-21T02:50:52.187Z] 1469e6f7b9e6: Verifying Checksum [2023-02-21T02:50:52.187Z] 1469e6f7b9e6: Download complete [2023-02-21T02:50:52.187Z] 339a4e72a1f5: Verifying Checksum [2023-02-21T02:50:52.187Z] 339a4e72a1f5: Download complete [2023-02-21T02:50:52.187Z] eaf3925da568: Verifying Checksum [2023-02-21T02:50:52.187Z] eaf3925da568: Download complete [2023-02-21T02:50:52.187Z] bde34c3a00c8: Download complete [2023-02-21T02:50:52.188Z] b352a97aabf1: Verifying Checksum [2023-02-21T02:50:52.188Z] b352a97aabf1: Download complete [2023-02-21T02:50:52.188Z] b85a868b505f: Verifying Checksum [2023-02-21T02:50:52.188Z] b85a868b505f: Download complete [2023-02-21T02:50:52.188Z] 4872d77fe225: Verifying Checksum [2023-02-21T02:50:52.188Z] 4872d77fe225: Download complete [2023-02-21T02:50:52.188Z] 5851b861e8e6: Download complete [2023-02-21T02:50:52.451Z] bab4dde63d76: Verifying Checksum [2023-02-21T02:50:52.451Z] bab4dde63d76: Download complete [2023-02-21T02:50:53.390Z] b85a868b505f: Pull complete [2023-02-21T02:50:53.390Z] e2be974225ed: Pull complete [2023-02-21T02:50:53.956Z] 339a4e72a1f5: Pull complete [2023-02-21T02:50:53.956Z] 988bab9f4d93: Pull complete [2023-02-21T02:50:54.214Z] 1469e6f7b9e6: Pull complete [2023-02-21T02:50:54.214Z] eaf3925da568: Pull complete [2023-02-21T02:50:56.117Z] bab4dde63d76: Pull complete [2023-02-21T02:50:56.117Z] bde34c3a00c8: Pull complete [2023-02-21T02:50:56.118Z] b352a97aabf1: Pull complete [2023-02-21T02:50:56.118Z] 4872d77fe225: Pull complete [2023-02-21T02:50:56.118Z] 5851b861e8e6: Pull complete [2023-02-21T02:50:56.118Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-21T02:50:56.118Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-21T02:50:56.118Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-21T02:50:56.213Z] prd-ubuntu20.04-docker-8c-8g-6793 does not seem to be running inside a container [2023-02-21T02:50:56.253Z] $ 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-21T02:50:57.575Z] $ docker top 11adcfd5be1723aaa9bff58a70973cd06122abb803479d26e4e5264d3864faf5 -eo pid,comm [2023-02-21T02:50:57.629Z] 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-21T02:50:57.629Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-21T02:50:57.663Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-21T02:50:57.663Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-21T02:50:57.770Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-21T02:50:57.774Z] $ docker exec 11adcfd5be1723aaa9bff58a70973cd06122abb803479d26e4e5264d3864faf5 ssh-agent [2023-02-21T02:50:57.878Z] SSH_AUTH_SOCK=/tmp/ssh-9jK4X2vHl5xd/agent.31 [2023-02-21T02:50:57.878Z] SSH_AGENT_PID=37 [2023-02-21T02:50:57.885Z] Running ssh-add (command line suppressed) [2023-02-21T02:50:57.980Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11229597367100773568.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_11229597367100773568.key) [2023-02-21T02:50:57.994Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-21T02:50:58.283Z] + git tag --points-at HEAD [Pipeline] } [2023-02-21T02:50:58.303Z] $ docker exec --env ******** --env ******** 11adcfd5be1723aaa9bff58a70973cd06122abb803479d26e4e5264d3864faf5 ssh-agent -k [2023-02-21T02:50:58.400Z] unset SSH_AUTH_SOCK; [2023-02-21T02:50:58.401Z] unset SSH_AGENT_PID; [2023-02-21T02:50:58.401Z] echo Agent pid 37 killed; [2023-02-21T02:50:58.411Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-21T02:50:58.439Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-21T02:50:58.439Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-21T02:50:58.547Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-21T02:50:58.550Z] $ docker exec 11adcfd5be1723aaa9bff58a70973cd06122abb803479d26e4e5264d3864faf5 ssh-agent [2023-02-21T02:50:58.647Z] SSH_AUTH_SOCK=/tmp/ssh-zAsfGw4cwQkt/agent.69 [2023-02-21T02:50:58.647Z] SSH_AGENT_PID=75 [2023-02-21T02:50:58.651Z] Running ssh-add (command line suppressed) [2023-02-21T02:50:58.744Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8815377339763684381.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8815377339763684381.key) [2023-02-21T02:50:58.757Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-21T02:50:59.043Z] + git semver init [2023-02-21T02:50:59.301Z] 2023-02-21 02:50:59,231 [run_init] DEBUG init version:0.0.0 force:False [2023-02-21T02:50:59.301Z] 2023-02-21 02:50:59,232 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-02-21T02:50:59.301Z] 2023-02-21 02:50:59,233 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-02-21T02:50:59.301Z] 2023-02-21 02:50:59,233 [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-21T02:51:00.677Z] 2023-02-21 02:51:00,274 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-02-21T02:51:00.677Z] 2023-02-21 02:51:00,275 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-02-21T02:51:00.677Z] 2023-02-21 02:51:00,275 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-21T02:51:00.677Z] 2023-02-21 02:51:00,275 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-21T02:51:00.677Z] 3.0.0-dev.12 [Pipeline] } [2023-02-21T02:51:00.686Z] $ docker exec --env ******** --env ******** 11adcfd5be1723aaa9bff58a70973cd06122abb803479d26e4e5264d3864faf5 ssh-agent -k [2023-02-21T02:51:00.775Z] unset SSH_AUTH_SOCK; [2023-02-21T02:51:00.776Z] unset SSH_AGENT_PID; [2023-02-21T02:51:00.776Z] echo Agent pid 75 killed; [2023-02-21T02:51:00.783Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-21T02:51:01.082Z] + git semver [Pipeline] } [2023-02-21T02:51:01.355Z] $ docker stop --time=1 11adcfd5be1723aaa9bff58a70973cd06122abb803479d26e4e5264d3864faf5 [2023-02-21T02:51:02.691Z] $ docker rm -f --volumes 11adcfd5be1723aaa9bff58a70973cd06122abb803479d26e4e5264d3864faf5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-21T02:51:03.032Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-21T02:51:03.239Z] Stashed 1 file(s) [Pipeline] echo [2023-02-21T02:51:03.242Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.12 [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-21T02:51:03.385Z] provisioning config files... [2023-02-21T02:51:03.394Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config11052527966750828577tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-21T02:51:03.687Z] ---> docker-login.sh [2023-02-21T02:51:03.687Z] nexus3.edgexfoundry.org:10001 [2023-02-21T02:51:03.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T02:51:03.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T02:51:03.687Z] Configure a credential helper to remove this warning. See [2023-02-21T02:51:03.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T02:51:03.687Z] [2023-02-21T02:51:03.687Z] Login Succeeded [2023-02-21T02:51:03.687Z] nexus3.edgexfoundry.org:10002 [2023-02-21T02:51:03.687Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T02:51:03.687Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T02:51:03.687Z] Configure a credential helper to remove this warning. See [2023-02-21T02:51:03.687Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T02:51:03.687Z] [2023-02-21T02:51:03.687Z] Login Succeeded [2023-02-21T02:51:03.687Z] nexus3.edgexfoundry.org:10003 [2023-02-21T02:51:03.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T02:51:03.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T02:51:03.946Z] Configure a credential helper to remove this warning. See [2023-02-21T02:51:03.946Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T02:51:03.946Z] [2023-02-21T02:51:03.946Z] Login Succeeded [2023-02-21T02:51:03.946Z] nexus3.edgexfoundry.org:10004 [2023-02-21T02:51:03.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T02:51:03.946Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T02:51:03.946Z] Configure a credential helper to remove this warning. See [2023-02-21T02:51:03.946Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T02:51:03.946Z] [2023-02-21T02:51:03.946Z] Login Succeeded [2023-02-21T02:51:03.946Z] docker.io [2023-02-21T02:51:03.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T02:51:04.210Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T02:51:04.210Z] Configure a credential helper to remove this warning. See [2023-02-21T02:51:04.210Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T02:51:04.210Z] [2023-02-21T02:51:04.210Z] Login Succeeded [2023-02-21T02:51:04.210Z] ---> docker-login.sh ends [Pipeline] } [2023-02-21T02:51:04.217Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-21T02:51:04.270Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-21T02:51:04.286Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-21T02:51:04.295Z] ========================================================= [2023-02-21T02:51:04.295Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-21T02:51:04.295Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T02:51:04.616Z] + 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-21T02:51:04.616Z] Sending build context to Docker daemon 10.82MB [2023-02-21T02:51:04.616Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-21T02:51:04.616Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-21T02:51:04.616Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-21T02:51:04.616Z] 213ec9aee27d: Pulling fs layer [2023-02-21T02:51:04.616Z] 4583459ba037: Pulling fs layer [2023-02-21T02:51:04.616Z] 93c1e223e6f2: Pulling fs layer [2023-02-21T02:51:04.616Z] 53926ce57604: Pulling fs layer [2023-02-21T02:51:04.616Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-21T02:51:04.616Z] 22ff95d597cd: Pulling fs layer [2023-02-21T02:51:04.616Z] 12d6caf4c0d1: Pulling fs layer [2023-02-21T02:51:04.616Z] 96b7cbca73a9: Pulling fs layer [2023-02-21T02:51:04.616Z] a7acece74701: Pulling fs layer [2023-02-21T02:51:04.616Z] 21b2b0c7a3f4: Waiting [2023-02-21T02:51:04.616Z] 22ff95d597cd: Waiting [2023-02-21T02:51:04.616Z] 12d6caf4c0d1: Waiting [2023-02-21T02:51:04.616Z] 53926ce57604: Waiting [2023-02-21T02:51:04.616Z] 96b7cbca73a9: Waiting [2023-02-21T02:51:04.616Z] a7acece74701: Waiting [2023-02-21T02:51:04.616Z] 93c1e223e6f2: Download complete [2023-02-21T02:51:04.616Z] 4583459ba037: Download complete [2023-02-21T02:51:04.616Z] 21b2b0c7a3f4: Download complete [2023-02-21T02:51:04.616Z] 22ff95d597cd: Download complete [2023-02-21T02:51:04.877Z] 213ec9aee27d: Download complete [2023-02-21T02:51:04.877Z] 12d6caf4c0d1: Verifying Checksum [2023-02-21T02:51:04.877Z] 12d6caf4c0d1: Download complete [2023-02-21T02:51:04.877Z] 213ec9aee27d: Pull complete [2023-02-21T02:51:05.142Z] 4583459ba037: Pull complete [2023-02-21T02:51:05.142Z] 93c1e223e6f2: Pull complete [2023-02-21T02:51:05.405Z] a7acece74701: Verifying Checksum [2023-02-21T02:51:05.405Z] a7acece74701: Download complete [2023-02-21T02:51:05.663Z] 96b7cbca73a9: Verifying Checksum [2023-02-21T02:51:05.663Z] 96b7cbca73a9: Download complete [2023-02-21T02:51:05.663Z] 53926ce57604: Verifying Checksum [2023-02-21T02:51:05.663Z] 53926ce57604: Download complete [2023-02-21T02:51:09.846Z] 53926ce57604: Pull complete [2023-02-21T02:51:09.846Z] 21b2b0c7a3f4: Pull complete [2023-02-21T02:51:09.846Z] 22ff95d597cd: Pull complete [2023-02-21T02:51:09.846Z] 12d6caf4c0d1: Pull complete [2023-02-21T02:51:11.219Z] 96b7cbca73a9: Pull complete [2023-02-21T02:51:12.153Z] a7acece74701: Pull complete [2023-02-21T02:51:12.153Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-21T02:51:12.153Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-21T02:51:12.153Z] ---> db6d94c90886 [2023-02-21T02:51:12.153Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-21T02:51:13.531Z] ---> Running in 357c907cf496 [2023-02-21T02:51:13.531Z] Removing intermediate container 357c907cf496 [2023-02-21T02:51:13.531Z] ---> 256731f5222a [2023-02-21T02:51:13.531Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-21T02:51:13.789Z] ---> Running in 96d7b8d1bb63 [2023-02-21T02:51:13.789Z] Removing intermediate container 96d7b8d1bb63 [2023-02-21T02:51:13.789Z] ---> c2ebed7a7951 [2023-02-21T02:51:13.789Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-21T02:51:13.789Z] ---> Running in b1198dbd4102 [2023-02-21T02:51:14.047Z] Removing intermediate container b1198dbd4102 [2023-02-21T02:51:14.047Z] ---> eb169582f641 [2023-02-21T02:51:14.047Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-21T02:51:14.047Z] ---> Running in a02e0b1142c5 [2023-02-21T02:51:14.047Z] Removing intermediate container a02e0b1142c5 [2023-02-21T02:51:14.047Z] ---> 729d66b043e9 [2023-02-21T02:51:14.047Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-21T02:51:14.047Z] ---> Running in 7cdb9fd45170 [2023-02-21T02:51:14.305Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-21T02:51:14.565Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-21T02:51:14.824Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-21T02:51:14.825Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-21T02:51:14.825Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-21T02:51:14.825Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-21T02:51:14.825Z] Executing busybox-1.35.0-r17.trigger [2023-02-21T02:51:14.825Z] OK: 216 MiB in 55 packages [2023-02-21T02:51:15.392Z] Removing intermediate container 7cdb9fd45170 [2023-02-21T02:51:15.392Z] ---> ac2099fd6602 [2023-02-21T02:51:15.392Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-21T02:51:15.392Z] ---> Running in 6dc72ba45258 [2023-02-21T02:51:15.392Z] Removing intermediate container 6dc72ba45258 [2023-02-21T02:51:15.392Z] ---> 48ab3edbcdd3 [2023-02-21T02:51:15.392Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-21T02:51:15.650Z] ---> b468b56425e4 [2023-02-21T02:51:15.650Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-21T02:51:15.650Z] ---> Running in a042655ba204 [2023-02-21T02:51:18.339Z] Still waiting to schedule task [2023-02-21T02:51:18.339Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-21T02:51:47.737Z] Removing intermediate container a042655ba204 [2023-02-21T02:51:47.737Z] ---> 797821403d36 [2023-02-21T02:51:47.737Z] Step 11/12 : COPY . . [2023-02-21T02:51:47.737Z] ---> b4fbe5ac45d7 [2023-02-21T02:51:47.737Z] Step 12/12 : RUN $MAKE [2023-02-21T02:51:47.737Z] ---> Running in eec844892519 [2023-02-21T02:51:47.737Z] noop [2023-02-21T02:51:47.737Z] Removing intermediate container eec844892519 [2023-02-21T02:51:47.737Z] ---> 3fe1c2b22d76 [2023-02-21T02:51:47.737Z] Successfully built 3fe1c2b22d76 [2023-02-21T02:51:47.737Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T02:51:48.059Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-21T02:51:48.059Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-21T02:51:48.140Z] prd-ubuntu20.04-docker-8c-8g-6793 does not seem to be running inside a container [2023-02-21T02:51:48.167Z] $ 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-21T02:51:48.522Z] $ docker top 05df973a4e1f5d623d8cb8737cbaf871860ad48176e176df7d6a5dd0712c69ce -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-21T02:51:48.864Z] + go version [2023-02-21T02:51:48.864Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-21T02:51:48.873Z] $ docker stop --time=1 05df973a4e1f5d623d8cb8737cbaf871860ad48176e176df7d6a5dd0712c69ce [2023-02-21T02:51:50.143Z] $ docker rm -f --volumes 05df973a4e1f5d623d8cb8737cbaf871860ad48176e176df7d6a5dd0712c69ce [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T02:51:50.538Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-21T02:51:50.538Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-21T02:51:50.607Z] prd-ubuntu20.04-docker-8c-8g-6793 does not seem to be running inside a container [2023-02-21T02:51:50.641Z] $ 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-21T02:51:50.963Z] $ docker top 7a0c46bf02dda05b066395a473d09f8bbe0b438809428d5a88c59b8f8260021b -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-21T02:51:51.301Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-02-21T02:51:51.594Z] + make test [2023-02-21T02:51:51.594Z] go test ./... -coverprofile=coverage.out ./... [2023-02-21T02:51:51.854Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-21T02:51:59.965Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-02-21T02:52:00.224Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.9% of statements [2023-02-21T02:52:06.787Z] 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-21T02:52:06.787Z] go vet ./... [2023-02-21T02:52:09.315Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-21T02:52:09.315Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-21T02:52:09.315Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-21T02:52:09.327Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-21T02:52:09.340Z] $ docker stop --time=1 7a0c46bf02dda05b066395a473d09f8bbe0b438809428d5a88c59b8f8260021b [2023-02-21T02:52:11.028Z] $ docker rm -f --volumes 7a0c46bf02dda05b066395a473d09f8bbe0b438809428d5a88c59b8f8260021b [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-21T02:52:11.458Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-21T02:52:11.507Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-21T02:52:12.021Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-21T02:52:12.303Z] + ls -al . [2023-02-21T02:52:12.304Z] total 188 [2023-02-21T02:52:12.304Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 21 02:51 . [2023-02-21T02:52:12.304Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 21 02:50 .. [2023-02-21T02:52:12.304Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 21 02:50 .dockerignore [2023-02-21T02:52:12.304Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 21 02:52 .git [2023-02-21T02:52:12.304Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 21 02:50 .github [2023-02-21T02:52:12.304Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 21 02:50 .gitignore [2023-02-21T02:52:12.304Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 21 02:50 .golangci.yml [2023-02-21T02:52:12.304Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 21 02:51 .semver [2023-02-21T02:52:12.304Z] -rw-rw-r-- 1 jenkins jenkins 9213 Feb 21 02:50 Attribution.txt [2023-02-21T02:52:12.304Z] -rw-rw-r-- 1 jenkins jenkins 13085 Feb 21 02:50 CHANGELOG.md [2023-02-21T02:52:12.304Z] -rw-rw-r-- 1 jenkins jenkins 1578 Feb 21 02:50 Dockerfile [2023-02-21T02:52:12.304Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 21 02:50 GOVERNANCE.md [2023-02-21T02:52:12.304Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 21 02:50 Jenkinsfile [2023-02-21T02:52:12.304Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 21 02:50 LICENSE [2023-02-21T02:52:12.304Z] -rw-rw-r-- 1 jenkins jenkins 1744 Feb 21 02:50 Makefile [2023-02-21T02:52:12.304Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 21 02:50 OWNERS.md [2023-02-21T02:52:12.304Z] -rw-rw-r-- 1 jenkins jenkins 15447 Feb 21 02:50 README.md [2023-02-21T02:52:12.304Z] -rw-rw-r-- 1 jenkins jenkins 12 Feb 21 02:51 VERSION [2023-02-21T02:52:12.304Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 21 02:50 bin [2023-02-21T02:52:12.304Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 21 02:50 cmd [2023-02-21T02:52:12.304Z] -rw-r--r-- 1 jenkins jenkins 13744 Feb 21 02:52 coverage.out [2023-02-21T02:52:12.304Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 21 02:50 driver [2023-02-21T02:52:12.304Z] -rw-rw-r-- 1 jenkins jenkins 3400 Feb 21 02:50 go.mod [2023-02-21T02:52:12.304Z] -rw-rw-r-- 1 jenkins jenkins 33279 Feb 21 02:50 go.sum [2023-02-21T02:52:12.304Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 21 02:50 snap [2023-02-21T02:52:12.304Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 21 02:50 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T02:52:12.609Z] + 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=eeb2727d50df763d785a8885935756adc9e2bce2 --label arch=amd64 --label version=3.0.0-dev.12 . [2023-02-21T02:52:12.609Z] Sending build context to Docker daemon 10.83MB [2023-02-21T02:52:12.609Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-21T02:52:12.609Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-21T02:52:12.609Z] ---> 3fe1c2b22d76 [2023-02-21T02:52:12.609Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-21T02:52:12.609Z] ---> Running in 30ad4163f953 [2023-02-21T02:52:12.867Z] Removing intermediate container 30ad4163f953 [2023-02-21T02:52:12.867Z] ---> 30f16b662166 [2023-02-21T02:52:12.867Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-21T02:52:12.867Z] ---> Running in ce6d21f3a4f9 [2023-02-21T02:52:12.867Z] Removing intermediate container ce6d21f3a4f9 [2023-02-21T02:52:12.867Z] ---> 571337de4856 [2023-02-21T02:52:12.867Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-21T02:52:12.867Z] ---> Running in e2c4b7dbc4d9 [2023-02-21T02:52:13.125Z] Removing intermediate container e2c4b7dbc4d9 [2023-02-21T02:52:13.125Z] ---> 6c31ddcc71fb [2023-02-21T02:52:13.125Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-21T02:52:13.125Z] ---> Running in 51761a6cb0b1 [2023-02-21T02:52:13.125Z] Removing intermediate container 51761a6cb0b1 [2023-02-21T02:52:13.125Z] ---> 41be46f8497a [2023-02-21T02:52:13.125Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-21T02:52:13.125Z] ---> Running in b5ae8f83e190 [2023-02-21T02:52:13.384Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-21T02:52:13.644Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-21T02:52:13.903Z] OK: 216 MiB in 55 packages [2023-02-21T02:52:14.162Z] Removing intermediate container b5ae8f83e190 [2023-02-21T02:52:14.162Z] ---> 1f546da84bc2 [2023-02-21T02:52:14.162Z] Step 8/25 : WORKDIR /device-rest-go [2023-02-21T02:52:14.162Z] ---> Running in bbdd7834b81b [2023-02-21T02:52:14.420Z] Removing intermediate container bbdd7834b81b [2023-02-21T02:52:14.420Z] ---> 4cb2b1ee376d [2023-02-21T02:52:14.420Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-21T02:52:14.420Z] ---> 14fbcd4c78c9 [2023-02-21T02:52:14.420Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-21T02:52:14.420Z] ---> Running in 4f203debd9db [2023-02-21T02:52:15.356Z] Removing intermediate container 4f203debd9db [2023-02-21T02:52:15.356Z] ---> 7b211bb02c20 [2023-02-21T02:52:15.356Z] Step 11/25 : COPY . . [2023-02-21T02:52:15.617Z] ---> 73f9169461ac [2023-02-21T02:52:15.617Z] Step 12/25 : RUN $MAKE [2023-02-21T02:52:15.617Z] ---> Running in eadebbe0748e [2023-02-21T02:52:15.876Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.12" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-02-21T02:52:33.966Z] Removing intermediate container eadebbe0748e [2023-02-21T02:52:33.966Z] ---> 5e2cd19861c4 [2023-02-21T02:52:33.966Z] Step 13/25 : FROM alpine:3.16 [2023-02-21T02:52:33.966Z] 3.16: Pulling from library/alpine [2023-02-21T02:52:33.966Z] ef5531b6e74e: Pulling fs layer [2023-02-21T02:52:33.966Z] ef5531b6e74e: Verifying Checksum [2023-02-21T02:52:33.966Z] ef5531b6e74e: Download complete [2023-02-21T02:52:33.966Z] ef5531b6e74e: Pull complete [2023-02-21T02:52:33.966Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-21T02:52:33.966Z] Status: Downloaded newer image for alpine:3.16 [2023-02-21T02:52:33.966Z] ---> dfd21b5a31f5 [2023-02-21T02:52:33.966Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-21T02:52:33.966Z] ---> Running in 4ed04db7d147 [2023-02-21T02:52:33.966Z] Removing intermediate container 4ed04db7d147 [2023-02-21T02:52:33.966Z] ---> 3e2420cfc7d4 [2023-02-21T02:52:33.966Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-02-21T02:52:33.966Z] ---> Running in d17e8c85c5c9 [2023-02-21T02:52:33.966Z] Removing intermediate container d17e8c85c5c9 [2023-02-21T02:52:33.966Z] ---> 52982ffad8b6 [2023-02-21T02:52:33.966Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-02-21T02:52:33.966Z] ---> Running in 7c088acc6503 [2023-02-21T02:52:33.966Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-21T02:52:33.966Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-21T02:52:33.966Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-21T02:52:33.966Z] Executing busybox-1.35.0-r17.trigger [2023-02-21T02:52:33.966Z] OK: 6 MiB in 15 packages [2023-02-21T02:52:34.534Z] Removing intermediate container 7c088acc6503 [2023-02-21T02:52:34.534Z] ---> 1ddc75b777c3 [2023-02-21T02:52:34.534Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-02-21T02:52:34.793Z] ---> ffc921bc11c2 [2023-02-21T02:52:34.793Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-02-21T02:52:35.051Z] ---> 68912ab445dd [2023-02-21T02:52:35.051Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-02-21T02:52:35.311Z] ---> 01e8d0381a91 [2023-02-21T02:52:35.311Z] Step 20/25 : EXPOSE 59986 [2023-02-21T02:52:35.311Z] ---> Running in dd527d7b8fa2 [2023-02-21T02:52:35.311Z] Removing intermediate container dd527d7b8fa2 [2023-02-21T02:52:35.311Z] ---> fb58698c96b8 [2023-02-21T02:52:35.311Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-02-21T02:52:35.311Z] ---> Running in 70fd56430dd4 [2023-02-21T02:52:35.311Z] Removing intermediate container 70fd56430dd4 [2023-02-21T02:52:35.311Z] ---> a9ecd9beee43 [2023-02-21T02:52:35.311Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-21T02:52:35.570Z] ---> Running in 1db2742aa703 [2023-02-21T02:52:35.570Z] Removing intermediate container 1db2742aa703 [2023-02-21T02:52:35.570Z] ---> 4878a7db1ecf [2023-02-21T02:52:35.570Z] Step 23/25 : LABEL arch=amd64 [2023-02-21T02:52:35.570Z] ---> Running in a3dca96cb16c [2023-02-21T02:52:35.570Z] Removing intermediate container a3dca96cb16c [2023-02-21T02:52:35.570Z] ---> 6cf5430ff6a6 [2023-02-21T02:52:35.570Z] Step 24/25 : LABEL git_sha=eeb2727d50df763d785a8885935756adc9e2bce2 [2023-02-21T02:52:35.570Z] ---> Running in 48cb0eddfe14 [2023-02-21T02:52:35.829Z] Removing intermediate container 48cb0eddfe14 [2023-02-21T02:52:35.829Z] ---> b4576227b2e0 [2023-02-21T02:52:35.829Z] Step 25/25 : LABEL version=3.0.0-dev.12 [2023-02-21T02:52:35.829Z] ---> Running in d821087765e5 [2023-02-21T02:52:35.829Z] Removing intermediate container d821087765e5 [2023-02-21T02:52:35.829Z] ---> 1ac49ef0def0 [2023-02-21T02:52:35.829Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-21T02:52:35.829Z] Successfully built 1ac49ef0def0 [2023-02-21T02:52:35.829Z] 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-21T02:52:35.945Z] provisioning config files... [2023-02-21T02:52:35.954Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2731067069320629483tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-21T02:52:36.321Z] ---> docker-login.sh [2023-02-21T02:52:36.321Z] nexus3.edgexfoundry.org:10001 [2023-02-21T02:52:36.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T02:52:36.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T02:52:36.321Z] Configure a credential helper to remove this warning. See [2023-02-21T02:52:36.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T02:52:36.321Z] [2023-02-21T02:52:36.321Z] Login Succeeded [2023-02-21T02:52:36.321Z] nexus3.edgexfoundry.org:10002 [2023-02-21T02:52:36.321Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T02:52:36.321Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T02:52:36.321Z] Configure a credential helper to remove this warning. See [2023-02-21T02:52:36.321Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T02:52:36.321Z] [2023-02-21T02:52:36.321Z] Login Succeeded [2023-02-21T02:52:36.321Z] nexus3.edgexfoundry.org:10003 [2023-02-21T02:52:36.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T02:52:36.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T02:52:36.596Z] Configure a credential helper to remove this warning. See [2023-02-21T02:52:36.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T02:52:36.596Z] [2023-02-21T02:52:36.596Z] Login Succeeded [2023-02-21T02:52:36.596Z] nexus3.edgexfoundry.org:10004 [2023-02-21T02:52:36.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T02:52:36.596Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T02:52:36.596Z] Configure a credential helper to remove this warning. See [2023-02-21T02:52:36.596Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T02:52:36.596Z] [2023-02-21T02:52:36.596Z] Login Succeeded [2023-02-21T02:52:36.596Z] docker.io [2023-02-21T02:52:36.596Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T02:52:36.871Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T02:52:36.871Z] Configure a credential helper to remove this warning. See [2023-02-21T02:52:36.871Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T02:52:36.871Z] [2023-02-21T02:52:36.871Z] Login Succeeded [2023-02-21T02:52:36.871Z] ---> docker-login.sh ends [Pipeline] } [2023-02-21T02:52:36.883Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-21T02:52:36.907Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-21T02:52:36.922Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-02-21T02:52:36.922Z] eeb2727d50df763d785a8885935756adc9e2bce2 [2023-02-21T02:52:36.922Z] latest [2023-02-21T02:52:36.922Z] 3.0.0-dev.12 [2023-02-21T02:52:36.922Z] eeb2727d50df763d785a8885935756adc9e2bce2-3.0.0-dev.12 [2023-02-21T02:52:36.922Z] main [2023-02-21T02:52:36.922Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T02:52:37.252Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:eeb2727d50df763d785a8885935756adc9e2bce2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T02:52:37.556Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:eeb2727d50df763d785a8885935756adc9e2bce2 [2023-02-21T02:52:37.556Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-02-21T02:52:37.556Z] 52fbcc6d0641: Preparing [2023-02-21T02:52:37.556Z] c6026e22937e: Preparing [2023-02-21T02:52:37.556Z] 789624c275b9: Preparing [2023-02-21T02:52:37.556Z] 53c5e67c47a1: Preparing [2023-02-21T02:52:37.556Z] aa5968d388b8: Preparing [2023-02-21T02:52:37.556Z] aa5968d388b8: Layer already exists [2023-02-21T02:52:37.556Z] 53c5e67c47a1: Pushed [2023-02-21T02:52:37.556Z] 52fbcc6d0641: Pushed [2023-02-21T02:52:37.556Z] c6026e22937e: Pushed [2023-02-21T02:52:40.091Z] 789624c275b9: Pushed [2023-02-21T02:52:40.091Z] eeb2727d50df763d785a8885935756adc9e2bce2: digest: sha256:58d7138bfd9e2ececf03f99b76bf5a30215dee47305dd87da7c8993e3c809155 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T02:52:40.402Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T02:52:40.716Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-02-21T02:52:40.716Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-02-21T02:52:40.716Z] 52fbcc6d0641: Preparing [2023-02-21T02:52:40.716Z] c6026e22937e: Preparing [2023-02-21T02:52:40.716Z] 789624c275b9: Preparing [2023-02-21T02:52:40.716Z] 53c5e67c47a1: Preparing [2023-02-21T02:52:40.716Z] aa5968d388b8: Preparing [2023-02-21T02:52:40.716Z] c6026e22937e: Layer already exists [2023-02-21T02:52:40.716Z] 789624c275b9: Layer already exists [2023-02-21T02:52:40.716Z] 52fbcc6d0641: Layer already exists [2023-02-21T02:52:40.716Z] 53c5e67c47a1: Layer already exists [2023-02-21T02:52:40.716Z] aa5968d388b8: Layer already exists [2023-02-21T02:52:40.716Z] latest: digest: sha256:58d7138bfd9e2ececf03f99b76bf5a30215dee47305dd87da7c8993e3c809155 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T02:52:41.015Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T02:52:41.316Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.12 [2023-02-21T02:52:41.316Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-02-21T02:52:41.316Z] 52fbcc6d0641: Preparing [2023-02-21T02:52:41.316Z] c6026e22937e: Preparing [2023-02-21T02:52:41.316Z] 789624c275b9: Preparing [2023-02-21T02:52:41.316Z] 53c5e67c47a1: Preparing [2023-02-21T02:52:41.316Z] aa5968d388b8: Preparing [2023-02-21T02:52:41.316Z] aa5968d388b8: Layer already exists [2023-02-21T02:52:41.316Z] c6026e22937e: Layer already exists [2023-02-21T02:52:41.316Z] 789624c275b9: Layer already exists [2023-02-21T02:52:41.316Z] 53c5e67c47a1: Layer already exists [2023-02-21T02:52:41.316Z] 52fbcc6d0641: Layer already exists [2023-02-21T02:52:41.316Z] 3.0.0-dev.12: digest: sha256:58d7138bfd9e2ececf03f99b76bf5a30215dee47305dd87da7c8993e3c809155 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T02:52:41.622Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:eeb2727d50df763d785a8885935756adc9e2bce2-3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T02:52:41.928Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:eeb2727d50df763d785a8885935756adc9e2bce2-3.0.0-dev.12 [2023-02-21T02:52:41.928Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-02-21T02:52:41.928Z] 52fbcc6d0641: Preparing [2023-02-21T02:52:41.928Z] c6026e22937e: Preparing [2023-02-21T02:52:41.928Z] 789624c275b9: Preparing [2023-02-21T02:52:41.928Z] 53c5e67c47a1: Preparing [2023-02-21T02:52:41.928Z] aa5968d388b8: Preparing [2023-02-21T02:52:41.928Z] 53c5e67c47a1: Layer already exists [2023-02-21T02:52:41.928Z] 789624c275b9: Layer already exists [2023-02-21T02:52:41.928Z] 52fbcc6d0641: Layer already exists [2023-02-21T02:52:41.928Z] aa5968d388b8: Layer already exists [2023-02-21T02:52:41.928Z] c6026e22937e: Layer already exists [2023-02-21T02:52:41.928Z] eeb2727d50df763d785a8885935756adc9e2bce2-3.0.0-dev.12: digest: sha256:58d7138bfd9e2ececf03f99b76bf5a30215dee47305dd87da7c8993e3c809155 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T02:52:42.236Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T02:52:42.543Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-02-21T02:52:42.543Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-02-21T02:52:42.543Z] 52fbcc6d0641: Preparing [2023-02-21T02:52:42.543Z] c6026e22937e: Preparing [2023-02-21T02:52:42.543Z] 789624c275b9: Preparing [2023-02-21T02:52:42.543Z] 53c5e67c47a1: Preparing [2023-02-21T02:52:42.543Z] aa5968d388b8: Preparing [2023-02-21T02:52:42.543Z] 53c5e67c47a1: Layer already exists [2023-02-21T02:52:42.543Z] 52fbcc6d0641: Layer already exists [2023-02-21T02:52:42.543Z] 789624c275b9: Layer already exists [2023-02-21T02:52:42.543Z] c6026e22937e: Layer already exists [2023-02-21T02:52:42.543Z] aa5968d388b8: Layer already exists [2023-02-21T02:52:42.543Z] main: digest: sha256:58d7138bfd9e2ececf03f99b76bf5a30215dee47305dd87da7c8993e3c809155 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-21T02:52:42.580Z] ===================================================== [Pipeline] echo [2023-02-21T02:52:42.586Z] taggedImages: [2023-02-21T02:52:42.586Z] - nexus3.edgexfoundry.org:10004/device-rest:eeb2727d50df763d785a8885935756adc9e2bce2 [2023-02-21T02:52:42.586Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-02-21T02:52:42.586Z] - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.12 [2023-02-21T02:52:42.586Z] - nexus3.edgexfoundry.org:10004/device-rest:eeb2727d50df763d785a8885935756adc9e2bce2-3.0.0-dev.12 [2023-02-21T02:52:42.586Z] - 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-21T02:52:42.946Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-21T02:52:42.946Z] [2023-02-21T02:52:42.946Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T02:52:43.245Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-21T02:52:43.245Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-21T02:52:43.245Z] 5eb5b503b376: Pulling fs layer [2023-02-21T02:52:43.245Z] 5c69ac0246d0: Pulling fs layer [2023-02-21T02:52:43.245Z] ec43610c2a17: Pulling fs layer [2023-02-21T02:52:43.245Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-21T02:52:43.245Z] 33b1e0a273af: Pulling fs layer [2023-02-21T02:52:43.245Z] 5d3b04190fa2: Pulling fs layer [2023-02-21T02:52:43.245Z] 2f39f015ded8: Pulling fs layer [2023-02-21T02:52:43.245Z] 33b1e0a273af: Waiting [2023-02-21T02:52:43.245Z] 5d3b04190fa2: Waiting [2023-02-21T02:52:43.245Z] 3a2ae6a8a46f: Waiting [2023-02-21T02:52:43.245Z] 2f39f015ded8: Waiting [2023-02-21T02:52:43.245Z] 5c69ac0246d0: Verifying Checksum [2023-02-21T02:52:43.245Z] 5c69ac0246d0: Download complete [2023-02-21T02:52:43.245Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-21T02:52:43.245Z] 3a2ae6a8a46f: Download complete [2023-02-21T02:52:43.245Z] 33b1e0a273af: Verifying Checksum [2023-02-21T02:52:43.245Z] 33b1e0a273af: Download complete [2023-02-21T02:52:43.504Z] 5d3b04190fa2: Download complete [2023-02-21T02:52:43.504Z] ec43610c2a17: Verifying Checksum [2023-02-21T02:52:43.504Z] ec43610c2a17: Download complete [2023-02-21T02:52:43.504Z] 5eb5b503b376: Download complete [2023-02-21T02:52:44.069Z] 2f39f015ded8: Download complete [2023-02-21T02:52:44.634Z] 5eb5b503b376: Pull complete [2023-02-21T02:52:44.634Z] 5c69ac0246d0: Pull complete [2023-02-21T02:52:45.198Z] ec43610c2a17: Pull complete [2023-02-21T02:52:45.198Z] 3a2ae6a8a46f: Pull complete [2023-02-21T02:52:45.456Z] 33b1e0a273af: Pull complete [2023-02-21T02:52:45.456Z] 5d3b04190fa2: Pull complete [2023-02-21T02:52:49.639Z] 2f39f015ded8: Pull complete [2023-02-21T02:52:49.639Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-21T02:52:49.639Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-21T02:52:49.639Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-21T02:52:49.717Z] prd-ubuntu20.04-docker-8c-8g-6793 does not seem to be running inside a container [2023-02-21T02:52:49.746Z] $ 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-21T02:52:51.273Z] $ docker top 7cff960eb446c52f859394725e5e3e8bb26cdcca8fc1d0b73e42859385ad1d3c -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-21T02:52:51.649Z] ---> job-cost.sh [2023-02-21T02:52:51.649Z] lf-activate-venv: SKIPPING [2023-02-21T02:52:51.649Z] INFO: No Stack... [2023-02-21T02:52:51.908Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-21T02:52:52.474Z] INFO: Archiving Costs [Pipeline] sh [2023-02-21T02:52:52.761Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-02-21T02:52:52.761Z] + cut -d, -f6 [Pipeline] lock [2023-02-21T02:52:52.777Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-84-stack-cost] [2023-02-21T02:52:52.785Z] Resource [jenkins-edgexfoundry-device-rest-go-main-84-stack-cost] did not exist. Created. [2023-02-21T02:52:52.785Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-84-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-21T02:52:53.082Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-21T02:52:53.109Z] Stashed 1 file(s) [Pipeline] } [2023-02-21T02:52:53.120Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-84-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-21T02:52:53.133Z] $ docker stop --time=1 7cff960eb446c52f859394725e5e3e8bb26cdcca8fc1d0b73e42859385ad1d3c [2023-02-21T02:52:54.308Z] $ docker rm -f --volumes 7cff960eb446c52f859394725e5e3e8bb26cdcca8fc1d0b73e42859385ad1d3c [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-21T02:52:57.274Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6795 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-02-21T02:52:57.287Z] Running in /w/workspace/device-rest-go/84 [Pipeline] { [Pipeline] checkout [2023-02-21T02:52:57.314Z] The recommended git tool is: git [2023-02-21T02:53:02.522Z] using credential edgex-jenkins-ssh [2023-02-21T02:53:02.549Z] Cloning the remote Git repository [2023-02-21T02:53:02.585Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-02-21T02:53:02.669Z] > git init /w/workspace/device-rest-go/84 # timeout=10 [2023-02-21T02:53:02.815Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-02-21T02:53:02.816Z] > git --version # timeout=10 [2023-02-21T02:53:02.836Z] > git --version # 'git version 2.25.1' [2023-02-21T02:53:02.837Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-21T02:53:02.896Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-21T02:53:06.944Z] Avoid second fetch [2023-02-21T02:53:06.945Z] Checking out Revision eeb2727d50df763d785a8885935756adc9e2bce2 (main) [2023-02-21T02:53:06.019Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-02-21T02:53:06.042Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-21T02:53:06.956Z] > git config core.sparsecheckout # timeout=10 [2023-02-21T02:53:06.973Z] > git checkout -f eeb2727d50df763d785a8885935756adc9e2bce2 # timeout=10 [2023-02-21T02:53:07.464Z] Commit message: "Merge pull request #257 from edgexfoundry/dependabot/go_modules/github.com/edgexfoundry/device-sdk-go/v3-3.0.0-dev.34" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-21T02:53:08.317Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-21T02:53:08.317Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-21T02:53:08.317Z] Dload Upload Total Spent Left Speed [2023-02-21T02:53:08.317Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 89167 0 --:--:-- --:--:-- --:--:-- 89167 [Pipeline] sh [2023-02-21T02:53:08.949Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-21T02:53:09.266Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-21T02:53:09.266Z] + sudo tee /etc/docker/daemon.new [2023-02-21T02:53:09.266Z] { [2023-02-21T02:53:09.266Z] "registry-mirrors": [ [2023-02-21T02:53:09.266Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-21T02:53:09.266Z] ], [2023-02-21T02:53:09.266Z] "bip": "10.250.0.254/24", [2023-02-21T02:53:09.266Z] "hosts": [ [2023-02-21T02:53:09.266Z] "tcp://0.0.0.0:5555", [2023-02-21T02:53:09.266Z] "unix:///var/run/docker.sock" [2023-02-21T02:53:09.266Z] ], [2023-02-21T02:53:09.266Z] "mtu": 1458, [2023-02-21T02:53:09.266Z] "selinux-enabled": true, [2023-02-21T02:53:09.266Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-21T02:53:09.266Z] } [Pipeline] sh [2023-02-21T02:53:09.597Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-21T02:53:09.931Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-21T02:53:28.209Z] provisioning config files... [2023-02-21T02:53:28.234Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/84@tmp/config15569984039399631117tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-21T02:53:28.583Z] ---> docker-login.sh [2023-02-21T02:53:28.583Z] nexus3.edgexfoundry.org:10001 [2023-02-21T02:53:29.184Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T02:53:29.185Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T02:53:29.185Z] Configure a credential helper to remove this warning. See [2023-02-21T02:53:29.185Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T02:53:29.185Z] [2023-02-21T02:53:29.185Z] Login Succeeded [2023-02-21T02:53:29.185Z] nexus3.edgexfoundry.org:10002 [2023-02-21T02:53:29.455Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T02:53:29.727Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T02:53:29.727Z] Configure a credential helper to remove this warning. See [2023-02-21T02:53:29.727Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T02:53:29.727Z] [2023-02-21T02:53:29.727Z] Login Succeeded [2023-02-21T02:53:29.727Z] nexus3.edgexfoundry.org:10003 [2023-02-21T02:53:29.727Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T02:53:29.998Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T02:53:29.998Z] Configure a credential helper to remove this warning. See [2023-02-21T02:53:29.998Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T02:53:29.998Z] [2023-02-21T02:53:29.998Z] Login Succeeded [2023-02-21T02:53:29.998Z] nexus3.edgexfoundry.org:10004 [2023-02-21T02:53:30.270Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T02:53:30.270Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T02:53:30.270Z] Configure a credential helper to remove this warning. See [2023-02-21T02:53:30.270Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T02:53:30.270Z] [2023-02-21T02:53:30.270Z] Login Succeeded [2023-02-21T02:53:30.270Z] docker.io [2023-02-21T02:53:30.541Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T02:53:30.809Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T02:53:30.809Z] Configure a credential helper to remove this warning. See [2023-02-21T02:53:30.809Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T02:53:30.809Z] [2023-02-21T02:53:30.809Z] Login Succeeded [2023-02-21T02:53:30.809Z] ---> docker-login.sh ends [Pipeline] } [2023-02-21T02:53:30.824Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-21T02:53:31.074Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-21T02:53:31.091Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-21T02:53:31.102Z] ========================================================= [2023-02-21T02:53:31.102Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-21T02:53:31.102Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T02:53:31.441Z] + 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-21T02:53:31.441Z] Sending build context to Docker daemon 139.8kB [2023-02-21T02:53:31.708Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-21T02:53:31.708Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-21T02:53:32.297Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-21T02:53:32.297Z] 9b18e9b68314: Pulling fs layer [2023-02-21T02:53:32.297Z] 35d82f9e3411: Pulling fs layer [2023-02-21T02:53:32.297Z] e16973657156: Pulling fs layer [2023-02-21T02:53:32.297Z] fc693d55d65f: Pulling fs layer [2023-02-21T02:53:32.297Z] 7e9fc2657dce: Pulling fs layer [2023-02-21T02:53:32.297Z] dda99020689f: Pulling fs layer [2023-02-21T02:53:32.297Z] db1c61fa0a46: Pulling fs layer [2023-02-21T02:53:32.297Z] 891c053d2c06: Pulling fs layer [2023-02-21T02:53:32.297Z] dda99020689f: Waiting [2023-02-21T02:53:32.297Z] db1c61fa0a46: Waiting [2023-02-21T02:53:32.297Z] fc693d55d65f: Waiting [2023-02-21T02:53:32.297Z] 7e9fc2657dce: Waiting [2023-02-21T02:53:32.297Z] 891c053d2c06: Waiting [2023-02-21T02:53:32.297Z] e16973657156: Verifying Checksum [2023-02-21T02:53:32.297Z] e16973657156: Download complete [2023-02-21T02:53:32.297Z] 35d82f9e3411: Verifying Checksum [2023-02-21T02:53:32.297Z] 35d82f9e3411: Download complete [2023-02-21T02:53:32.297Z] 7e9fc2657dce: Verifying Checksum [2023-02-21T02:53:32.297Z] 7e9fc2657dce: Download complete [2023-02-21T02:53:32.297Z] dda99020689f: Verifying Checksum [2023-02-21T02:53:32.297Z] dda99020689f: Download complete [2023-02-21T02:53:32.297Z] 9b18e9b68314: Verifying Checksum [2023-02-21T02:53:32.297Z] 9b18e9b68314: Download complete [2023-02-21T02:53:33.269Z] 9b18e9b68314: Pull complete [2023-02-21T02:53:33.269Z] 891c053d2c06: Verifying Checksum [2023-02-21T02:53:33.269Z] 891c053d2c06: Download complete [2023-02-21T02:53:33.867Z] 35d82f9e3411: Pull complete [2023-02-21T02:53:34.136Z] e16973657156: Pull complete [2023-02-21T02:53:34.722Z] db1c61fa0a46: Verifying Checksum [2023-02-21T02:53:34.722Z] db1c61fa0a46: Download complete [2023-02-21T02:53:35.308Z] fc693d55d65f: Verifying Checksum [2023-02-21T02:53:35.308Z] fc693d55d65f: Download complete [2023-02-21T02:53:47.630Z] fc693d55d65f: Pull complete [2023-02-21T02:53:47.630Z] 7e9fc2657dce: Pull complete [2023-02-21T02:53:47.630Z] dda99020689f: Pull complete [2023-02-21T02:53:51.892Z] db1c61fa0a46: Pull complete [2023-02-21T02:53:52.856Z] 891c053d2c06: Pull complete [2023-02-21T02:53:53.124Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-21T02:53:53.124Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-21T02:53:53.124Z] ---> f96f9c87975a [2023-02-21T02:53:53.124Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-21T02:53:55.072Z] ---> Running in 0004b5c4c989 [2023-02-21T02:53:55.339Z] Removing intermediate container 0004b5c4c989 [2023-02-21T02:53:55.339Z] ---> 924f18f9e2c9 [2023-02-21T02:53:55.339Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-21T02:53:55.339Z] ---> Running in 7e7d40cf07f5 [2023-02-21T02:53:55.928Z] Removing intermediate container 7e7d40cf07f5 [2023-02-21T02:53:55.928Z] ---> 9f030feda103 [2023-02-21T02:53:55.928Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-21T02:53:55.928Z] ---> Running in b76f10ed2ad0 [2023-02-21T02:53:56.197Z] Removing intermediate container b76f10ed2ad0 [2023-02-21T02:53:56.197Z] ---> 5a0eaaf9400e [2023-02-21T02:53:56.197Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-21T02:53:56.197Z] ---> Running in e92aa7beff7c [2023-02-21T02:53:56.471Z] Removing intermediate container e92aa7beff7c [2023-02-21T02:53:56.471Z] ---> 7b35eaebd801 [2023-02-21T02:53:56.471Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-21T02:53:56.739Z] ---> Running in d31921f6de7b [2023-02-21T02:53:57.704Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-21T02:53:57.972Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-21T02:53:58.935Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-21T02:53:58.935Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-21T02:53:58.935Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-21T02:53:59.256Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-21T02:53:59.256Z] Executing busybox-1.35.0-r17.trigger [2023-02-21T02:53:59.256Z] OK: 226 MiB in 55 packages [2023-02-21T02:54:00.284Z] Removing intermediate container d31921f6de7b [2023-02-21T02:54:00.284Z] ---> 4797b1c00eef [2023-02-21T02:54:00.284Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-21T02:54:00.284Z] ---> Running in 73bc835a58d3 [2023-02-21T02:54:00.551Z] Removing intermediate container 73bc835a58d3 [2023-02-21T02:54:00.551Z] ---> ca36187d20c0 [2023-02-21T02:54:00.551Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-21T02:54:01.132Z] ---> 0f85e4ffd16d [2023-02-21T02:54:01.132Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-21T02:54:01.132Z] ---> Running in 8cf368c8e562 [2023-02-21T02:55:22.735Z] Removing intermediate container 8cf368c8e562 [2023-02-21T02:55:22.735Z] ---> 4f0c0cb97f20 [2023-02-21T02:55:22.735Z] Step 11/12 : COPY . . [2023-02-21T02:55:22.735Z] ---> d56c7c79722d [2023-02-21T02:55:22.735Z] Step 12/12 : RUN $MAKE [2023-02-21T02:55:22.735Z] ---> Running in ea6862d9a398 [2023-02-21T02:55:22.735Z] noop [2023-02-21T02:55:22.735Z] Removing intermediate container ea6862d9a398 [2023-02-21T02:55:22.735Z] ---> 5900ecd86cc7 [2023-02-21T02:55:22.735Z] Successfully built 5900ecd86cc7 [2023-02-21T02:55:22.735Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T02:55:23.082Z] + docker inspect -f . ci-base-image-arm64 [2023-02-21T02:55:23.082Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-21T02:55:23.270Z] prd-ubuntu20.04-docker-arm64-4c-16g-6795 does not seem to be running inside a container [2023-02-21T02:55:23.340Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/84 -v /w/workspace/device-rest-go/84:/w/workspace/device-rest-go/84:rw,z -v /w/workspace/device-rest-go/84@tmp:/w/workspace/device-rest-go/84@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-21T02:55:24.662Z] $ docker top df5513aab7c997066584c9e86da175de41529186b428d587a9ce694fd8e12003 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-21T02:55:25.520Z] + go version [2023-02-21T02:55:25.520Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-21T02:55:25.541Z] $ docker stop --time=1 df5513aab7c997066584c9e86da175de41529186b428d587a9ce694fd8e12003 [2023-02-21T02:55:27.188Z] $ docker rm -f --volumes df5513aab7c997066584c9e86da175de41529186b428d587a9ce694fd8e12003 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T02:55:27.757Z] + docker inspect -f . ci-base-image-arm64 [2023-02-21T02:55:27.757Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-21T02:55:27.954Z] prd-ubuntu20.04-docker-arm64-4c-16g-6795 does not seem to be running inside a container [2023-02-21T02:55:28.030Z] $ 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/84 -v /w/workspace/device-rest-go/84:/w/workspace/device-rest-go/84:rw,z -v /w/workspace/device-rest-go/84@tmp:/w/workspace/device-rest-go/84@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-21T02:55:29.327Z] $ docker top 0ceff6d93dc8aad71641ddbf5a68420b63c639a4e98803835c769fd3fda535bd -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-21T02:55:30.179Z] + git config --global --add safe.directory /w/workspace/device-rest-go/84 [Pipeline] fileExists [Pipeline] sh [2023-02-21T02:55:30.840Z] + make test [2023-02-21T02:55:30.840Z] go test ./... -coverprofile=coverage.out ./... [2023-02-21T02:55:32.792Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-21T02:57:09.481Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-02-21T02:57:09.481Z] ok github.com/edgexfoundry/device-rest-go/driver 0.061s coverage: 33.9% of statements [2023-02-21T02:57:09.481Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-21T02:57:09.481Z] go vet ./... [2023-02-21T02:57:24.482Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-21T02:57:24.482Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-21T02:57:24.482Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-21T02:57:24.501Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-21T02:57:24.513Z] $ docker stop --time=1 0ceff6d93dc8aad71641ddbf5a68420b63c639a4e98803835c769fd3fda535bd [2023-02-21T02:57:26.291Z] $ docker rm -f --volumes 0ceff6d93dc8aad71641ddbf5a68420b63c639a4e98803835c769fd3fda535bd [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-21T02:57:27.173Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-21T02:57:27.195Z] Warning: overwriting stash ‘coverage-report’ [2023-02-21T02:57:27.607Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-21T02:57:27.997Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-21T02:57:28.324Z] + ls -al . [2023-02-21T02:57:28.324Z] total 184 [2023-02-21T02:57:28.324Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 21 02:55 . [2023-02-21T02:57:28.324Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 21 02:53 .. [2023-02-21T02:57:28.324Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 21 02:53 .dockerignore [2023-02-21T02:57:28.324Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 21 02:53 .git [2023-02-21T02:57:28.324Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 21 02:53 .github [2023-02-21T02:57:28.324Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 21 02:53 .gitignore [2023-02-21T02:57:28.324Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 21 02:53 .golangci.yml [2023-02-21T02:57:28.324Z] -rw-rw-r-- 1 jenkins jenkins 9213 Feb 21 02:53 Attribution.txt [2023-02-21T02:57:28.324Z] -rw-rw-r-- 1 jenkins jenkins 13085 Feb 21 02:53 CHANGELOG.md [2023-02-21T02:57:28.324Z] -rw-rw-r-- 1 jenkins jenkins 1578 Feb 21 02:53 Dockerfile [2023-02-21T02:57:28.324Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 21 02:53 GOVERNANCE.md [2023-02-21T02:57:28.324Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 21 02:53 Jenkinsfile [2023-02-21T02:57:28.324Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 21 02:53 LICENSE [2023-02-21T02:57:28.324Z] -rw-rw-r-- 1 jenkins jenkins 1744 Feb 21 02:53 Makefile [2023-02-21T02:57:28.324Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 21 02:53 OWNERS.md [2023-02-21T02:57:28.324Z] -rw-rw-r-- 1 jenkins jenkins 15447 Feb 21 02:53 README.md [2023-02-21T02:57:28.324Z] -rw-rw-r-- 1 jenkins jenkins 12 Feb 21 02:51 VERSION [2023-02-21T02:57:28.324Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 21 02:53 bin [2023-02-21T02:57:28.324Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 21 02:53 cmd [2023-02-21T02:57:28.324Z] -rw-r--r-- 1 jenkins jenkins 13744 Feb 21 02:56 coverage.out [2023-02-21T02:57:28.324Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 21 02:53 driver [2023-02-21T02:57:28.324Z] -rw-rw-r-- 1 jenkins jenkins 3400 Feb 21 02:53 go.mod [2023-02-21T02:57:28.324Z] -rw-rw-r-- 1 jenkins jenkins 33279 Feb 21 02:53 go.sum [2023-02-21T02:57:28.324Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 21 02:53 snap [2023-02-21T02:57:28.324Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 21 02:53 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T02:57:28.665Z] + 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=eeb2727d50df763d785a8885935756adc9e2bce2 --label arch=arm64 --label version=3.0.0-dev.12 . [2023-02-21T02:57:28.665Z] Sending build context to Docker daemon 154.1kB [2023-02-21T02:57:28.931Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-21T02:57:28.931Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-21T02:57:28.931Z] ---> 5900ecd86cc7 [2023-02-21T02:57:28.931Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-21T02:57:28.931Z] ---> Running in f2b120a4b001 [2023-02-21T02:57:29.516Z] Removing intermediate container f2b120a4b001 [2023-02-21T02:57:29.516Z] ---> 148ddb303753 [2023-02-21T02:57:29.516Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-21T02:57:29.516Z] ---> Running in d6cbf656e6b6 [2023-02-21T02:57:29.781Z] Removing intermediate container d6cbf656e6b6 [2023-02-21T02:57:29.781Z] ---> 16e072c172b7 [2023-02-21T02:57:29.781Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-21T02:57:30.053Z] ---> Running in f30bdc1f41db [2023-02-21T02:57:30.322Z] Removing intermediate container f30bdc1f41db [2023-02-21T02:57:30.322Z] ---> 7a8c6ab3ae86 [2023-02-21T02:57:30.322Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-21T02:57:30.592Z] ---> Running in f22eefcf3800 [2023-02-21T02:57:30.858Z] Removing intermediate container f22eefcf3800 [2023-02-21T02:57:30.858Z] ---> 46cc867c965f [2023-02-21T02:57:30.858Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-21T02:57:30.858Z] ---> Running in 2992a5fd3566 [2023-02-21T02:57:32.267Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-21T02:57:32.534Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-21T02:57:33.491Z] OK: 226 MiB in 55 packages [2023-02-21T02:57:34.903Z] Removing intermediate container 2992a5fd3566 [2023-02-21T02:57:34.903Z] ---> 64e84eed03fd [2023-02-21T02:57:34.903Z] Step 8/25 : WORKDIR /device-rest-go [2023-02-21T02:57:34.903Z] ---> Running in d703af5fd81a [2023-02-21T02:57:35.168Z] Removing intermediate container d703af5fd81a [2023-02-21T02:57:35.168Z] ---> 229965492c93 [2023-02-21T02:57:35.168Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-21T02:57:35.437Z] ---> 98f98451a9bf [2023-02-21T02:57:35.437Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-21T02:57:35.705Z] ---> Running in 8beabe95ff55 [2023-02-21T02:57:38.284Z] Removing intermediate container 8beabe95ff55 [2023-02-21T02:57:38.284Z] ---> c813b067dd47 [2023-02-21T02:57:38.284Z] Step 11/25 : COPY . . [2023-02-21T02:57:38.868Z] ---> 1c8af05c92c0 [2023-02-21T02:57:38.868Z] Step 12/25 : RUN $MAKE [2023-02-21T02:57:38.868Z] ---> Running in 3dd2ab967387 [2023-02-21T02:57:39.843Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.12" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-02-21T03:00:01.505Z] Removing intermediate container 3dd2ab967387 [2023-02-21T03:00:01.505Z] ---> 6e9600f24979 [2023-02-21T03:00:01.505Z] Step 13/25 : FROM alpine:3.16 [2023-02-21T03:00:01.505Z] 3.16: Pulling from library/alpine [2023-02-21T03:00:01.505Z] 3760b48202b3: Pulling fs layer [2023-02-21T03:00:01.505Z] 3760b48202b3: Verifying Checksum [2023-02-21T03:00:01.505Z] 3760b48202b3: Download complete [2023-02-21T03:00:01.505Z] 3760b48202b3: Pull complete [2023-02-21T03:00:01.505Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-21T03:00:01.505Z] Status: Downloaded newer image for alpine:3.16 [2023-02-21T03:00:01.505Z] ---> 4c81e5bf8899 [2023-02-21T03:00:01.505Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-21T03:00:01.505Z] ---> Running in 2940e02d3fef [2023-02-21T03:00:01.505Z] Removing intermediate container 2940e02d3fef [2023-02-21T03:00:01.505Z] ---> 03603d34b52e [2023-02-21T03:00:01.505Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-02-21T03:00:01.505Z] ---> Running in 6e6548dfa60d [2023-02-21T03:00:01.505Z] Removing intermediate container 6e6548dfa60d [2023-02-21T03:00:01.505Z] ---> c73f7d052424 [2023-02-21T03:00:01.505Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-02-21T03:00:01.505Z] ---> Running in db080653280e [2023-02-21T03:00:01.505Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-21T03:00:01.505Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-21T03:00:01.505Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-21T03:00:01.505Z] Executing busybox-1.35.0-r17.trigger [2023-02-21T03:00:01.505Z] OK: 5 MiB in 15 packages [2023-02-21T03:00:01.505Z] Removing intermediate container db080653280e [2023-02-21T03:00:01.505Z] ---> ebbaa53d8133 [2023-02-21T03:00:01.505Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-02-21T03:00:01.505Z] ---> 3542b6dc3892 [2023-02-21T03:00:01.505Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-02-21T03:00:01.505Z] ---> b234a39856e5 [2023-02-21T03:00:01.505Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-02-21T03:00:01.772Z] ---> 4fe35fda165a [2023-02-21T03:00:01.772Z] Step 20/25 : EXPOSE 59986 [2023-02-21T03:00:01.772Z] ---> Running in f307c810c300 [2023-02-21T03:00:02.047Z] Removing intermediate container f307c810c300 [2023-02-21T03:00:02.047Z] ---> d2b39baf2e41 [2023-02-21T03:00:02.047Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-02-21T03:00:02.315Z] ---> Running in ef08096214c9 [2023-02-21T03:00:02.585Z] Removing intermediate container ef08096214c9 [2023-02-21T03:00:02.585Z] ---> 69b4376a1997 [2023-02-21T03:00:02.585Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-21T03:00:02.585Z] ---> Running in a62da947b320 [2023-02-21T03:00:02.854Z] Removing intermediate container a62da947b320 [2023-02-21T03:00:02.854Z] ---> 830a7361d793 [2023-02-21T03:00:02.854Z] Step 23/25 : LABEL arch=arm64 [2023-02-21T03:00:03.119Z] ---> Running in 34e8c9a042ed [2023-02-21T03:00:03.392Z] Removing intermediate container 34e8c9a042ed [2023-02-21T03:00:03.392Z] ---> 653c86a09311 [2023-02-21T03:00:03.392Z] Step 24/25 : LABEL git_sha=eeb2727d50df763d785a8885935756adc9e2bce2 [2023-02-21T03:00:03.392Z] ---> Running in 654c6e83ced9 [2023-02-21T03:00:03.659Z] Removing intermediate container 654c6e83ced9 [2023-02-21T03:00:03.659Z] ---> 302f1acf8048 [2023-02-21T03:00:03.659Z] Step 25/25 : LABEL version=3.0.0-dev.12 [2023-02-21T03:00:03.659Z] ---> Running in 0829be75a641 [2023-02-21T03:00:03.927Z] Removing intermediate container 0829be75a641 [2023-02-21T03:00:03.927Z] ---> a5ba9bf16d4d [2023-02-21T03:00:03.927Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-21T03:00:03.927Z] Successfully built a5ba9bf16d4d [2023-02-21T03:00:03.927Z] 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-21T03:00:04.011Z] provisioning config files... [2023-02-21T03:00:04.025Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/84@tmp/config3210315042292172161tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-21T03:00:04.355Z] ---> docker-login.sh [2023-02-21T03:00:04.355Z] nexus3.edgexfoundry.org:10001 [2023-02-21T03:00:04.630Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T03:00:04.630Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T03:00:04.630Z] Configure a credential helper to remove this warning. See [2023-02-21T03:00:04.630Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T03:00:04.630Z] [2023-02-21T03:00:04.630Z] Login Succeeded [2023-02-21T03:00:04.630Z] nexus3.edgexfoundry.org:10002 [2023-02-21T03:00:04.898Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T03:00:04.898Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T03:00:04.898Z] Configure a credential helper to remove this warning. See [2023-02-21T03:00:04.898Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T03:00:04.898Z] [2023-02-21T03:00:04.898Z] Login Succeeded [2023-02-21T03:00:05.166Z] nexus3.edgexfoundry.org:10003 [2023-02-21T03:00:05.435Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T03:00:05.435Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T03:00:05.435Z] Configure a credential helper to remove this warning. See [2023-02-21T03:00:05.435Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T03:00:05.435Z] [2023-02-21T03:00:05.435Z] Login Succeeded [2023-02-21T03:00:05.435Z] nexus3.edgexfoundry.org:10004 [2023-02-21T03:00:05.703Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T03:00:05.703Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T03:00:05.703Z] Configure a credential helper to remove this warning. See [2023-02-21T03:00:05.703Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T03:00:05.703Z] [2023-02-21T03:00:05.703Z] Login Succeeded [2023-02-21T03:00:05.703Z] docker.io [2023-02-21T03:00:05.971Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-21T03:00:10.231Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-21T03:00:10.231Z] Configure a credential helper to remove this warning. See [2023-02-21T03:00:10.231Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-21T03:00:10.231Z] [2023-02-21T03:00:10.231Z] Login Succeeded [2023-02-21T03:00:10.231Z] ---> docker-login.sh ends [Pipeline] } [2023-02-21T03:00:10.245Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-21T03:00:10.270Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-21T03:00:10.286Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-02-21T03:00:10.286Z] eeb2727d50df763d785a8885935756adc9e2bce2 [2023-02-21T03:00:10.286Z] latest [2023-02-21T03:00:10.286Z] 3.0.0-dev.12 [2023-02-21T03:00:10.286Z] eeb2727d50df763d785a8885935756adc9e2bce2-3.0.0-dev.12 [2023-02-21T03:00:10.286Z] main [2023-02-21T03:00:10.286Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T03:00:10.620Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:eeb2727d50df763d785a8885935756adc9e2bce2 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T03:00:10.958Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:eeb2727d50df763d785a8885935756adc9e2bce2 [2023-02-21T03:00:10.958Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-02-21T03:00:10.958Z] 491885dd727f: Preparing [2023-02-21T03:00:10.958Z] ede259d6d5b4: Preparing [2023-02-21T03:00:10.958Z] 8504e42c8326: Preparing [2023-02-21T03:00:10.958Z] 74bf5c9bf6cb: Preparing [2023-02-21T03:00:10.958Z] f70ee36035b9: Preparing [2023-02-21T03:00:10.958Z] f70ee36035b9: Layer already exists [2023-02-21T03:01:47.572Z] ede259d6d5b4: Retrying in 5 seconds [2023-02-21T03:01:47.572Z] 8504e42c8326: Retrying in 5 seconds [2023-02-21T03:01:47.572Z] 491885dd727f: Retrying in 5 seconds [2023-02-21T03:01:47.572Z] 74bf5c9bf6cb: Retrying in 5 seconds [2023-02-21T03:01:47.572Z] 8504e42c8326: Retrying in 4 seconds [2023-02-21T03:01:47.572Z] 491885dd727f: Retrying in 4 seconds [2023-02-21T03:01:47.572Z] ede259d6d5b4: Retrying in 4 seconds [2023-02-21T03:01:47.572Z] 74bf5c9bf6cb: Retrying in 4 seconds [2023-02-21T03:01:47.572Z] 8504e42c8326: Retrying in 3 seconds [2023-02-21T03:01:47.572Z] ede259d6d5b4: Retrying in 3 seconds [2023-02-21T03:01:47.572Z] 491885dd727f: Retrying in 3 seconds [2023-02-21T03:01:47.572Z] 74bf5c9bf6cb: Retrying in 3 seconds [2023-02-21T03:01:47.572Z] ede259d6d5b4: Retrying in 2 seconds [2023-02-21T03:01:47.572Z] 491885dd727f: Retrying in 2 seconds [2023-02-21T03:01:47.572Z] 8504e42c8326: Retrying in 2 seconds [2023-02-21T03:01:47.572Z] 74bf5c9bf6cb: Retrying in 2 seconds [2023-02-21T03:01:47.572Z] ede259d6d5b4: Retrying in 1 second [2023-02-21T03:01:47.572Z] 491885dd727f: Retrying in 1 second [2023-02-21T03:01:47.572Z] 8504e42c8326: Retrying in 1 second [2023-02-21T03:01:47.572Z] 74bf5c9bf6cb: Retrying in 1 second [2023-02-21T03:03:24.184Z] 74bf5c9bf6cb: Retrying in 10 seconds [2023-02-21T03:03:24.184Z] ede259d6d5b4: Retrying in 10 seconds [2023-02-21T03:03:24.184Z] 491885dd727f: Retrying in 10 seconds [2023-02-21T03:03:24.184Z] 8504e42c8326: Retrying in 10 seconds [2023-02-21T03:03:24.184Z] 74bf5c9bf6cb: Retrying in 9 seconds [2023-02-21T03:03:24.184Z] ede259d6d5b4: Retrying in 9 seconds [2023-02-21T03:03:24.184Z] 491885dd727f: Retrying in 9 seconds [2023-02-21T03:03:24.184Z] 8504e42c8326: Retrying in 9 seconds [2023-02-21T03:03:24.184Z] 74bf5c9bf6cb: Retrying in 8 seconds [2023-02-21T03:03:24.184Z] ede259d6d5b4: Retrying in 8 seconds [2023-02-21T03:03:24.184Z] 491885dd727f: Retrying in 8 seconds [2023-02-21T03:03:24.184Z] 8504e42c8326: Retrying in 8 seconds [2023-02-21T03:03:24.184Z] 74bf5c9bf6cb: Retrying in 7 seconds [2023-02-21T03:03:24.184Z] 491885dd727f: Retrying in 7 seconds [2023-02-21T03:03:24.184Z] ede259d6d5b4: Retrying in 7 seconds [2023-02-21T03:03:24.184Z] 8504e42c8326: Retrying in 7 seconds [2023-02-21T03:03:24.184Z] 74bf5c9bf6cb: Retrying in 6 seconds [2023-02-21T03:03:24.184Z] ede259d6d5b4: Retrying in 6 seconds [2023-02-21T03:03:24.184Z] 491885dd727f: Retrying in 6 seconds [2023-02-21T03:03:24.184Z] 8504e42c8326: Retrying in 6 seconds [2023-02-21T03:03:24.184Z] 491885dd727f: Retrying in 5 seconds [2023-02-21T03:03:24.184Z] 74bf5c9bf6cb: Retrying in 5 seconds [2023-02-21T03:03:24.184Z] ede259d6d5b4: Retrying in 5 seconds [2023-02-21T03:03:24.184Z] 8504e42c8326: Retrying in 5 seconds [2023-02-21T03:03:24.184Z] ede259d6d5b4: Retrying in 4 seconds [2023-02-21T03:03:24.184Z] 74bf5c9bf6cb: Retrying in 4 seconds [2023-02-21T03:03:24.184Z] 491885dd727f: Retrying in 4 seconds [2023-02-21T03:03:24.184Z] 8504e42c8326: Retrying in 4 seconds [2023-02-21T03:03:24.184Z] ede259d6d5b4: Retrying in 3 seconds [2023-02-21T03:03:24.184Z] 491885dd727f: Retrying in 3 seconds [2023-02-21T03:03:24.184Z] 74bf5c9bf6cb: Retrying in 3 seconds [2023-02-21T03:03:24.184Z] 8504e42c8326: Retrying in 3 seconds [2023-02-21T03:03:24.184Z] 491885dd727f: Retrying in 2 seconds [2023-02-21T03:03:24.184Z] 74bf5c9bf6cb: Retrying in 2 seconds [2023-02-21T03:03:24.184Z] ede259d6d5b4: Retrying in 2 seconds [2023-02-21T03:03:24.184Z] 8504e42c8326: Retrying in 2 seconds [2023-02-21T03:03:25.181Z] ede259d6d5b4: Retrying in 1 second [2023-02-21T03:03:25.181Z] 491885dd727f: Retrying in 1 second [2023-02-21T03:03:25.181Z] 74bf5c9bf6cb: Retrying in 1 second [2023-02-21T03:03:25.181Z] 8504e42c8326: Retrying in 1 second [2023-02-21T03:04:04.055Z] 491885dd727f: Pushed [2023-02-21T03:04:04.055Z] ede259d6d5b4: Pushed [2023-02-21T03:04:04.055Z] 74bf5c9bf6cb: Pushed [2023-02-21T03:04:04.055Z] 8504e42c8326: Pushed [2023-02-21T03:04:04.324Z] eeb2727d50df763d785a8885935756adc9e2bce2: digest: sha256:6dc14d0a7e00349e75088bd0ef190db1e7128757fa8146139513db14b3f8e0d1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T03:04:04.681Z] + 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-21T03:04:05.011Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-02-21T03:04:05.012Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-02-21T03:04:05.012Z] 491885dd727f: Preparing [2023-02-21T03:04:05.012Z] ede259d6d5b4: Preparing [2023-02-21T03:04:05.012Z] 8504e42c8326: Preparing [2023-02-21T03:04:05.012Z] 74bf5c9bf6cb: Preparing [2023-02-21T03:04:05.012Z] f70ee36035b9: Preparing [2023-02-21T03:04:05.012Z] ede259d6d5b4: Layer already exists [2023-02-21T03:04:05.012Z] 8504e42c8326: Layer already exists [2023-02-21T03:04:05.012Z] 491885dd727f: Layer already exists [2023-02-21T03:04:05.012Z] 74bf5c9bf6cb: Layer already exists [2023-02-21T03:04:05.012Z] f70ee36035b9: Layer already exists [2023-02-21T03:04:05.278Z] latest: digest: sha256:6dc14d0a7e00349e75088bd0ef190db1e7128757fa8146139513db14b3f8e0d1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T03:04:05.625Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T03:04:05.961Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.12 [2023-02-21T03:04:05.961Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-02-21T03:04:05.961Z] 491885dd727f: Preparing [2023-02-21T03:04:05.961Z] ede259d6d5b4: Preparing [2023-02-21T03:04:05.961Z] 8504e42c8326: Preparing [2023-02-21T03:04:05.961Z] 74bf5c9bf6cb: Preparing [2023-02-21T03:04:05.961Z] f70ee36035b9: Preparing [2023-02-21T03:04:05.961Z] ede259d6d5b4: Layer already exists [2023-02-21T03:04:05.961Z] f70ee36035b9: Layer already exists [2023-02-21T03:04:05.961Z] 491885dd727f: Layer already exists [2023-02-21T03:04:05.961Z] 8504e42c8326: Layer already exists [2023-02-21T03:04:05.961Z] 74bf5c9bf6cb: Layer already exists [2023-02-21T03:04:06.226Z] 3.0.0-dev.12: digest: sha256:6dc14d0a7e00349e75088bd0ef190db1e7128757fa8146139513db14b3f8e0d1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T03:04:06.573Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:eeb2727d50df763d785a8885935756adc9e2bce2-3.0.0-dev.12 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T03:04:06.922Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:eeb2727d50df763d785a8885935756adc9e2bce2-3.0.0-dev.12 [2023-02-21T03:04:06.922Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-02-21T03:04:06.922Z] 491885dd727f: Preparing [2023-02-21T03:04:06.922Z] ede259d6d5b4: Preparing [2023-02-21T03:04:06.922Z] 8504e42c8326: Preparing [2023-02-21T03:04:06.922Z] 74bf5c9bf6cb: Preparing [2023-02-21T03:04:06.922Z] f70ee36035b9: Preparing [2023-02-21T03:04:06.922Z] 74bf5c9bf6cb: Layer already exists [2023-02-21T03:04:06.922Z] f70ee36035b9: Layer already exists [2023-02-21T03:04:06.922Z] 491885dd727f: Layer already exists [2023-02-21T03:04:06.922Z] 8504e42c8326: Layer already exists [2023-02-21T03:04:06.922Z] ede259d6d5b4: Layer already exists [2023-02-21T03:04:07.192Z] eeb2727d50df763d785a8885935756adc9e2bce2-3.0.0-dev.12: digest: sha256:6dc14d0a7e00349e75088bd0ef190db1e7128757fa8146139513db14b3f8e0d1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T03:04:07.540Z] + 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-21T03:04:07.872Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-02-21T03:04:07.872Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-02-21T03:04:07.872Z] 491885dd727f: Preparing [2023-02-21T03:04:07.872Z] ede259d6d5b4: Preparing [2023-02-21T03:04:07.872Z] 8504e42c8326: Preparing [2023-02-21T03:04:07.872Z] 74bf5c9bf6cb: Preparing [2023-02-21T03:04:07.872Z] f70ee36035b9: Preparing [2023-02-21T03:04:07.872Z] 8504e42c8326: Layer already exists [2023-02-21T03:04:07.872Z] 74bf5c9bf6cb: Layer already exists [2023-02-21T03:04:07.872Z] f70ee36035b9: Layer already exists [2023-02-21T03:04:07.872Z] ede259d6d5b4: Layer already exists [2023-02-21T03:04:07.872Z] 491885dd727f: Layer already exists [2023-02-21T03:04:08.137Z] main: digest: sha256:6dc14d0a7e00349e75088bd0ef190db1e7128757fa8146139513db14b3f8e0d1 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-21T03:04:08.180Z] ===================================================== [Pipeline] echo [2023-02-21T03:04:08.186Z] taggedImages: [2023-02-21T03:04:08.186Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:eeb2727d50df763d785a8885935756adc9e2bce2 [2023-02-21T03:04:08.186Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-02-21T03:04:08.186Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.12 [2023-02-21T03:04:08.186Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:eeb2727d50df763d785a8885935756adc9e2bce2-3.0.0-dev.12 [2023-02-21T03:04:08.186Z] - 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-21T03:04:08.539Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-21T03:04:08.540Z] [2023-02-21T03:04:08.540Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T03:04:08.871Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-21T03:04:08.871Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-21T03:04:08.871Z] 8998bd30e6a1: Pulling fs layer [2023-02-21T03:04:08.871Z] 04944245beec: Pulling fs layer [2023-02-21T03:04:08.871Z] 699f458cf7ca: Pulling fs layer [2023-02-21T03:04:08.871Z] 765212b225bb: Pulling fs layer [2023-02-21T03:04:08.871Z] f23df028b6ca: Pulling fs layer [2023-02-21T03:04:08.871Z] d65c8cfc05b1: Pulling fs layer [2023-02-21T03:04:08.871Z] 2437ff75d9bd: Pulling fs layer [2023-02-21T03:04:08.871Z] f23df028b6ca: Waiting [2023-02-21T03:04:08.871Z] 765212b225bb: Waiting [2023-02-21T03:04:08.871Z] d65c8cfc05b1: Waiting [2023-02-21T03:04:08.871Z] 2437ff75d9bd: Waiting [2023-02-21T03:04:09.141Z] 04944245beec: Verifying Checksum [2023-02-21T03:04:09.141Z] 04944245beec: Download complete [2023-02-21T03:04:09.141Z] 765212b225bb: Verifying Checksum [2023-02-21T03:04:09.141Z] 765212b225bb: Download complete [2023-02-21T03:04:09.141Z] f23df028b6ca: Verifying Checksum [2023-02-21T03:04:09.141Z] f23df028b6ca: Download complete [2023-02-21T03:04:09.141Z] d65c8cfc05b1: Verifying Checksum [2023-02-21T03:04:09.141Z] d65c8cfc05b1: Download complete [2023-02-21T03:04:09.141Z] 699f458cf7ca: Verifying Checksum [2023-02-21T03:04:09.141Z] 699f458cf7ca: Download complete [2023-02-21T03:04:09.728Z] 8998bd30e6a1: Download complete [2023-02-21T03:04:11.671Z] 2437ff75d9bd: Verifying Checksum [2023-02-21T03:04:11.671Z] 2437ff75d9bd: Download complete [2023-02-21T03:04:13.614Z] 8998bd30e6a1: Pull complete [2023-02-21T03:04:13.880Z] 04944245beec: Pull complete [2023-02-21T03:04:15.287Z] 699f458cf7ca: Pull complete [2023-02-21T03:04:15.287Z] 765212b225bb: Pull complete [2023-02-21T03:04:16.695Z] f23df028b6ca: Pull complete [2023-02-21T03:04:16.962Z] d65c8cfc05b1: Pull complete [2023-02-21T03:04:31.951Z] 2437ff75d9bd: Pull complete [2023-02-21T03:04:31.951Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-21T03:04:31.951Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-21T03:04:31.951Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-21T03:04:32.129Z] prd-ubuntu20.04-docker-arm64-4c-16g-6795 does not seem to be running inside a container [2023-02-21T03:04:32.190Z] $ 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/84 -v /w/workspace/device-rest-go/84:/w/workspace/device-rest-go/84:rw,z -v /w/workspace/device-rest-go/84@tmp:/w/workspace/device-rest-go/84@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-21T03:04:33.482Z] $ docker top 5cdb1c852e63a4102acc840aae87452da70666f3b476662cc4fc20a5239a83a6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-21T03:04:34.308Z] ---> job-cost.sh [2023-02-21T03:04:34.308Z] lf-activate-venv: SKIPPING [2023-02-21T03:04:34.308Z] INFO: No Stack... [2023-02-21T03:04:34.575Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-21T03:04:35.535Z] INFO: Archiving Costs [Pipeline] sh [2023-02-21T03:04:36.173Z] + + catcut /w/workspace/device-rest-go/84/archives/cost.csv [2023-02-21T03:04:36.174Z] -d, -f6 [Pipeline] lock [2023-02-21T03:04:36.239Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-84-stack-cost] [2023-02-21T03:04:36.246Z] Resource [jenkins-edgexfoundry-device-rest-go-main-84-stack-cost] did not exist. Created. [2023-02-21T03:04:36.246Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-84-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-21T03:04:36.576Z] /w/workspace/device-rest-go/84@tmp/durable-22f585a3/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-21T03:04:37.226Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-21T03:04:37.244Z] Warning: overwriting stash ‘stack-cost’ [2023-02-21T03:04:37.286Z] Stashed 1 file(s) [Pipeline] } [2023-02-21T03:04:37.293Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-84-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-21T03:04:37.310Z] $ docker stop --time=1 5cdb1c852e63a4102acc840aae87452da70666f3b476662cc4fc20a5239a83a6 [2023-02-21T03:04:38.812Z] $ docker rm -f --volumes 5cdb1c852e63a4102acc840aae87452da70666f3b476662cc4fc20a5239a83a6 [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-21T03:04:39.150Z] provisioning config files... [2023-02-21T03:04:39.157Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config13036132043357526465tmp [Pipeline] { [Pipeline] sh [2023-02-21T03:04:39.446Z] + set +x [2023-02-21T03:04:39.446Z] + curl -s https://codecov.io/bash [2023-02-21T03:04:39.446Z] + bash -s -- [2023-02-21T03:04:39.446Z] [2023-02-21T03:04:39.446Z] _____ _ [2023-02-21T03:04:39.446Z] / ____| | | [2023-02-21T03:04:39.446Z] | | ___ __| | ___ ___ _____ __ [2023-02-21T03:04:39.446Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-21T03:04:39.446Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-21T03:04:39.446Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-21T03:04:39.446Z] Bash-1.0.6 [2023-02-21T03:04:39.446Z] [2023-02-21T03:04:39.446Z] [2023-02-21T03:04:39.446Z] ==> git version 2.25.1 found [2023-02-21T03:04:39.446Z] ==> 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-21T03:04:39.446Z] Release-Date: 2020-01-08 [2023-02-21T03:04:39.446Z] 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-21T03:04:39.446Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-21T03:04:39.446Z] ==> Jenkins CI detected. [2023-02-21T03:04:39.446Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-02-21T03:04:39.446Z] project root: . [2023-02-21T03:04:39.446Z] --> token set from env [2023-02-21T03:04:39.446Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-21T03:04:39.446Z] ==> Running gcov in . (disable via -X gcov) [2023-02-21T03:04:39.446Z] ==> Python coveragepy not found [2023-02-21T03:04:39.446Z] ==> Searching for coverage reports in: [2023-02-21T03:04:39.446Z] + . [2023-02-21T03:04:39.446Z] -> Found 1 reports [2023-02-21T03:04:39.446Z] ==> Detecting git/mercurial file structure [2023-02-21T03:04:39.446Z] ==> Reading reports [2023-02-21T03:04:39.446Z] + ./coverage.out bytes=13744 [2023-02-21T03:04:39.446Z] ==> Appending adjustments [2023-02-21T03:04:39.446Z] https://docs.codecov.io/docs/fixing-reports [2023-02-21T03:04:39.706Z] + Found adjustments [2023-02-21T03:04:39.706Z] ==> Gzipping contents [2023-02-21T03:04:39.706Z] 4.0K /tmp/codecov.8zA2tF.gz [2023-02-21T03:04:39.706Z] ==> Uploading reports [2023-02-21T03:04:39.706Z] url: https://codecov.io [2023-02-21T03:04:39.706Z] query: branch=main&commit=eeb2727d50df763d785a8885935756adc9e2bce2&build=84&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F84%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-02-21T03:04:39.706Z] -> Pinging Codecov [2023-02-21T03:04:39.706Z] 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=eeb2727d50df763d785a8885935756adc9e2bce2&build=84&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F84%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-02-21T03:04:39.706Z] -> Uploading to [2023-02-21T03:04:39.706Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-21/4E5D53B4F1F92C436F7061BF334D961C/eeb2727d50df763d785a8885935756adc9e2bce2/ba1ef790-78cf-4777-9336-d4a625f360a0.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230221%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230221T030439Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=3e58f91f70414c5f78093d00e5d1cf265f2b7906e77cebbcf93c759585700ab6 [2023-02-21T03:04:39.706Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-21T03:04:39.706Z] Dload Upload Total Spent Left Speed [2023-02-21T03:04:39.967Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2443 0 0 100 2443 0 8395 --:--:-- --:--:-- --:--:-- 8395 [2023-02-21T03:04:39.967Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/eeb2727d50df763d785a8885935756adc9e2bce2 [Pipeline] } [2023-02-21T03:04:39.974Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-02-21T03:04:40.069Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-02-21T03:04:40.081Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T03:04:40.392Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-21T03:04:40.392Z] [2023-02-21T03:04:40.392Z] 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-21T03:04:40.689Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-21T03:04:40.689Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-02-21T03:04:40.689Z] df9b9388f04a: Pulling fs layer [2023-02-21T03:04:40.689Z] 52dc419b0ee2: Pulling fs layer [2023-02-21T03:04:40.689Z] 25bc292e5bac: Pulling fs layer [2023-02-21T03:04:40.689Z] 114826534d7a: Pulling fs layer [2023-02-21T03:04:40.689Z] 4657fd5d0bcf: Pulling fs layer [2023-02-21T03:04:40.689Z] 6ad1cebc031e: Pulling fs layer [2023-02-21T03:04:40.689Z] 8a3aa393b2d8: Pulling fs layer [2023-02-21T03:04:40.689Z] 114826534d7a: Waiting [2023-02-21T03:04:40.689Z] 4657fd5d0bcf: Waiting [2023-02-21T03:04:40.689Z] 6ad1cebc031e: Waiting [2023-02-21T03:04:40.689Z] 8a3aa393b2d8: Waiting [2023-02-21T03:04:40.689Z] 25bc292e5bac: Verifying Checksum [2023-02-21T03:04:40.689Z] 25bc292e5bac: Download complete [2023-02-21T03:04:40.689Z] 52dc419b0ee2: Verifying Checksum [2023-02-21T03:04:40.689Z] 52dc419b0ee2: Download complete [2023-02-21T03:04:40.689Z] 4657fd5d0bcf: Verifying Checksum [2023-02-21T03:04:40.689Z] 4657fd5d0bcf: Download complete [2023-02-21T03:04:40.689Z] df9b9388f04a: Download complete [2023-02-21T03:04:40.951Z] df9b9388f04a: Pull complete [2023-02-21T03:04:40.951Z] 6ad1cebc031e: Verifying Checksum [2023-02-21T03:04:40.951Z] 6ad1cebc031e: Download complete [2023-02-21T03:04:40.951Z] 52dc419b0ee2: Pull complete [2023-02-21T03:04:40.951Z] 25bc292e5bac: Pull complete [2023-02-21T03:04:41.522Z] 114826534d7a: Verifying Checksum [2023-02-21T03:04:41.522Z] 114826534d7a: Download complete [2023-02-21T03:04:41.522Z] 8a3aa393b2d8: Verifying Checksum [2023-02-21T03:04:44.805Z] 114826534d7a: Pull complete [2023-02-21T03:04:44.805Z] 4657fd5d0bcf: Pull complete [2023-02-21T03:04:45.371Z] 6ad1cebc031e: Pull complete [2023-02-21T03:04:47.904Z] 8a3aa393b2d8: Pull complete [2023-02-21T03:04:47.905Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-02-21T03:04:47.905Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-21T03:04:47.905Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-21T03:04:47.983Z] prd-ubuntu20.04-docker-8c-8g-6793 does not seem to be running inside a container [2023-02-21T03:04:48.016Z] $ 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-21T03:04:49.731Z] $ docker top 62634b5a9155da2cf4e2003211f578f5942d8abdbbd08ce23294c16d4ff39487 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-02-21T03:04:49.788Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-02-21T03:04:50.063Z] + set -o pipefail [2023-02-21T03:04:50.064Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-02-21T03:04:58.184Z] [2023-02-21T03:04:58.184Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-02-21T03:04:58.184Z] [2023-02-21T03:04:58.184Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/e5f5d966-be90-44c6-9a3c-8dbf4eb751f8 [2023-02-21T03:04:58.184Z] [2023-02-21T03:04:58.184Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-02-21T03:04:58.184Z] [2023-02-21T03:04:58.184Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-02-21T03:04:58.184Z] [2023-02-21T03:04:58.184Z] [2023-02-21T03:04:58.184Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-02-21T03:04:58.184Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-02-21T03:04:58.184Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-02-21T03:04:58.192Z] $ docker stop --time=1 62634b5a9155da2cf4e2003211f578f5942d8abdbbd08ce23294c16d4ff39487 [2023-02-21T03:05:00.203Z] $ docker rm -f --volumes 62634b5a9155da2cf4e2003211f578f5942d8abdbbd08ce23294c16d4ff39487 [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-21T03:05:00.898Z] + git log --format=format:%s -1 eeb2727d50df763d785a8885935756adc9e2bce2 [Pipeline] sh [2023-02-21T03:05:01.187Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-21T03:05:01.187Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T03:05:01.493Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-21T03:05:01.493Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-21T03:05:01.562Z] prd-ubuntu20.04-docker-8c-8g-6793 does not seem to be running inside a container [2023-02-21T03:05:01.591Z] $ 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-21T03:05:01.972Z] $ docker top 2795f308e3673b60a3abf72e653823c2659d0080b3a8d275d62924e7ce7308a3 -eo pid,comm [2023-02-21T03:05:02.022Z] 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-21T03:05:02.022Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-21T03:05:02.061Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-21T03:05:02.061Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-21T03:05:02.167Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-21T03:05:02.167Z] $ docker exec 2795f308e3673b60a3abf72e653823c2659d0080b3a8d275d62924e7ce7308a3 ssh-agent [2023-02-21T03:05:02.285Z] SSH_AUTH_SOCK=/tmp/ssh-UT3wBIUUVBLq/agent.32 [2023-02-21T03:05:02.285Z] SSH_AGENT_PID=38 [2023-02-21T03:05:02.290Z] Running ssh-add (command line suppressed) [2023-02-21T03:05:02.387Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7516562865527200195.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7516562865527200195.key) [2023-02-21T03:05:02.403Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-21T03:05:02.691Z] + git semver tag [2023-02-21T03:05:02.950Z] 2023-02-21 03:05:02,890 [run_tag] DEBUG tag force:False [2023-02-21T03:05:02.950Z] 2023-02-21 03:05:02,890 [check_head_tag] DEBUG check head tag [2023-02-21T03:05:02.950Z] 2023-02-21 03:05:02,892 [execute] INFO git cat-file --batch-check [2023-02-21T03:05:02.950Z] 2023-02-21 03:05:02,892 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-02-21T03:05:02.950Z] 2023-02-21 03:05:02,895 [execute] INFO git cat-file --batch [2023-02-21T03:05:02.950Z] 2023-02-21 03:05:02,896 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-02-21T03:05:02.950Z] 2023-02-21 03:05:02,913 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-21T03:05:02.950Z] 2023-02-21 03:05:02,913 [execute] INFO git tag -a v3.0.0-dev.12 -m v3.0.0-dev.12 [2023-02-21T03:05:02.950Z] 2023-02-21 03:05:02,913 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.12', '-m', 'v3.0.0-dev.12'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-02-21T03:05:02.950Z] 2023-02-21 03:05:02,917 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-21T03:05:02.950Z] 3.0.0-dev.12 [Pipeline] } [2023-02-21T03:05:02.957Z] $ docker exec --env ******** --env ******** 2795f308e3673b60a3abf72e653823c2659d0080b3a8d275d62924e7ce7308a3 ssh-agent -k [2023-02-21T03:05:03.050Z] unset SSH_AUTH_SOCK; [2023-02-21T03:05:03.051Z] unset SSH_AGENT_PID; [2023-02-21T03:05:03.051Z] echo Agent pid 38 killed; [2023-02-21T03:05:03.063Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-21T03:05:03.361Z] + git semver [Pipeline] } [2023-02-21T03:05:03.629Z] $ docker stop --time=1 2795f308e3673b60a3abf72e653823c2659d0080b3a8d275d62924e7ce7308a3 [2023-02-21T03:05:04.954Z] $ docker rm -f --volumes 2795f308e3673b60a3abf72e653823c2659d0080b3a8d275d62924e7ce7308a3 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T03:05:05.335Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-21T03:05:05.335Z] [2023-02-21T03:05:05.335Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T03:05:05.641Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-21T03:05:05.641Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-02-21T03:05:05.641Z] ab5ef0e58194: Pulling fs layer [2023-02-21T03:05:05.641Z] 9712f1f96733: Pulling fs layer [2023-02-21T03:05:05.641Z] 63f879dbbcfc: Pulling fs layer [2023-02-21T03:05:05.641Z] 0d9ebad4ef96: Pulling fs layer [2023-02-21T03:05:05.641Z] e9a5061849ea: Pulling fs layer [2023-02-21T03:05:05.641Z] d747dcd14b5f: Pulling fs layer [2023-02-21T03:05:05.641Z] 2de7ff778b66: Pulling fs layer [2023-02-21T03:05:05.641Z] 0d9ebad4ef96: Waiting [2023-02-21T03:05:05.641Z] e9a5061849ea: Waiting [2023-02-21T03:05:05.641Z] d747dcd14b5f: Waiting [2023-02-21T03:05:05.641Z] 2de7ff778b66: Waiting [2023-02-21T03:05:05.641Z] 9712f1f96733: Verifying Checksum [2023-02-21T03:05:05.641Z] 9712f1f96733: Download complete [2023-02-21T03:05:05.903Z] 63f879dbbcfc: Verifying Checksum [2023-02-21T03:05:05.903Z] 63f879dbbcfc: Download complete [2023-02-21T03:05:06.162Z] 0d9ebad4ef96: Verifying Checksum [2023-02-21T03:05:06.162Z] 0d9ebad4ef96: Download complete [2023-02-21T03:05:06.162Z] e9a5061849ea: Verifying Checksum [2023-02-21T03:05:06.162Z] e9a5061849ea: Download complete [2023-02-21T03:05:06.162Z] d747dcd14b5f: Verifying Checksum [2023-02-21T03:05:06.162Z] d747dcd14b5f: Download complete [2023-02-21T03:05:06.420Z] ab5ef0e58194: Verifying Checksum [2023-02-21T03:05:06.420Z] ab5ef0e58194: Download complete [2023-02-21T03:05:06.420Z] 2de7ff778b66: Verifying Checksum [2023-02-21T03:05:06.420Z] 2de7ff778b66: Download complete [2023-02-21T03:05:08.950Z] ab5ef0e58194: Pull complete [2023-02-21T03:05:08.950Z] 9712f1f96733: Pull complete [2023-02-21T03:05:09.516Z] 63f879dbbcfc: Pull complete [2023-02-21T03:05:12.802Z] 0d9ebad4ef96: Pull complete [2023-02-21T03:05:13.062Z] e9a5061849ea: Pull complete [2023-02-21T03:05:13.062Z] d747dcd14b5f: Pull complete [2023-02-21T03:05:13.996Z] 2de7ff778b66: Pull complete [2023-02-21T03:05:13.996Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-02-21T03:05:13.997Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-21T03:05:13.997Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-21T03:05:14.076Z] prd-ubuntu20.04-docker-8c-8g-6793 does not seem to be running inside a container [2023-02-21T03:05:14.105Z] $ 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-21T03:05:16.044Z] $ docker top bfc77b91dc5a30b533eb5a0dd60e8e5847f4c02c24a3fbe16e0b07859b2bed19 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-02-21T03:05:16.121Z] provisioning config files... [2023-02-21T03:05:16.127Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16829512587770356690tmp [2023-02-21T03:05:16.137Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3891416571647172654tmp [2023-02-21T03:05:16.148Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config402646988887874879tmp [Pipeline] { [Pipeline] echo [2023-02-21T03:05:16.161Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-21T03:05:16.444Z] ---> sigul-configuration.sh [2023-02-21T03:05:16.444Z] gpg: directory `/root/.gnupg' created [2023-02-21T03:05:16.444Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-02-21T03:05:16.444Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-02-21T03:05:16.444Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-02-21T03:05:16.444Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-02-21T03:05:16.444Z] gpg: CAST5 encrypted data [2023-02-21T03:05:16.444Z] gpg: encrypted with 1 passphrase [2023-02-21T03:05:16.444Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-02-21T03:05:16.732Z] + mkdir /home/jenkins [2023-02-21T03:05:16.732Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-02-21T03:05:17.017Z] + 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-21T03:05:17.026Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-21T03:05:17.310Z] ---> sigul-install.sh [2023-02-21T03:05:17.311Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-02-21T03:05:17.595Z] + git tag --list [2023-02-21T03:05:17.595Z] v1.0.0 [2023-02-21T03:05:17.595Z] v1.1.0 [2023-02-21T03:05:17.595Z] v1.1.1 [2023-02-21T03:05:17.595Z] v1.1.2 [2023-02-21T03:05:17.595Z] v1.2.0 [2023-02-21T03:05:17.595Z] v1.2.1 [2023-02-21T03:05:17.595Z] v2.0.0 [2023-02-21T03:05:17.595Z] v2.1.0 [2023-02-21T03:05:17.595Z] v2.1.1 [2023-02-21T03:05:17.595Z] v2.1.1-dev.1 [2023-02-21T03:05:17.595Z] v2.1.1-dev.2 [2023-02-21T03:05:17.595Z] v2.1.1-dev.3 [2023-02-21T03:05:17.595Z] v2.2.0 [2023-02-21T03:05:17.595Z] v2.2.1-dev.1 [2023-02-21T03:05:17.595Z] v2.2.1-dev.2 [2023-02-21T03:05:17.595Z] v2.2.1-dev.3 [2023-02-21T03:05:17.595Z] v2.2.1-dev.4 [2023-02-21T03:05:17.595Z] v2.2.1-dev.5 [2023-02-21T03:05:17.595Z] v2.2.1-dev.6 [2023-02-21T03:05:17.595Z] v2.2.1-dev.7 [2023-02-21T03:05:17.595Z] v2.2.1-dev.8 [2023-02-21T03:05:17.595Z] v2.2.1-dev.9 [2023-02-21T03:05:17.595Z] v2.3.0 [2023-02-21T03:05:17.595Z] v2.3.0-dev.10 [2023-02-21T03:05:17.595Z] v2.3.0-dev.11 [2023-02-21T03:05:17.595Z] v2.3.0-dev.12 [2023-02-21T03:05:17.595Z] v2.3.0-dev.13 [2023-02-21T03:05:17.595Z] v2.3.0-dev.14 [2023-02-21T03:05:17.595Z] v2.3.0-dev.15 [2023-02-21T03:05:17.595Z] v2.3.0-dev.16 [2023-02-21T03:05:17.595Z] v2.3.0-dev.17 [2023-02-21T03:05:17.595Z] v2.3.0-dev.18 [2023-02-21T03:05:17.595Z] v2.3.0-dev.19 [2023-02-21T03:05:17.595Z] v2.3.0-dev.20 [2023-02-21T03:05:17.595Z] v2.3.0-dev.21 [2023-02-21T03:05:17.595Z] v2.3.0-dev.22 [2023-02-21T03:05:17.595Z] v2.3.0-dev.23 [2023-02-21T03:05:17.595Z] v2.3.0-dev.24 [2023-02-21T03:05:17.595Z] v2.3.0-dev.25 [2023-02-21T03:05:17.595Z] v2.3.0-dev.9 [2023-02-21T03:05:17.595Z] v3.0.0-dev.1 [2023-02-21T03:05:17.595Z] v3.0.0-dev.10 [2023-02-21T03:05:17.595Z] v3.0.0-dev.11 [2023-02-21T03:05:17.595Z] v3.0.0-dev.12 [2023-02-21T03:05:17.595Z] v3.0.0-dev.2 [2023-02-21T03:05:17.595Z] v3.0.0-dev.3 [2023-02-21T03:05:17.595Z] v3.0.0-dev.4 [2023-02-21T03:05:17.595Z] v3.0.0-dev.5 [2023-02-21T03:05:17.595Z] v3.0.0-dev.6 [2023-02-21T03:05:17.595Z] v3.0.0-dev.7 [2023-02-21T03:05:17.595Z] v3.0.0-dev.8 [2023-02-21T03:05:17.595Z] v3.0.0-dev.9 [Pipeline] sh [2023-02-21T03:05:17.882Z] + lftools sign git-tag v3.0.0-dev.12 [2023-02-21T03:05:18.449Z] Signing Git tag with Sigul... [2023-02-21T03:05:18.449Z] Signing v3.0.0-dev.12 [Pipeline] echo [2023-02-21T03:05:19.024Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-21T03:05:19.308Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-02-21T03:05:19.315Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-02-21T03:05:19.328Z] $ docker stop --time=1 bfc77b91dc5a30b533eb5a0dd60e8e5847f4c02c24a3fbe16e0b07859b2bed19 [2023-02-21T03:05:20.621Z] $ docker rm -f --volumes bfc77b91dc5a30b533eb5a0dd60e8e5847f4c02c24a3fbe16e0b07859b2bed19 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-02-21T03:05:21.021Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-21T03:05:21.021Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T03:05:21.319Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-21T03:05:21.319Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-21T03:05:21.386Z] prd-ubuntu20.04-docker-8c-8g-6793 does not seem to be running inside a container [2023-02-21T03:05:21.412Z] $ 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-21T03:05:21.781Z] $ docker top 0f7a8cfde63c10de979d41be9aeb20b69b4c2215480f5fb440578d915415a9be -eo pid,comm [2023-02-21T03:05:21.833Z] 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-21T03:05:21.833Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-21T03:05:21.873Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-21T03:05:21.873Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-21T03:05:21.991Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-21T03:05:21.991Z] $ docker exec 0f7a8cfde63c10de979d41be9aeb20b69b4c2215480f5fb440578d915415a9be ssh-agent [2023-02-21T03:05:22.114Z] SSH_AUTH_SOCK=/tmp/ssh-qBVWPs2RyN8Y/agent.32 [2023-02-21T03:05:22.114Z] SSH_AGENT_PID=38 [2023-02-21T03:05:22.119Z] Running ssh-add (command line suppressed) [2023-02-21T03:05:22.224Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18208960514114337153.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18208960514114337153.key) [2023-02-21T03:05:22.238Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-21T03:05:22.520Z] + git semver bump pre [2023-02-21T03:05:22.779Z] 2023-02-21 03:05:22,696 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-21T03:05:22.779Z] 2023-02-21 03:05:22,696 [bump_version] DEBUG bumping version:3.0.0-dev.12 on axis:pre with prefix:dev [2023-02-21T03:05:22.779Z] 2023-02-21 03:05:22,696 [bump_version] DEBUG bumped version:3.0.0-dev.13 [2023-02-21T03:05:22.779Z] 2023-02-21 03:05:22,696 [write_version] DEBUG write version:3.0.0-dev.13 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-02-21T03:05:22.779Z] 2023-02-21 03:05:22,696 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-21T03:05:22.779Z] 2023-02-21 03:05:22,696 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-21T03:05:22.779Z] 2023-02-21 03:05:22,699 [execute] INFO git cat-file --batch-check [2023-02-21T03:05:22.779Z] 2023-02-21 03:05:22,699 [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-21T03:05:22.779Z] 2023-02-21 03:05:22,704 [execute] INFO git cat-file --batch [2023-02-21T03:05:22.779Z] 2023-02-21 03:05:22,705 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-21T03:05:22.779Z] 2023-02-21 03:05:22,710 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-21T03:05:22.779Z] 3.0.0-dev.13 [Pipeline] } [2023-02-21T03:05:22.785Z] $ docker exec --env ******** --env ******** 0f7a8cfde63c10de979d41be9aeb20b69b4c2215480f5fb440578d915415a9be ssh-agent -k [2023-02-21T03:05:22.879Z] unset SSH_AUTH_SOCK; [2023-02-21T03:05:22.879Z] unset SSH_AGENT_PID; [2023-02-21T03:05:22.880Z] echo Agent pid 38 killed; [2023-02-21T03:05:22.892Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-21T03:05:23.195Z] + git semver [Pipeline] } [2023-02-21T03:05:23.462Z] $ docker stop --time=1 0f7a8cfde63c10de979d41be9aeb20b69b4c2215480f5fb440578d915415a9be [2023-02-21T03:05:24.760Z] $ docker rm -f --volumes 0f7a8cfde63c10de979d41be9aeb20b69b4c2215480f5fb440578d915415a9be [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-21T03:05:25.096Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-21T03:05:25.096Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T03:05:25.392Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-21T03:05:25.392Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-21T03:05:25.456Z] prd-ubuntu20.04-docker-8c-8g-6793 does not seem to be running inside a container [2023-02-21T03:05:25.485Z] $ 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-21T03:05:25.839Z] $ docker top 5964ab0d7b49d3be38893ed477758b1467e83b7c7b7da809546dd2771831f8fa -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-21T03:05:25.926Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-21T03:05:25.927Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-21T03:05:26.036Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-21T03:05:26.036Z] $ docker exec 5964ab0d7b49d3be38893ed477758b1467e83b7c7b7da809546dd2771831f8fa ssh-agent [2023-02-21T03:05:26.152Z] SSH_AUTH_SOCK=/tmp/ssh-MW2alGIxDGID/agent.32 [2023-02-21T03:05:26.153Z] SSH_AGENT_PID=38 [2023-02-21T03:05:26.158Z] Running ssh-add (command line suppressed) [2023-02-21T03:05:26.268Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1645526695783536868.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1645526695783536868.key) [2023-02-21T03:05:26.285Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-21T03:05:26.572Z] + git semver push [2023-02-21T03:05:26.831Z] 2023-02-21 03:05:26,745 [run_push] DEBUG push [2023-02-21T03:05:26.831Z] 2023-02-21 03:05:26,745 [execute] INFO git cat-file --batch-check [2023-02-21T03:05:26.831Z] 2023-02-21 03:05:26,745 [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-21T03:05:26.831Z] 2023-02-21 03:05:26,749 [execute] INFO git rev-list 92f339a31c7ae635145a60e088cc087b54812088 -- [2023-02-21T03:05:26.831Z] 2023-02-21 03:05:26,749 [execute] DEBUG Popen(['git', 'rev-list', '92f339a31c7ae635145a60e088cc087b54812088', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-02-21T03:05:26.831Z] 2023-02-21 03:05:26,758 [execute] INFO git fetch -v origin [2023-02-21T03:05:26.831Z] 2023-02-21 03:05:26,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-21T03:05:27.401Z] 2023-02-21 03:05:27,338 [run_push] DEBUG no remote changes detected [2023-02-21T03:05:27.401Z] 2023-02-21 03:05:27,339 [execute] INFO git push origin semver [2023-02-21T03:05:27.401Z] 2023-02-21 03:05:27,339 [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-21T03:05:28.339Z] 2023-02-21 03:05:28,128 [run_push] DEBUG push all version tags [2023-02-21T03:05:28.339Z] 2023-02-21 03:05:28,129 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-02-21T03:05:28.339Z] 2023-02-21 03:05:28,129 [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-21T03:05:28.906Z] 2023-02-21 03:05:28,879 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-21T03:05:28.906Z] 3.0.0-dev.13 [Pipeline] } [2023-02-21T03:05:28.912Z] $ docker exec --env ******** --env ******** 5964ab0d7b49d3be38893ed477758b1467e83b7c7b7da809546dd2771831f8fa ssh-agent -k [2023-02-21T03:05:29.021Z] unset SSH_AUTH_SOCK; [2023-02-21T03:05:29.022Z] unset SSH_AGENT_PID; [2023-02-21T03:05:29.022Z] echo Agent pid 38 killed; [2023-02-21T03:05:29.034Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-21T03:05:29.330Z] + git semver [Pipeline] } [2023-02-21T03:05:29.600Z] $ docker stop --time=1 5964ab0d7b49d3be38893ed477758b1467e83b7c7b7da809546dd2771831f8fa [2023-02-21T03:05:30.897Z] $ docker rm -f --volumes 5964ab0d7b49d3be38893ed477758b1467e83b7c7b7da809546dd2771831f8fa [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-21T03:05:31.466Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-02-21T03:05:31.466Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-02-21T03:05:31.466Z] total 16 [2023-02-21T03:05:31.466Z] drwxr-xr-x 3 root root 4096 Feb 21 02:52 . [2023-02-21T03:05:31.466Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 21 03:05 .. [2023-02-21T03:05:31.466Z] drwxr-xr-x 2 root root 4096 Feb 21 02:52 cost [2023-02-21T03:05:31.466Z] -rw-r--r-- 1 root root 85 Feb 21 02:52 cost.csv [2023-02-21T03:05:31.466Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-02-21T03:05:31.466Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-02-21T03:05:31.466Z] total 16 [2023-02-21T03:05:31.466Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 21 02:52 . [2023-02-21T03:05:31.466Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 21 03:05 .. [2023-02-21T03:05:31.466Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 21 02:52 cost [2023-02-21T03:05:31.466Z] -rw-r--r-- 1 jenkins jenkins 85 Feb 21 02:52 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-21T03:05:31.754Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-21T03:05:32.610Z] ---> package-listing.sh [2023-02-21T03:05:32.610Z] ++ facter osfamily [2023-02-21T03:05:32.610Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-21T03:05:32.869Z] + OS_FAMILY=debian [2023-02-21T03:05:32.869Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-02-21T03:05:32.869Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-21T03:05:32.869Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-21T03:05:32.869Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-21T03:05:32.869Z] + PACKAGES=/tmp/packages_start.txt [2023-02-21T03:05:32.869Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-02-21T03:05:32.869Z] + PACKAGES=/tmp/packages_end.txt [2023-02-21T03:05:32.869Z] + case "${OS_FAMILY}" in [2023-02-21T03:05:32.869Z] + dpkg -l [2023-02-21T03:05:32.869Z] + grep '^ii' [2023-02-21T03:05:32.869Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-21T03:05:32.869Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-21T03:05:32.869Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-21T03:05:32.869Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-02-21T03:05:32.869Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-02-21T03:05:32.869Z] + 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-21T03:05:32.879Z] 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-21T03:05:33.156Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-21T03:05:33.711Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-21T03:05:33.711Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-21T03:05:33.775Z] prd-ubuntu20.04-docker-8c-8g-6793 does not seem to be running inside a container [2023-02-21T03:05:33.798Z] $ 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-21T03:05:34.018Z] $ docker top 398dfd277fd1ea77089c58e0ad963331a60e015f2e2365c2f7a00214645ac851 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-21T03:05:34.362Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-21T03:05:34.642Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-21T03:05:34.926Z] + ls /var/log/sa-host [2023-02-21T03:05:34.926Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-21T03:05:35.070Z] provisioning config files... [2023-02-21T03:05:35.094Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10290769829784138649tmp [Pipeline] { [Pipeline] echo [2023-02-21T03:05:35.107Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-21T03:05:35.389Z] ---> create-netrc.sh [Pipeline] } [2023-02-21T03:05:35.396Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-21T03:05:35.727Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-21T03:05:35.738Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-21T03:05:36.102Z] ---> sudo-logs.sh [2023-02-21T03:05:36.102Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-21T03:05:36.141Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-21T03:05:36.485Z] ---> job-cost.sh [2023-02-21T03:05:36.485Z] lf-activate-venv: SKIPPING [2023-02-21T03:05:36.485Z] DEBUG: total: 0.2199999988079071 [2023-02-21T03:05:36.485Z] INFO: Retrieving Stack Cost... [2023-02-21T03:05:36.761Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-21T03:05:37.329Z] INFO: Archiving Costs [Pipeline] echo [2023-02-21T03:05:37.342Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-21T03:05:37.625Z] ---> logs-deploy.sh [2023-02-21T03:05:37.625Z] lf-activate-venv: SKIPPING [2023-02-21T03:05:37.625Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/84 [2023-02-21T03:05:37.625Z] INFO: archiving workspace using pattern(s): [2023-02-21T03:05:38.562Z] Archives upload complete. [2023-02-21T03:05:38.562Z] INFO: archiving logs to Nexus