Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 70384783b5a72194fc813c647394660ae113f8ec 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-ssh86820145265147548.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-ssh18360618480901594522.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-ssh12925848139019324154.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-ssh340028473445575304.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-ssh15947477662795858069.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task All nodes of label ‘ubuntu20.04-docker-8c-8g’ are offline Running on prd-ubuntu20.04-docker-8c-8g-6499 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 70384783b5a72194fc813c647394660ae113f8ec (main) Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#255)" > 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 70384783b5a72194fc813c647394660ae113f8ec # timeout=10 > git rev-list --no-walk 7f746f51e1ef244c01c4206344cb741c614a79d6 # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-02-17T21:31:45.128Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-02-17T21:31:45.199Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-02-17T21:31:45.219Z] ========================================================= [2023-02-17T21:31:45.219Z] EdgeX Global Pipelines Version Info [2023-02-17T21:31:45.219Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:31:46.301Z] ------------------- [2023-02-17T21:31:46.301Z] stable info: [2023-02-17T21:31:46.301Z] ------------------- [2023-02-17T21:31:46.301Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-02-17T21:31:46.301Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T21:31:46.301Z] Message: update stable to v1.0.244 [2023-02-17T21:31:46.869Z] ------------------- [2023-02-17T21:31:46.869Z] experimental info: [2023-02-17T21:31:46.869Z] ------------------- [2023-02-17T21:31:46.870Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-02-17T21:31:46.870Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-02-17T21:31:46.870Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-02-17T21:31:47.060Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-02-17T21:31:47.073Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-02-17T21:31:47.085Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-02-17T21:31:47.097Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-02-17T21:31:47.111Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-02-17T21:31:47.122Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-02-17T21:31:47.135Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-02-17T21:31:47.147Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-02-17T21:31:47.160Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-02-17T21:31:47.174Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-02-17T21:31:47.184Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-02-17T21:31:47.196Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-02-17T21:31:47.213Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-02-17T21:31:47.227Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-02-17T21:31:47.237Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-02-17T21:31:47.249Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-02-17T21:31:47.263Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T21:31:47.274Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-02-17T21:31:47.288Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-02-17T21:31:47.301Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-02-17T21:31:47.320Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-02-17T21:31:47.338Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-02-17T21:31:47.354Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-02-17T21:31:47.370Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-02-17T21:31:47.386Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-02-17T21:31:47.400Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-02-17T21:31:47.415Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-02-17T21:31:47.426Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-02-17T21:31:47.439Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-02-17T21:31:47.453Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-02-17T21:31:47.471Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 70384783b5a72194fc813c647394660ae113f8ec [Pipeline] echo [2023-02-17T21:31:47.490Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 7038478 [Pipeline] echo [2023-02-17T21:31:47.507Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T21:31:47.554Z] provisioning config files... [2023-02-17T21:31:47.567Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9963317478690991348tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:31:47.866Z] ---> docker-login.sh [2023-02-17T21:31:47.866Z] nexus3.edgexfoundry.org:10001 [2023-02-17T21:31:48.128Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:31:48.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:31:48.389Z] Configure a credential helper to remove this warning. See [2023-02-17T21:31:48.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:31:48.389Z] [2023-02-17T21:31:48.389Z] Login Succeeded [2023-02-17T21:31:48.389Z] nexus3.edgexfoundry.org:10002 [2023-02-17T21:31:48.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:31:48.389Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:31:48.389Z] Configure a credential helper to remove this warning. See [2023-02-17T21:31:48.389Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:31:48.389Z] [2023-02-17T21:31:48.389Z] Login Succeeded [2023-02-17T21:31:48.389Z] nexus3.edgexfoundry.org:10003 [2023-02-17T21:31:48.389Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:31:48.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:31:48.651Z] Configure a credential helper to remove this warning. See [2023-02-17T21:31:48.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:31:48.651Z] [2023-02-17T21:31:48.651Z] Login Succeeded [2023-02-17T21:31:48.651Z] nexus3.edgexfoundry.org:10004 [2023-02-17T21:31:48.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:31:48.651Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:31:48.651Z] Configure a credential helper to remove this warning. See [2023-02-17T21:31:48.651Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:31:48.651Z] [2023-02-17T21:31:48.651Z] Login Succeeded [2023-02-17T21:31:48.651Z] docker.io [2023-02-17T21:31:48.651Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:31:48.910Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:31:48.910Z] Configure a credential helper to remove this warning. See [2023-02-17T21:31:48.910Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:31:48.910Z] [2023-02-17T21:31:48.910Z] Login Succeeded [2023-02-17T21:31:48.910Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T21:31:48.917Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-02-17T21:31:49.279Z] + git rev-list -1 --merges 70384783b5a72194fc813c647394660ae113f8ec~1..70384783b5a72194fc813c647394660ae113f8ec [Pipeline] echo [2023-02-17T21:31:49.328Z] -----------> git rev-list -1 --merges 70384783b5a72194fc813c647394660ae113f8ec~1..70384783b5a72194fc813c647394660ae113f8ec 70384783b5a72194fc813c647394660ae113f8ec [false] [Pipeline] sh [2023-02-17T21:31:49.617Z] + git log --format=format:%s -1 70384783b5a72194fc813c647394660ae113f8ec [Pipeline] echo [2023-02-17T21:31:49.632Z] ========================================================= [2023-02-17T21:31:49.632Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-02-17T21:31:49.632Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T21:31:49.952Z] + git log --format=format:%s -1 70384783b5a72194fc813c647394660ae113f8ec [Pipeline] echo [2023-02-17T21:31:49.965Z] [semverPrep] GIT_COMMIT: 70384783b5a72194fc813c647394660ae113f8ec, Commit Message: build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#255) [Pipeline] echo [2023-02-17T21:31:49.977Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-02-17T21:31:50.363Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-17T21:31:50.363Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-02-17T21:31:50.363Z] + [ -e /tmp/ssh_known_hosts ] [2023-02-17T21:31:50.363Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-02-17T21:31:50.363Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-02-17T21:31:50.363Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2023-02-17T21:31:50.363Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:31:50.786Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T21:31:50.786Z] [2023-02-17T21:31:50.786Z] 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-17T21:31:51.090Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T21:31:51.090Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-02-17T21:31:51.090Z] b85a868b505f: Pulling fs layer [2023-02-17T21:31:51.090Z] e2be974225ed: Pulling fs layer [2023-02-17T21:31:51.090Z] 339a4e72a1f5: Pulling fs layer [2023-02-17T21:31:51.090Z] 988bab9f4d93: Pulling fs layer [2023-02-17T21:31:51.090Z] 1469e6f7b9e6: Pulling fs layer [2023-02-17T21:31:51.090Z] eaf3925da568: Pulling fs layer [2023-02-17T21:31:51.090Z] bab4dde63d76: Pulling fs layer [2023-02-17T21:31:51.090Z] bde34c3a00c8: Pulling fs layer [2023-02-17T21:31:51.090Z] b352a97aabf1: Pulling fs layer [2023-02-17T21:31:51.090Z] 4872d77fe225: Pulling fs layer [2023-02-17T21:31:51.090Z] 5851b861e8e6: Pulling fs layer [2023-02-17T21:31:51.090Z] 988bab9f4d93: Waiting [2023-02-17T21:31:51.090Z] bab4dde63d76: Waiting [2023-02-17T21:31:51.090Z] bde34c3a00c8: Waiting [2023-02-17T21:31:51.090Z] b352a97aabf1: Waiting [2023-02-17T21:31:51.090Z] 4872d77fe225: Waiting [2023-02-17T21:31:51.090Z] 1469e6f7b9e6: Waiting [2023-02-17T21:31:51.090Z] 5851b861e8e6: Waiting [2023-02-17T21:31:51.090Z] eaf3925da568: Waiting [2023-02-17T21:31:51.090Z] e2be974225ed: Verifying Checksum [2023-02-17T21:31:51.090Z] e2be974225ed: Download complete [2023-02-17T21:31:51.090Z] 988bab9f4d93: Download complete [2023-02-17T21:31:51.357Z] 1469e6f7b9e6: Verifying Checksum [2023-02-17T21:31:51.357Z] 1469e6f7b9e6: Download complete [2023-02-17T21:31:51.357Z] eaf3925da568: Verifying Checksum [2023-02-17T21:31:51.357Z] eaf3925da568: Download complete [2023-02-17T21:31:51.623Z] 339a4e72a1f5: Verifying Checksum [2023-02-17T21:31:51.623Z] 339a4e72a1f5: Download complete [2023-02-17T21:31:51.623Z] bde34c3a00c8: Download complete [2023-02-17T21:31:51.623Z] b85a868b505f: Verifying Checksum [2023-02-17T21:31:51.623Z] b85a868b505f: Download complete [2023-02-17T21:31:51.623Z] 4872d77fe225: Verifying Checksum [2023-02-17T21:31:51.623Z] 4872d77fe225: Download complete [2023-02-17T21:31:51.623Z] 5851b861e8e6: Verifying Checksum [2023-02-17T21:31:51.623Z] 5851b861e8e6: Download complete [2023-02-17T21:31:51.886Z] b352a97aabf1: Download complete [2023-02-17T21:31:52.148Z] bab4dde63d76: Verifying Checksum [2023-02-17T21:31:52.148Z] bab4dde63d76: Download complete [2023-02-17T21:31:53.086Z] b85a868b505f: Pull complete [2023-02-17T21:31:53.086Z] e2be974225ed: Pull complete [2023-02-17T21:31:53.347Z] 339a4e72a1f5: Pull complete [2023-02-17T21:31:53.606Z] 988bab9f4d93: Pull complete [2023-02-17T21:31:53.866Z] 1469e6f7b9e6: Pull complete [2023-02-17T21:31:53.866Z] eaf3925da568: Pull complete [2023-02-17T21:31:55.771Z] bab4dde63d76: Pull complete [2023-02-17T21:31:55.771Z] bde34c3a00c8: Pull complete [2023-02-17T21:31:56.031Z] b352a97aabf1: Pull complete [2023-02-17T21:31:56.031Z] 4872d77fe225: Pull complete [2023-02-17T21:31:56.031Z] 5851b861e8e6: Pull complete [2023-02-17T21:31:56.031Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-02-17T21:31:56.031Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T21:31:56.031Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T21:31:56.121Z] prd-ubuntu20.04-docker-8c-8g-6499 does not seem to be running inside a container [2023-02-17T21:31:56.153Z] $ 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-17T21:31:57.784Z] $ docker top 3f9a0efebdf69ec004b2bfb5039b4599e74a53012cd199dabfe64bda64d5ceec -eo pid,comm [2023-02-17T21:31:57.843Z] 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-17T21:31:57.843Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-17T21:31:57.886Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T21:31:57.886Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T21:31:58.006Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T21:31:58.008Z] $ docker exec 3f9a0efebdf69ec004b2bfb5039b4599e74a53012cd199dabfe64bda64d5ceec ssh-agent [2023-02-17T21:31:58.117Z] SSH_AUTH_SOCK=/tmp/ssh-n5NLWRoNZZjQ/agent.34 [2023-02-17T21:31:58.117Z] SSH_AGENT_PID=40 [2023-02-17T21:31:58.123Z] Running ssh-add (command line suppressed) [2023-02-17T21:31:58.230Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3533996503329221100.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3533996503329221100.key) [2023-02-17T21:31:58.250Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T21:31:58.538Z] + git tag --points-at HEAD [Pipeline] } [2023-02-17T21:31:58.550Z] $ docker exec --env ******** --env ******** 3f9a0efebdf69ec004b2bfb5039b4599e74a53012cd199dabfe64bda64d5ceec ssh-agent -k [2023-02-17T21:31:58.652Z] unset SSH_AUTH_SOCK; [2023-02-17T21:31:58.652Z] unset SSH_AGENT_PID; [2023-02-17T21:31:58.652Z] echo Agent pid 40 killed; [2023-02-17T21:31:58.665Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-02-17T21:31:58.698Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T21:31:58.698Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T21:31:58.820Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T21:31:58.821Z] $ docker exec 3f9a0efebdf69ec004b2bfb5039b4599e74a53012cd199dabfe64bda64d5ceec ssh-agent [2023-02-17T21:31:58.940Z] SSH_AUTH_SOCK=/tmp/ssh-JNEdVstl0QFv/agent.72 [2023-02-17T21:31:58.940Z] SSH_AGENT_PID=78 [2023-02-17T21:31:58.945Z] Running ssh-add (command line suppressed) [2023-02-17T21:31:59.059Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17453488877344046547.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17453488877344046547.key) [2023-02-17T21:31:59.074Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T21:31:59.362Z] + git semver init [2023-02-17T21:31:59.622Z] 2023-02-17 21:31:59,568 [run_init] DEBUG init version:0.0.0 force:False [2023-02-17T21:31:59.622Z] 2023-02-17 21:31:59,569 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-02-17T21:31:59.622Z] 2023-02-17 21:31:59,570 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-02-17T21:31:59.622Z] 2023-02-17 21:31:59,570 [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-17T21:32:01.003Z] 2023-02-17 21:32:00,657 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-02-17T21:32:01.003Z] 2023-02-17 21:32:00,657 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-02-17T21:32:01.003Z] 2023-02-17 21:32:00,658 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-17T21:32:01.003Z] 2023-02-17 21:32:00,658 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-17T21:32:01.003Z] 3.0.0-dev.11 [Pipeline] } [2023-02-17T21:32:01.011Z] $ docker exec --env ******** --env ******** 3f9a0efebdf69ec004b2bfb5039b4599e74a53012cd199dabfe64bda64d5ceec ssh-agent -k [2023-02-17T21:32:01.105Z] unset SSH_AUTH_SOCK; [2023-02-17T21:32:01.106Z] unset SSH_AGENT_PID; [2023-02-17T21:32:01.106Z] echo Agent pid 78 killed; [2023-02-17T21:32:01.119Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-17T21:32:01.420Z] + git semver [Pipeline] } [2023-02-17T21:32:01.696Z] $ docker stop --time=1 3f9a0efebdf69ec004b2bfb5039b4599e74a53012cd199dabfe64bda64d5ceec [2023-02-17T21:32:03.023Z] $ docker rm -f --volumes 3f9a0efebdf69ec004b2bfb5039b4599e74a53012cd199dabfe64bda64d5ceec [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T21:32:03.366Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-02-17T21:32:03.561Z] Stashed 1 file(s) [Pipeline] echo [2023-02-17T21:32:03.565Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.11 [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-17T21:32:03.741Z] provisioning config files... [2023-02-17T21:32:03.750Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6993369606018563509tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:32:04.047Z] ---> docker-login.sh [2023-02-17T21:32:04.047Z] nexus3.edgexfoundry.org:10001 [2023-02-17T21:32:04.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:32:04.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:32:04.047Z] Configure a credential helper to remove this warning. See [2023-02-17T21:32:04.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:32:04.047Z] [2023-02-17T21:32:04.047Z] Login Succeeded [2023-02-17T21:32:04.047Z] nexus3.edgexfoundry.org:10002 [2023-02-17T21:32:04.047Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:32:04.047Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:32:04.047Z] Configure a credential helper to remove this warning. See [2023-02-17T21:32:04.047Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:32:04.047Z] [2023-02-17T21:32:04.047Z] Login Succeeded [2023-02-17T21:32:04.047Z] nexus3.edgexfoundry.org:10003 [2023-02-17T21:32:04.307Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:32:04.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:32:04.308Z] Configure a credential helper to remove this warning. See [2023-02-17T21:32:04.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:32:04.308Z] [2023-02-17T21:32:04.308Z] Login Succeeded [2023-02-17T21:32:04.308Z] nexus3.edgexfoundry.org:10004 [2023-02-17T21:32:04.308Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:32:04.308Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:32:04.308Z] Configure a credential helper to remove this warning. See [2023-02-17T21:32:04.308Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:32:04.308Z] [2023-02-17T21:32:04.308Z] Login Succeeded [2023-02-17T21:32:04.308Z] docker.io [2023-02-17T21:32:04.568Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:32:04.568Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:32:04.568Z] Configure a credential helper to remove this warning. See [2023-02-17T21:32:04.568Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:32:04.568Z] [2023-02-17T21:32:04.568Z] Login Succeeded [2023-02-17T21:32:04.568Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T21:32:04.576Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-17T21:32:04.652Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T21:32:04.663Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T21:32:04.670Z] ========================================================= [2023-02-17T21:32:04.670Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-02-17T21:32:04.670Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:32:04.979Z] + 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-17T21:32:04.979Z] Sending build context to Docker daemon 10.82MB [2023-02-17T21:32:04.979Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T21:32:04.979Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-17T21:32:04.979Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-02-17T21:32:04.979Z] 213ec9aee27d: Pulling fs layer [2023-02-17T21:32:04.979Z] 4583459ba037: Pulling fs layer [2023-02-17T21:32:04.979Z] 93c1e223e6f2: Pulling fs layer [2023-02-17T21:32:04.979Z] 53926ce57604: Pulling fs layer [2023-02-17T21:32:04.979Z] 21b2b0c7a3f4: Pulling fs layer [2023-02-17T21:32:04.979Z] 22ff95d597cd: Pulling fs layer [2023-02-17T21:32:04.979Z] 12d6caf4c0d1: Pulling fs layer [2023-02-17T21:32:04.979Z] 96b7cbca73a9: Pulling fs layer [2023-02-17T21:32:04.979Z] a7acece74701: Pulling fs layer [2023-02-17T21:32:04.979Z] 53926ce57604: Waiting [2023-02-17T21:32:04.979Z] 21b2b0c7a3f4: Waiting [2023-02-17T21:32:04.979Z] 96b7cbca73a9: Waiting [2023-02-17T21:32:04.979Z] a7acece74701: Waiting [2023-02-17T21:32:04.979Z] 12d6caf4c0d1: Waiting [2023-02-17T21:32:04.979Z] 22ff95d597cd: Waiting [2023-02-17T21:32:04.979Z] 93c1e223e6f2: Download complete [2023-02-17T21:32:04.979Z] 4583459ba037: Verifying Checksum [2023-02-17T21:32:04.979Z] 4583459ba037: Download complete [2023-02-17T21:32:04.979Z] 21b2b0c7a3f4: Verifying Checksum [2023-02-17T21:32:04.979Z] 21b2b0c7a3f4: Download complete [2023-02-17T21:32:05.241Z] 22ff95d597cd: Download complete [2023-02-17T21:32:05.241Z] 213ec9aee27d: Download complete [2023-02-17T21:32:05.241Z] 12d6caf4c0d1: Download complete [2023-02-17T21:32:05.241Z] 213ec9aee27d: Pull complete [2023-02-17T21:32:05.517Z] 4583459ba037: Pull complete [2023-02-17T21:32:05.517Z] 93c1e223e6f2: Pull complete [2023-02-17T21:32:06.544Z] a7acece74701: Verifying Checksum [2023-02-17T21:32:06.544Z] a7acece74701: Download complete [2023-02-17T21:32:06.544Z] 53926ce57604: Verifying Checksum [2023-02-17T21:32:06.544Z] 53926ce57604: Download complete [2023-02-17T21:32:06.801Z] 96b7cbca73a9: Verifying Checksum [2023-02-17T21:32:06.801Z] 96b7cbca73a9: Download complete [2023-02-17T21:32:10.983Z] 53926ce57604: Pull complete [2023-02-17T21:32:10.983Z] 21b2b0c7a3f4: Pull complete [2023-02-17T21:32:10.983Z] 22ff95d597cd: Pull complete [2023-02-17T21:32:10.983Z] 12d6caf4c0d1: Pull complete [2023-02-17T21:32:12.888Z] 96b7cbca73a9: Pull complete [2023-02-17T21:32:13.458Z] a7acece74701: Pull complete [2023-02-17T21:32:13.459Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-02-17T21:32:13.459Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-02-17T21:32:13.459Z] ---> db6d94c90886 [2023-02-17T21:32:13.459Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-17T21:32:15.372Z] ---> Running in 92c6ad31fee0 [2023-02-17T21:32:15.372Z] Removing intermediate container 92c6ad31fee0 [2023-02-17T21:32:15.372Z] ---> 96d299dd87e3 [2023-02-17T21:32:15.372Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-17T21:32:15.372Z] ---> Running in 4a91c4a2d1e9 [2023-02-17T21:32:15.372Z] Removing intermediate container 4a91c4a2d1e9 [2023-02-17T21:32:15.372Z] ---> 3aa74f341a93 [2023-02-17T21:32:15.372Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-17T21:32:15.372Z] ---> Running in 71434e458053 [2023-02-17T21:32:15.632Z] Removing intermediate container 71434e458053 [2023-02-17T21:32:15.632Z] ---> a2d2ece85a03 [2023-02-17T21:32:15.632Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-17T21:32:15.632Z] ---> Running in c035a29eb982 [2023-02-17T21:32:15.632Z] Removing intermediate container c035a29eb982 [2023-02-17T21:32:15.632Z] ---> e1b333e09d3c [2023-02-17T21:32:15.632Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-17T21:32:15.891Z] ---> Running in 7869b23b2e28 [2023-02-17T21:32:16.149Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T21:32:16.408Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T21:32:16.666Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-17T21:32:16.666Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-17T21:32:16.666Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-17T21:32:16.666Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-17T21:32:16.666Z] Executing busybox-1.35.0-r17.trigger [2023-02-17T21:32:16.666Z] OK: 216 MiB in 55 packages [2023-02-17T21:32:16.925Z] Removing intermediate container 7869b23b2e28 [2023-02-17T21:32:16.925Z] ---> bfd54971ad69 [2023-02-17T21:32:16.925Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-17T21:32:17.183Z] ---> Running in 1aea41cd003a [2023-02-17T21:32:17.183Z] Removing intermediate container 1aea41cd003a [2023-02-17T21:32:17.183Z] ---> c54c1e12818e [2023-02-17T21:32:17.183Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-17T21:32:17.183Z] ---> 5b3d5837f0c7 [2023-02-17T21:32:17.183Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T21:32:17.442Z] ---> Running in 4074348d1314 [2023-02-17T21:32:18.688Z] Still waiting to schedule task [2023-02-17T21:32:18.688Z] All nodes of label ‘ubuntu20.04-docker-arm64-4c-16g’ are offline [2023-02-17T21:32:49.536Z] Removing intermediate container 4074348d1314 [2023-02-17T21:32:49.536Z] ---> 3d590fe6fb06 [2023-02-17T21:32:49.536Z] Step 11/12 : COPY . . [2023-02-17T21:32:49.536Z] ---> b061f9cdf27d [2023-02-17T21:32:49.536Z] Step 12/12 : RUN $MAKE [2023-02-17T21:32:49.536Z] ---> Running in 2ace511daed6 [2023-02-17T21:32:49.536Z] noop [2023-02-17T21:32:49.536Z] Removing intermediate container 2ace511daed6 [2023-02-17T21:32:49.536Z] ---> 8d2201cd5bce [2023-02-17T21:32:49.536Z] Successfully built 8d2201cd5bce [2023-02-17T21:32:49.536Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:32:49.849Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-17T21:32:49.849Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T21:32:49.923Z] prd-ubuntu20.04-docker-8c-8g-6499 does not seem to be running inside a container [2023-02-17T21:32:49.954Z] $ 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-17T21:32:50.319Z] $ docker top 698b1fd9ae5b2860b3d17e1e5365c6b0d20de83369bad96ed470276d9424ba2a -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T21:32:50.662Z] + go version [2023-02-17T21:32:50.662Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-02-17T21:32:50.671Z] $ docker stop --time=1 698b1fd9ae5b2860b3d17e1e5365c6b0d20de83369bad96ed470276d9424ba2a [2023-02-17T21:32:51.940Z] $ docker rm -f --volumes 698b1fd9ae5b2860b3d17e1e5365c6b0d20de83369bad96ed470276d9424ba2a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:32:52.331Z] + docker inspect -f . ci-base-image-x86_64 [2023-02-17T21:32:52.331Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T21:32:52.409Z] prd-ubuntu20.04-docker-8c-8g-6499 does not seem to be running inside a container [2023-02-17T21:32:52.439Z] $ 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-17T21:32:52.827Z] $ docker top ca68ad996836fa369d5e20abf72b9cdc71976a8f21626a608ae037484f61f7b5 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T21:32:53.172Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-02-17T21:32:53.471Z] + make test [2023-02-17T21:32:53.472Z] go test ./... -coverprofile=coverage.out ./... [2023-02-17T21:32:53.730Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-17T21:33:03.700Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-02-17T21:33:03.700Z] ok github.com/edgexfoundry/device-rest-go/driver 0.012s coverage: 33.9% of statements [2023-02-17T21:33:10.259Z] 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-17T21:33:10.259Z] go vet ./... [2023-02-17T21:33:12.791Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-17T21:33:12.791Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-17T21:33:12.791Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-17T21:33:12.802Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-17T21:33:12.809Z] $ docker stop --time=1 ca68ad996836fa369d5e20abf72b9cdc71976a8f21626a608ae037484f61f7b5 [2023-02-17T21:33:14.634Z] $ docker rm -f --volumes ca68ad996836fa369d5e20abf72b9cdc71976a8f21626a608ae037484f61f7b5 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T21:33:15.058Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-17T21:33:15.094Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-02-17T21:33:15.576Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-17T21:33:15.858Z] + ls -al . [2023-02-17T21:33:15.858Z] total 188 [2023-02-17T21:33:15.858Z] drwxrwxr-x 9 jenkins jenkins 4096 Feb 17 21:32 . [2023-02-17T21:33:15.858Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 21:31 .. [2023-02-17T21:33:15.858Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 17 21:31 .dockerignore [2023-02-17T21:33:15.859Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 21:33 .git [2023-02-17T21:33:15.859Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 21:31 .github [2023-02-17T21:33:15.859Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 17 21:31 .gitignore [2023-02-17T21:33:15.859Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 17 21:31 .golangci.yml [2023-02-17T21:33:15.859Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 21:32 .semver [2023-02-17T21:33:15.859Z] -rw-rw-r-- 1 jenkins jenkins 9213 Feb 17 21:31 Attribution.txt [2023-02-17T21:33:15.859Z] -rw-rw-r-- 1 jenkins jenkins 13085 Feb 17 21:31 CHANGELOG.md [2023-02-17T21:33:15.859Z] -rw-rw-r-- 1 jenkins jenkins 1578 Feb 17 21:31 Dockerfile [2023-02-17T21:33:15.859Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 21:31 GOVERNANCE.md [2023-02-17T21:33:15.859Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 17 21:31 Jenkinsfile [2023-02-17T21:33:15.859Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 17 21:31 LICENSE [2023-02-17T21:33:15.859Z] -rw-rw-r-- 1 jenkins jenkins 1744 Feb 17 21:31 Makefile [2023-02-17T21:33:15.859Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 17 21:31 OWNERS.md [2023-02-17T21:33:15.859Z] -rw-rw-r-- 1 jenkins jenkins 15447 Feb 17 21:31 README.md [2023-02-17T21:33:15.859Z] -rw-rw-r-- 1 jenkins jenkins 12 Feb 17 21:32 VERSION [2023-02-17T21:33:15.859Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 21:31 bin [2023-02-17T21:33:15.859Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 21:31 cmd [2023-02-17T21:33:15.859Z] -rw-r--r-- 1 jenkins jenkins 13744 Feb 17 21:33 coverage.out [2023-02-17T21:33:15.859Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 21:31 driver [2023-02-17T21:33:15.859Z] -rw-rw-r-- 1 jenkins jenkins 3400 Feb 17 21:31 go.mod [2023-02-17T21:33:15.859Z] -rw-rw-r-- 1 jenkins jenkins 33279 Feb 17 21:31 go.sum [2023-02-17T21:33:15.859Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 21:31 snap [2023-02-17T21:33:15.859Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 17 21:31 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:33:16.161Z] + 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=70384783b5a72194fc813c647394660ae113f8ec --label arch=amd64 --label version=3.0.0-dev.11 . [2023-02-17T21:33:16.161Z] Sending build context to Docker daemon 10.83MB [2023-02-17T21:33:16.161Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T21:33:16.161Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-17T21:33:16.161Z] ---> 8d2201cd5bce [2023-02-17T21:33:16.161Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-17T21:33:16.161Z] ---> Running in 052f1c802d5c [2023-02-17T21:33:16.419Z] Removing intermediate container 052f1c802d5c [2023-02-17T21:33:16.419Z] ---> cadda4c2d444 [2023-02-17T21:33:16.419Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-17T21:33:16.419Z] ---> Running in 60a982ed96d7 [2023-02-17T21:33:16.419Z] Removing intermediate container 60a982ed96d7 [2023-02-17T21:33:16.419Z] ---> 797b25ea92ec [2023-02-17T21:33:16.419Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-17T21:33:16.419Z] ---> Running in 04fb4cc9644c [2023-02-17T21:33:16.677Z] Removing intermediate container 04fb4cc9644c [2023-02-17T21:33:16.677Z] ---> 7caf398672ef [2023-02-17T21:33:16.677Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-17T21:33:16.677Z] ---> Running in 33974df6d3ec [2023-02-17T21:33:16.677Z] Removing intermediate container 33974df6d3ec [2023-02-17T21:33:16.677Z] ---> 5a535e15b2c6 [2023-02-17T21:33:16.677Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-17T21:33:16.677Z] ---> Running in da8a7eeb00d0 [2023-02-17T21:33:16.936Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T21:33:17.195Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T21:33:17.454Z] OK: 216 MiB in 55 packages [2023-02-17T21:33:17.711Z] Removing intermediate container da8a7eeb00d0 [2023-02-17T21:33:17.711Z] ---> fd66169166b1 [2023-02-17T21:33:17.711Z] Step 8/25 : WORKDIR /device-rest-go [2023-02-17T21:33:17.711Z] ---> Running in fe0ec420ae2e [2023-02-17T21:33:17.969Z] Removing intermediate container fe0ec420ae2e [2023-02-17T21:33:17.969Z] ---> cb371db68730 [2023-02-17T21:33:17.969Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-17T21:33:17.969Z] ---> 60c1d5cd895d [2023-02-17T21:33:17.969Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T21:33:17.969Z] ---> Running in 0ddc96f3bbb1 [2023-02-17T21:33:18.903Z] Removing intermediate container 0ddc96f3bbb1 [2023-02-17T21:33:18.903Z] ---> 02ee2c609ae9 [2023-02-17T21:33:18.903Z] Step 11/25 : COPY . . [2023-02-17T21:33:19.162Z] ---> 64df64f5470e [2023-02-17T21:33:19.162Z] Step 12/25 : RUN $MAKE [2023-02-17T21:33:19.162Z] ---> Running in 45e947e36eb5 [2023-02-17T21:33:19.420Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.11" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-02-17T21:33:37.488Z] Removing intermediate container 45e947e36eb5 [2023-02-17T21:33:37.488Z] ---> a0e942e502d8 [2023-02-17T21:33:37.488Z] Step 13/25 : FROM alpine:3.16 [2023-02-17T21:33:37.488Z] 3.16: Pulling from library/alpine [2023-02-17T21:33:37.488Z] ef5531b6e74e: Pulling fs layer [2023-02-17T21:33:37.488Z] ef5531b6e74e: Verifying Checksum [2023-02-17T21:33:37.488Z] ef5531b6e74e: Download complete [2023-02-17T21:33:37.747Z] ef5531b6e74e: Pull complete [2023-02-17T21:33:37.747Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-17T21:33:37.747Z] Status: Downloaded newer image for alpine:3.16 [2023-02-17T21:33:37.747Z] ---> dfd21b5a31f5 [2023-02-17T21:33:37.747Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-17T21:33:37.747Z] ---> Running in 6db577d700f6 [2023-02-17T21:33:37.747Z] Removing intermediate container 6db577d700f6 [2023-02-17T21:33:37.747Z] ---> 24f04df242c8 [2023-02-17T21:33:37.747Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-02-17T21:33:37.747Z] ---> Running in df0dd241fea8 [2023-02-17T21:33:38.006Z] Removing intermediate container df0dd241fea8 [2023-02-17T21:33:38.006Z] ---> 6edb5a9ef116 [2023-02-17T21:33:38.006Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-02-17T21:33:38.006Z] ---> Running in 1ed358f853ee [2023-02-17T21:33:38.264Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-02-17T21:33:38.264Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-02-17T21:33:38.523Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-17T21:33:38.523Z] Executing busybox-1.35.0-r17.trigger [2023-02-17T21:33:38.523Z] OK: 6 MiB in 15 packages [2023-02-17T21:33:38.782Z] Removing intermediate container 1ed358f853ee [2023-02-17T21:33:38.782Z] ---> 598efcf06ec2 [2023-02-17T21:33:38.782Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-02-17T21:33:39.353Z] ---> 0695ff5c9486 [2023-02-17T21:33:39.353Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-02-17T21:33:39.612Z] ---> b9e5fa93dcdf [2023-02-17T21:33:39.612Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-02-17T21:33:39.612Z] ---> 5ebe2e057cb1 [2023-02-17T21:33:39.612Z] Step 20/25 : EXPOSE 59986 [2023-02-17T21:33:39.612Z] ---> Running in 7a12b8ab5ec5 [2023-02-17T21:33:39.871Z] Removing intermediate container 7a12b8ab5ec5 [2023-02-17T21:33:39.871Z] ---> f2876ac4e54f [2023-02-17T21:33:39.871Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-02-17T21:33:39.871Z] ---> Running in 70e3a1ed0d8a [2023-02-17T21:33:39.871Z] Removing intermediate container 70e3a1ed0d8a [2023-02-17T21:33:39.871Z] ---> 8a8da35724e6 [2023-02-17T21:33:39.871Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-17T21:33:39.871Z] ---> Running in 7204e3a1ad0f [2023-02-17T21:33:39.871Z] Removing intermediate container 7204e3a1ad0f [2023-02-17T21:33:39.871Z] ---> 8136b02342f0 [2023-02-17T21:33:39.871Z] Step 23/25 : LABEL arch=amd64 [2023-02-17T21:33:39.871Z] ---> Running in 409a0468b178 [2023-02-17T21:33:40.130Z] Removing intermediate container 409a0468b178 [2023-02-17T21:33:40.130Z] ---> 74cbfb819e12 [2023-02-17T21:33:40.130Z] Step 24/25 : LABEL git_sha=70384783b5a72194fc813c647394660ae113f8ec [2023-02-17T21:33:40.130Z] ---> Running in ca058d319df5 [2023-02-17T21:33:40.130Z] Removing intermediate container ca058d319df5 [2023-02-17T21:33:40.130Z] ---> 4a8626f03ae0 [2023-02-17T21:33:40.130Z] Step 25/25 : LABEL version=3.0.0-dev.11 [2023-02-17T21:33:40.130Z] ---> Running in b92973c2cead [2023-02-17T21:33:40.389Z] Removing intermediate container b92973c2cead [2023-02-17T21:33:40.389Z] ---> a95b2cd1e6aa [2023-02-17T21:33:40.389Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-17T21:33:40.389Z] Successfully built a95b2cd1e6aa [2023-02-17T21:33:40.389Z] 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-17T21:33:40.490Z] provisioning config files... [2023-02-17T21:33:40.498Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4514385409760549693tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:33:40.793Z] ---> docker-login.sh [2023-02-17T21:33:40.793Z] nexus3.edgexfoundry.org:10001 [2023-02-17T21:33:40.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:33:40.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:33:40.793Z] Configure a credential helper to remove this warning. See [2023-02-17T21:33:40.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:33:40.793Z] [2023-02-17T21:33:40.793Z] Login Succeeded [2023-02-17T21:33:40.793Z] nexus3.edgexfoundry.org:10002 [2023-02-17T21:33:40.793Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:33:40.793Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:33:40.793Z] Configure a credential helper to remove this warning. See [2023-02-17T21:33:40.793Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:33:40.793Z] [2023-02-17T21:33:40.793Z] Login Succeeded [2023-02-17T21:33:40.793Z] nexus3.edgexfoundry.org:10003 [2023-02-17T21:33:41.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:33:41.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:33:41.052Z] Configure a credential helper to remove this warning. See [2023-02-17T21:33:41.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:33:41.052Z] [2023-02-17T21:33:41.052Z] Login Succeeded [2023-02-17T21:33:41.052Z] nexus3.edgexfoundry.org:10004 [2023-02-17T21:33:41.052Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:33:41.052Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:33:41.052Z] Configure a credential helper to remove this warning. See [2023-02-17T21:33:41.052Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:33:41.052Z] [2023-02-17T21:33:41.052Z] Login Succeeded [2023-02-17T21:33:41.052Z] docker.io [2023-02-17T21:33:41.310Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:33:41.310Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:33:41.310Z] Configure a credential helper to remove this warning. See [2023-02-17T21:33:41.310Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:33:41.310Z] [2023-02-17T21:33:41.310Z] Login Succeeded [2023-02-17T21:33:41.310Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T21:33:41.318Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-17T21:33:41.355Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T21:33:41.377Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-02-17T21:33:41.377Z] 70384783b5a72194fc813c647394660ae113f8ec [2023-02-17T21:33:41.377Z] latest [2023-02-17T21:33:41.377Z] 3.0.0-dev.11 [2023-02-17T21:33:41.377Z] 70384783b5a72194fc813c647394660ae113f8ec-3.0.0-dev.11 [2023-02-17T21:33:41.377Z] main [2023-02-17T21:33:41.377Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:33:41.704Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:70384783b5a72194fc813c647394660ae113f8ec [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:33:42.082Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:70384783b5a72194fc813c647394660ae113f8ec [2023-02-17T21:33:42.082Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-02-17T21:33:42.082Z] 1ec8352a4707: Preparing [2023-02-17T21:33:42.082Z] 80300d6e8baa: Preparing [2023-02-17T21:33:42.082Z] 0e1d21d01058: Preparing [2023-02-17T21:33:42.082Z] 5ee3f0709e81: Preparing [2023-02-17T21:33:42.082Z] aa5968d388b8: Preparing [2023-02-17T21:33:42.082Z] aa5968d388b8: Layer already exists [2023-02-17T21:33:42.082Z] 5ee3f0709e81: Pushed [2023-02-17T21:33:42.082Z] 80300d6e8baa: Pushed [2023-02-17T21:33:42.082Z] 1ec8352a4707: Pushed [2023-02-17T21:33:44.693Z] 0e1d21d01058: Pushed [2023-02-17T21:33:44.693Z] 70384783b5a72194fc813c647394660ae113f8ec: digest: sha256:44705cb3872dbbe6cadb17b38df70575622e8bc59ea7e9ced0ef1d2f2406af90 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:33:45.025Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:33:45.340Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-02-17T21:33:45.340Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-02-17T21:33:45.340Z] 1ec8352a4707: Preparing [2023-02-17T21:33:45.340Z] 80300d6e8baa: Preparing [2023-02-17T21:33:45.340Z] 0e1d21d01058: Preparing [2023-02-17T21:33:45.340Z] 5ee3f0709e81: Preparing [2023-02-17T21:33:45.340Z] aa5968d388b8: Preparing [2023-02-17T21:33:45.340Z] 0e1d21d01058: Layer already exists [2023-02-17T21:33:45.340Z] 1ec8352a4707: Layer already exists [2023-02-17T21:33:45.340Z] 5ee3f0709e81: Layer already exists [2023-02-17T21:33:45.340Z] 80300d6e8baa: Layer already exists [2023-02-17T21:33:45.340Z] aa5968d388b8: Layer already exists [2023-02-17T21:33:45.340Z] latest: digest: sha256:44705cb3872dbbe6cadb17b38df70575622e8bc59ea7e9ced0ef1d2f2406af90 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:33:45.652Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:33:45.961Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.11 [2023-02-17T21:33:45.961Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-02-17T21:33:45.961Z] 1ec8352a4707: Preparing [2023-02-17T21:33:45.961Z] 80300d6e8baa: Preparing [2023-02-17T21:33:45.961Z] 0e1d21d01058: Preparing [2023-02-17T21:33:45.961Z] 5ee3f0709e81: Preparing [2023-02-17T21:33:45.961Z] aa5968d388b8: Preparing [2023-02-17T21:33:45.961Z] 80300d6e8baa: Layer already exists [2023-02-17T21:33:45.961Z] 0e1d21d01058: Layer already exists [2023-02-17T21:33:45.961Z] 5ee3f0709e81: Layer already exists [2023-02-17T21:33:45.961Z] aa5968d388b8: Layer already exists [2023-02-17T21:33:45.961Z] 1ec8352a4707: Layer already exists [2023-02-17T21:33:45.961Z] 3.0.0-dev.11: digest: sha256:44705cb3872dbbe6cadb17b38df70575622e8bc59ea7e9ced0ef1d2f2406af90 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:33:46.294Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:70384783b5a72194fc813c647394660ae113f8ec-3.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:33:46.605Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:70384783b5a72194fc813c647394660ae113f8ec-3.0.0-dev.11 [2023-02-17T21:33:46.605Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-02-17T21:33:46.605Z] 1ec8352a4707: Preparing [2023-02-17T21:33:46.605Z] 80300d6e8baa: Preparing [2023-02-17T21:33:46.605Z] 0e1d21d01058: Preparing [2023-02-17T21:33:46.605Z] 5ee3f0709e81: Preparing [2023-02-17T21:33:46.605Z] aa5968d388b8: Preparing [2023-02-17T21:33:46.605Z] aa5968d388b8: Layer already exists [2023-02-17T21:33:46.605Z] 5ee3f0709e81: Layer already exists [2023-02-17T21:33:46.605Z] 0e1d21d01058: Layer already exists [2023-02-17T21:33:46.605Z] 1ec8352a4707: Layer already exists [2023-02-17T21:33:46.605Z] 80300d6e8baa: Layer already exists [2023-02-17T21:33:46.605Z] 70384783b5a72194fc813c647394660ae113f8ec-3.0.0-dev.11: digest: sha256:44705cb3872dbbe6cadb17b38df70575622e8bc59ea7e9ced0ef1d2f2406af90 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:33:46.916Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:33:47.217Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-02-17T21:33:47.217Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-02-17T21:33:47.217Z] 1ec8352a4707: Preparing [2023-02-17T21:33:47.217Z] 80300d6e8baa: Preparing [2023-02-17T21:33:47.217Z] 0e1d21d01058: Preparing [2023-02-17T21:33:47.217Z] 5ee3f0709e81: Preparing [2023-02-17T21:33:47.217Z] aa5968d388b8: Preparing [2023-02-17T21:33:47.217Z] 80300d6e8baa: Layer already exists [2023-02-17T21:33:47.217Z] 0e1d21d01058: Layer already exists [2023-02-17T21:33:47.217Z] 1ec8352a4707: Layer already exists [2023-02-17T21:33:47.217Z] aa5968d388b8: Layer already exists [2023-02-17T21:33:47.217Z] 5ee3f0709e81: Layer already exists [2023-02-17T21:33:47.217Z] main: digest: sha256:44705cb3872dbbe6cadb17b38df70575622e8bc59ea7e9ced0ef1d2f2406af90 size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-17T21:33:47.260Z] ===================================================== [Pipeline] echo [2023-02-17T21:33:47.268Z] taggedImages: [2023-02-17T21:33:47.268Z] - nexus3.edgexfoundry.org:10004/device-rest:70384783b5a72194fc813c647394660ae113f8ec [2023-02-17T21:33:47.268Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-02-17T21:33:47.268Z] - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.11 [2023-02-17T21:33:47.268Z] - nexus3.edgexfoundry.org:10004/device-rest:70384783b5a72194fc813c647394660ae113f8ec-3.0.0-dev.11 [2023-02-17T21:33:47.268Z] - 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-17T21:33:47.638Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T21:33:47.638Z] [2023-02-17T21:33:47.638Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:33:47.962Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T21:33:47.962Z] latest: Pulling from edgex-lftools-log-publisher [2023-02-17T21:33:47.962Z] 5eb5b503b376: Pulling fs layer [2023-02-17T21:33:47.962Z] 5c69ac0246d0: Pulling fs layer [2023-02-17T21:33:47.962Z] ec43610c2a17: Pulling fs layer [2023-02-17T21:33:47.962Z] 3a2ae6a8a46f: Pulling fs layer [2023-02-17T21:33:47.962Z] 33b1e0a273af: Pulling fs layer [2023-02-17T21:33:47.962Z] 5d3b04190fa2: Pulling fs layer [2023-02-17T21:33:47.962Z] 2f39f015ded8: Pulling fs layer [2023-02-17T21:33:47.962Z] 5d3b04190fa2: Waiting [2023-02-17T21:33:47.962Z] 3a2ae6a8a46f: Waiting [2023-02-17T21:33:47.962Z] 2f39f015ded8: Waiting [2023-02-17T21:33:47.962Z] 5c69ac0246d0: Verifying Checksum [2023-02-17T21:33:47.962Z] 5c69ac0246d0: Download complete [2023-02-17T21:33:47.962Z] 3a2ae6a8a46f: Verifying Checksum [2023-02-17T21:33:47.962Z] 3a2ae6a8a46f: Download complete [2023-02-17T21:33:48.227Z] 33b1e0a273af: Verifying Checksum [2023-02-17T21:33:48.227Z] 33b1e0a273af: Download complete [2023-02-17T21:33:48.227Z] 5d3b04190fa2: Download complete [2023-02-17T21:33:48.227Z] ec43610c2a17: Verifying Checksum [2023-02-17T21:33:48.227Z] ec43610c2a17: Download complete [2023-02-17T21:33:48.491Z] 5eb5b503b376: Verifying Checksum [2023-02-17T21:33:48.491Z] 5eb5b503b376: Download complete [2023-02-17T21:33:48.646Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-6500 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-02-17T21:33:48.659Z] Running in /w/workspace/device-rest-go/83 [Pipeline] { [Pipeline] checkout [2023-02-17T21:33:48.700Z] The recommended git tool is: git [2023-02-17T21:33:49.475Z] 2f39f015ded8: Download complete [2023-02-17T21:33:49.475Z] 5eb5b503b376: Pull complete [2023-02-17T21:33:49.733Z] 5c69ac0246d0: Pull complete [2023-02-17T21:33:49.991Z] ec43610c2a17: Pull complete [2023-02-17T21:33:50.253Z] 3a2ae6a8a46f: Pull complete [2023-02-17T21:33:50.253Z] 33b1e0a273af: Pull complete [2023-02-17T21:33:50.253Z] 5d3b04190fa2: Pull complete [2023-02-17T21:33:53.858Z] using credential edgex-jenkins-ssh [2023-02-17T21:33:53.880Z] Cloning the remote Git repository [2023-02-17T21:33:54.438Z] 2f39f015ded8: Pull complete [2023-02-17T21:33:54.438Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-02-17T21:33:54.438Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T21:33:54.438Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T21:33:54.519Z] prd-ubuntu20.04-docker-8c-8g-6499 does not seem to be running inside a container [2023-02-17T21:33:54.543Z] $ 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-17T21:33:53.919Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-02-17T21:33:53.986Z] > git init /w/workspace/device-rest-go/83 # timeout=10 [2023-02-17T21:33:54.130Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-02-17T21:33:54.131Z] > git --version # timeout=10 [2023-02-17T21:33:54.150Z] > git --version # 'git version 2.25.1' [2023-02-17T21:33:54.152Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-02-17T21:33:54.210Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-17T21:33:56.328Z] $ docker top 07f77f2c8f12dfd51f24269f1f5797c6bae8fe2dd5d4e34f9c8e60a34b7a9c7a -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:33:56.733Z] ---> job-cost.sh [2023-02-17T21:33:56.733Z] lf-activate-venv: SKIPPING [2023-02-17T21:33:56.733Z] INFO: No Stack... [2023-02-17T21:33:56.993Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-17T21:33:57.252Z] INFO: Archiving Costs [Pipeline] sh [2023-02-17T21:33:57.545Z] + + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-02-17T21:33:57.545Z] cut -d, -f6 [Pipeline] lock [2023-02-17T21:33:57.558Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-83-stack-cost] [2023-02-17T21:33:57.564Z] Resource [jenkins-edgexfoundry-device-rest-go-main-83-stack-cost] did not exist. Created. [2023-02-17T21:33:57.564Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-83-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-17T21:33:57.860Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-02-17T21:33:57.890Z] Stashed 1 file(s) [Pipeline] } [2023-02-17T21:33:57.899Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-83-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-17T21:33:57.916Z] $ docker stop --time=1 07f77f2c8f12dfd51f24269f1f5797c6bae8fe2dd5d4e34f9c8e60a34b7a9c7a [2023-02-17T21:33:58.463Z] Avoid second fetch [2023-02-17T21:33:58.464Z] Checking out Revision 70384783b5a72194fc813c647394660ae113f8ec (main) [2023-02-17T21:33:58.959Z] Commit message: "build(deps): Bump github.com/edgexfoundry/device-sdk-go/v3 (#255)" [2023-02-17T21:33:57.627Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-02-17T21:33:57.653Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-02-17T21:33:58.479Z] > git config core.sparsecheckout # timeout=10 [2023-02-17T21:33:58.498Z] > git checkout -f 70384783b5a72194fc813c647394660ae113f8ec # timeout=10 [2023-02-17T21:33:59.090Z] $ docker rm -f --volumes 07f77f2c8f12dfd51f24269f1f5797c6bae8fe2dd5d4e34f9c8e60a34b7a9c7a [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-02-17T21:33:59.244Z] [2023-02-17T21:33:59.244Z] GitHub has been notified of this commit’s build result [2023-02-17T21:33:59.244Z] [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T21:33:59.777Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-02-17T21:33:59.777Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-17T21:33:59.777Z] Dload Upload Total Spent Left Speed [2023-02-17T21:33:59.777Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 54725 0 --:--:-- --:--:-- --:--:-- 54725 [Pipeline] sh [2023-02-17T21:34:00.490Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-02-17T21:34:00.816Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-02-17T21:34:00.816Z] + sudo tee /etc/docker/daemon.new [2023-02-17T21:34:00.816Z] { [2023-02-17T21:34:00.816Z] "registry-mirrors": [ [2023-02-17T21:34:00.816Z] "https://nexus3.edgexfoundry.org:10001" [2023-02-17T21:34:00.816Z] ], [2023-02-17T21:34:00.816Z] "bip": "10.250.0.254/24", [2023-02-17T21:34:00.816Z] "hosts": [ [2023-02-17T21:34:00.816Z] "tcp://0.0.0.0:5555", [2023-02-17T21:34:00.816Z] "unix:///var/run/docker.sock" [2023-02-17T21:34:00.816Z] ], [2023-02-17T21:34:00.816Z] "mtu": 1458, [2023-02-17T21:34:00.816Z] "selinux-enabled": true, [2023-02-17T21:34:00.816Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-02-17T21:34:00.816Z] } [Pipeline] sh [2023-02-17T21:34:01.152Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-02-17T21:34:01.486Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T21:34:19.769Z] provisioning config files... [2023-02-17T21:34:19.793Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/83@tmp/config10916925933518252226tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:34:20.138Z] ---> docker-login.sh [2023-02-17T21:34:20.138Z] nexus3.edgexfoundry.org:10001 [2023-02-17T21:34:20.407Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:34:20.679Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:34:20.679Z] Configure a credential helper to remove this warning. See [2023-02-17T21:34:20.679Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:34:20.679Z] [2023-02-17T21:34:20.679Z] Login Succeeded [2023-02-17T21:34:20.679Z] nexus3.edgexfoundry.org:10002 [2023-02-17T21:34:20.950Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:34:21.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:34:21.219Z] Configure a credential helper to remove this warning. See [2023-02-17T21:34:21.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:34:21.219Z] [2023-02-17T21:34:21.219Z] Login Succeeded [2023-02-17T21:34:21.219Z] nexus3.edgexfoundry.org:10003 [2023-02-17T21:34:21.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:34:21.489Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:34:21.489Z] Configure a credential helper to remove this warning. See [2023-02-17T21:34:21.489Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:34:21.489Z] [2023-02-17T21:34:21.489Z] Login Succeeded [2023-02-17T21:34:21.489Z] nexus3.edgexfoundry.org:10004 [2023-02-17T21:34:21.760Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:34:21.760Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:34:21.760Z] Configure a credential helper to remove this warning. See [2023-02-17T21:34:21.760Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:34:21.760Z] [2023-02-17T21:34:21.760Z] Login Succeeded [2023-02-17T21:34:21.760Z] docker.io [2023-02-17T21:34:22.031Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:34:22.299Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:34:22.299Z] Configure a credential helper to remove this warning. See [2023-02-17T21:34:22.299Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:34:22.299Z] [2023-02-17T21:34:22.299Z] Login Succeeded [2023-02-17T21:34:22.299Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T21:34:22.314Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-02-17T21:34:22.548Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T21:34:22.564Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T21:34:22.577Z] ========================================================= [2023-02-17T21:34:22.577Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-02-17T21:34:22.577Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:34:22.910Z] + 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-17T21:34:22.910Z] Sending build context to Docker daemon 139.8kB [2023-02-17T21:34:23.179Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T21:34:23.179Z] Step 2/12 : FROM ${BASE} AS builder [2023-02-17T21:34:23.769Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-02-17T21:34:23.769Z] 9b18e9b68314: Pulling fs layer [2023-02-17T21:34:23.769Z] 35d82f9e3411: Pulling fs layer [2023-02-17T21:34:23.769Z] e16973657156: Pulling fs layer [2023-02-17T21:34:23.769Z] fc693d55d65f: Pulling fs layer [2023-02-17T21:34:23.769Z] 7e9fc2657dce: Pulling fs layer [2023-02-17T21:34:23.769Z] dda99020689f: Pulling fs layer [2023-02-17T21:34:23.769Z] db1c61fa0a46: Pulling fs layer [2023-02-17T21:34:23.769Z] 891c053d2c06: Pulling fs layer [2023-02-17T21:34:23.769Z] dda99020689f: Waiting [2023-02-17T21:34:23.769Z] fc693d55d65f: Waiting [2023-02-17T21:34:23.769Z] db1c61fa0a46: Waiting [2023-02-17T21:34:23.769Z] 7e9fc2657dce: Waiting [2023-02-17T21:34:23.769Z] 891c053d2c06: Waiting [2023-02-17T21:34:23.769Z] e16973657156: Download complete [2023-02-17T21:34:23.769Z] 35d82f9e3411: Verifying Checksum [2023-02-17T21:34:23.769Z] 35d82f9e3411: Download complete [2023-02-17T21:34:23.769Z] 7e9fc2657dce: Download complete [2023-02-17T21:34:23.769Z] dda99020689f: Download complete [2023-02-17T21:34:23.769Z] 9b18e9b68314: Verifying Checksum [2023-02-17T21:34:24.738Z] 9b18e9b68314: Pull complete [2023-02-17T21:34:25.015Z] 891c053d2c06: Verifying Checksum [2023-02-17T21:34:25.015Z] 891c053d2c06: Download complete [2023-02-17T21:34:25.286Z] 35d82f9e3411: Pull complete [2023-02-17T21:34:25.557Z] e16973657156: Pull complete [2023-02-17T21:34:26.145Z] db1c61fa0a46: Verifying Checksum [2023-02-17T21:34:26.145Z] db1c61fa0a46: Download complete [2023-02-17T21:34:26.730Z] fc693d55d65f: Verifying Checksum [2023-02-17T21:34:26.730Z] fc693d55d65f: Download complete [2023-02-17T21:34:39.065Z] fc693d55d65f: Pull complete [2023-02-17T21:34:39.065Z] 7e9fc2657dce: Pull complete [2023-02-17T21:34:39.065Z] dda99020689f: Pull complete [2023-02-17T21:34:44.441Z] db1c61fa0a46: Pull complete [2023-02-17T21:34:46.401Z] 891c053d2c06: Pull complete [2023-02-17T21:34:46.401Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-02-17T21:34:46.401Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-02-17T21:34:46.401Z] ---> f96f9c87975a [2023-02-17T21:34:46.401Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-02-17T21:34:48.361Z] ---> Running in 36c71d273f55 [2023-02-17T21:34:48.361Z] Removing intermediate container 36c71d273f55 [2023-02-17T21:34:48.361Z] ---> 65323ceb1a7e [2023-02-17T21:34:48.361Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-17T21:34:48.361Z] ---> Running in 671146612cc8 [2023-02-17T21:34:48.630Z] Removing intermediate container 671146612cc8 [2023-02-17T21:34:48.630Z] ---> 521f2f0ad047 [2023-02-17T21:34:48.630Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-17T21:34:48.899Z] ---> Running in 2d69aa035de6 [2023-02-17T21:34:49.168Z] Removing intermediate container 2d69aa035de6 [2023-02-17T21:34:49.168Z] ---> c11717f6501b [2023-02-17T21:34:49.168Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-02-17T21:34:49.168Z] ---> Running in 842e8d455c1d [2023-02-17T21:34:49.524Z] Removing intermediate container 842e8d455c1d [2023-02-17T21:34:49.524Z] ---> 1968bf196239 [2023-02-17T21:34:49.524Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-17T21:34:49.524Z] ---> Running in 244d445d00eb [2023-02-17T21:34:51.001Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T21:34:51.001Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T21:34:51.962Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-02-17T21:34:51.962Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-02-17T21:34:51.962Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-02-17T21:34:52.231Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-02-17T21:34:52.231Z] Executing busybox-1.35.0-r17.trigger [2023-02-17T21:34:52.231Z] OK: 226 MiB in 55 packages [2023-02-17T21:34:53.196Z] Removing intermediate container 244d445d00eb [2023-02-17T21:34:53.196Z] ---> e83cd326d115 [2023-02-17T21:34:53.196Z] Step 8/12 : WORKDIR /device-rest-go [2023-02-17T21:34:53.196Z] ---> Running in 6b9fb26ff5c1 [2023-02-17T21:34:53.464Z] Removing intermediate container 6b9fb26ff5c1 [2023-02-17T21:34:53.464Z] ---> d3ad69a2fb2e [2023-02-17T21:34:53.464Z] Step 9/12 : COPY go.mod vendor* ./ [2023-02-17T21:34:54.052Z] ---> 9cf888646bf8 [2023-02-17T21:34:54.052Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T21:34:54.052Z] ---> Running in bdca7257dca5 [2023-02-17T21:36:15.734Z] Removing intermediate container bdca7257dca5 [2023-02-17T21:36:15.734Z] ---> 072d64069293 [2023-02-17T21:36:15.734Z] Step 11/12 : COPY . . [2023-02-17T21:36:15.734Z] ---> 015701b10652 [2023-02-17T21:36:15.734Z] Step 12/12 : RUN $MAKE [2023-02-17T21:36:15.734Z] ---> Running in 3d5a84a443dd [2023-02-17T21:36:15.734Z] noop [2023-02-17T21:36:15.734Z] Removing intermediate container 3d5a84a443dd [2023-02-17T21:36:15.734Z] ---> 6c089ea19900 [2023-02-17T21:36:15.734Z] Successfully built 6c089ea19900 [2023-02-17T21:36:15.734Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:36:16.080Z] + docker inspect -f . ci-base-image-arm64 [2023-02-17T21:36:16.080Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T21:36:16.285Z] prd-ubuntu20.04-docker-arm64-4c-16g-6500 does not seem to be running inside a container [2023-02-17T21:36:16.362Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/83 -v /w/workspace/device-rest-go/83:/w/workspace/device-rest-go/83:rw,z -v /w/workspace/device-rest-go/83@tmp:/w/workspace/device-rest-go/83@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-17T21:36:17.703Z] $ docker top 0335e071ead3059830adf1cd3010b31d4bbda17acfd378e43e5354124140e465 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T21:36:18.546Z] + go version [2023-02-17T21:36:18.546Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-02-17T21:36:18.568Z] $ docker stop --time=1 0335e071ead3059830adf1cd3010b31d4bbda17acfd378e43e5354124140e465 [2023-02-17T21:36:20.214Z] $ docker rm -f --volumes 0335e071ead3059830adf1cd3010b31d4bbda17acfd378e43e5354124140e465 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:36:20.772Z] + docker inspect -f . ci-base-image-arm64 [2023-02-17T21:36:20.772Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T21:36:20.969Z] prd-ubuntu20.04-docker-arm64-4c-16g-6500 does not seem to be running inside a container [2023-02-17T21:36:21.051Z] $ 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/83 -v /w/workspace/device-rest-go/83:/w/workspace/device-rest-go/83:rw,z -v /w/workspace/device-rest-go/83@tmp:/w/workspace/device-rest-go/83@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** ci-base-image-arm64 cat [2023-02-17T21:36:22.288Z] $ docker top 0395a688a505ca898131e12ea0d696aa56ffbe2768cb6479359d1181ce632001 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T21:36:22.815Z] + git config --global --add safe.directory /w/workspace/device-rest-go/83 [Pipeline] fileExists [Pipeline] sh [2023-02-17T21:36:23.474Z] + make test [2023-02-17T21:36:23.475Z] go test ./... -coverprofile=coverage.out ./... [2023-02-17T21:36:24.887Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-02-17T21:38:01.655Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-02-17T21:38:01.655Z] ok github.com/edgexfoundry/device-rest-go/driver 0.067s coverage: 33.9% of statements [2023-02-17T21:38:01.655Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-02-17T21:38:01.655Z] go vet ./... [2023-02-17T21:38:19.977Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-02-17T21:38:19.977Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-02-17T21:38:19.977Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-02-17T21:38:20.001Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-02-17T21:38:20.020Z] $ docker stop --time=1 0395a688a505ca898131e12ea0d696aa56ffbe2768cb6479359d1181ce632001 [2023-02-17T21:38:22.125Z] $ docker rm -f --volumes 0395a688a505ca898131e12ea0d696aa56ffbe2768cb6479359d1181ce632001 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T21:38:23.175Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-02-17T21:38:23.197Z] Warning: overwriting stash ‘coverage-report’ [2023-02-17T21:38:23.723Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-02-17T21:38:24.116Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-02-17T21:38:24.450Z] + ls -al . [2023-02-17T21:38:24.450Z] total 184 [2023-02-17T21:38:24.450Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 21:36 . [2023-02-17T21:38:24.450Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 21:33 .. [2023-02-17T21:38:24.450Z] -rw-rw-r-- 1 jenkins jenkins 151 Feb 17 21:33 .dockerignore [2023-02-17T21:38:24.450Z] drwxrwxr-x 8 jenkins jenkins 4096 Feb 17 21:33 .git [2023-02-17T21:38:24.450Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 21:33 .github [2023-02-17T21:38:24.450Z] -rw-rw-r-- 1 jenkins jenkins 329 Feb 17 21:33 .gitignore [2023-02-17T21:38:24.450Z] -rw-rw-r-- 1 jenkins jenkins 41 Feb 17 21:33 .golangci.yml [2023-02-17T21:38:24.450Z] -rw-rw-r-- 1 jenkins jenkins 9213 Feb 17 21:33 Attribution.txt [2023-02-17T21:38:24.450Z] -rw-rw-r-- 1 jenkins jenkins 13085 Feb 17 21:33 CHANGELOG.md [2023-02-17T21:38:24.450Z] -rw-rw-r-- 1 jenkins jenkins 1578 Feb 17 21:33 Dockerfile [2023-02-17T21:38:24.450Z] -rw-rw-r-- 1 jenkins jenkins 677 Feb 17 21:33 GOVERNANCE.md [2023-02-17T21:38:24.450Z] -rw-rw-r-- 1 jenkins jenkins 680 Feb 17 21:33 Jenkinsfile [2023-02-17T21:38:24.450Z] -rw-rw-r-- 1 jenkins jenkins 11340 Feb 17 21:33 LICENSE [2023-02-17T21:38:24.450Z] -rw-rw-r-- 1 jenkins jenkins 1744 Feb 17 21:33 Makefile [2023-02-17T21:38:24.450Z] -rw-rw-r-- 1 jenkins jenkins 620 Feb 17 21:33 OWNERS.md [2023-02-17T21:38:24.450Z] -rw-rw-r-- 1 jenkins jenkins 15447 Feb 17 21:33 README.md [2023-02-17T21:38:24.450Z] -rw-rw-r-- 1 jenkins jenkins 12 Feb 17 21:32 VERSION [2023-02-17T21:38:24.450Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 21:33 bin [2023-02-17T21:38:24.450Z] drwxrwxr-x 3 jenkins jenkins 4096 Feb 17 21:33 cmd [2023-02-17T21:38:24.450Z] -rw-r--r-- 1 jenkins jenkins 13744 Feb 17 21:37 coverage.out [2023-02-17T21:38:24.450Z] drwxrwxr-x 2 jenkins jenkins 4096 Feb 17 21:33 driver [2023-02-17T21:38:24.450Z] -rw-rw-r-- 1 jenkins jenkins 3400 Feb 17 21:33 go.mod [2023-02-17T21:38:24.450Z] -rw-rw-r-- 1 jenkins jenkins 33279 Feb 17 21:33 go.sum [2023-02-17T21:38:24.450Z] drwxrwxr-x 4 jenkins jenkins 4096 Feb 17 21:33 snap [2023-02-17T21:38:24.450Z] -rw-rw-r-- 1 jenkins jenkins 713 Feb 17 21:33 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:38:24.798Z] + 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=70384783b5a72194fc813c647394660ae113f8ec --label arch=arm64 --label version=3.0.0-dev.11 . [2023-02-17T21:38:24.799Z] Sending build context to Docker daemon 154.1kB [2023-02-17T21:38:25.069Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-02-17T21:38:25.069Z] Step 2/25 : FROM ${BASE} AS builder [2023-02-17T21:38:25.069Z] ---> 6c089ea19900 [2023-02-17T21:38:25.069Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-02-17T21:38:25.338Z] ---> Running in a9ffafe35173 [2023-02-17T21:38:25.606Z] Removing intermediate container a9ffafe35173 [2023-02-17T21:38:25.606Z] ---> e95e1b7bbfca [2023-02-17T21:38:25.606Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-02-17T21:38:25.606Z] ---> Running in cf67f362259b [2023-02-17T21:38:26.195Z] Removing intermediate container cf67f362259b [2023-02-17T21:38:26.195Z] ---> 6e57dd5adef6 [2023-02-17T21:38:26.195Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-02-17T21:38:26.195Z] ---> Running in e8d38da208bd [2023-02-17T21:38:26.787Z] Removing intermediate container e8d38da208bd [2023-02-17T21:38:26.787Z] ---> 7b536e241494 [2023-02-17T21:38:26.787Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-02-17T21:38:26.787Z] ---> Running in 2dc2fb7815af [2023-02-17T21:38:27.059Z] Removing intermediate container 2dc2fb7815af [2023-02-17T21:38:27.059Z] ---> 914d22adfdcd [2023-02-17T21:38:27.059Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-02-17T21:38:27.328Z] ---> Running in 3d30acac9d96 [2023-02-17T21:38:28.298Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T21:38:28.886Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T21:38:29.859Z] OK: 226 MiB in 55 packages [2023-02-17T21:38:30.831Z] Removing intermediate container 3d30acac9d96 [2023-02-17T21:38:30.831Z] ---> f22e51cbb4d9 [2023-02-17T21:38:30.831Z] Step 8/25 : WORKDIR /device-rest-go [2023-02-17T21:38:30.831Z] ---> Running in c10acafc3c3f [2023-02-17T21:38:31.425Z] Removing intermediate container c10acafc3c3f [2023-02-17T21:38:31.425Z] ---> e44c6efbb73d [2023-02-17T21:38:31.425Z] Step 9/25 : COPY go.mod vendor* ./ [2023-02-17T21:38:31.694Z] ---> c6bff36b7ceb [2023-02-17T21:38:31.694Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-02-17T21:38:31.964Z] ---> Running in 4b3f2ddfb969 [2023-02-17T21:38:35.318Z] Removing intermediate container 4b3f2ddfb969 [2023-02-17T21:38:35.318Z] ---> 3e66a0fdb32a [2023-02-17T21:38:35.318Z] Step 11/25 : COPY . . [2023-02-17T21:38:35.903Z] ---> 0b62a574aea4 [2023-02-17T21:38:35.903Z] Step 12/25 : RUN $MAKE [2023-02-17T21:38:35.903Z] ---> Running in 5763b32216b2 [2023-02-17T21:38:37.324Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.11" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-02-17T21:40:59.045Z] Removing intermediate container 5763b32216b2 [2023-02-17T21:40:59.045Z] ---> 677744b98cad [2023-02-17T21:40:59.045Z] Step 13/25 : FROM alpine:3.16 [2023-02-17T21:40:59.045Z] 3.16: Pulling from library/alpine [2023-02-17T21:40:59.045Z] 3760b48202b3: Pulling fs layer [2023-02-17T21:40:59.045Z] 3760b48202b3: Verifying Checksum [2023-02-17T21:40:59.045Z] 3760b48202b3: Download complete [2023-02-17T21:40:59.045Z] 3760b48202b3: Pull complete [2023-02-17T21:40:59.045Z] Digest: sha256:1bd67c81e4ad4b8f4a5c1c914d7985336f130e5cefb3e323654fd09d6bcdbbe2 [2023-02-17T21:40:59.045Z] Status: Downloaded newer image for alpine:3.16 [2023-02-17T21:40:59.045Z] ---> 4c81e5bf8899 [2023-02-17T21:40:59.045Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-02-17T21:40:59.045Z] ---> Running in 3a66c35df733 [2023-02-17T21:40:59.045Z] Removing intermediate container 3a66c35df733 [2023-02-17T21:40:59.045Z] ---> bee071469e5b [2023-02-17T21:40:59.045Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-02-17T21:40:59.045Z] ---> Running in 03f18859ad86 [2023-02-17T21:40:59.045Z] Removing intermediate container 03f18859ad86 [2023-02-17T21:40:59.045Z] ---> 26f5421948a9 [2023-02-17T21:40:59.045Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-02-17T21:40:59.045Z] ---> Running in 14f8b1c473ed [2023-02-17T21:40:59.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-02-17T21:40:59.045Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-02-17T21:40:59.045Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-02-17T21:40:59.045Z] Executing busybox-1.35.0-r17.trigger [2023-02-17T21:40:59.045Z] OK: 5 MiB in 15 packages [2023-02-17T21:40:59.045Z] Removing intermediate container 14f8b1c473ed [2023-02-17T21:40:59.045Z] ---> d474854b52e4 [2023-02-17T21:40:59.045Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-02-17T21:41:00.011Z] ---> c250b05d03dc [2023-02-17T21:41:00.011Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-02-17T21:41:00.599Z] ---> c41562095f7a [2023-02-17T21:41:00.599Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-02-17T21:41:01.188Z] ---> 869d424afc8e [2023-02-17T21:41:01.188Z] Step 20/25 : EXPOSE 59986 [2023-02-17T21:41:01.188Z] ---> Running in 60083bdd7cad [2023-02-17T21:41:01.459Z] Removing intermediate container 60083bdd7cad [2023-02-17T21:41:01.459Z] ---> 8adb78ff37ac [2023-02-17T21:41:01.459Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-02-17T21:41:01.459Z] ---> Running in dab96e433a55 [2023-02-17T21:41:01.726Z] Removing intermediate container dab96e433a55 [2023-02-17T21:41:01.726Z] ---> 3b1562159534 [2023-02-17T21:41:01.726Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-02-17T21:41:01.995Z] ---> Running in d1530db553af [2023-02-17T21:41:02.264Z] Removing intermediate container d1530db553af [2023-02-17T21:41:02.264Z] ---> dede0237ffe9 [2023-02-17T21:41:02.264Z] Step 23/25 : LABEL arch=arm64 [2023-02-17T21:41:02.264Z] ---> Running in 28940b69880f [2023-02-17T21:41:02.539Z] Removing intermediate container 28940b69880f [2023-02-17T21:41:02.539Z] ---> 984f949c35c0 [2023-02-17T21:41:02.539Z] Step 24/25 : LABEL git_sha=70384783b5a72194fc813c647394660ae113f8ec [2023-02-17T21:41:02.812Z] ---> Running in 7ffb90a67cea [2023-02-17T21:41:03.082Z] Removing intermediate container 7ffb90a67cea [2023-02-17T21:41:03.082Z] ---> d0bf947779ce [2023-02-17T21:41:03.082Z] Step 25/25 : LABEL version=3.0.0-dev.11 [2023-02-17T21:41:03.082Z] ---> Running in cf9bc2ac2657 [2023-02-17T21:41:03.355Z] Removing intermediate container cf9bc2ac2657 [2023-02-17T21:41:03.355Z] ---> c2a9bbf2b9a5 [2023-02-17T21:41:03.355Z] [Warning] One or more build-args [ARCH] were not consumed [2023-02-17T21:41:03.355Z] Successfully built c2a9bbf2b9a5 [2023-02-17T21:41:03.355Z] 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-17T21:41:03.462Z] provisioning config files... [2023-02-17T21:41:03.477Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/83@tmp/config5948948158021829987tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:41:03.815Z] ---> docker-login.sh [2023-02-17T21:41:03.815Z] nexus3.edgexfoundry.org:10001 [2023-02-17T21:41:03.815Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:41:04.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:41:04.083Z] Configure a credential helper to remove this warning. See [2023-02-17T21:41:04.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:41:04.083Z] [2023-02-17T21:41:04.083Z] Login Succeeded [2023-02-17T21:41:04.083Z] nexus3.edgexfoundry.org:10002 [2023-02-17T21:41:04.352Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:41:04.352Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:41:04.352Z] Configure a credential helper to remove this warning. See [2023-02-17T21:41:04.352Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:41:04.352Z] [2023-02-17T21:41:04.352Z] Login Succeeded [2023-02-17T21:41:04.352Z] nexus3.edgexfoundry.org:10003 [2023-02-17T21:41:04.620Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:41:04.889Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:41:04.889Z] Configure a credential helper to remove this warning. See [2023-02-17T21:41:04.889Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:41:04.889Z] [2023-02-17T21:41:04.889Z] Login Succeeded [2023-02-17T21:41:04.889Z] nexus3.edgexfoundry.org:10004 [2023-02-17T21:41:05.155Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:41:05.155Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:41:05.155Z] Configure a credential helper to remove this warning. See [2023-02-17T21:41:05.155Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:41:05.155Z] [2023-02-17T21:41:05.155Z] Login Succeeded [2023-02-17T21:41:05.155Z] docker.io [2023-02-17T21:41:05.421Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-02-17T21:41:05.686Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-02-17T21:41:05.686Z] Configure a credential helper to remove this warning. See [2023-02-17T21:41:05.686Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-02-17T21:41:05.686Z] [2023-02-17T21:41:05.686Z] Login Succeeded [2023-02-17T21:41:05.686Z] ---> docker-login.sh ends [Pipeline] } [2023-02-17T21:41:05.700Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-17T21:41:05.726Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-02-17T21:41:05.741Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-02-17T21:41:05.741Z] 70384783b5a72194fc813c647394660ae113f8ec [2023-02-17T21:41:05.741Z] latest [2023-02-17T21:41:05.741Z] 3.0.0-dev.11 [2023-02-17T21:41:05.741Z] 70384783b5a72194fc813c647394660ae113f8ec-3.0.0-dev.11 [2023-02-17T21:41:05.741Z] main [2023-02-17T21:41:05.741Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:41:06.082Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:70384783b5a72194fc813c647394660ae113f8ec [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:41:06.430Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:70384783b5a72194fc813c647394660ae113f8ec [2023-02-17T21:41:06.430Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-02-17T21:41:06.430Z] cdb24202436d: Preparing [2023-02-17T21:41:06.430Z] 4d6243aa3da0: Preparing [2023-02-17T21:41:06.430Z] 98250761506f: Preparing [2023-02-17T21:41:06.430Z] b5427772de36: Preparing [2023-02-17T21:41:06.430Z] f70ee36035b9: Preparing [2023-02-17T21:41:06.430Z] f70ee36035b9: Layer already exists [2023-02-17T21:41:06.700Z] 4d6243aa3da0: Pushed [2023-02-17T21:41:06.700Z] cdb24202436d: Pushed [2023-02-17T21:41:06.700Z] b5427772de36: Pushed [2023-02-17T21:41:12.061Z] 98250761506f: Pushed [2023-02-17T21:41:12.330Z] 70384783b5a72194fc813c647394660ae113f8ec: digest: sha256:cdc3ba1afe9b4928b523348a823c40735c69445c6a9f07b03a3e532cf5a03b3c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:41:12.687Z] + 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-17T21:41:13.038Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-02-17T21:41:13.038Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-02-17T21:41:13.038Z] cdb24202436d: Preparing [2023-02-17T21:41:13.038Z] 4d6243aa3da0: Preparing [2023-02-17T21:41:13.038Z] 98250761506f: Preparing [2023-02-17T21:41:13.038Z] b5427772de36: Preparing [2023-02-17T21:41:13.038Z] f70ee36035b9: Preparing [2023-02-17T21:41:13.038Z] 4d6243aa3da0: Layer already exists [2023-02-17T21:41:13.038Z] f70ee36035b9: Layer already exists [2023-02-17T21:41:13.038Z] 98250761506f: Layer already exists [2023-02-17T21:41:13.038Z] cdb24202436d: Layer already exists [2023-02-17T21:41:13.038Z] b5427772de36: Layer already exists [2023-02-17T21:41:13.306Z] latest: digest: sha256:cdc3ba1afe9b4928b523348a823c40735c69445c6a9f07b03a3e532cf5a03b3c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:41:13.654Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:41:14.004Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.11 [2023-02-17T21:41:14.004Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-02-17T21:41:14.004Z] cdb24202436d: Preparing [2023-02-17T21:41:14.004Z] 4d6243aa3da0: Preparing [2023-02-17T21:41:14.004Z] 98250761506f: Preparing [2023-02-17T21:41:14.004Z] b5427772de36: Preparing [2023-02-17T21:41:14.004Z] f70ee36035b9: Preparing [2023-02-17T21:41:14.004Z] cdb24202436d: Layer already exists [2023-02-17T21:41:14.004Z] 4d6243aa3da0: Layer already exists [2023-02-17T21:41:14.004Z] b5427772de36: Layer already exists [2023-02-17T21:41:14.004Z] f70ee36035b9: Layer already exists [2023-02-17T21:41:14.004Z] 98250761506f: Layer already exists [2023-02-17T21:41:14.275Z] 3.0.0-dev.11: digest: sha256:cdc3ba1afe9b4928b523348a823c40735c69445c6a9f07b03a3e532cf5a03b3c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:41:14.701Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:70384783b5a72194fc813c647394660ae113f8ec-3.0.0-dev.11 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:41:15.060Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:70384783b5a72194fc813c647394660ae113f8ec-3.0.0-dev.11 [2023-02-17T21:41:15.060Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-02-17T21:41:15.061Z] cdb24202436d: Preparing [2023-02-17T21:41:15.061Z] 4d6243aa3da0: Preparing [2023-02-17T21:41:15.061Z] 98250761506f: Preparing [2023-02-17T21:41:15.061Z] b5427772de36: Preparing [2023-02-17T21:41:15.061Z] f70ee36035b9: Preparing [2023-02-17T21:41:15.061Z] cdb24202436d: Layer already exists [2023-02-17T21:41:15.061Z] f70ee36035b9: Layer already exists [2023-02-17T21:41:15.061Z] 4d6243aa3da0: Layer already exists [2023-02-17T21:41:15.061Z] 98250761506f: Layer already exists [2023-02-17T21:41:15.061Z] b5427772de36: Layer already exists [2023-02-17T21:41:15.338Z] 70384783b5a72194fc813c647394660ae113f8ec-3.0.0-dev.11: digest: sha256:cdc3ba1afe9b4928b523348a823c40735c69445c6a9f07b03a3e532cf5a03b3c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:41:15.713Z] + 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-17T21:41:16.099Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-02-17T21:41:16.099Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-02-17T21:41:16.099Z] cdb24202436d: Preparing [2023-02-17T21:41:16.099Z] 4d6243aa3da0: Preparing [2023-02-17T21:41:16.099Z] 98250761506f: Preparing [2023-02-17T21:41:16.099Z] b5427772de36: Preparing [2023-02-17T21:41:16.099Z] f70ee36035b9: Preparing [2023-02-17T21:41:16.099Z] cdb24202436d: Layer already exists [2023-02-17T21:41:16.099Z] b5427772de36: Layer already exists [2023-02-17T21:41:16.099Z] 98250761506f: Layer already exists [2023-02-17T21:41:16.099Z] 4d6243aa3da0: Layer already exists [2023-02-17T21:41:16.099Z] f70ee36035b9: Layer already exists [2023-02-17T21:41:16.704Z] main: digest: sha256:cdc3ba1afe9b4928b523348a823c40735c69445c6a9f07b03a3e532cf5a03b3c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-02-17T21:41:16.753Z] ===================================================== [Pipeline] echo [2023-02-17T21:41:16.761Z] taggedImages: [2023-02-17T21:41:16.761Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:70384783b5a72194fc813c647394660ae113f8ec [2023-02-17T21:41:16.761Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-02-17T21:41:16.761Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.11 [2023-02-17T21:41:16.761Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:70384783b5a72194fc813c647394660ae113f8ec-3.0.0-dev.11 [2023-02-17T21:41:16.761Z] - 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-17T21:41:17.132Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T21:41:17.132Z] [2023-02-17T21:41:17.132Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:41:17.479Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T21:41:17.479Z] arm64: Pulling from edgex-lftools-log-publisher [2023-02-17T21:41:17.479Z] 8998bd30e6a1: Pulling fs layer [2023-02-17T21:41:17.479Z] 04944245beec: Pulling fs layer [2023-02-17T21:41:17.479Z] 699f458cf7ca: Pulling fs layer [2023-02-17T21:41:17.479Z] 765212b225bb: Pulling fs layer [2023-02-17T21:41:17.479Z] f23df028b6ca: Pulling fs layer [2023-02-17T21:41:17.479Z] d65c8cfc05b1: Pulling fs layer [2023-02-17T21:41:17.479Z] 2437ff75d9bd: Pulling fs layer [2023-02-17T21:41:17.479Z] 765212b225bb: Waiting [2023-02-17T21:41:17.479Z] f23df028b6ca: Waiting [2023-02-17T21:41:17.479Z] d65c8cfc05b1: Waiting [2023-02-17T21:41:17.479Z] 2437ff75d9bd: Waiting [2023-02-17T21:41:17.750Z] 04944245beec: Verifying Checksum [2023-02-17T21:41:17.750Z] 04944245beec: Download complete [2023-02-17T21:41:17.750Z] 765212b225bb: Verifying Checksum [2023-02-17T21:41:17.750Z] 765212b225bb: Download complete [2023-02-17T21:41:17.750Z] f23df028b6ca: Download complete [2023-02-17T21:41:17.750Z] d65c8cfc05b1: Verifying Checksum [2023-02-17T21:41:17.750Z] d65c8cfc05b1: Download complete [2023-02-17T21:41:18.022Z] 699f458cf7ca: Verifying Checksum [2023-02-17T21:41:18.022Z] 699f458cf7ca: Download complete [2023-02-17T21:41:18.291Z] 8998bd30e6a1: Download complete [2023-02-17T21:41:20.878Z] 2437ff75d9bd: Verifying Checksum [2023-02-17T21:41:20.878Z] 2437ff75d9bd: Download complete [2023-02-17T21:41:22.302Z] 8998bd30e6a1: Pull complete [2023-02-17T21:41:22.888Z] 04944245beec: Pull complete [2023-02-17T21:41:24.303Z] 699f458cf7ca: Pull complete [2023-02-17T21:41:24.572Z] 765212b225bb: Pull complete [2023-02-17T21:41:25.534Z] f23df028b6ca: Pull complete [2023-02-17T21:41:25.534Z] d65c8cfc05b1: Pull complete [2023-02-17T21:41:40.541Z] 2437ff75d9bd: Pull complete [2023-02-17T21:41:40.541Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-02-17T21:41:40.541Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-02-17T21:41:40.541Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T21:41:40.740Z] prd-ubuntu20.04-docker-arm64-4c-16g-6500 does not seem to be running inside a container [2023-02-17T21:41:40.823Z] $ 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/83 -v /w/workspace/device-rest-go/83:/w/workspace/device-rest-go/83:rw,z -v /w/workspace/device-rest-go/83@tmp:/w/workspace/device-rest-go/83@tmp:rw,z -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** -e ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 cat [2023-02-17T21:41:44.839Z] $ docker top 2a167ec3444c13c636692cd94f223b8433aafb7ec0cd8f9fb79234aae0b037c6 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:41:45.703Z] ---> job-cost.sh [2023-02-17T21:41:45.703Z] lf-activate-venv: SKIPPING [2023-02-17T21:41:45.703Z] INFO: No Stack... [2023-02-17T21:41:46.289Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-02-17T21:41:46.874Z] INFO: Archiving Costs [Pipeline] sh [2023-02-17T21:41:47.521Z] + cat /w/workspace/device-rest-go/83/archives/cost.csv [2023-02-17T21:41:47.521Z] + cut -d, -f6 [Pipeline] lock [2023-02-17T21:41:47.595Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-83-stack-cost] [2023-02-17T21:41:47.602Z] Resource [jenkins-edgexfoundry-device-rest-go-main-83-stack-cost] did not exist. Created. [2023-02-17T21:41:47.602Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-83-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-02-17T21:41:48.270Z] /w/workspace/device-rest-go/83@tmp/durable-a11983f0/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-02-17T21:41:48.949Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-02-17T21:41:48.967Z] Warning: overwriting stash ‘stack-cost’ [2023-02-17T21:41:49.019Z] Stashed 1 file(s) [Pipeline] } [2023-02-17T21:41:49.026Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-83-stack-cost] [Pipeline] // lock [Pipeline] } [2023-02-17T21:41:49.051Z] $ docker stop --time=1 2a167ec3444c13c636692cd94f223b8433aafb7ec0cd8f9fb79234aae0b037c6 [2023-02-17T21:41:50.609Z] $ docker rm -f --volumes 2a167ec3444c13c636692cd94f223b8433aafb7ec0cd8f9fb79234aae0b037c6 [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-17T21:41:51.029Z] provisioning config files... [2023-02-17T21:41:51.035Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4612065475132629650tmp [Pipeline] { [Pipeline] sh [2023-02-17T21:41:51.323Z] + set +x [2023-02-17T21:41:51.324Z] + + curlbash -s -s https://codecov.io/bash -- [2023-02-17T21:41:51.324Z] [2023-02-17T21:41:51.324Z] [2023-02-17T21:41:51.324Z] _____ _ [2023-02-17T21:41:51.324Z] / ____| | | [2023-02-17T21:41:51.324Z] | | ___ __| | ___ ___ _____ __ [2023-02-17T21:41:51.324Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-02-17T21:41:51.324Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-02-17T21:41:51.324Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-02-17T21:41:51.324Z] Bash-1.0.6 [2023-02-17T21:41:51.324Z] [2023-02-17T21:41:51.324Z] [2023-02-17T21:41:51.324Z] ==> git version 2.25.1 found [2023-02-17T21:41:51.324Z] ==> 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-17T21:41:51.324Z] Release-Date: 2020-01-08 [2023-02-17T21:41:51.324Z] 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-17T21:41:51.324Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-02-17T21:41:51.324Z] ==> Jenkins CI detected. [2023-02-17T21:41:51.324Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-02-17T21:41:51.324Z] project root: . [2023-02-17T21:41:51.324Z] --> token set from env [2023-02-17T21:41:51.324Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-02-17T21:41:51.324Z] ==> Running gcov in . (disable via -X gcov) [2023-02-17T21:41:51.324Z] ==> Python coveragepy not found [2023-02-17T21:41:51.324Z] ==> Searching for coverage reports in: [2023-02-17T21:41:51.324Z] + . [2023-02-17T21:41:51.583Z] -> Found 1 reports [2023-02-17T21:41:51.583Z] ==> Detecting git/mercurial file structure [2023-02-17T21:41:51.583Z] ==> Reading reports [2023-02-17T21:41:51.583Z] + ./coverage.out bytes=13744 [2023-02-17T21:41:51.583Z] ==> Appending adjustments [2023-02-17T21:41:51.583Z] https://docs.codecov.io/docs/fixing-reports [2023-02-17T21:41:51.583Z] + Found adjustments [2023-02-17T21:41:51.583Z] ==> Gzipping contents [2023-02-17T21:41:51.583Z] 4.0K /tmp/codecov.FwLgba.gz [2023-02-17T21:41:51.583Z] ==> Uploading reports [2023-02-17T21:41:51.583Z] url: https://codecov.io [2023-02-17T21:41:51.583Z] query: branch=main&commit=70384783b5a72194fc813c647394660ae113f8ec&build=83&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F83%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-02-17T21:41:51.583Z] -> Pinging Codecov [2023-02-17T21:41:51.583Z] 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=70384783b5a72194fc813c647394660ae113f8ec&build=83&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F83%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-02-17T21:41:51.583Z] -> Uploading to [2023-02-17T21:41:51.583Z] https://storage.googleapis.com/codecov/v4/raw/2023-02-17/4E5D53B4F1F92C436F7061BF334D961C/70384783b5a72194fc813c647394660ae113f8ec/bd85df6f-a00c-466f-be9b-4c136343bc7a.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230217%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230217T214151Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=362b2623eb68d41fd626455bf361940b850f01b21b49a7883c3be653c6c24496 [2023-02-17T21:41:51.842Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-02-17T21:41:51.842Z] Dload Upload Total Spent Left Speed [2023-02-17T21:41:51.842Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2443 0 0 100 2443 0 10136 --:--:-- --:--:-- --:--:-- 10136 [2023-02-17T21:41:51.842Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/70384783b5a72194fc813c647394660ae113f8ec [Pipeline] } [2023-02-17T21:41:51.850Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-02-17T21:41:52.030Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-02-17T21:41:52.040Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:41:52.330Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-17T21:41:52.330Z] [2023-02-17T21:41:52.330Z] 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-17T21:41:52.622Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-17T21:41:52.622Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-02-17T21:41:52.623Z] df9b9388f04a: Pulling fs layer [2023-02-17T21:41:52.623Z] 52dc419b0ee2: Pulling fs layer [2023-02-17T21:41:52.623Z] 25bc292e5bac: Pulling fs layer [2023-02-17T21:41:52.623Z] 114826534d7a: Pulling fs layer [2023-02-17T21:41:52.623Z] 4657fd5d0bcf: Pulling fs layer [2023-02-17T21:41:52.623Z] 6ad1cebc031e: Pulling fs layer [2023-02-17T21:41:52.623Z] 8a3aa393b2d8: Pulling fs layer [2023-02-17T21:41:52.623Z] 4657fd5d0bcf: Waiting [2023-02-17T21:41:52.623Z] 114826534d7a: Waiting [2023-02-17T21:41:52.623Z] 6ad1cebc031e: Waiting [2023-02-17T21:41:52.623Z] 8a3aa393b2d8: Waiting [2023-02-17T21:41:52.886Z] 25bc292e5bac: Verifying Checksum [2023-02-17T21:41:52.886Z] 25bc292e5bac: Download complete [2023-02-17T21:41:52.886Z] 52dc419b0ee2: Verifying Checksum [2023-02-17T21:41:52.886Z] 52dc419b0ee2: Download complete [2023-02-17T21:41:52.886Z] 4657fd5d0bcf: Verifying Checksum [2023-02-17T21:41:52.886Z] 4657fd5d0bcf: Download complete [2023-02-17T21:41:52.886Z] df9b9388f04a: Download complete [2023-02-17T21:41:53.151Z] df9b9388f04a: Pull complete [2023-02-17T21:41:53.151Z] 52dc419b0ee2: Pull complete [2023-02-17T21:41:53.151Z] 6ad1cebc031e: Download complete [2023-02-17T21:41:53.151Z] 25bc292e5bac: Pull complete [2023-02-17T21:41:53.741Z] 114826534d7a: Download complete [2023-02-17T21:41:54.309Z] 8a3aa393b2d8: Verifying Checksum [2023-02-17T21:41:54.309Z] 8a3aa393b2d8: Download complete [2023-02-17T21:41:56.838Z] 114826534d7a: Pull complete [2023-02-17T21:41:56.838Z] 4657fd5d0bcf: Pull complete [2023-02-17T21:41:57.403Z] 6ad1cebc031e: Pull complete [2023-02-17T21:41:59.930Z] 8a3aa393b2d8: Pull complete [2023-02-17T21:41:59.930Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-02-17T21:41:59.930Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-02-17T21:41:59.930Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T21:42:00.004Z] prd-ubuntu20.04-docker-8c-8g-6499 does not seem to be running inside a container [2023-02-17T21:42:00.034Z] $ 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-17T21:42:01.942Z] $ docker top 48a82f21fd18c43a09b15c7cd34839d2bb0819cb9f087463cbcb08a84e4c3122 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-02-17T21:42:02.002Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-02-17T21:42:02.280Z] + set -o pipefail [2023-02-17T21:42:02.280Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-02-17T21:42:08.855Z] [2023-02-17T21:42:08.855Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-02-17T21:42:08.855Z] [2023-02-17T21:42:08.855Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/023187d3-5f96-4000-86bd-cce7fcb3c361 [2023-02-17T21:42:08.855Z] [2023-02-17T21:42:08.855Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-02-17T21:42:08.855Z] [2023-02-17T21:42:08.855Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-02-17T21:42:08.855Z] [2023-02-17T21:42:08.855Z] [2023-02-17T21:42:08.855Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-02-17T21:42:08.855Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-02-17T21:42:08.855Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-02-17T21:42:08.863Z] $ docker stop --time=1 48a82f21fd18c43a09b15c7cd34839d2bb0819cb9f087463cbcb08a84e4c3122 [2023-02-17T21:42:10.942Z] $ docker rm -f --volumes 48a82f21fd18c43a09b15c7cd34839d2bb0819cb9f087463cbcb08a84e4c3122 [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-17T21:42:11.622Z] + git log --format=format:%s -1 70384783b5a72194fc813c647394660ae113f8ec [Pipeline] sh [2023-02-17T21:42:11.917Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-17T21:42:11.917Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:42:12.228Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T21:42:12.228Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T21:42:12.301Z] prd-ubuntu20.04-docker-8c-8g-6499 does not seem to be running inside a container [2023-02-17T21:42:12.331Z] $ 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-17T21:42:12.675Z] $ docker top ebbb571ae408bc9925c7e17bbd583ab1cf39a37abcef424719274a2491d8d65c -eo pid,comm [2023-02-17T21:42:12.722Z] 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-17T21:42:12.722Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-17T21:42:12.756Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T21:42:12.756Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T21:42:12.868Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T21:42:12.866Z] $ docker exec ebbb571ae408bc9925c7e17bbd583ab1cf39a37abcef424719274a2491d8d65c ssh-agent [2023-02-17T21:42:12.981Z] SSH_AUTH_SOCK=/tmp/ssh-SIp8FW8TFDHo/agent.33 [2023-02-17T21:42:12.981Z] SSH_AGENT_PID=39 [2023-02-17T21:42:12.986Z] Running ssh-add (command line suppressed) [2023-02-17T21:42:13.103Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_333179659392453110.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_333179659392453110.key) [2023-02-17T21:42:13.119Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T21:42:13.407Z] + git semver tag [2023-02-17T21:42:13.668Z] 2023-02-17 21:42:13,584 [run_tag] DEBUG tag force:False [2023-02-17T21:42:13.668Z] 2023-02-17 21:42:13,584 [check_head_tag] DEBUG check head tag [2023-02-17T21:42:13.668Z] 2023-02-17 21:42:13,585 [execute] INFO git cat-file --batch-check [2023-02-17T21:42:13.668Z] 2023-02-17 21:42:13,585 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-02-17T21:42:13.668Z] 2023-02-17 21:42:13,589 [execute] INFO git cat-file --batch [2023-02-17T21:42:13.668Z] 2023-02-17 21:42:13,589 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-02-17T21:42:13.668Z] 2023-02-17 21:42:13,606 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-17T21:42:13.668Z] 2023-02-17 21:42:13,606 [execute] INFO git tag -a v3.0.0-dev.11 -m v3.0.0-dev.11 [2023-02-17T21:42:13.668Z] 2023-02-17 21:42:13,607 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.11', '-m', 'v3.0.0-dev.11'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-02-17T21:42:13.668Z] 2023-02-17 21:42:13,611 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-17T21:42:13.668Z] 3.0.0-dev.11 [Pipeline] } [2023-02-17T21:42:13.673Z] $ docker exec --env ******** --env ******** ebbb571ae408bc9925c7e17bbd583ab1cf39a37abcef424719274a2491d8d65c ssh-agent -k [2023-02-17T21:42:13.768Z] unset SSH_AUTH_SOCK; [2023-02-17T21:42:13.768Z] unset SSH_AGENT_PID; [2023-02-17T21:42:13.768Z] echo Agent pid 39 killed; [2023-02-17T21:42:13.782Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-17T21:42:14.090Z] + git semver [Pipeline] } [2023-02-17T21:42:14.358Z] $ docker stop --time=1 ebbb571ae408bc9925c7e17bbd583ab1cf39a37abcef424719274a2491d8d65c [2023-02-17T21:42:15.682Z] $ docker rm -f --volumes ebbb571ae408bc9925c7e17bbd583ab1cf39a37abcef424719274a2491d8d65c [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:42:16.067Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-17T21:42:16.067Z] [2023-02-17T21:42:16.067Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:42:16.376Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-17T21:42:16.376Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-02-17T21:42:16.376Z] ab5ef0e58194: Pulling fs layer [2023-02-17T21:42:16.376Z] 9712f1f96733: Pulling fs layer [2023-02-17T21:42:16.376Z] 63f879dbbcfc: Pulling fs layer [2023-02-17T21:42:16.376Z] 0d9ebad4ef96: Pulling fs layer [2023-02-17T21:42:16.376Z] e9a5061849ea: Pulling fs layer [2023-02-17T21:42:16.376Z] d747dcd14b5f: Pulling fs layer [2023-02-17T21:42:16.376Z] 2de7ff778b66: Pulling fs layer [2023-02-17T21:42:16.376Z] 0d9ebad4ef96: Waiting [2023-02-17T21:42:16.376Z] e9a5061849ea: Waiting [2023-02-17T21:42:16.376Z] d747dcd14b5f: Waiting [2023-02-17T21:42:16.376Z] 2de7ff778b66: Waiting [2023-02-17T21:42:16.376Z] 9712f1f96733: Verifying Checksum [2023-02-17T21:42:16.376Z] 9712f1f96733: Download complete [2023-02-17T21:42:16.977Z] 0d9ebad4ef96: Verifying Checksum [2023-02-17T21:42:16.977Z] 0d9ebad4ef96: Download complete [2023-02-17T21:42:17.258Z] e9a5061849ea: Verifying Checksum [2023-02-17T21:42:17.258Z] e9a5061849ea: Download complete [2023-02-17T21:42:17.258Z] d747dcd14b5f: Verifying Checksum [2023-02-17T21:42:17.258Z] d747dcd14b5f: Download complete [2023-02-17T21:42:17.524Z] 63f879dbbcfc: Verifying Checksum [2023-02-17T21:42:17.524Z] 63f879dbbcfc: Download complete [2023-02-17T21:42:17.524Z] 2de7ff778b66: Verifying Checksum [2023-02-17T21:42:17.524Z] 2de7ff778b66: Download complete [2023-02-17T21:42:17.524Z] ab5ef0e58194: Download complete [2023-02-17T21:42:20.813Z] ab5ef0e58194: Pull complete [2023-02-17T21:42:20.813Z] 9712f1f96733: Pull complete [2023-02-17T21:42:21.071Z] 63f879dbbcfc: Pull complete [2023-02-17T21:42:24.349Z] 0d9ebad4ef96: Pull complete [2023-02-17T21:42:24.349Z] e9a5061849ea: Pull complete [2023-02-17T21:42:24.349Z] d747dcd14b5f: Pull complete [2023-02-17T21:42:25.285Z] 2de7ff778b66: Pull complete [2023-02-17T21:42:25.285Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-02-17T21:42:25.285Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-02-17T21:42:25.285Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T21:42:25.367Z] prd-ubuntu20.04-docker-8c-8g-6499 does not seem to be running inside a container [2023-02-17T21:42:25.393Z] $ 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-17T21:42:27.493Z] $ docker top 0d7347be8ecd9d49c3a9dd1f053294bccff504a48e27003d0b61b21bb983d5e5 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-02-17T21:42:27.569Z] provisioning config files... [2023-02-17T21:42:27.575Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17480990413790667175tmp [2023-02-17T21:42:27.584Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config5617269124143047101tmp [2023-02-17T21:42:27.593Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4090560527538486208tmp [Pipeline] { [Pipeline] echo [2023-02-17T21:42:27.609Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:42:27.890Z] ---> sigul-configuration.sh [2023-02-17T21:42:27.890Z] gpg: directory `/root/.gnupg' created [2023-02-17T21:42:27.890Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-02-17T21:42:27.890Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-02-17T21:42:27.890Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-02-17T21:42:27.890Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-02-17T21:42:27.890Z] gpg: CAST5 encrypted data [2023-02-17T21:42:27.890Z] gpg: encrypted with 1 passphrase [2023-02-17T21:42:27.890Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-02-17T21:42:28.174Z] + mkdir /home/jenkins [2023-02-17T21:42:28.174Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-02-17T21:42:28.458Z] + 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-17T21:42:28.467Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:42:28.751Z] ---> sigul-install.sh [2023-02-17T21:42:28.751Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-02-17T21:42:29.037Z] + git tag --list [2023-02-17T21:42:29.037Z] v1.0.0 [2023-02-17T21:42:29.037Z] v1.1.0 [2023-02-17T21:42:29.037Z] v1.1.1 [2023-02-17T21:42:29.037Z] v1.1.2 [2023-02-17T21:42:29.037Z] v1.2.0 [2023-02-17T21:42:29.037Z] v1.2.1 [2023-02-17T21:42:29.037Z] v2.0.0 [2023-02-17T21:42:29.037Z] v2.1.0 [2023-02-17T21:42:29.037Z] v2.1.1 [2023-02-17T21:42:29.037Z] v2.1.1-dev.1 [2023-02-17T21:42:29.037Z] v2.1.1-dev.2 [2023-02-17T21:42:29.037Z] v2.1.1-dev.3 [2023-02-17T21:42:29.037Z] v2.2.0 [2023-02-17T21:42:29.037Z] v2.2.1-dev.1 [2023-02-17T21:42:29.037Z] v2.2.1-dev.2 [2023-02-17T21:42:29.037Z] v2.2.1-dev.3 [2023-02-17T21:42:29.037Z] v2.2.1-dev.4 [2023-02-17T21:42:29.037Z] v2.2.1-dev.5 [2023-02-17T21:42:29.037Z] v2.2.1-dev.6 [2023-02-17T21:42:29.037Z] v2.2.1-dev.7 [2023-02-17T21:42:29.037Z] v2.2.1-dev.8 [2023-02-17T21:42:29.037Z] v2.2.1-dev.9 [2023-02-17T21:42:29.037Z] v2.3.0 [2023-02-17T21:42:29.037Z] v2.3.0-dev.10 [2023-02-17T21:42:29.037Z] v2.3.0-dev.11 [2023-02-17T21:42:29.037Z] v2.3.0-dev.12 [2023-02-17T21:42:29.037Z] v2.3.0-dev.13 [2023-02-17T21:42:29.037Z] v2.3.0-dev.14 [2023-02-17T21:42:29.037Z] v2.3.0-dev.15 [2023-02-17T21:42:29.037Z] v2.3.0-dev.16 [2023-02-17T21:42:29.037Z] v2.3.0-dev.17 [2023-02-17T21:42:29.037Z] v2.3.0-dev.18 [2023-02-17T21:42:29.037Z] v2.3.0-dev.19 [2023-02-17T21:42:29.037Z] v2.3.0-dev.20 [2023-02-17T21:42:29.037Z] v2.3.0-dev.21 [2023-02-17T21:42:29.037Z] v2.3.0-dev.22 [2023-02-17T21:42:29.037Z] v2.3.0-dev.23 [2023-02-17T21:42:29.037Z] v2.3.0-dev.24 [2023-02-17T21:42:29.037Z] v2.3.0-dev.25 [2023-02-17T21:42:29.037Z] v2.3.0-dev.9 [2023-02-17T21:42:29.037Z] v3.0.0-dev.1 [2023-02-17T21:42:29.037Z] v3.0.0-dev.10 [2023-02-17T21:42:29.037Z] v3.0.0-dev.11 [2023-02-17T21:42:29.037Z] v3.0.0-dev.2 [2023-02-17T21:42:29.037Z] v3.0.0-dev.3 [2023-02-17T21:42:29.037Z] v3.0.0-dev.4 [2023-02-17T21:42:29.037Z] v3.0.0-dev.5 [2023-02-17T21:42:29.037Z] v3.0.0-dev.6 [2023-02-17T21:42:29.037Z] v3.0.0-dev.7 [2023-02-17T21:42:29.037Z] v3.0.0-dev.8 [2023-02-17T21:42:29.037Z] v3.0.0-dev.9 [Pipeline] sh [2023-02-17T21:42:29.328Z] + lftools sign git-tag v3.0.0-dev.11 [2023-02-17T21:42:29.895Z] Signing Git tag with Sigul... [2023-02-17T21:42:29.895Z] Signing v3.0.0-dev.11 [Pipeline] echo [2023-02-17T21:42:30.162Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:42:30.451Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-02-17T21:42:30.459Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-02-17T21:42:30.475Z] $ docker stop --time=1 0d7347be8ecd9d49c3a9dd1f053294bccff504a48e27003d0b61b21bb983d5e5 [2023-02-17T21:42:31.796Z] $ docker rm -f --volumes 0d7347be8ecd9d49c3a9dd1f053294bccff504a48e27003d0b61b21bb983d5e5 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-02-17T21:42:32.219Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-17T21:42:32.219Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:42:32.516Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T21:42:32.516Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T21:42:32.582Z] prd-ubuntu20.04-docker-8c-8g-6499 does not seem to be running inside a container [2023-02-17T21:42:32.607Z] $ 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-17T21:42:32.968Z] $ docker top 9d61747484cc2684dae2d13acf194242a6281ecaf8639e711dca11e2ef7947c4 -eo pid,comm [2023-02-17T21:42:33.013Z] 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-17T21:42:33.014Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-17T21:42:33.061Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T21:42:33.061Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T21:42:33.174Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T21:42:33.173Z] $ docker exec 9d61747484cc2684dae2d13acf194242a6281ecaf8639e711dca11e2ef7947c4 ssh-agent [2023-02-17T21:42:33.290Z] SSH_AUTH_SOCK=/tmp/ssh-5vnGNUBnAJw7/agent.32 [2023-02-17T21:42:33.290Z] SSH_AGENT_PID=38 [2023-02-17T21:42:33.294Z] Running ssh-add (command line suppressed) [2023-02-17T21:42:33.381Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14165689719132670517.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14165689719132670517.key) [2023-02-17T21:42:33.398Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T21:42:33.681Z] + git semver bump pre [2023-02-17T21:42:33.940Z] 2023-02-17 21:42:33,847 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-17T21:42:33.940Z] 2023-02-17 21:42:33,847 [bump_version] DEBUG bumping version:3.0.0-dev.11 on axis:pre with prefix:dev [2023-02-17T21:42:33.940Z] 2023-02-17 21:42:33,847 [bump_version] DEBUG bumped version:3.0.0-dev.12 [2023-02-17T21:42:33.940Z] 2023-02-17 21:42:33,847 [write_version] DEBUG write version:3.0.0-dev.12 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-02-17T21:42:33.940Z] 2023-02-17 21:42:33,847 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-17T21:42:33.940Z] 2023-02-17 21:42:33,847 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-17T21:42:33.940Z] 2023-02-17 21:42:33,849 [execute] INFO git cat-file --batch-check [2023-02-17T21:42:33.940Z] 2023-02-17 21:42:33,850 [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-17T21:42:33.940Z] 2023-02-17 21:42:33,855 [execute] INFO git cat-file --batch [2023-02-17T21:42:33.940Z] 2023-02-17 21:42:33,856 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-02-17T21:42:33.940Z] 2023-02-17 21:42:33,861 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-17T21:42:33.941Z] 3.0.0-dev.12 [Pipeline] } [2023-02-17T21:42:33.945Z] $ docker exec --env ******** --env ******** 9d61747484cc2684dae2d13acf194242a6281ecaf8639e711dca11e2ef7947c4 ssh-agent -k [2023-02-17T21:42:34.037Z] unset SSH_AUTH_SOCK; [2023-02-17T21:42:34.037Z] unset SSH_AGENT_PID; [2023-02-17T21:42:34.037Z] echo Agent pid 38 killed; [2023-02-17T21:42:34.050Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-17T21:42:34.354Z] + git semver [Pipeline] } [2023-02-17T21:42:34.620Z] $ docker stop --time=1 9d61747484cc2684dae2d13acf194242a6281ecaf8639e711dca11e2ef7947c4 [2023-02-17T21:42:35.911Z] $ docker rm -f --volumes 9d61747484cc2684dae2d13acf194242a6281ecaf8639e711dca11e2ef7947c4 [Pipeline] // withDockerContainer [Pipeline] sh [2023-02-17T21:42:36.240Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-02-17T21:42:36.241Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:42:36.534Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-02-17T21:42:36.534Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T21:42:36.595Z] prd-ubuntu20.04-docker-8c-8g-6499 does not seem to be running inside a container [2023-02-17T21:42:36.615Z] $ 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-17T21:42:36.958Z] $ docker top 193da060f20f0b36e1d3d912978746f5f1200156e64a8681aac9b3dbf59ec559 -eo pid,comm [2023-02-17T21:42:37.004Z] 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-17T21:42:37.004Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-02-17T21:42:37.045Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-02-17T21:42:37.045Z] [ssh-agent] Looking for ssh-agent implementation... [2023-02-17T21:42:37.156Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-02-17T21:42:37.155Z] $ docker exec 193da060f20f0b36e1d3d912978746f5f1200156e64a8681aac9b3dbf59ec559 ssh-agent [2023-02-17T21:42:37.267Z] SSH_AUTH_SOCK=/tmp/ssh-8hleTyPnPfds/agent.32 [2023-02-17T21:42:37.267Z] SSH_AGENT_PID=38 [2023-02-17T21:42:37.274Z] Running ssh-add (command line suppressed) [2023-02-17T21:42:37.380Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1637570011784604995.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1637570011784604995.key) [2023-02-17T21:42:37.394Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-02-17T21:42:37.675Z] + git semver push [2023-02-17T21:42:37.933Z] 2023-02-17 21:42:37,839 [run_push] DEBUG push [2023-02-17T21:42:37.933Z] 2023-02-17 21:42:37,840 [execute] INFO git cat-file --batch-check [2023-02-17T21:42:37.933Z] 2023-02-17 21:42:37,840 [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-17T21:42:37.933Z] 2023-02-17 21:42:37,844 [execute] INFO git rev-list 261461c9612df4623051e82b87d28540fc57c5df -- [2023-02-17T21:42:37.933Z] 2023-02-17 21:42:37,844 [execute] DEBUG Popen(['git', 'rev-list', '261461c9612df4623051e82b87d28540fc57c5df', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-02-17T21:42:37.933Z] 2023-02-17 21:42:37,852 [execute] INFO git fetch -v origin [2023-02-17T21:42:37.933Z] 2023-02-17 21:42:37,852 [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-17T21:42:38.500Z] 2023-02-17 21:42:38,453 [run_push] DEBUG no remote changes detected [2023-02-17T21:42:38.500Z] 2023-02-17 21:42:38,454 [execute] INFO git push origin semver [2023-02-17T21:42:38.500Z] 2023-02-17 21:42:38,454 [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-17T21:42:39.437Z] 2023-02-17 21:42:39,238 [run_push] DEBUG push all version tags [2023-02-17T21:42:39.437Z] 2023-02-17 21:42:39,239 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-02-17T21:42:39.437Z] 2023-02-17 21:42:39,239 [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-17T21:42:40.005Z] 2023-02-17 21:42:39,990 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-02-17T21:42:40.005Z] 3.0.0-dev.12 [Pipeline] } [2023-02-17T21:42:40.268Z] $ docker exec --env ******** --env ******** 193da060f20f0b36e1d3d912978746f5f1200156e64a8681aac9b3dbf59ec559 ssh-agent -k [2023-02-17T21:42:40.362Z] unset SSH_AUTH_SOCK; [2023-02-17T21:42:40.363Z] unset SSH_AGENT_PID; [2023-02-17T21:42:40.363Z] echo Agent pid 38 killed; [2023-02-17T21:42:40.375Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-02-17T21:42:40.669Z] + git semver [Pipeline] } [2023-02-17T21:42:40.934Z] $ docker stop --time=1 193da060f20f0b36e1d3d912978746f5f1200156e64a8681aac9b3dbf59ec559 [2023-02-17T21:42:42.235Z] $ docker rm -f --volumes 193da060f20f0b36e1d3d912978746f5f1200156e64a8681aac9b3dbf59ec559 [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-17T21:42:42.804Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-02-17T21:42:42.804Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-02-17T21:42:42.804Z] total 16 [2023-02-17T21:42:42.804Z] drwxr-xr-x 3 root root 4096 Feb 17 21:33 . [2023-02-17T21:42:42.804Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 17 21:42 .. [2023-02-17T21:42:42.804Z] drwxr-xr-x 2 root root 4096 Feb 17 21:33 cost [2023-02-17T21:42:42.804Z] -rw-r--r-- 1 root root 85 Feb 17 21:33 cost.csv [2023-02-17T21:42:42.804Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-02-17T21:42:42.804Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-02-17T21:42:42.804Z] total 16 [2023-02-17T21:42:42.804Z] drwxr-xr-x 3 jenkins jenkins 4096 Feb 17 21:33 . [2023-02-17T21:42:42.804Z] drwxrwxr-x 10 jenkins jenkins 4096 Feb 17 21:42 .. [2023-02-17T21:42:42.804Z] drwxr-xr-x 2 jenkins jenkins 4096 Feb 17 21:33 cost [2023-02-17T21:42:42.804Z] -rw-r--r-- 1 jenkins jenkins 85 Feb 17 21:33 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:42:43.096Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:42:43.953Z] ---> package-listing.sh [2023-02-17T21:42:43.953Z] ++ facter osfamily [2023-02-17T21:42:43.953Z] ++ tr '[:upper:]' '[:lower:]' [2023-02-17T21:42:44.212Z] + OS_FAMILY=debian [2023-02-17T21:42:44.212Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-02-17T21:42:44.212Z] + START_PACKAGES=/tmp/packages_start.txt [2023-02-17T21:42:44.212Z] + END_PACKAGES=/tmp/packages_end.txt [2023-02-17T21:42:44.212Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-02-17T21:42:44.212Z] + PACKAGES=/tmp/packages_start.txt [2023-02-17T21:42:44.212Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-02-17T21:42:44.212Z] + PACKAGES=/tmp/packages_end.txt [2023-02-17T21:42:44.212Z] + case "${OS_FAMILY}" in [2023-02-17T21:42:44.212Z] + dpkg -l [2023-02-17T21:42:44.212Z] + grep '^ii' [2023-02-17T21:42:44.212Z] + '[' -f /tmp/packages_start.txt ']' [2023-02-17T21:42:44.212Z] + '[' -f /tmp/packages_end.txt ']' [2023-02-17T21:42:44.212Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-02-17T21:42:44.212Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-02-17T21:42:44.212Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-02-17T21:42:44.212Z] + 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-17T21:42:44.223Z] 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-17T21:42:44.497Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-02-17T21:42:45.049Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-02-17T21:42:45.049Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-02-17T21:42:45.116Z] prd-ubuntu20.04-docker-8c-8g-6499 does not seem to be running inside a container [2023-02-17T21:42:45.217Z] $ 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-17T21:42:45.442Z] $ docker top f4a1cd392d88f695827ff2a10c3f4f0432f9f3d5844f272c2fcebfd697824b6e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-02-17T21:42:45.833Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-02-17T21:42:46.116Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-02-17T21:42:46.402Z] + ls /var/log/sa-host [2023-02-17T21:42:46.402Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-02-17T21:42:46.544Z] provisioning config files... [2023-02-17T21:42:46.552Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16276483492894177217tmp [Pipeline] { [Pipeline] echo [2023-02-17T21:42:46.568Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:42:46.849Z] ---> create-netrc.sh [Pipeline] } [2023-02-17T21:42:46.857Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:42:47.193Z] ---> python-tools-install.sh [Pipeline] echo [2023-02-17T21:42:47.201Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:42:47.484Z] ---> sudo-logs.sh [2023-02-17T21:42:47.484Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-02-17T21:42:47.513Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:42:47.797Z] ---> job-cost.sh [2023-02-17T21:42:47.797Z] lf-activate-venv: SKIPPING [2023-02-17T21:42:47.797Z] DEBUG: total: 0.2199999988079071 [2023-02-17T21:42:47.797Z] INFO: Retrieving Stack Cost... [2023-02-17T21:42:48.056Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-02-17T21:42:48.623Z] INFO: Archiving Costs [Pipeline] echo [2023-02-17T21:42:48.636Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-02-17T21:42:48.918Z] ---> logs-deploy.sh [2023-02-17T21:42:48.918Z] lf-activate-venv: SKIPPING [2023-02-17T21:42:48.918Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/83 [2023-02-17T21:42:48.918Z] INFO: archiving workspace using pattern(s): [2023-02-17T21:42:49.853Z] Archives upload complete. [2023-02-17T21:42:49.853Z] INFO: archiving logs to Nexus