Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 83d0d95cb873d118c9d8fcbcde0c6c79336165c6 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-ssh11548345522026274040.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-ssh4074649787041477437.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-ssh17602803640702529230.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-ssh16928809194413881785.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-ssh10159236279841421140.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 65355178549468b165f8106641c96c3190b1d843 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 65355178549468b165f8106641c96c3190b1d843 # timeout=10 Commit message: "Fix: Add S3 URL in href to ship logs" > git remote # timeout=10 > git submodule init # timeout=10 > git submodule sync # timeout=10 > git config --get remote.origin.url # timeout=10 > git submodule init # timeout=10 > git config -f .gitmodules --get-regexp ^submodule\.(.+)\.url # timeout=10 > git config --get submodule.global-jjb.url # timeout=10 > git config -f .gitmodules --get submodule.global-jjb.path # timeout=10 > git submodule update --init --recursive global-jjb # timeout=10 Excluding src/test/ from checkout of git git@github.com:lfit/releng-pipelines.git so that library test code cannot be accessed by Pipelines. To remove this log message, move the test code outside of src/. To restore the previous behavior that allowed access to files in src/test/, pass -Dorg.jenkinsci.plugins.workflow.libs.SCMSourceRetriever.INCLUDE_SRC_TEST_IN_LIBRARIES=true to the java command used to start Jenkins. [Pipeline] Start of Pipeline [Pipeline] echo ========================================================= [edgeXBuildGoApp] RAW Config: [project:device-rest-go] ========================================================= [Pipeline] echo Setting up nodes based on requested architectures [[amd64, arm64]] [Pipeline] echo Nodes requested: [[ubuntu20.04-docker-8c-8g, ubuntu20.04-docker-arm64-4c-16g]] [Pipeline] echo ========================================================= [edgeXBuildGoApp] Pipeline Parameters: ========================================================= [Pipeline] echo MAVEN_SETTINGS: device-rest-go-settings PROJECT: device-rest-go USE_SEMVER: true TEST_SCRIPT: make test BUILD_SCRIPT: make build GO_VERSION: 1.18 USE_ALPINE: true DOCKER_FILE_PATH: Dockerfile DOCKER_BUILD_FILE_PATH: Dockerfile.build DOCKER_BUILD_CONTEXT: . DOCKER_BUILD_IMAGE_TARGET: builder DOCKER_IMAGE_NAME: device-rest DOCKER_REGISTRY_NAMESPACE: DOCKER_NEXUS_REPO: staging BUILD_DOCKER_IMAGE: true PUSH_DOCKER_IMAGE: true BUILD_EXPERIMENTAL_DOCKER_IMAGE: false BUILD_STABLE_DOCKER_IMAGE: false SEMVER_BUMP_LEVEL: pre BUILD_SNAP: false PUBLISH_SWAGGER_DOCS: false SWAGGER_API_FOLDERS: openapi/v1 ARTIFACT_ROOT: archives/bin ARTIFACT_TYPES: docker SHOULD_BUILD: true BUILD_FAILURE_NOTIFY_LIST: edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org SNYK_DEBUG: false [Pipeline] node Still waiting to schedule task Waiting for next available executor on ‘ubuntu20.04-docker-8c-8g’ Running on prd-ubuntu20.04-docker-8c-8g-4148 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 83d0d95cb873d118c9d8fcbcde0c6c79336165c6 (main) Commit message: "feat: Initial commit for REST commands functionality update (#229)" > 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 83d0d95cb873d118c9d8fcbcde0c6c79336165c6 # timeout=10 > git rev-list --no-walk 7d8e6f5ecbf08d53345d5c199887d0d319da1d2d # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2023-01-31T15:42:06.404Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2023-01-31T15:42:06.446Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2023-01-31T15:42:06.464Z] ========================================================= [2023-01-31T15:42:06.464Z] EdgeX Global Pipelines Version Info [2023-01-31T15:42:06.464Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2023-01-31T15:42:07.163Z] ------------------- [2023-01-31T15:42:07.163Z] stable info: [2023-01-31T15:42:07.163Z] ------------------- [2023-01-31T15:42:07.163Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2023-01-31T15:42:07.163Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-31T15:42:07.163Z] Message: update stable to v1.0.244 [2023-01-31T15:42:07.738Z] ------------------- [2023-01-31T15:42:07.738Z] experimental info: [2023-01-31T15:42:07.738Z] ------------------- [2023-01-31T15:42:07.738Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2023-01-31T15:42:07.738Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2023-01-31T15:42:07.738Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2023-01-31T15:42:07.899Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2023-01-31T15:42:07.909Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2023-01-31T15:42:07.926Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2023-01-31T15:42:07.941Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2023-01-31T15:42:07.959Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2023-01-31T15:42:07.972Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2023-01-31T15:42:07.982Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2023-01-31T15:42:07.993Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2023-01-31T15:42:08.005Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2023-01-31T15:42:08.019Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2023-01-31T15:42:08.030Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2023-01-31T15:42:08.042Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2023-01-31T15:42:08.060Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2023-01-31T15:42:08.071Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2023-01-31T15:42:08.085Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2023-01-31T15:42:08.096Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2023-01-31T15:42:08.108Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2023-01-31T15:42:08.120Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2023-01-31T15:42:08.131Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2023-01-31T15:42:08.142Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2023-01-31T15:42:08.159Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2023-01-31T15:42:08.177Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2023-01-31T15:42:08.188Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2023-01-31T15:42:08.202Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2023-01-31T15:42:08.215Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2023-01-31T15:42:08.228Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2023-01-31T15:42:08.241Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2023-01-31T15:42:08.259Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2023-01-31T15:42:08.274Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2023-01-31T15:42:08.289Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2023-01-31T15:42:08.302Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 83d0d95cb873d118c9d8fcbcde0c6c79336165c6 [Pipeline] echo [2023-01-31T15:42:08.315Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 83d0d95 [Pipeline] echo [2023-01-31T15:42:08.331Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-31T15:42:08.383Z] provisioning config files... [2023-01-31T15:42:08.395Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16458856277323906307tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-31T15:42:08.697Z] ---> docker-login.sh [2023-01-31T15:42:08.698Z] nexus3.edgexfoundry.org:10001 [2023-01-31T15:42:08.958Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T15:42:08.958Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T15:42:08.958Z] Configure a credential helper to remove this warning. See [2023-01-31T15:42:08.958Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T15:42:08.958Z] [2023-01-31T15:42:08.958Z] Login Succeeded [2023-01-31T15:42:08.958Z] nexus3.edgexfoundry.org:10002 [2023-01-31T15:42:09.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T15:42:09.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T15:42:09.218Z] Configure a credential helper to remove this warning. See [2023-01-31T15:42:09.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T15:42:09.218Z] [2023-01-31T15:42:09.218Z] Login Succeeded [2023-01-31T15:42:09.218Z] nexus3.edgexfoundry.org:10003 [2023-01-31T15:42:09.218Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T15:42:09.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T15:42:09.218Z] Configure a credential helper to remove this warning. See [2023-01-31T15:42:09.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T15:42:09.218Z] [2023-01-31T15:42:09.218Z] Login Succeeded [2023-01-31T15:42:09.218Z] nexus3.edgexfoundry.org:10004 [2023-01-31T15:42:09.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T15:42:09.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T15:42:09.478Z] Configure a credential helper to remove this warning. See [2023-01-31T15:42:09.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T15:42:09.478Z] [2023-01-31T15:42:09.478Z] Login Succeeded [2023-01-31T15:42:09.478Z] docker.io [2023-01-31T15:42:09.478Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T15:42:09.740Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T15:42:09.740Z] Configure a credential helper to remove this warning. See [2023-01-31T15:42:09.740Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T15:42:09.740Z] [2023-01-31T15:42:09.740Z] Login Succeeded [2023-01-31T15:42:09.740Z] ---> docker-login.sh ends [Pipeline] } [2023-01-31T15:42:09.748Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2023-01-31T15:42:10.121Z] + git rev-list -1 --merges 83d0d95cb873d118c9d8fcbcde0c6c79336165c6~1..83d0d95cb873d118c9d8fcbcde0c6c79336165c6 [Pipeline] echo [2023-01-31T15:42:10.176Z] -----------> git rev-list -1 --merges 83d0d95cb873d118c9d8fcbcde0c6c79336165c6~1..83d0d95cb873d118c9d8fcbcde0c6c79336165c6 83d0d95cb873d118c9d8fcbcde0c6c79336165c6 [false] [Pipeline] sh [2023-01-31T15:42:10.467Z] + git log --format=format:%s -1 83d0d95cb873d118c9d8fcbcde0c6c79336165c6 [Pipeline] echo [2023-01-31T15:42:10.485Z] ========================================================= [2023-01-31T15:42:10.485Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2023-01-31T15:42:10.485Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-31T15:42:10.808Z] + git log --format=format:%s -1 83d0d95cb873d118c9d8fcbcde0c6c79336165c6 [Pipeline] echo [2023-01-31T15:42:10.819Z] [semverPrep] GIT_COMMIT: 83d0d95cb873d118c9d8fcbcde0c6c79336165c6, Commit Message: feat: Initial commit for REST commands functionality update (#229) [Pipeline] echo [2023-01-31T15:42:10.826Z] [semverPrep] This is not a build commit. [Pipeline] sh [2023-01-31T15:42:11.192Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-31T15:42:11.192Z] + grep -v github /etc/ssh/ssh_known_hosts [2023-01-31T15:42:11.192Z] + [ -e /tmp/ssh_known_hosts ] [2023-01-31T15:42:11.192Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2023-01-31T15:42:11.192Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2023-01-31T15:42:11.192Z] sudo tee -a /etc/ssh/ssh_known_hosts [2023-01-31T15:42:11.192Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:42:11.599Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-31T15:42:11.599Z] [2023-01-31T15:42:11.599Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:42:11.900Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-31T15:42:12.165Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2023-01-31T15:42:12.165Z] b85a868b505f: Pulling fs layer [2023-01-31T15:42:12.165Z] e2be974225ed: Pulling fs layer [2023-01-31T15:42:12.165Z] 339a4e72a1f5: Pulling fs layer [2023-01-31T15:42:12.165Z] 988bab9f4d93: Pulling fs layer [2023-01-31T15:42:12.165Z] 1469e6f7b9e6: Pulling fs layer [2023-01-31T15:42:12.165Z] eaf3925da568: Pulling fs layer [2023-01-31T15:42:12.165Z] bab4dde63d76: Pulling fs layer [2023-01-31T15:42:12.165Z] bde34c3a00c8: Pulling fs layer [2023-01-31T15:42:12.165Z] b352a97aabf1: Pulling fs layer [2023-01-31T15:42:12.165Z] 4872d77fe225: Pulling fs layer [2023-01-31T15:42:12.165Z] 5851b861e8e6: Pulling fs layer [2023-01-31T15:42:12.165Z] bde34c3a00c8: Waiting [2023-01-31T15:42:12.165Z] b352a97aabf1: Waiting [2023-01-31T15:42:12.165Z] eaf3925da568: Waiting [2023-01-31T15:42:12.165Z] bab4dde63d76: Waiting [2023-01-31T15:42:12.165Z] 988bab9f4d93: Waiting [2023-01-31T15:42:12.436Z] e2be974225ed: Download complete [2023-01-31T15:42:12.436Z] 988bab9f4d93: Download complete [2023-01-31T15:42:12.436Z] 1469e6f7b9e6: Verifying Checksum [2023-01-31T15:42:12.436Z] 1469e6f7b9e6: Download complete [2023-01-31T15:42:12.436Z] eaf3925da568: Verifying Checksum [2023-01-31T15:42:12.436Z] eaf3925da568: Download complete [2023-01-31T15:42:12.699Z] 339a4e72a1f5: Verifying Checksum [2023-01-31T15:42:12.699Z] 339a4e72a1f5: Download complete [2023-01-31T15:42:12.699Z] bde34c3a00c8: Verifying Checksum [2023-01-31T15:42:12.699Z] bde34c3a00c8: Download complete [2023-01-31T15:42:12.699Z] b352a97aabf1: Verifying Checksum [2023-01-31T15:42:12.699Z] b352a97aabf1: Download complete [2023-01-31T15:42:12.699Z] 4872d77fe225: Download complete [2023-01-31T15:42:12.699Z] b85a868b505f: Verifying Checksum [2023-01-31T15:42:12.699Z] b85a868b505f: Download complete [2023-01-31T15:42:12.699Z] 5851b861e8e6: Download complete [2023-01-31T15:42:12.961Z] bab4dde63d76: Verifying Checksum [2023-01-31T15:42:12.961Z] bab4dde63d76: Download complete [2023-01-31T15:42:13.897Z] b85a868b505f: Pull complete [2023-01-31T15:42:14.154Z] e2be974225ed: Pull complete [2023-01-31T15:42:14.719Z] 339a4e72a1f5: Pull complete [2023-01-31T15:42:14.719Z] 988bab9f4d93: Pull complete [2023-01-31T15:42:14.978Z] 1469e6f7b9e6: Pull complete [2023-01-31T15:42:15.237Z] eaf3925da568: Pull complete [2023-01-31T15:42:17.141Z] bab4dde63d76: Pull complete [2023-01-31T15:42:17.141Z] bde34c3a00c8: Pull complete [2023-01-31T15:42:17.141Z] b352a97aabf1: Pull complete [2023-01-31T15:42:17.400Z] 4872d77fe225: Pull complete [2023-01-31T15:42:17.400Z] 5851b861e8e6: Pull complete [2023-01-31T15:42:17.400Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2023-01-31T15:42:17.400Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-31T15:42:17.400Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T15:42:17.506Z] prd-ubuntu20.04-docker-8c-8g-4148 does not seem to be running inside a container [2023-01-31T15:42:17.540Z] $ 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-01-31T15:42:18.949Z] $ docker top 7fb53ef1ef9b294ef4727375cb0be4d7640c17369804e5091573a7688c23b82d -eo pid,comm [2023-01-31T15:42:19.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-01-31T15:42:19.004Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-31T15:42:19.037Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-31T15:42:19.037Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-31T15:42:19.166Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-31T15:42:19.172Z] $ docker exec 7fb53ef1ef9b294ef4727375cb0be4d7640c17369804e5091573a7688c23b82d ssh-agent [2023-01-31T15:42:19.278Z] SSH_AUTH_SOCK=/tmp/ssh-Vl7w6XW2TeOD/agent.32 [2023-01-31T15:42:19.278Z] SSH_AGENT_PID=38 [2023-01-31T15:42:19.285Z] Running ssh-add (command line suppressed) [2023-01-31T15:42:19.389Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12759486824336663697.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_12759486824336663697.key) [2023-01-31T15:42:19.400Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-31T15:42:19.687Z] + git tag --points-at HEAD [Pipeline] } [2023-01-31T15:42:19.701Z] $ docker exec --env ******** --env ******** 7fb53ef1ef9b294ef4727375cb0be4d7640c17369804e5091573a7688c23b82d ssh-agent -k [2023-01-31T15:42:19.814Z] unset SSH_AUTH_SOCK; [2023-01-31T15:42:19.815Z] unset SSH_AGENT_PID; [2023-01-31T15:42:19.815Z] echo Agent pid 38 killed; [2023-01-31T15:42:19.822Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2023-01-31T15:42:19.843Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-31T15:42:19.843Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-31T15:42:19.958Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-31T15:42:19.965Z] $ docker exec 7fb53ef1ef9b294ef4727375cb0be4d7640c17369804e5091573a7688c23b82d ssh-agent [2023-01-31T15:42:20.082Z] SSH_AUTH_SOCK=/tmp/ssh-FMIGigAfkIMh/agent.71 [2023-01-31T15:42:20.082Z] SSH_AGENT_PID=77 [2023-01-31T15:42:20.088Z] Running ssh-add (command line suppressed) [2023-01-31T15:42:20.209Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17983051327468136736.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_17983051327468136736.key) [2023-01-31T15:42:20.222Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-31T15:42:20.512Z] + git semver init [2023-01-31T15:42:20.773Z] 2023-01-31 15:42:20,699 [run_init] DEBUG init version:0.0.0 force:False [2023-01-31T15:42:20.773Z] 2023-01-31 15:42:20,700 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-01-31T15:42:20.773Z] 2023-01-31 15:42:20,700 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2023-01-31T15:42:20.773Z] 2023-01-31 15:42:20,700 [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-01-31T15:42:22.159Z] 2023-01-31 15:42:21,740 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2023-01-31T15:42:22.159Z] 2023-01-31 15:42:21,741 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2023-01-31T15:42:22.159Z] 2023-01-31 15:42:21,741 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-01-31T15:42:22.159Z] 2023-01-31 15:42:21,741 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-01-31T15:42:22.159Z] 3.0.0-dev.7 [Pipeline] } [2023-01-31T15:42:22.174Z] $ docker exec --env ******** --env ******** 7fb53ef1ef9b294ef4727375cb0be4d7640c17369804e5091573a7688c23b82d ssh-agent -k [2023-01-31T15:42:22.281Z] unset SSH_AUTH_SOCK; [2023-01-31T15:42:22.281Z] unset SSH_AGENT_PID; [2023-01-31T15:42:22.282Z] echo Agent pid 77 killed; [2023-01-31T15:42:22.291Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-31T15:42:22.593Z] + git semver [Pipeline] } [2023-01-31T15:42:22.870Z] $ docker stop --time=1 7fb53ef1ef9b294ef4727375cb0be4d7640c17369804e5091573a7688c23b82d [2023-01-31T15:42:24.202Z] $ docker rm -f --volumes 7fb53ef1ef9b294ef4727375cb0be4d7640c17369804e5091573a7688c23b82d [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-31T15:42:24.542Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2023-01-31T15:42:24.751Z] Stashed 1 file(s) [Pipeline] echo [2023-01-31T15:42:24.754Z] [edgeXSemver]: initialized semver on version 3.0.0-dev.7 [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-01-31T15:42:24.915Z] provisioning config files... [2023-01-31T15:42:24.924Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10971767779542122165tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-31T15:42:25.219Z] ---> docker-login.sh [2023-01-31T15:42:25.219Z] nexus3.edgexfoundry.org:10001 [2023-01-31T15:42:25.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T15:42:25.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T15:42:25.219Z] Configure a credential helper to remove this warning. See [2023-01-31T15:42:25.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T15:42:25.219Z] [2023-01-31T15:42:25.219Z] Login Succeeded [2023-01-31T15:42:25.219Z] nexus3.edgexfoundry.org:10002 [2023-01-31T15:42:25.219Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T15:42:25.219Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T15:42:25.219Z] Configure a credential helper to remove this warning. See [2023-01-31T15:42:25.219Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T15:42:25.219Z] [2023-01-31T15:42:25.219Z] Login Succeeded [2023-01-31T15:42:25.219Z] nexus3.edgexfoundry.org:10003 [2023-01-31T15:42:25.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T15:42:25.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T15:42:25.480Z] Configure a credential helper to remove this warning. See [2023-01-31T15:42:25.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T15:42:25.480Z] [2023-01-31T15:42:25.480Z] Login Succeeded [2023-01-31T15:42:25.480Z] nexus3.edgexfoundry.org:10004 [2023-01-31T15:42:25.480Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T15:42:25.480Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T15:42:25.480Z] Configure a credential helper to remove this warning. See [2023-01-31T15:42:25.480Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T15:42:25.480Z] [2023-01-31T15:42:25.480Z] Login Succeeded [2023-01-31T15:42:25.480Z] docker.io [2023-01-31T15:42:25.739Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T15:42:25.739Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T15:42:25.739Z] Configure a credential helper to remove this warning. See [2023-01-31T15:42:25.739Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T15:42:25.739Z] [2023-01-31T15:42:25.739Z] Login Succeeded [2023-01-31T15:42:25.999Z] ---> docker-login.sh ends [Pipeline] } [2023-01-31T15:42:26.007Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-31T15:42:26.071Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-31T15:42:26.084Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-31T15:42:26.093Z] ========================================================= [2023-01-31T15:42:26.093Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2023-01-31T15:42:26.093Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:42:26.406Z] + 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-01-31T15:42:26.406Z] Sending build context to Docker daemon 10.82MB [2023-01-31T15:42:26.406Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-31T15:42:26.406Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-31T15:42:26.406Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2023-01-31T15:42:26.406Z] 213ec9aee27d: Pulling fs layer [2023-01-31T15:42:26.406Z] 4583459ba037: Pulling fs layer [2023-01-31T15:42:26.406Z] 93c1e223e6f2: Pulling fs layer [2023-01-31T15:42:26.406Z] 53926ce57604: Pulling fs layer [2023-01-31T15:42:26.406Z] 21b2b0c7a3f4: Pulling fs layer [2023-01-31T15:42:26.406Z] 22ff95d597cd: Pulling fs layer [2023-01-31T15:42:26.406Z] 12d6caf4c0d1: Pulling fs layer [2023-01-31T15:42:26.406Z] 96b7cbca73a9: Pulling fs layer [2023-01-31T15:42:26.406Z] a7acece74701: Pulling fs layer [2023-01-31T15:42:26.406Z] 22ff95d597cd: Waiting [2023-01-31T15:42:26.406Z] 12d6caf4c0d1: Waiting [2023-01-31T15:42:26.406Z] 96b7cbca73a9: Waiting [2023-01-31T15:42:26.406Z] a7acece74701: Waiting [2023-01-31T15:42:26.406Z] 53926ce57604: Waiting [2023-01-31T15:42:26.406Z] 21b2b0c7a3f4: Waiting [2023-01-31T15:42:26.406Z] 93c1e223e6f2: Download complete [2023-01-31T15:42:26.676Z] 4583459ba037: Download complete [2023-01-31T15:42:26.676Z] 21b2b0c7a3f4: Download complete [2023-01-31T15:42:26.676Z] 22ff95d597cd: Verifying Checksum [2023-01-31T15:42:26.676Z] 22ff95d597cd: Download complete [2023-01-31T15:42:26.676Z] 213ec9aee27d: Download complete [2023-01-31T15:42:26.676Z] 12d6caf4c0d1: Verifying Checksum [2023-01-31T15:42:26.676Z] 12d6caf4c0d1: Download complete [2023-01-31T15:42:26.676Z] 213ec9aee27d: Pull complete [2023-01-31T15:42:26.947Z] 4583459ba037: Pull complete [2023-01-31T15:42:26.947Z] 93c1e223e6f2: Pull complete [2023-01-31T15:42:27.968Z] a7acece74701: Verifying Checksum [2023-01-31T15:42:27.968Z] a7acece74701: Download complete [2023-01-31T15:42:27.968Z] 53926ce57604: Download complete [2023-01-31T15:42:28.227Z] 96b7cbca73a9: Verifying Checksum [2023-01-31T15:42:28.227Z] 96b7cbca73a9: Download complete [2023-01-31T15:42:32.431Z] 53926ce57604: Pull complete [2023-01-31T15:42:32.431Z] 21b2b0c7a3f4: Pull complete [2023-01-31T15:42:32.431Z] 22ff95d597cd: Pull complete [2023-01-31T15:42:32.431Z] 12d6caf4c0d1: Pull complete [2023-01-31T15:42:34.344Z] 96b7cbca73a9: Pull complete [2023-01-31T15:42:35.281Z] a7acece74701: Pull complete [2023-01-31T15:42:35.281Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2023-01-31T15:42:35.281Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2023-01-31T15:42:35.281Z] ---> db6d94c90886 [2023-01-31T15:42:35.281Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-31T15:42:37.185Z] ---> Running in 0ee6c9dae842 [2023-01-31T15:42:37.185Z] Removing intermediate container 0ee6c9dae842 [2023-01-31T15:42:37.185Z] ---> f60463aa9e48 [2023-01-31T15:42:37.185Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-31T15:42:37.185Z] ---> Running in afccb9ec88f8 [2023-01-31T15:42:37.458Z] Removing intermediate container afccb9ec88f8 [2023-01-31T15:42:37.458Z] ---> cd81406354b0 [2023-01-31T15:42:37.458Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-31T15:42:37.458Z] ---> Running in 70cdc7b643b0 [2023-01-31T15:42:37.458Z] Removing intermediate container 70cdc7b643b0 [2023-01-31T15:42:37.458Z] ---> 042f96d84e1e [2023-01-31T15:42:37.458Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-31T15:42:37.717Z] ---> Running in 56c8612109e5 [2023-01-31T15:42:37.717Z] Removing intermediate container 56c8612109e5 [2023-01-31T15:42:37.717Z] ---> 47e8f05c8fe9 [2023-01-31T15:42:37.717Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-31T15:42:37.717Z] ---> Running in c349bab8d0ae [2023-01-31T15:42:37.975Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-31T15:42:38.234Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-31T15:42:38.493Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-31T15:42:38.493Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-31T15:42:38.493Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-31T15:42:38.493Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-31T15:42:38.493Z] Executing busybox-1.35.0-r17.trigger [2023-01-31T15:42:38.493Z] OK: 216 MiB in 55 packages [2023-01-31T15:42:39.062Z] Removing intermediate container c349bab8d0ae [2023-01-31T15:42:39.062Z] ---> 3ccc8aab0330 [2023-01-31T15:42:39.062Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-31T15:42:39.062Z] ---> Running in 575424803bc3 [2023-01-31T15:42:39.062Z] Removing intermediate container 575424803bc3 [2023-01-31T15:42:39.062Z] ---> c2cb331d6c79 [2023-01-31T15:42:39.062Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-31T15:42:39.321Z] ---> d79c03380bcb [2023-01-31T15:42:39.321Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-31T15:42:39.321Z] ---> Running in acd9a953e2eb [2023-01-31T15:42:39.886Z] Still waiting to schedule task [2023-01-31T15:42:39.886Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-4142’ [2023-01-31T15:43:05.881Z] Removing intermediate container acd9a953e2eb [2023-01-31T15:43:05.881Z] ---> 3c2c6fc905a5 [2023-01-31T15:43:05.881Z] Step 11/12 : COPY . . [2023-01-31T15:43:05.881Z] ---> 507cbf00075c [2023-01-31T15:43:05.881Z] Step 12/12 : RUN $MAKE [2023-01-31T15:43:05.881Z] ---> Running in 260f12dad50f [2023-01-31T15:43:05.881Z] noop [2023-01-31T15:43:05.881Z] Removing intermediate container 260f12dad50f [2023-01-31T15:43:05.881Z] ---> f740a5c62c05 [2023-01-31T15:43:05.881Z] Successfully built f740a5c62c05 [2023-01-31T15:43:05.881Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:43:06.197Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-31T15:43:06.197Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T15:43:06.268Z] prd-ubuntu20.04-docker-8c-8g-4148 does not seem to be running inside a container [2023-01-31T15:43:06.305Z] $ 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-01-31T15:43:06.731Z] $ docker top 8ee8a876b674dad54343c17956a0bdc713d246621d9604d5e6d13425627aac44 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-31T15:43:07.088Z] + go version [2023-01-31T15:43:07.089Z] go version go1.18.7 linux/amd64 [Pipeline] } [2023-01-31T15:43:07.104Z] $ docker stop --time=1 8ee8a876b674dad54343c17956a0bdc713d246621d9604d5e6d13425627aac44 [2023-01-31T15:43:08.403Z] $ docker rm -f --volumes 8ee8a876b674dad54343c17956a0bdc713d246621d9604d5e6d13425627aac44 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:43:08.779Z] + docker inspect -f . ci-base-image-x86_64 [2023-01-31T15:43:08.779Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T15:43:08.850Z] prd-ubuntu20.04-docker-8c-8g-4148 does not seem to be running inside a container [2023-01-31T15:43:08.884Z] $ 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-01-31T15:43:09.254Z] $ docker top 0bc362e4fdac6fb7f6fabdda0c06b1e6f84901414084ff46a125568441034bc9 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-31T15:43:09.604Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2023-01-31T15:43:09.899Z] + make test [2023-01-31T15:43:09.899Z] go test ./... -coverprofile=coverage.out ./... [2023-01-31T15:43:10.158Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-01-31T15:43:20.131Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-01-31T15:43:20.131Z] ok github.com/edgexfoundry/device-rest-go/driver 0.015s coverage: 33.9% of statements [2023-01-31T15:43:26.686Z] 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-01-31T15:43:26.686Z] go vet ./... [2023-01-31T15:43:29.215Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-31T15:43:29.215Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-31T15:43:29.215Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-31T15:43:29.484Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-31T15:43:29.496Z] $ docker stop --time=1 0bc362e4fdac6fb7f6fabdda0c06b1e6f84901414084ff46a125568441034bc9 [2023-01-31T15:43:31.280Z] $ docker rm -f --volumes 0bc362e4fdac6fb7f6fabdda0c06b1e6f84901414084ff46a125568441034bc9 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-31T15:43:31.731Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-31T15:43:31.786Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2023-01-31T15:43:32.342Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-31T15:43:32.629Z] + ls -al . [2023-01-31T15:43:32.629Z] total 196 [2023-01-31T15:43:32.629Z] drwxrwxr-x 9 jenkins jenkins 4096 Jan 31 15:43 . [2023-01-31T15:43:32.629Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 15:42 .. [2023-01-31T15:43:32.629Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 31 15:42 .dockerignore [2023-01-31T15:43:32.629Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 31 15:43 .git [2023-01-31T15:43:32.629Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 31 15:42 .github [2023-01-31T15:43:32.629Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 31 15:42 .gitignore [2023-01-31T15:43:32.629Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 31 15:42 .golangci.yml [2023-01-31T15:43:32.629Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 31 15:42 .semver [2023-01-31T15:43:32.629Z] -rw-rw-r-- 1 jenkins jenkins 8996 Jan 31 15:42 Attribution.txt [2023-01-31T15:43:32.629Z] -rw-rw-r-- 1 jenkins jenkins 13085 Jan 31 15:42 CHANGELOG.md [2023-01-31T15:43:32.629Z] -rw-rw-r-- 1 jenkins jenkins 1578 Jan 31 15:42 Dockerfile [2023-01-31T15:43:32.629Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 31 15:42 GOVERNANCE.md [2023-01-31T15:43:32.629Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 31 15:42 Jenkinsfile [2023-01-31T15:43:32.629Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 31 15:42 LICENSE [2023-01-31T15:43:32.629Z] -rw-rw-r-- 1 jenkins jenkins 1744 Jan 31 15:42 Makefile [2023-01-31T15:43:32.629Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 31 15:42 OWNERS.md [2023-01-31T15:43:32.629Z] -rw-rw-r-- 1 jenkins jenkins 15447 Jan 31 15:42 README.md [2023-01-31T15:43:32.629Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 31 15:42 VERSION [2023-01-31T15:43:32.629Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 31 15:42 bin [2023-01-31T15:43:32.629Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 31 15:42 cmd [2023-01-31T15:43:32.629Z] -rw-r--r-- 1 jenkins jenkins 13744 Jan 31 15:43 coverage.out [2023-01-31T15:43:32.629Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 31 15:42 driver [2023-01-31T15:43:32.629Z] -rw-rw-r-- 1 jenkins jenkins 3488 Jan 31 15:42 go.mod [2023-01-31T15:43:32.629Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 31 15:42 go.sum [2023-01-31T15:43:32.629Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 15:42 snap [2023-01-31T15:43:32.629Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 31 15:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:43:33.019Z] + 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=83d0d95cb873d118c9d8fcbcde0c6c79336165c6 --label arch=amd64 --label version=3.0.0-dev.7 . [2023-01-31T15:43:33.019Z] Sending build context to Docker daemon 10.83MB [2023-01-31T15:43:33.019Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-31T15:43:33.019Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-31T15:43:33.019Z] ---> f740a5c62c05 [2023-01-31T15:43:33.019Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-31T15:43:33.281Z] ---> Running in fbeb895b18c3 [2023-01-31T15:43:33.548Z] Removing intermediate container fbeb895b18c3 [2023-01-31T15:43:33.548Z] ---> 1f353fc761bc [2023-01-31T15:43:33.548Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-31T15:43:33.548Z] ---> Running in a19c7f47dc39 [2023-01-31T15:43:33.809Z] Removing intermediate container a19c7f47dc39 [2023-01-31T15:43:33.809Z] ---> 628e70913f33 [2023-01-31T15:43:33.809Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-31T15:43:33.809Z] ---> Running in 924a112ff0bb [2023-01-31T15:43:34.069Z] Removing intermediate container 924a112ff0bb [2023-01-31T15:43:34.069Z] ---> 3cfe83f61195 [2023-01-31T15:43:34.069Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-31T15:43:34.069Z] ---> Running in 8547d3c3aebb [2023-01-31T15:43:34.328Z] Removing intermediate container 8547d3c3aebb [2023-01-31T15:43:34.328Z] ---> 3170a229a125 [2023-01-31T15:43:34.328Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-31T15:43:34.328Z] ---> Running in 6000c8ae1ea4 [2023-01-31T15:43:34.896Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-31T15:43:34.896Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-31T15:43:35.156Z] OK: 216 MiB in 55 packages [2023-01-31T15:43:35.723Z] Removing intermediate container 6000c8ae1ea4 [2023-01-31T15:43:35.723Z] ---> ed78fbcda4e1 [2023-01-31T15:43:35.723Z] Step 8/25 : WORKDIR /device-rest-go [2023-01-31T15:43:35.723Z] ---> Running in 1e59896b20d5 [2023-01-31T15:43:35.723Z] Removing intermediate container 1e59896b20d5 [2023-01-31T15:43:35.723Z] ---> 8e02091e93e1 [2023-01-31T15:43:35.723Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-31T15:43:35.982Z] ---> 6563552db4cc [2023-01-31T15:43:35.982Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-31T15:43:35.982Z] ---> Running in 03da61aaa240 [2023-01-31T15:43:36.917Z] Removing intermediate container 03da61aaa240 [2023-01-31T15:43:36.917Z] ---> 65a13adeb643 [2023-01-31T15:43:36.917Z] Step 11/25 : COPY . . [2023-01-31T15:43:36.917Z] ---> 51526074614a [2023-01-31T15:43:36.917Z] Step 12/25 : RUN $MAKE [2023-01-31T15:43:37.177Z] ---> Running in cd4c8c2f6eff [2023-01-31T15:43:37.435Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.7" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-01-31T15:43:59.369Z] Removing intermediate container cd4c8c2f6eff [2023-01-31T15:43:59.369Z] ---> 3678ae1f4044 [2023-01-31T15:43:59.369Z] Step 13/25 : FROM alpine:3.16 [2023-01-31T15:43:59.369Z] 3.16: Pulling from library/alpine [2023-01-31T15:43:59.369Z] ca7dd9ec2225: Pulling fs layer [2023-01-31T15:43:59.369Z] ca7dd9ec2225: Verifying Checksum [2023-01-31T15:43:59.369Z] ca7dd9ec2225: Download complete [2023-01-31T15:43:59.369Z] ca7dd9ec2225: Pull complete [2023-01-31T15:43:59.369Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-31T15:43:59.369Z] Status: Downloaded newer image for alpine:3.16 [2023-01-31T15:43:59.369Z] ---> bfe296a52501 [2023-01-31T15:43:59.369Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-31T15:43:59.369Z] ---> Running in 9ed1bb2969af [2023-01-31T15:43:59.369Z] Removing intermediate container 9ed1bb2969af [2023-01-31T15:43:59.369Z] ---> 58812d970578 [2023-01-31T15:43:59.369Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-01-31T15:43:59.369Z] ---> Running in 47e73217097e [2023-01-31T15:43:59.369Z] Removing intermediate container 47e73217097e [2023-01-31T15:43:59.369Z] ---> 83499e1df8ce [2023-01-31T15:43:59.369Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-01-31T15:43:59.369Z] ---> Running in a0f716c98ec3 [2023-01-31T15:43:59.369Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2023-01-31T15:43:59.369Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2023-01-31T15:43:59.369Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-31T15:43:59.369Z] Executing busybox-1.35.0-r17.trigger [2023-01-31T15:43:59.369Z] OK: 6 MiB in 15 packages [2023-01-31T15:43:59.369Z] Removing intermediate container a0f716c98ec3 [2023-01-31T15:43:59.369Z] ---> 4d1b0d9ac98a [2023-01-31T15:43:59.369Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-01-31T15:43:59.369Z] ---> 5d7b1219c59a [2023-01-31T15:43:59.370Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-01-31T15:43:59.370Z] ---> bb3fbe11cc29 [2023-01-31T15:43:59.370Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-01-31T15:43:59.370Z] ---> 8fabfab21708 [2023-01-31T15:43:59.370Z] Step 20/25 : EXPOSE 59986 [2023-01-31T15:43:59.370Z] ---> Running in 1824d5b7fdf2 [2023-01-31T15:43:59.370Z] Removing intermediate container 1824d5b7fdf2 [2023-01-31T15:43:59.370Z] ---> 4bd1361e9a71 [2023-01-31T15:43:59.370Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-01-31T15:43:59.370Z] ---> Running in 6999008ebfbf [2023-01-31T15:43:59.370Z] Removing intermediate container 6999008ebfbf [2023-01-31T15:43:59.370Z] ---> 751d1d3049b7 [2023-01-31T15:43:59.370Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-31T15:43:59.370Z] ---> Running in ce6e42d7dc1b [2023-01-31T15:43:59.370Z] Removing intermediate container ce6e42d7dc1b [2023-01-31T15:43:59.370Z] ---> d15f63580b20 [2023-01-31T15:43:59.370Z] Step 23/25 : LABEL arch=amd64 [2023-01-31T15:43:59.370Z] ---> Running in 036b7d9c1720 [2023-01-31T15:43:59.370Z] Removing intermediate container 036b7d9c1720 [2023-01-31T15:43:59.370Z] ---> 47bc3967ffb7 [2023-01-31T15:43:59.370Z] Step 24/25 : LABEL git_sha=83d0d95cb873d118c9d8fcbcde0c6c79336165c6 [2023-01-31T15:43:59.630Z] ---> Running in 5719c4638c8c [2023-01-31T15:43:59.630Z] Removing intermediate container 5719c4638c8c [2023-01-31T15:43:59.630Z] ---> fbbbf8125231 [2023-01-31T15:43:59.630Z] Step 25/25 : LABEL version=3.0.0-dev.7 [2023-01-31T15:43:59.630Z] ---> Running in 29073d29dc54 [2023-01-31T15:43:59.630Z] Removing intermediate container 29073d29dc54 [2023-01-31T15:43:59.630Z] ---> 4b43da57cf9f [2023-01-31T15:43:59.630Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-31T15:43:59.630Z] Successfully built 4b43da57cf9f [2023-01-31T15:43:59.630Z] 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-01-31T15:43:59.737Z] provisioning config files... [2023-01-31T15:43:59.745Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config9746802375103425490tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-31T15:44:00.043Z] ---> docker-login.sh [2023-01-31T15:44:00.043Z] nexus3.edgexfoundry.org:10001 [2023-01-31T15:44:00.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T15:44:00.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T15:44:00.043Z] Configure a credential helper to remove this warning. See [2023-01-31T15:44:00.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T15:44:00.043Z] [2023-01-31T15:44:00.043Z] Login Succeeded [2023-01-31T15:44:00.043Z] nexus3.edgexfoundry.org:10002 [2023-01-31T15:44:00.043Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T15:44:00.043Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T15:44:00.043Z] Configure a credential helper to remove this warning. See [2023-01-31T15:44:00.043Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T15:44:00.043Z] [2023-01-31T15:44:00.043Z] Login Succeeded [2023-01-31T15:44:00.043Z] nexus3.edgexfoundry.org:10003 [2023-01-31T15:44:00.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T15:44:00.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T15:44:00.342Z] Configure a credential helper to remove this warning. See [2023-01-31T15:44:00.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T15:44:00.342Z] [2023-01-31T15:44:00.342Z] Login Succeeded [2023-01-31T15:44:00.342Z] nexus3.edgexfoundry.org:10004 [2023-01-31T15:44:00.342Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T15:44:00.342Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T15:44:00.342Z] Configure a credential helper to remove this warning. See [2023-01-31T15:44:00.342Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T15:44:00.342Z] [2023-01-31T15:44:00.342Z] Login Succeeded [2023-01-31T15:44:00.342Z] docker.io [2023-01-31T15:44:00.617Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T15:44:00.617Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T15:44:00.617Z] Configure a credential helper to remove this warning. See [2023-01-31T15:44:00.617Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T15:44:00.617Z] [2023-01-31T15:44:00.617Z] Login Succeeded [2023-01-31T15:44:00.617Z] ---> docker-login.sh ends [Pipeline] } [2023-01-31T15:44:00.640Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-31T15:44:00.662Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-31T15:44:00.676Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2023-01-31T15:44:00.676Z] 83d0d95cb873d118c9d8fcbcde0c6c79336165c6 [2023-01-31T15:44:00.676Z] latest [2023-01-31T15:44:00.676Z] 3.0.0-dev.7 [2023-01-31T15:44:00.676Z] 83d0d95cb873d118c9d8fcbcde0c6c79336165c6-3.0.0-dev.7 [2023-01-31T15:44:00.676Z] main [2023-01-31T15:44:00.676Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:44:01.026Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:83d0d95cb873d118c9d8fcbcde0c6c79336165c6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:44:01.356Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:83d0d95cb873d118c9d8fcbcde0c6c79336165c6 [2023-01-31T15:44:01.356Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-01-31T15:44:01.356Z] e22442b2de6f: Preparing [2023-01-31T15:44:01.356Z] 75e37725e6dd: Preparing [2023-01-31T15:44:01.356Z] d6cf261cbfbd: Preparing [2023-01-31T15:44:01.356Z] 18c7211ae4f9: Preparing [2023-01-31T15:44:01.356Z] e5e13b0c77cb: Preparing [2023-01-31T15:44:01.356Z] e5e13b0c77cb: Layer already exists [2023-01-31T15:44:01.356Z] 18c7211ae4f9: Pushed [2023-01-31T15:44:01.356Z] 75e37725e6dd: Pushed [2023-01-31T15:44:01.356Z] e22442b2de6f: Pushed [2023-01-31T15:44:03.894Z] d6cf261cbfbd: Pushed [2023-01-31T15:44:03.894Z] 83d0d95cb873d118c9d8fcbcde0c6c79336165c6: digest: sha256:a95915f0c9c3af2ebeab12098e88440df2258823680d0c998800e90592a8532c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:44:04.209Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:44:04.510Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2023-01-31T15:44:04.510Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-01-31T15:44:04.510Z] e22442b2de6f: Preparing [2023-01-31T15:44:04.510Z] 75e37725e6dd: Preparing [2023-01-31T15:44:04.510Z] d6cf261cbfbd: Preparing [2023-01-31T15:44:04.510Z] 18c7211ae4f9: Preparing [2023-01-31T15:44:04.510Z] e5e13b0c77cb: Preparing [2023-01-31T15:44:04.510Z] d6cf261cbfbd: Layer already exists [2023-01-31T15:44:04.510Z] e5e13b0c77cb: Layer already exists [2023-01-31T15:44:04.510Z] 18c7211ae4f9: Layer already exists [2023-01-31T15:44:04.510Z] e22442b2de6f: Layer already exists [2023-01-31T15:44:04.510Z] 75e37725e6dd: Layer already exists [2023-01-31T15:44:04.510Z] latest: digest: sha256:a95915f0c9c3af2ebeab12098e88440df2258823680d0c998800e90592a8532c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:44:04.813Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:44:05.116Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.7 [2023-01-31T15:44:05.116Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-01-31T15:44:05.116Z] e22442b2de6f: Preparing [2023-01-31T15:44:05.116Z] 75e37725e6dd: Preparing [2023-01-31T15:44:05.116Z] d6cf261cbfbd: Preparing [2023-01-31T15:44:05.116Z] 18c7211ae4f9: Preparing [2023-01-31T15:44:05.116Z] e5e13b0c77cb: Preparing [2023-01-31T15:44:05.116Z] d6cf261cbfbd: Layer already exists [2023-01-31T15:44:05.116Z] e5e13b0c77cb: Layer already exists [2023-01-31T15:44:05.116Z] e22442b2de6f: Layer already exists [2023-01-31T15:44:05.116Z] 75e37725e6dd: Layer already exists [2023-01-31T15:44:05.116Z] 18c7211ae4f9: Layer already exists [2023-01-31T15:44:05.116Z] 3.0.0-dev.7: digest: sha256:a95915f0c9c3af2ebeab12098e88440df2258823680d0c998800e90592a8532c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:44:05.422Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:83d0d95cb873d118c9d8fcbcde0c6c79336165c6-3.0.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:44:05.727Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:83d0d95cb873d118c9d8fcbcde0c6c79336165c6-3.0.0-dev.7 [2023-01-31T15:44:05.727Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-01-31T15:44:05.727Z] e22442b2de6f: Preparing [2023-01-31T15:44:05.727Z] 75e37725e6dd: Preparing [2023-01-31T15:44:05.727Z] d6cf261cbfbd: Preparing [2023-01-31T15:44:05.727Z] 18c7211ae4f9: Preparing [2023-01-31T15:44:05.727Z] e5e13b0c77cb: Preparing [2023-01-31T15:44:05.727Z] d6cf261cbfbd: Layer already exists [2023-01-31T15:44:05.727Z] 18c7211ae4f9: Layer already exists [2023-01-31T15:44:05.727Z] e5e13b0c77cb: Layer already exists [2023-01-31T15:44:05.727Z] 75e37725e6dd: Layer already exists [2023-01-31T15:44:05.727Z] e22442b2de6f: Layer already exists [2023-01-31T15:44:05.727Z] 83d0d95cb873d118c9d8fcbcde0c6c79336165c6-3.0.0-dev.7: digest: sha256:a95915f0c9c3af2ebeab12098e88440df2258823680d0c998800e90592a8532c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:44:06.033Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:44:06.347Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2023-01-31T15:44:06.347Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2023-01-31T15:44:06.347Z] e22442b2de6f: Preparing [2023-01-31T15:44:06.347Z] 75e37725e6dd: Preparing [2023-01-31T15:44:06.347Z] d6cf261cbfbd: Preparing [2023-01-31T15:44:06.347Z] 18c7211ae4f9: Preparing [2023-01-31T15:44:06.347Z] e5e13b0c77cb: Preparing [2023-01-31T15:44:06.347Z] d6cf261cbfbd: Layer already exists [2023-01-31T15:44:06.347Z] e5e13b0c77cb: Layer already exists [2023-01-31T15:44:06.347Z] 18c7211ae4f9: Layer already exists [2023-01-31T15:44:06.347Z] 75e37725e6dd: Layer already exists [2023-01-31T15:44:06.347Z] e22442b2de6f: Layer already exists [2023-01-31T15:44:06.347Z] main: digest: sha256:a95915f0c9c3af2ebeab12098e88440df2258823680d0c998800e90592a8532c size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-31T15:44:06.398Z] ===================================================== [Pipeline] echo [2023-01-31T15:44:06.407Z] taggedImages: [2023-01-31T15:44:06.407Z] - nexus3.edgexfoundry.org:10004/device-rest:83d0d95cb873d118c9d8fcbcde0c6c79336165c6 [2023-01-31T15:44:06.407Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2023-01-31T15:44:06.407Z] - nexus3.edgexfoundry.org:10004/device-rest:3.0.0-dev.7 [2023-01-31T15:44:06.407Z] - nexus3.edgexfoundry.org:10004/device-rest:83d0d95cb873d118c9d8fcbcde0c6c79336165c6-3.0.0-dev.7 [2023-01-31T15:44:06.407Z] - 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-01-31T15:44:06.778Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-31T15:44:06.778Z] [2023-01-31T15:44:06.779Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:44:07.076Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-31T15:44:07.076Z] latest: Pulling from edgex-lftools-log-publisher [2023-01-31T15:44:07.076Z] 5eb5b503b376: Pulling fs layer [2023-01-31T15:44:07.076Z] 5c69ac0246d0: Pulling fs layer [2023-01-31T15:44:07.076Z] ec43610c2a17: Pulling fs layer [2023-01-31T15:44:07.076Z] 3a2ae6a8a46f: Pulling fs layer [2023-01-31T15:44:07.076Z] 33b1e0a273af: Pulling fs layer [2023-01-31T15:44:07.076Z] 5d3b04190fa2: Pulling fs layer [2023-01-31T15:44:07.076Z] 2f39f015ded8: Pulling fs layer [2023-01-31T15:44:07.076Z] 3a2ae6a8a46f: Waiting [2023-01-31T15:44:07.076Z] 33b1e0a273af: Waiting [2023-01-31T15:44:07.076Z] 5d3b04190fa2: Waiting [2023-01-31T15:44:07.076Z] 2f39f015ded8: Waiting [2023-01-31T15:44:07.076Z] 5c69ac0246d0: Verifying Checksum [2023-01-31T15:44:07.076Z] 5c69ac0246d0: Download complete [2023-01-31T15:44:07.076Z] 3a2ae6a8a46f: Verifying Checksum [2023-01-31T15:44:07.076Z] 3a2ae6a8a46f: Download complete [2023-01-31T15:44:07.340Z] 33b1e0a273af: Verifying Checksum [2023-01-31T15:44:07.340Z] 33b1e0a273af: Download complete [2023-01-31T15:44:07.340Z] 5d3b04190fa2: Download complete [2023-01-31T15:44:07.340Z] ec43610c2a17: Verifying Checksum [2023-01-31T15:44:07.340Z] ec43610c2a17: Download complete [2023-01-31T15:44:07.601Z] 5eb5b503b376: Verifying Checksum [2023-01-31T15:44:07.601Z] 5eb5b503b376: Download complete [2023-01-31T15:44:08.169Z] 2f39f015ded8: Download complete [2023-01-31T15:44:08.738Z] 5eb5b503b376: Pull complete [2023-01-31T15:44:08.738Z] 5c69ac0246d0: Pull complete [2023-01-31T15:44:08.997Z] ec43610c2a17: Pull complete [2023-01-31T15:44:09.255Z] 3a2ae6a8a46f: Pull complete [2023-01-31T15:44:09.513Z] 33b1e0a273af: Pull complete [2023-01-31T15:44:09.513Z] 5d3b04190fa2: Pull complete [2023-01-31T15:44:13.699Z] 2f39f015ded8: Pull complete [2023-01-31T15:44:13.699Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2023-01-31T15:44:13.699Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-31T15:44:13.699Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T15:44:13.774Z] prd-ubuntu20.04-docker-8c-8g-4148 does not seem to be running inside a container [2023-01-31T15:44:13.800Z] $ 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-01-31T15:44:15.526Z] $ docker top 10bb4bab74bdc5f694c87781b0e851667c1b5331adae5cee95dd76008f05383e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-31T15:44:15.899Z] ---> job-cost.sh [2023-01-31T15:44:15.899Z] lf-activate-venv: SKIPPING [2023-01-31T15:44:15.899Z] INFO: No Stack... [2023-01-31T15:44:16.467Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-31T15:44:16.727Z] INFO: Archiving Costs [Pipeline] sh [2023-01-31T15:44:17.016Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2023-01-31T15:44:17.016Z] + cut -d, -f6 [Pipeline] lock [2023-01-31T15:44:17.030Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-79-stack-cost] [2023-01-31T15:44:17.036Z] Resource [jenkins-edgexfoundry-device-rest-go-main-79-stack-cost] did not exist. Created. [2023-01-31T15:44:17.036Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-79-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-31T15:44:17.331Z] + echo total: 0.2199999988079071 [Pipeline] stash [2023-01-31T15:44:17.359Z] Stashed 1 file(s) [Pipeline] } [2023-01-31T15:44:17.366Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-79-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-31T15:44:17.384Z] $ docker stop --time=1 10bb4bab74bdc5f694c87781b0e851667c1b5331adae5cee95dd76008f05383e [2023-01-31T15:44:18.580Z] $ docker rm -f --volumes 10bb4bab74bdc5f694c87781b0e851667c1b5331adae5cee95dd76008f05383e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2023-01-31T15:45:23.318Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-4150 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2023-01-31T15:45:23.331Z] Running in /w/workspace/device-rest-go/79 [Pipeline] { [Pipeline] checkout [2023-01-31T15:45:23.371Z] The recommended git tool is: git [2023-01-31T15:45:29.790Z] using credential edgex-jenkins-ssh [2023-01-31T15:45:29.810Z] Cloning the remote Git repository [2023-01-31T15:45:29.869Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2023-01-31T15:45:29.965Z] > git init /w/workspace/device-rest-go/79 # timeout=10 [2023-01-31T15:45:30.158Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2023-01-31T15:45:30.160Z] > git --version # timeout=10 [2023-01-31T15:45:30.188Z] > git --version # 'git version 2.25.1' [2023-01-31T15:45:30.191Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2023-01-31T15:45:30.264Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-31T15:45:32.157Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2023-01-31T15:45:32.182Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2023-01-31T15:45:33.200Z] Avoid second fetch [2023-01-31T15:45:33.201Z] Checking out Revision 83d0d95cb873d118c9d8fcbcde0c6c79336165c6 (main) [2023-01-31T15:45:33.223Z] > git config core.sparsecheckout # timeout=10 [2023-01-31T15:45:33.242Z] > git checkout -f 83d0d95cb873d118c9d8fcbcde0c6c79336165c6 # timeout=10 [2023-01-31T15:45:33.825Z] Commit message: "feat: Initial commit for REST commands functionality update (#229)" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-31T15:45:34.745Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2023-01-31T15:45:34.745Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-31T15:45:34.745Z] Dload Upload Total Spent Left Speed [2023-01-31T15:45:34.745Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12751 100 12751 0 0 74567 0 --:--:-- --:--:-- --:--:-- 75005 [Pipeline] sh [2023-01-31T15:45:35.358Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2023-01-31T15:45:35.694Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2023-01-31T15:45:35.694Z] + sudo tee /etc/docker/daemon.new [2023-01-31T15:45:35.694Z] { [2023-01-31T15:45:35.694Z] "registry-mirrors": [ [2023-01-31T15:45:35.694Z] "https://nexus3.edgexfoundry.org:10001" [2023-01-31T15:45:35.694Z] ], [2023-01-31T15:45:35.694Z] "bip": "10.250.0.254/24", [2023-01-31T15:45:35.694Z] "hosts": [ [2023-01-31T15:45:35.694Z] "tcp://0.0.0.0:5555", [2023-01-31T15:45:35.694Z] "unix:///var/run/docker.sock" [2023-01-31T15:45:35.694Z] ], [2023-01-31T15:45:35.694Z] "mtu": 1458, [2023-01-31T15:45:35.694Z] "selinux-enabled": true, [2023-01-31T15:45:35.694Z] "seccomp-profile": "/etc/docker/seccomp.json" [2023-01-31T15:45:35.694Z] } [Pipeline] sh [2023-01-31T15:45:36.040Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2023-01-31T15:45:36.383Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-31T15:45:54.673Z] provisioning config files... [2023-01-31T15:45:54.708Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/79@tmp/config4308937049958919664tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-31T15:45:55.082Z] ---> docker-login.sh [2023-01-31T15:45:55.082Z] nexus3.edgexfoundry.org:10001 [2023-01-31T15:45:55.680Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T15:45:55.681Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T15:45:55.681Z] Configure a credential helper to remove this warning. See [2023-01-31T15:45:55.681Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T15:45:55.681Z] [2023-01-31T15:45:55.681Z] Login Succeeded [2023-01-31T15:45:55.681Z] nexus3.edgexfoundry.org:10002 [2023-01-31T15:45:55.962Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T15:45:56.234Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T15:45:56.234Z] Configure a credential helper to remove this warning. See [2023-01-31T15:45:56.234Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T15:45:56.234Z] [2023-01-31T15:45:56.234Z] Login Succeeded [2023-01-31T15:45:56.234Z] nexus3.edgexfoundry.org:10003 [2023-01-31T15:45:56.505Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T15:45:56.505Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T15:45:56.505Z] Configure a credential helper to remove this warning. See [2023-01-31T15:45:56.505Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T15:45:56.505Z] [2023-01-31T15:45:56.505Z] Login Succeeded [2023-01-31T15:45:56.782Z] nexus3.edgexfoundry.org:10004 [2023-01-31T15:45:57.054Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T15:45:57.054Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T15:45:57.054Z] Configure a credential helper to remove this warning. See [2023-01-31T15:45:57.054Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T15:45:57.054Z] [2023-01-31T15:45:57.054Z] Login Succeeded [2023-01-31T15:45:57.054Z] docker.io [2023-01-31T15:45:57.324Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T15:45:57.593Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T15:45:57.593Z] Configure a credential helper to remove this warning. See [2023-01-31T15:45:57.593Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T15:45:57.593Z] [2023-01-31T15:45:57.593Z] Login Succeeded [2023-01-31T15:45:57.593Z] ---> docker-login.sh ends [Pipeline] } [2023-01-31T15:45:57.608Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2023-01-31T15:45:57.893Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-31T15:45:57.910Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-31T15:45:57.923Z] ========================================================= [2023-01-31T15:45:57.923Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2023-01-31T15:45:57.923Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:45:58.271Z] + 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-01-31T15:45:58.271Z] Sending build context to Docker daemon 142.8kB [2023-01-31T15:45:58.542Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2023-01-31T15:45:58.542Z] Step 2/12 : FROM ${BASE} AS builder [2023-01-31T15:45:58.814Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2023-01-31T15:45:58.814Z] 9b18e9b68314: Pulling fs layer [2023-01-31T15:45:58.814Z] 35d82f9e3411: Pulling fs layer [2023-01-31T15:45:58.814Z] e16973657156: Pulling fs layer [2023-01-31T15:45:58.814Z] fc693d55d65f: Pulling fs layer [2023-01-31T15:45:58.814Z] 7e9fc2657dce: Pulling fs layer [2023-01-31T15:45:58.814Z] dda99020689f: Pulling fs layer [2023-01-31T15:45:58.814Z] db1c61fa0a46: Pulling fs layer [2023-01-31T15:45:58.814Z] 891c053d2c06: Pulling fs layer [2023-01-31T15:45:58.814Z] dda99020689f: Waiting [2023-01-31T15:45:58.814Z] fc693d55d65f: Waiting [2023-01-31T15:45:58.814Z] 7e9fc2657dce: Waiting [2023-01-31T15:45:58.814Z] db1c61fa0a46: Waiting [2023-01-31T15:45:58.814Z] 891c053d2c06: Waiting [2023-01-31T15:45:58.814Z] e16973657156: Verifying Checksum [2023-01-31T15:45:58.814Z] e16973657156: Download complete [2023-01-31T15:45:58.814Z] 35d82f9e3411: Download complete [2023-01-31T15:45:58.814Z] 7e9fc2657dce: Verifying Checksum [2023-01-31T15:45:58.814Z] 7e9fc2657dce: Download complete [2023-01-31T15:45:58.814Z] dda99020689f: Verifying Checksum [2023-01-31T15:45:58.814Z] dda99020689f: Download complete [2023-01-31T15:45:58.814Z] 9b18e9b68314: Verifying Checksum [2023-01-31T15:45:59.789Z] 9b18e9b68314: Pull complete [2023-01-31T15:46:00.065Z] 891c053d2c06: Verifying Checksum [2023-01-31T15:46:00.065Z] 891c053d2c06: Download complete [2023-01-31T15:46:00.355Z] 35d82f9e3411: Pull complete [2023-01-31T15:46:00.625Z] e16973657156: Pull complete [2023-01-31T15:46:01.221Z] db1c61fa0a46: Download complete [2023-01-31T15:46:01.810Z] fc693d55d65f: Download complete [2023-01-31T15:46:14.172Z] fc693d55d65f: Pull complete [2023-01-31T15:46:14.172Z] 7e9fc2657dce: Pull complete [2023-01-31T15:46:14.172Z] dda99020689f: Pull complete [2023-01-31T15:46:19.541Z] db1c61fa0a46: Pull complete [2023-01-31T15:46:22.140Z] 891c053d2c06: Pull complete [2023-01-31T15:46:22.140Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2023-01-31T15:46:22.140Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2023-01-31T15:46:22.140Z] ---> f96f9c87975a [2023-01-31T15:46:22.140Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2023-01-31T15:46:24.104Z] ---> Running in 980302d6e41f [2023-01-31T15:46:24.375Z] Removing intermediate container 980302d6e41f [2023-01-31T15:46:24.375Z] ---> 2cb4980525bf [2023-01-31T15:46:24.375Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-31T15:46:24.375Z] ---> Running in 4198a6ec81d9 [2023-01-31T15:46:24.645Z] Removing intermediate container 4198a6ec81d9 [2023-01-31T15:46:24.645Z] ---> 9f53e18174c7 [2023-01-31T15:46:24.645Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-31T15:46:24.921Z] ---> Running in 5318f06d2864 [2023-01-31T15:46:25.191Z] Removing intermediate container 5318f06d2864 [2023-01-31T15:46:25.191Z] ---> bae4551267f4 [2023-01-31T15:46:25.191Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2023-01-31T15:46:25.191Z] ---> Running in a3dfa73100d0 [2023-01-31T15:46:25.780Z] Removing intermediate container a3dfa73100d0 [2023-01-31T15:46:25.780Z] ---> 62f62a2c5a34 [2023-01-31T15:46:25.780Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-31T15:46:25.780Z] ---> Running in 0215e5d3cd34 [2023-01-31T15:46:27.202Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-31T15:46:27.472Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-31T15:46:28.892Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2023-01-31T15:46:28.892Z] (2/4) Installing libedit (20210910.3.1-r0) [2023-01-31T15:46:28.892Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2023-01-31T15:46:29.163Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2023-01-31T15:46:29.163Z] Executing busybox-1.35.0-r17.trigger [2023-01-31T15:46:29.163Z] OK: 226 MiB in 55 packages [2023-01-31T15:46:30.661Z] Removing intermediate container 0215e5d3cd34 [2023-01-31T15:46:30.661Z] ---> b6ce89972edd [2023-01-31T15:46:30.661Z] Step 8/12 : WORKDIR /device-rest-go [2023-01-31T15:46:30.661Z] ---> Running in 03cdcb686c44 [2023-01-31T15:46:30.661Z] Removing intermediate container 03cdcb686c44 [2023-01-31T15:46:30.661Z] ---> 13e3edd82959 [2023-01-31T15:46:30.661Z] Step 9/12 : COPY go.mod vendor* ./ [2023-01-31T15:46:31.272Z] ---> fd8889396fc5 [2023-01-31T15:46:31.272Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-31T15:46:31.573Z] ---> Running in d2abc64b7ac1 [2023-01-31T15:47:42.422Z] Removing intermediate container d2abc64b7ac1 [2023-01-31T15:47:42.422Z] ---> 893dc2a00df2 [2023-01-31T15:47:42.422Z] Step 11/12 : COPY . . [2023-01-31T15:47:42.422Z] ---> 4a8183bf815c [2023-01-31T15:47:42.422Z] Step 12/12 : RUN $MAKE [2023-01-31T15:47:42.422Z] ---> Running in b78751acf939 [2023-01-31T15:47:42.422Z] noop [2023-01-31T15:47:42.422Z] Removing intermediate container b78751acf939 [2023-01-31T15:47:42.422Z] ---> 2653dcd9f06e [2023-01-31T15:47:42.422Z] Successfully built 2653dcd9f06e [2023-01-31T15:47:42.422Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:47:42.782Z] + docker inspect -f . ci-base-image-arm64 [2023-01-31T15:47:42.782Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T15:47:42.976Z] prd-ubuntu20.04-docker-arm64-4c-16g-4150 does not seem to be running inside a container [2023-01-31T15:47:43.047Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/79 -v /w/workspace/device-rest-go/79:/w/workspace/device-rest-go/79:rw,z -v /w/workspace/device-rest-go/79@tmp:/w/workspace/device-rest-go/79@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-01-31T15:47:44.244Z] $ docker top 911c0fe1745809bc36d2c45ce855707892eff1c706f3d30c4ee30fce48d450e3 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-31T15:47:45.056Z] + go version [2023-01-31T15:47:45.056Z] go version go1.18.7 linux/arm64 [Pipeline] } [2023-01-31T15:47:45.078Z] $ docker stop --time=1 911c0fe1745809bc36d2c45ce855707892eff1c706f3d30c4ee30fce48d450e3 [2023-01-31T15:47:46.702Z] $ docker rm -f --volumes 911c0fe1745809bc36d2c45ce855707892eff1c706f3d30c4ee30fce48d450e3 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:47:47.240Z] + docker inspect -f . ci-base-image-arm64 [2023-01-31T15:47:47.240Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T15:47:47.422Z] prd-ubuntu20.04-docker-arm64-4c-16g-4150 does not seem to be running inside a container [2023-01-31T15:47:47.493Z] $ 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/79 -v /w/workspace/device-rest-go/79:/w/workspace/device-rest-go/79:rw,z -v /w/workspace/device-rest-go/79@tmp:/w/workspace/device-rest-go/79@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-01-31T15:47:48.624Z] $ docker top e52ddd7af710fb9a6c30ced16f6b34127b5d14cdec57431ee84066256323c999 -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-31T15:47:49.123Z] + git config --global --add safe.directory /w/workspace/device-rest-go/79 [Pipeline] fileExists [Pipeline] sh [2023-01-31T15:47:49.456Z] + make test [2023-01-31T15:47:49.456Z] go test ./... -coverprofile=coverage.out ./... [2023-01-31T15:47:51.408Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2023-01-31T15:49:13.062Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2023-01-31T15:49:13.062Z] ok github.com/edgexfoundry/device-rest-go/driver 0.064s coverage: 33.9% of statements [2023-01-31T15:49:13.062Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2023-01-31T15:49:13.062Z] go vet ./... [2023-01-31T15:49:39.750Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2023-01-31T15:49:39.750Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2023-01-31T15:49:39.750Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2023-01-31T15:49:39.771Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2023-01-31T15:49:39.789Z] $ docker stop --time=1 e52ddd7af710fb9a6c30ced16f6b34127b5d14cdec57431ee84066256323c999 [2023-01-31T15:49:41.614Z] $ docker rm -f --volumes e52ddd7af710fb9a6c30ced16f6b34127b5d14cdec57431ee84066256323c999 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-31T15:49:42.615Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2023-01-31T15:49:42.645Z] Warning: overwriting stash ‘coverage-report’ [2023-01-31T15:49:43.151Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2023-01-31T15:49:43.523Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2023-01-31T15:49:43.845Z] + ls -al . [2023-01-31T15:49:43.845Z] total 192 [2023-01-31T15:49:43.845Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 31 15:47 . [2023-01-31T15:49:43.845Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 15:45 .. [2023-01-31T15:49:43.845Z] -rw-rw-r-- 1 jenkins jenkins 151 Jan 31 15:45 .dockerignore [2023-01-31T15:49:43.845Z] drwxrwxr-x 8 jenkins jenkins 4096 Jan 31 15:45 .git [2023-01-31T15:49:43.845Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 31 15:45 .github [2023-01-31T15:49:43.845Z] -rw-rw-r-- 1 jenkins jenkins 329 Jan 31 15:45 .gitignore [2023-01-31T15:49:43.846Z] -rw-rw-r-- 1 jenkins jenkins 41 Jan 31 15:45 .golangci.yml [2023-01-31T15:49:43.846Z] -rw-rw-r-- 1 jenkins jenkins 8996 Jan 31 15:45 Attribution.txt [2023-01-31T15:49:43.846Z] -rw-rw-r-- 1 jenkins jenkins 13085 Jan 31 15:45 CHANGELOG.md [2023-01-31T15:49:43.846Z] -rw-rw-r-- 1 jenkins jenkins 1578 Jan 31 15:45 Dockerfile [2023-01-31T15:49:43.846Z] -rw-rw-r-- 1 jenkins jenkins 677 Jan 31 15:45 GOVERNANCE.md [2023-01-31T15:49:43.846Z] -rw-rw-r-- 1 jenkins jenkins 680 Jan 31 15:45 Jenkinsfile [2023-01-31T15:49:43.846Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jan 31 15:45 LICENSE [2023-01-31T15:49:43.846Z] -rw-rw-r-- 1 jenkins jenkins 1744 Jan 31 15:45 Makefile [2023-01-31T15:49:43.846Z] -rw-rw-r-- 1 jenkins jenkins 620 Jan 31 15:45 OWNERS.md [2023-01-31T15:49:43.846Z] -rw-rw-r-- 1 jenkins jenkins 15447 Jan 31 15:45 README.md [2023-01-31T15:49:43.846Z] -rw-rw-r-- 1 jenkins jenkins 11 Jan 31 15:42 VERSION [2023-01-31T15:49:43.846Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 31 15:45 bin [2023-01-31T15:49:43.846Z] drwxrwxr-x 3 jenkins jenkins 4096 Jan 31 15:45 cmd [2023-01-31T15:49:43.846Z] -rw-r--r-- 1 jenkins jenkins 13744 Jan 31 15:49 coverage.out [2023-01-31T15:49:43.846Z] drwxrwxr-x 2 jenkins jenkins 4096 Jan 31 15:45 driver [2023-01-31T15:49:43.846Z] -rw-rw-r-- 1 jenkins jenkins 3488 Jan 31 15:45 go.mod [2023-01-31T15:49:43.846Z] -rw-rw-r-- 1 jenkins jenkins 45013 Jan 31 15:45 go.sum [2023-01-31T15:49:43.846Z] drwxrwxr-x 4 jenkins jenkins 4096 Jan 31 15:45 snap [2023-01-31T15:49:43.846Z] -rw-rw-r-- 1 jenkins jenkins 713 Jan 31 15:45 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:49:44.226Z] + 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=83d0d95cb873d118c9d8fcbcde0c6c79336165c6 --label arch=arm64 --label version=3.0.0-dev.7 . [2023-01-31T15:49:44.226Z] Sending build context to Docker daemon 157.2kB [2023-01-31T15:49:44.496Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2023-01-31T15:49:44.496Z] Step 2/25 : FROM ${BASE} AS builder [2023-01-31T15:49:44.496Z] ---> 2653dcd9f06e [2023-01-31T15:49:44.496Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2023-01-31T15:49:44.765Z] ---> Running in cf2fe9c5aaef [2023-01-31T15:49:45.039Z] Removing intermediate container cf2fe9c5aaef [2023-01-31T15:49:45.039Z] ---> 3de692cc6b5f [2023-01-31T15:49:45.039Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2023-01-31T15:49:45.039Z] ---> Running in df43d7867ba3 [2023-01-31T15:49:45.308Z] Removing intermediate container df43d7867ba3 [2023-01-31T15:49:45.308Z] ---> cfcd67d4513b [2023-01-31T15:49:45.308Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client" [2023-01-31T15:49:45.583Z] ---> Running in 274c3970d3c2 [2023-01-31T15:49:45.852Z] Removing intermediate container 274c3970d3c2 [2023-01-31T15:49:45.852Z] ---> b75ce4c71a48 [2023-01-31T15:49:45.852Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2023-01-31T15:49:46.130Z] ---> Running in 0b1150e1b66b [2023-01-31T15:49:46.402Z] Removing intermediate container 0b1150e1b66b [2023-01-31T15:49:46.402Z] ---> 08b6fdecdd29 [2023-01-31T15:49:46.402Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2023-01-31T15:49:46.402Z] ---> Running in b35649814ecc [2023-01-31T15:49:47.818Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-31T15:49:47.818Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-31T15:49:49.245Z] OK: 226 MiB in 55 packages [2023-01-31T15:49:50.211Z] Removing intermediate container b35649814ecc [2023-01-31T15:49:50.211Z] ---> 8e47d553e6c6 [2023-01-31T15:49:50.211Z] Step 8/25 : WORKDIR /device-rest-go [2023-01-31T15:49:50.211Z] ---> Running in 22216adbbb99 [2023-01-31T15:49:50.479Z] Removing intermediate container 22216adbbb99 [2023-01-31T15:49:50.479Z] ---> 22fa8a28369f [2023-01-31T15:49:50.479Z] Step 9/25 : COPY go.mod vendor* ./ [2023-01-31T15:49:51.077Z] ---> be0068a57dba [2023-01-31T15:49:51.077Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2023-01-31T15:49:51.351Z] ---> Running in 03f2e7a5727e [2023-01-31T15:49:53.957Z] Removing intermediate container 03f2e7a5727e [2023-01-31T15:49:53.957Z] ---> 3e17e787adc0 [2023-01-31T15:49:53.957Z] Step 11/25 : COPY . . [2023-01-31T15:49:54.931Z] ---> ae2d81504d63 [2023-01-31T15:49:54.931Z] Step 12/25 : RUN $MAKE [2023-01-31T15:49:55.200Z] ---> Running in c3b28628813d [2023-01-31T15:49:57.781Z] CGO_ENABLED=0 go build -tags "" -ldflags "-X github.com/edgexfoundry/device-rest-go.Version=3.0.0-dev.7" -trimpath -mod=readonly -o cmd/device-rest ./cmd [2023-01-31T15:52:19.504Z] Removing intermediate container c3b28628813d [2023-01-31T15:52:19.504Z] ---> bad0ee1975b4 [2023-01-31T15:52:19.504Z] Step 13/25 : FROM alpine:3.16 [2023-01-31T15:52:19.504Z] 3.16: Pulling from library/alpine [2023-01-31T15:52:19.504Z] 6875df1f5354: Pulling fs layer [2023-01-31T15:52:19.504Z] 6875df1f5354: Verifying Checksum [2023-01-31T15:52:19.504Z] 6875df1f5354: Download complete [2023-01-31T15:52:19.504Z] 6875df1f5354: Pull complete [2023-01-31T15:52:19.504Z] Digest: sha256:b95359c2505145f16c6aa384f9cc74eeff78eb36d308ca4fd902eeeb0a0b161b [2023-01-31T15:52:19.504Z] Status: Downloaded newer image for alpine:3.16 [2023-01-31T15:52:19.504Z] ---> 2b4661558fb8 [2023-01-31T15:52:19.504Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2023-01-31T15:52:19.504Z] ---> Running in 30b41cabeff0 [2023-01-31T15:52:19.504Z] Removing intermediate container 30b41cabeff0 [2023-01-31T15:52:19.504Z] ---> 785555b371ee [2023-01-31T15:52:19.504Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2023-01-31T15:52:19.504Z] ---> Running in ceace293cc40 [2023-01-31T15:52:19.504Z] Removing intermediate container ceace293cc40 [2023-01-31T15:52:19.504Z] ---> 81416dc2cc7f [2023-01-31T15:52:19.504Z] Step 16/25 : RUN apk add --update --no-cache dumb-init [2023-01-31T15:52:19.504Z] ---> Running in 314b8e324f95 [2023-01-31T15:52:20.086Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2023-01-31T15:52:20.350Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2023-01-31T15:52:21.755Z] (1/1) Installing dumb-init (1.2.5-r1) [2023-01-31T15:52:21.755Z] Executing busybox-1.35.0-r17.trigger [2023-01-31T15:52:21.755Z] OK: 5 MiB in 15 packages [2023-01-31T15:52:22.338Z] Removing intermediate container 314b8e324f95 [2023-01-31T15:52:22.338Z] ---> c80b53cd9d2c [2023-01-31T15:52:22.338Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2023-01-31T15:52:23.744Z] ---> b898510de70d [2023-01-31T15:52:23.744Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2023-01-31T15:52:24.014Z] ---> 16a7acff1e6b [2023-01-31T15:52:24.014Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2023-01-31T15:52:24.597Z] ---> 605122b5b5dc [2023-01-31T15:52:24.597Z] Step 20/25 : EXPOSE 59986 [2023-01-31T15:52:24.597Z] ---> Running in d9784cb8e4d4 [2023-01-31T15:52:24.863Z] Removing intermediate container d9784cb8e4d4 [2023-01-31T15:52:24.863Z] ---> 912a2de0d24f [2023-01-31T15:52:24.863Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2023-01-31T15:52:24.863Z] ---> Running in e312b899b63b [2023-01-31T15:52:25.129Z] Removing intermediate container e312b899b63b [2023-01-31T15:52:25.129Z] ---> 885a58c222f5 [2023-01-31T15:52:25.129Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--registry"] [2023-01-31T15:52:25.395Z] ---> Running in 949fc44ee5c4 [2023-01-31T15:52:25.395Z] Removing intermediate container 949fc44ee5c4 [2023-01-31T15:52:25.395Z] ---> 1eea94128bcc [2023-01-31T15:52:25.395Z] Step 23/25 : LABEL arch=arm64 [2023-01-31T15:52:25.660Z] ---> Running in 38571676c65e [2023-01-31T15:52:25.925Z] Removing intermediate container 38571676c65e [2023-01-31T15:52:25.925Z] ---> 310e3b0073bf [2023-01-31T15:52:25.925Z] Step 24/25 : LABEL git_sha=83d0d95cb873d118c9d8fcbcde0c6c79336165c6 [2023-01-31T15:52:25.925Z] ---> Running in 468643a7f423 [2023-01-31T15:52:26.193Z] Removing intermediate container 468643a7f423 [2023-01-31T15:52:26.193Z] ---> 22d0111acc63 [2023-01-31T15:52:26.193Z] Step 25/25 : LABEL version=3.0.0-dev.7 [2023-01-31T15:52:26.193Z] ---> Running in a676a99495b6 [2023-01-31T15:52:26.777Z] Removing intermediate container a676a99495b6 [2023-01-31T15:52:26.777Z] ---> c157e0a028bc [2023-01-31T15:52:26.777Z] [Warning] One or more build-args [ARCH] were not consumed [2023-01-31T15:52:26.777Z] Successfully built c157e0a028bc [2023-01-31T15:52:26.777Z] 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-01-31T15:52:26.858Z] provisioning config files... [2023-01-31T15:52:26.872Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/79@tmp/config18355693076905207507tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-31T15:52:27.211Z] ---> docker-login.sh [2023-01-31T15:52:27.211Z] nexus3.edgexfoundry.org:10001 [2023-01-31T15:52:27.211Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T15:52:27.478Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T15:52:27.478Z] Configure a credential helper to remove this warning. See [2023-01-31T15:52:27.478Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T15:52:27.478Z] [2023-01-31T15:52:27.478Z] Login Succeeded [2023-01-31T15:52:27.478Z] nexus3.edgexfoundry.org:10002 [2023-01-31T15:52:27.746Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T15:52:27.746Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T15:52:27.746Z] Configure a credential helper to remove this warning. See [2023-01-31T15:52:27.746Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T15:52:27.746Z] [2023-01-31T15:52:27.746Z] Login Succeeded [2023-01-31T15:52:27.746Z] nexus3.edgexfoundry.org:10003 [2023-01-31T15:52:28.012Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T15:52:28.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T15:52:28.278Z] Configure a credential helper to remove this warning. See [2023-01-31T15:52:28.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T15:52:28.278Z] [2023-01-31T15:52:28.278Z] Login Succeeded [2023-01-31T15:52:28.278Z] nexus3.edgexfoundry.org:10004 [2023-01-31T15:52:28.546Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T15:52:28.546Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T15:52:28.546Z] Configure a credential helper to remove this warning. See [2023-01-31T15:52:28.546Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T15:52:28.546Z] [2023-01-31T15:52:28.546Z] Login Succeeded [2023-01-31T15:52:28.546Z] docker.io [2023-01-31T15:52:28.812Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2023-01-31T15:52:29.078Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2023-01-31T15:52:29.078Z] Configure a credential helper to remove this warning. See [2023-01-31T15:52:29.078Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2023-01-31T15:52:29.078Z] [2023-01-31T15:52:29.078Z] Login Succeeded [2023-01-31T15:52:29.078Z] ---> docker-login.sh ends [Pipeline] } [2023-01-31T15:52:29.090Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-31T15:52:29.115Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2023-01-31T15:52:29.130Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2023-01-31T15:52:29.130Z] 83d0d95cb873d118c9d8fcbcde0c6c79336165c6 [2023-01-31T15:52:29.130Z] latest [2023-01-31T15:52:29.130Z] 3.0.0-dev.7 [2023-01-31T15:52:29.130Z] 83d0d95cb873d118c9d8fcbcde0c6c79336165c6-3.0.0-dev.7 [2023-01-31T15:52:29.130Z] main [2023-01-31T15:52:29.130Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:52:29.464Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:83d0d95cb873d118c9d8fcbcde0c6c79336165c6 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:52:29.810Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:83d0d95cb873d118c9d8fcbcde0c6c79336165c6 [2023-01-31T15:52:29.810Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-01-31T15:52:29.810Z] 723a7ad57d7e: Preparing [2023-01-31T15:52:29.810Z] 755a3946d8ad: Preparing [2023-01-31T15:52:29.810Z] 91fd246c4f71: Preparing [2023-01-31T15:52:29.810Z] b94e81168a40: Preparing [2023-01-31T15:52:29.810Z] 17bec77d7fdc: Preparing [2023-01-31T15:52:29.810Z] 17bec77d7fdc: Layer already exists [2023-01-31T15:52:30.078Z] 755a3946d8ad: Pushed [2023-01-31T15:52:30.078Z] 723a7ad57d7e: Pushed [2023-01-31T15:52:30.078Z] b94e81168a40: Pushed [2023-01-31T15:52:34.330Z] 91fd246c4f71: Pushed [2023-01-31T15:52:34.595Z] 83d0d95cb873d118c9d8fcbcde0c6c79336165c6: digest: sha256:ee547adc45a43b87e0837aa53c9bc765e7839b1c01a831edb1cd17333be0d5af size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:52:34.939Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:52:35.276Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-01-31T15:52:35.276Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-01-31T15:52:35.276Z] 723a7ad57d7e: Preparing [2023-01-31T15:52:35.276Z] 755a3946d8ad: Preparing [2023-01-31T15:52:35.276Z] 91fd246c4f71: Preparing [2023-01-31T15:52:35.276Z] b94e81168a40: Preparing [2023-01-31T15:52:35.276Z] 17bec77d7fdc: Preparing [2023-01-31T15:52:35.276Z] 17bec77d7fdc: Layer already exists [2023-01-31T15:52:35.276Z] 91fd246c4f71: Layer already exists [2023-01-31T15:52:35.276Z] 723a7ad57d7e: Layer already exists [2023-01-31T15:52:35.276Z] b94e81168a40: Layer already exists [2023-01-31T15:52:35.276Z] 755a3946d8ad: Layer already exists [2023-01-31T15:52:35.276Z] latest: digest: sha256:ee547adc45a43b87e0837aa53c9bc765e7839b1c01a831edb1cd17333be0d5af size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:52:35.947Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:52:36.304Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.7 [2023-01-31T15:52:36.304Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-01-31T15:52:36.304Z] 723a7ad57d7e: Preparing [2023-01-31T15:52:36.304Z] 755a3946d8ad: Preparing [2023-01-31T15:52:36.304Z] 91fd246c4f71: Preparing [2023-01-31T15:52:36.304Z] b94e81168a40: Preparing [2023-01-31T15:52:36.304Z] 17bec77d7fdc: Preparing [2023-01-31T15:52:36.304Z] 17bec77d7fdc: Layer already exists [2023-01-31T15:52:36.304Z] 91fd246c4f71: Layer already exists [2023-01-31T15:52:36.304Z] 755a3946d8ad: Layer already exists [2023-01-31T15:52:36.304Z] 723a7ad57d7e: Layer already exists [2023-01-31T15:52:36.304Z] b94e81168a40: Layer already exists [2023-01-31T15:52:36.304Z] 3.0.0-dev.7: digest: sha256:ee547adc45a43b87e0837aa53c9bc765e7839b1c01a831edb1cd17333be0d5af size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:52:36.932Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:83d0d95cb873d118c9d8fcbcde0c6c79336165c6-3.0.0-dev.7 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:52:37.384Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:83d0d95cb873d118c9d8fcbcde0c6c79336165c6-3.0.0-dev.7 [2023-01-31T15:52:37.384Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-01-31T15:52:37.384Z] 723a7ad57d7e: Preparing [2023-01-31T15:52:37.384Z] 755a3946d8ad: Preparing [2023-01-31T15:52:37.384Z] 91fd246c4f71: Preparing [2023-01-31T15:52:37.384Z] b94e81168a40: Preparing [2023-01-31T15:52:37.384Z] 17bec77d7fdc: Preparing [2023-01-31T15:52:37.384Z] 17bec77d7fdc: Layer already exists [2023-01-31T15:52:37.384Z] 91fd246c4f71: Layer already exists [2023-01-31T15:52:37.384Z] 755a3946d8ad: Layer already exists [2023-01-31T15:52:37.384Z] 723a7ad57d7e: Layer already exists [2023-01-31T15:52:37.384Z] b94e81168a40: Layer already exists [2023-01-31T15:52:37.384Z] 83d0d95cb873d118c9d8fcbcde0c6c79336165c6-3.0.0-dev.7: digest: sha256:ee547adc45a43b87e0837aa53c9bc765e7839b1c01a831edb1cd17333be0d5af size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:52:37.731Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:52:38.077Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2023-01-31T15:52:38.077Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2023-01-31T15:52:38.077Z] 723a7ad57d7e: Preparing [2023-01-31T15:52:38.077Z] 755a3946d8ad: Preparing [2023-01-31T15:52:38.077Z] 91fd246c4f71: Preparing [2023-01-31T15:52:38.077Z] b94e81168a40: Preparing [2023-01-31T15:52:38.077Z] 17bec77d7fdc: Preparing [2023-01-31T15:52:38.077Z] 17bec77d7fdc: Layer already exists [2023-01-31T15:52:38.077Z] 91fd246c4f71: Layer already exists [2023-01-31T15:52:38.077Z] 755a3946d8ad: Layer already exists [2023-01-31T15:52:38.077Z] 723a7ad57d7e: Layer already exists [2023-01-31T15:52:38.077Z] b94e81168a40: Layer already exists [2023-01-31T15:52:38.344Z] main: digest: sha256:ee547adc45a43b87e0837aa53c9bc765e7839b1c01a831edb1cd17333be0d5af size: 1365 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2023-01-31T15:52:38.389Z] ===================================================== [Pipeline] echo [2023-01-31T15:52:38.395Z] taggedImages: [2023-01-31T15:52:38.395Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:83d0d95cb873d118c9d8fcbcde0c6c79336165c6 [2023-01-31T15:52:38.395Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2023-01-31T15:52:38.395Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:3.0.0-dev.7 [2023-01-31T15:52:38.395Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:83d0d95cb873d118c9d8fcbcde0c6c79336165c6-3.0.0-dev.7 [2023-01-31T15:52:38.395Z] - 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-01-31T15:52:38.748Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-31T15:52:38.748Z] [2023-01-31T15:52:38.748Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:52:39.084Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-31T15:52:39.084Z] arm64: Pulling from edgex-lftools-log-publisher [2023-01-31T15:52:39.084Z] 8998bd30e6a1: Pulling fs layer [2023-01-31T15:52:39.084Z] 04944245beec: Pulling fs layer [2023-01-31T15:52:39.084Z] 699f458cf7ca: Pulling fs layer [2023-01-31T15:52:39.084Z] 765212b225bb: Pulling fs layer [2023-01-31T15:52:39.084Z] f23df028b6ca: Pulling fs layer [2023-01-31T15:52:39.084Z] d65c8cfc05b1: Pulling fs layer [2023-01-31T15:52:39.084Z] 2437ff75d9bd: Pulling fs layer [2023-01-31T15:52:39.084Z] 765212b225bb: Waiting [2023-01-31T15:52:39.084Z] f23df028b6ca: Waiting [2023-01-31T15:52:39.084Z] d65c8cfc05b1: Waiting [2023-01-31T15:52:39.084Z] 2437ff75d9bd: Waiting [2023-01-31T15:52:39.355Z] 04944245beec: Verifying Checksum [2023-01-31T15:52:39.355Z] 04944245beec: Download complete [2023-01-31T15:52:39.355Z] 765212b225bb: Download complete [2023-01-31T15:52:39.355Z] f23df028b6ca: Download complete [2023-01-31T15:52:39.355Z] d65c8cfc05b1: Verifying Checksum [2023-01-31T15:52:39.355Z] d65c8cfc05b1: Download complete [2023-01-31T15:52:39.622Z] 699f458cf7ca: Verifying Checksum [2023-01-31T15:52:39.622Z] 699f458cf7ca: Download complete [2023-01-31T15:52:39.891Z] 8998bd30e6a1: Download complete [2023-01-31T15:52:41.830Z] 2437ff75d9bd: Verifying Checksum [2023-01-31T15:52:41.830Z] 2437ff75d9bd: Download complete [2023-01-31T15:52:43.769Z] 8998bd30e6a1: Pull complete [2023-01-31T15:52:44.037Z] 04944245beec: Pull complete [2023-01-31T15:52:45.443Z] 699f458cf7ca: Pull complete [2023-01-31T15:52:45.443Z] 765212b225bb: Pull complete [2023-01-31T15:52:46.405Z] f23df028b6ca: Pull complete [2023-01-31T15:52:46.405Z] d65c8cfc05b1: Pull complete [2023-01-31T15:53:01.400Z] 2437ff75d9bd: Pull complete [2023-01-31T15:53:01.400Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2023-01-31T15:53:01.400Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2023-01-31T15:53:01.400Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T15:53:01.592Z] prd-ubuntu20.04-docker-arm64-4c-16g-4150 does not seem to be running inside a container [2023-01-31T15:53:01.657Z] $ 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/79 -v /w/workspace/device-rest-go/79:/w/workspace/device-rest-go/79:rw,z -v /w/workspace/device-rest-go/79@tmp:/w/workspace/device-rest-go/79@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-01-31T15:53:04.381Z] $ docker top 9bed73e6048a56cdbbd05aa7f221d45a40c80e09b7e0a598ea3c6218f164ebc3 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2023-01-31T15:53:05.236Z] ---> job-cost.sh [2023-01-31T15:53:05.236Z] lf-activate-venv: SKIPPING [2023-01-31T15:53:05.236Z] INFO: No Stack... [2023-01-31T15:53:05.504Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2023-01-31T15:53:06.468Z] INFO: Archiving Costs [Pipeline] sh [2023-01-31T15:53:07.109Z] + + cat /w/workspace/device-rest-go/79/archives/cost.csv [2023-01-31T15:53:07.109Z] cut -d, -f6 [Pipeline] lock [2023-01-31T15:53:07.176Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-79-stack-cost] [2023-01-31T15:53:07.183Z] Resource [jenkins-edgexfoundry-device-rest-go-main-79-stack-cost] did not exist. Created. [2023-01-31T15:53:07.183Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-79-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2023-01-31T15:53:07.840Z] /w/workspace/device-rest-go/79@tmp/durable-3e6706bd/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2023-01-31T15:53:08.492Z] + echo total: 0.10999999940395355 [Pipeline] stash [2023-01-31T15:53:08.518Z] Warning: overwriting stash ‘stack-cost’ [2023-01-31T15:53:08.568Z] Stashed 1 file(s) [Pipeline] } [2023-01-31T15:53:08.602Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-79-stack-cost] [Pipeline] // lock [Pipeline] } [2023-01-31T15:53:08.619Z] $ docker stop --time=1 9bed73e6048a56cdbbd05aa7f221d45a40c80e09b7e0a598ea3c6218f164ebc3 [2023-01-31T15:53:10.117Z] $ docker rm -f --volumes 9bed73e6048a56cdbbd05aa7f221d45a40c80e09b7e0a598ea3c6218f164ebc3 [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-01-31T15:53:10.501Z] provisioning config files... [2023-01-31T15:53:10.509Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10618139271630383458tmp [Pipeline] { [Pipeline] sh [2023-01-31T15:53:10.806Z] + set +x [2023-01-31T15:53:10.806Z] + curl -s https://codecov.io/bash [2023-01-31T15:53:10.806Z] + bash -s -- [2023-01-31T15:53:10.806Z] [2023-01-31T15:53:10.806Z] _____ _ [2023-01-31T15:53:10.806Z] / ____| | | [2023-01-31T15:53:10.806Z] | | ___ __| | ___ ___ _____ __ [2023-01-31T15:53:10.806Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2023-01-31T15:53:10.806Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2023-01-31T15:53:10.806Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2023-01-31T15:53:10.806Z] Bash-1.0.6 [2023-01-31T15:53:10.806Z] [2023-01-31T15:53:10.806Z] [2023-01-31T15:53:10.806Z] ==> git version 2.25.1 found [2023-01-31T15:53:10.806Z] ==> 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-01-31T15:53:10.806Z] Release-Date: 2020-01-08 [2023-01-31T15:53:10.806Z] 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-01-31T15:53:10.806Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2023-01-31T15:53:10.806Z] ==> Jenkins CI detected. [2023-01-31T15:53:10.806Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2023-01-31T15:53:10.806Z] project root: . [2023-01-31T15:53:10.806Z] --> token set from env [2023-01-31T15:53:10.806Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2023-01-31T15:53:10.806Z] ==> Running gcov in . (disable via -X gcov) [2023-01-31T15:53:10.806Z] ==> Python coveragepy not found [2023-01-31T15:53:10.806Z] ==> Searching for coverage reports in: [2023-01-31T15:53:10.806Z] + . [2023-01-31T15:53:10.806Z] -> Found 1 reports [2023-01-31T15:53:10.806Z] ==> Detecting git/mercurial file structure [2023-01-31T15:53:10.806Z] ==> Reading reports [2023-01-31T15:53:11.066Z] + ./coverage.out bytes=13744 [2023-01-31T15:53:11.066Z] ==> Appending adjustments [2023-01-31T15:53:11.066Z] https://docs.codecov.io/docs/fixing-reports [2023-01-31T15:53:11.066Z] + Found adjustments [2023-01-31T15:53:11.066Z] ==> Gzipping contents [2023-01-31T15:53:11.066Z] 4.0K /tmp/codecov.VxihOv.gz [2023-01-31T15:53:11.066Z] ==> Uploading reports [2023-01-31T15:53:11.066Z] url: https://codecov.io [2023-01-31T15:53:11.066Z] query: branch=main&commit=83d0d95cb873d118c9d8fcbcde0c6c79336165c6&build=79&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F79%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-01-31T15:53:11.066Z] -> Pinging Codecov [2023-01-31T15:53:11.066Z] 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=83d0d95cb873d118c9d8fcbcde0c6c79336165c6&build=79&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F79%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2023-01-31T15:53:11.325Z] -> Uploading to [2023-01-31T15:53:11.325Z] https://storage.googleapis.com/codecov/v4/raw/2023-01-31/4E5D53B4F1F92C436F7061BF334D961C/83d0d95cb873d118c9d8fcbcde0c6c79336165c6/1c6c9550-0e7a-49bb-a60b-e67dc708206b.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20230131%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20230131T155311Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=21a818e1d038ff6156e8b5445d9802c5c7650ecafde1273ba27166a7dffb0751 [2023-01-31T15:53:11.325Z] % Total % Received % Xferd Average Speed Time Time Time Current [2023-01-31T15:53:11.325Z] Dload Upload Total Spent Left Speed [2023-01-31T15:53:11.585Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 2443 0 0 100 2443 0 11054 --:--:-- --:--:-- --:--:-- 11004 100 2443 0 0 100 2443 0 8819 --:--:-- --:--:-- --:--:-- 8787 [2023-01-31T15:53:11.585Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/83d0d95cb873d118c9d8fcbcde0c6c79336165c6 [Pipeline] } [2023-01-31T15:53:11.592Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2023-01-31T15:53:11.812Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2023-01-31T15:53:11.822Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:53:12.117Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-31T15:53:12.117Z] [2023-01-31T15:53:12.117Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:53:12.417Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-31T15:53:12.417Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2023-01-31T15:53:12.417Z] df9b9388f04a: Pulling fs layer [2023-01-31T15:53:12.417Z] 52dc419b0ee2: Pulling fs layer [2023-01-31T15:53:12.417Z] 25bc292e5bac: Pulling fs layer [2023-01-31T15:53:12.417Z] 114826534d7a: Pulling fs layer [2023-01-31T15:53:12.417Z] 4657fd5d0bcf: Pulling fs layer [2023-01-31T15:53:12.417Z] 6ad1cebc031e: Pulling fs layer [2023-01-31T15:53:12.417Z] 8a3aa393b2d8: Pulling fs layer [2023-01-31T15:53:12.417Z] 6ad1cebc031e: Waiting [2023-01-31T15:53:12.417Z] 114826534d7a: Waiting [2023-01-31T15:53:12.417Z] 4657fd5d0bcf: Waiting [2023-01-31T15:53:12.417Z] 25bc292e5bac: Verifying Checksum [2023-01-31T15:53:12.417Z] 25bc292e5bac: Download complete [2023-01-31T15:53:12.417Z] 52dc419b0ee2: Verifying Checksum [2023-01-31T15:53:12.417Z] 52dc419b0ee2: Download complete [2023-01-31T15:53:12.417Z] 4657fd5d0bcf: Verifying Checksum [2023-01-31T15:53:12.417Z] 4657fd5d0bcf: Download complete [2023-01-31T15:53:12.417Z] df9b9388f04a: Download complete [2023-01-31T15:53:12.684Z] df9b9388f04a: Pull complete [2023-01-31T15:53:12.684Z] 52dc419b0ee2: Pull complete [2023-01-31T15:53:12.948Z] 6ad1cebc031e: Verifying Checksum [2023-01-31T15:53:12.949Z] 6ad1cebc031e: Download complete [2023-01-31T15:53:12.949Z] 25bc292e5bac: Pull complete [2023-01-31T15:53:13.937Z] 114826534d7a: Verifying Checksum [2023-01-31T15:53:13.937Z] 114826534d7a: Download complete [2023-01-31T15:53:14.197Z] 8a3aa393b2d8: Verifying Checksum [2023-01-31T15:53:14.197Z] 8a3aa393b2d8: Download complete [2023-01-31T15:53:17.485Z] 114826534d7a: Pull complete [2023-01-31T15:53:17.485Z] 4657fd5d0bcf: Pull complete [2023-01-31T15:53:17.485Z] 6ad1cebc031e: Pull complete [2023-01-31T15:53:20.766Z] 8a3aa393b2d8: Pull complete [2023-01-31T15:53:20.766Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2023-01-31T15:53:20.766Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2023-01-31T15:53:20.766Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T15:53:20.849Z] prd-ubuntu20.04-docker-8c-8g-4148 does not seem to be running inside a container [2023-01-31T15:53:20.875Z] $ 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-01-31T15:53:22.996Z] $ docker top 7d365156d2deed3ed510d4fef923476f047ca789662473c4d61ef3275b503fa5 -eo pid,comm [Pipeline] { [Pipeline] echo [2023-01-31T15:53:23.068Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2023-01-31T15:53:23.346Z] + set -o pipefail [2023-01-31T15:53:23.347Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2023-01-31T15:53:29.906Z] [2023-01-31T15:53:29.906Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2023-01-31T15:53:29.906Z] [2023-01-31T15:53:29.906Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/d28d89b8-5e3d-4c9a-921e-afb7e0f86a17 [2023-01-31T15:53:29.906Z] [2023-01-31T15:53:29.906Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2023-01-31T15:53:29.906Z] [2023-01-31T15:53:29.906Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2023-01-31T15:53:29.906Z] [2023-01-31T15:53:30.164Z] [2023-01-31T15:53:30.164Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2023-01-31T15:53:30.164Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2023-01-31T15:53:30.164Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2023-01-31T15:53:30.170Z] $ docker stop --time=1 7d365156d2deed3ed510d4fef923476f047ca789662473c4d61ef3275b503fa5 [2023-01-31T15:53:32.359Z] $ docker rm -f --volumes 7d365156d2deed3ed510d4fef923476f047ca789662473c4d61ef3275b503fa5 [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-01-31T15:53:33.016Z] + git log --format=format:%s -1 83d0d95cb873d118c9d8fcbcde0c6c79336165c6 [Pipeline] sh [2023-01-31T15:53:33.302Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-31T15:53:33.302Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:53:33.597Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-31T15:53:33.597Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T15:53:33.666Z] prd-ubuntu20.04-docker-8c-8g-4148 does not seem to be running inside a container [2023-01-31T15:53:33.693Z] $ 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-01-31T15:53:34.100Z] $ docker top 026261d3254749442eb1506aea150136b2cfc8de0782ecdcbe8974b4aa15669f -eo pid,comm [2023-01-31T15:53:34.149Z] 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-01-31T15:53:34.150Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-31T15:53:34.186Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-31T15:53:34.186Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-31T15:53:34.296Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-31T15:53:34.294Z] $ docker exec 026261d3254749442eb1506aea150136b2cfc8de0782ecdcbe8974b4aa15669f ssh-agent [2023-01-31T15:53:34.404Z] SSH_AUTH_SOCK=/tmp/ssh-iz2nr86S4QVA/agent.32 [2023-01-31T15:53:34.404Z] SSH_AGENT_PID=38 [2023-01-31T15:53:34.409Z] Running ssh-add (command line suppressed) [2023-01-31T15:53:34.518Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18105873299665935989.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_18105873299665935989.key) [2023-01-31T15:53:34.536Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-31T15:53:34.823Z] + git semver tag [2023-01-31T15:53:35.083Z] 2023-01-31 15:53:34,985 [run_tag] DEBUG tag force:False [2023-01-31T15:53:35.083Z] 2023-01-31 15:53:34,985 [check_head_tag] DEBUG check head tag [2023-01-31T15:53:35.083Z] 2023-01-31 15:53:34,986 [execute] INFO git cat-file --batch-check [2023-01-31T15:53:35.083Z] 2023-01-31 15:53:34,986 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-01-31T15:53:35.083Z] 2023-01-31 15:53:34,990 [execute] INFO git cat-file --batch [2023-01-31T15:53:35.083Z] 2023-01-31 15:53:34,990 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2023-01-31T15:53:35.083Z] 2023-01-31 15:53:35,005 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-01-31T15:53:35.083Z] 2023-01-31 15:53:35,006 [execute] INFO git tag -a v3.0.0-dev.7 -m v3.0.0-dev.7 [2023-01-31T15:53:35.083Z] 2023-01-31 15:53:35,006 [execute] DEBUG Popen(['git', 'tag', '-a', 'v3.0.0-dev.7', '-m', 'v3.0.0-dev.7'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2023-01-31T15:53:35.083Z] 2023-01-31 15:53:35,012 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-01-31T15:53:35.083Z] 3.0.0-dev.7 [Pipeline] } [2023-01-31T15:53:35.090Z] $ docker exec --env ******** --env ******** 026261d3254749442eb1506aea150136b2cfc8de0782ecdcbe8974b4aa15669f ssh-agent -k [2023-01-31T15:53:35.185Z] unset SSH_AUTH_SOCK; [2023-01-31T15:53:35.186Z] unset SSH_AGENT_PID; [2023-01-31T15:53:35.186Z] echo Agent pid 38 killed; [2023-01-31T15:53:35.198Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-31T15:53:35.505Z] + git semver [Pipeline] } [2023-01-31T15:53:35.771Z] $ docker stop --time=1 026261d3254749442eb1506aea150136b2cfc8de0782ecdcbe8974b4aa15669f [2023-01-31T15:53:37.052Z] $ docker rm -f --volumes 026261d3254749442eb1506aea150136b2cfc8de0782ecdcbe8974b4aa15669f [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:53:37.447Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-31T15:53:37.447Z] [2023-01-31T15:53:37.447Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:53:37.747Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-31T15:53:37.747Z] 0.23.1-centos7: Pulling from edgex-lftools [2023-01-31T15:53:37.747Z] ab5ef0e58194: Pulling fs layer [2023-01-31T15:53:37.747Z] 9712f1f96733: Pulling fs layer [2023-01-31T15:53:37.747Z] 63f879dbbcfc: Pulling fs layer [2023-01-31T15:53:37.747Z] 0d9ebad4ef96: Pulling fs layer [2023-01-31T15:53:37.747Z] e9a5061849ea: Pulling fs layer [2023-01-31T15:53:37.747Z] d747dcd14b5f: Pulling fs layer [2023-01-31T15:53:37.747Z] 2de7ff778b66: Pulling fs layer [2023-01-31T15:53:37.747Z] 0d9ebad4ef96: Waiting [2023-01-31T15:53:37.747Z] e9a5061849ea: Waiting [2023-01-31T15:53:37.747Z] 9712f1f96733: Verifying Checksum [2023-01-31T15:53:38.741Z] 63f879dbbcfc: Verifying Checksum [2023-01-31T15:53:38.741Z] 63f879dbbcfc: Download complete [2023-01-31T15:53:39.002Z] 0d9ebad4ef96: Verifying Checksum [2023-01-31T15:53:39.002Z] 0d9ebad4ef96: Download complete [2023-01-31T15:53:39.002Z] d747dcd14b5f: Download complete [2023-01-31T15:53:39.002Z] ab5ef0e58194: Verifying Checksum [2023-01-31T15:53:39.002Z] ab5ef0e58194: Download complete [2023-01-31T15:53:39.261Z] e9a5061849ea: Verifying Checksum [2023-01-31T15:53:39.261Z] e9a5061849ea: Download complete [2023-01-31T15:53:39.261Z] 2de7ff778b66: Verifying Checksum [2023-01-31T15:53:39.261Z] 2de7ff778b66: Download complete [2023-01-31T15:53:41.798Z] ab5ef0e58194: Pull complete [2023-01-31T15:53:41.798Z] 9712f1f96733: Pull complete [2023-01-31T15:53:42.731Z] 63f879dbbcfc: Pull complete [2023-01-31T15:53:46.935Z] 0d9ebad4ef96: Pull complete [2023-01-31T15:53:46.935Z] e9a5061849ea: Pull complete [2023-01-31T15:53:46.935Z] d747dcd14b5f: Pull complete [2023-01-31T15:53:48.309Z] 2de7ff778b66: Pull complete [2023-01-31T15:53:48.309Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2023-01-31T15:53:48.309Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2023-01-31T15:53:48.309Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T15:53:48.391Z] prd-ubuntu20.04-docker-8c-8g-4148 does not seem to be running inside a container [2023-01-31T15:53:48.419Z] $ 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-01-31T15:53:50.450Z] $ docker top 53fa6d4cf3db9cbbfa546e0780bb77f58ee901746e059aae90879edcbda36b1e -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2023-01-31T15:53:50.536Z] provisioning config files... [2023-01-31T15:53:50.543Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16666297340913202500tmp [2023-01-31T15:53:50.554Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8340172021379081465tmp [2023-01-31T15:53:50.565Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17123185332857259697tmp [Pipeline] { [Pipeline] echo [2023-01-31T15:53:50.581Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-31T15:53:50.864Z] ---> sigul-configuration.sh [2023-01-31T15:53:50.864Z] gpg: directory `/root/.gnupg' created [2023-01-31T15:53:50.864Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2023-01-31T15:53:50.864Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2023-01-31T15:53:50.864Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2023-01-31T15:53:50.864Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2023-01-31T15:53:50.864Z] gpg: CAST5 encrypted data [2023-01-31T15:53:50.864Z] gpg: encrypted with 1 passphrase [2023-01-31T15:53:50.864Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2023-01-31T15:53:51.160Z] + mkdir /home/jenkins [2023-01-31T15:53:51.160Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2023-01-31T15:53:51.449Z] + 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-01-31T15:53:51.457Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-31T15:53:51.741Z] ---> sigul-install.sh [2023-01-31T15:53:51.741Z] Sigul already installed; skipping installation. [Pipeline] sh [2023-01-31T15:53:52.026Z] + git tag --list [2023-01-31T15:53:52.026Z] v1.0.0 [2023-01-31T15:53:52.026Z] v1.1.0 [2023-01-31T15:53:52.026Z] v1.1.1 [2023-01-31T15:53:52.026Z] v1.1.2 [2023-01-31T15:53:52.026Z] v1.2.0 [2023-01-31T15:53:52.026Z] v1.2.1 [2023-01-31T15:53:52.026Z] v2.0.0 [2023-01-31T15:53:52.026Z] v2.1.0 [2023-01-31T15:53:52.026Z] v2.1.1 [2023-01-31T15:53:52.026Z] v2.1.1-dev.1 [2023-01-31T15:53:52.026Z] v2.1.1-dev.2 [2023-01-31T15:53:52.026Z] v2.1.1-dev.3 [2023-01-31T15:53:52.026Z] v2.2.0 [2023-01-31T15:53:52.026Z] v2.2.1-dev.1 [2023-01-31T15:53:52.026Z] v2.2.1-dev.2 [2023-01-31T15:53:52.026Z] v2.2.1-dev.3 [2023-01-31T15:53:52.026Z] v2.2.1-dev.4 [2023-01-31T15:53:52.026Z] v2.2.1-dev.5 [2023-01-31T15:53:52.026Z] v2.2.1-dev.6 [2023-01-31T15:53:52.026Z] v2.2.1-dev.7 [2023-01-31T15:53:52.026Z] v2.2.1-dev.8 [2023-01-31T15:53:52.026Z] v2.2.1-dev.9 [2023-01-31T15:53:52.026Z] v2.3.0 [2023-01-31T15:53:52.026Z] v2.3.0-dev.10 [2023-01-31T15:53:52.026Z] v2.3.0-dev.11 [2023-01-31T15:53:52.026Z] v2.3.0-dev.12 [2023-01-31T15:53:52.026Z] v2.3.0-dev.13 [2023-01-31T15:53:52.026Z] v2.3.0-dev.14 [2023-01-31T15:53:52.026Z] v2.3.0-dev.15 [2023-01-31T15:53:52.026Z] v2.3.0-dev.16 [2023-01-31T15:53:52.026Z] v2.3.0-dev.17 [2023-01-31T15:53:52.026Z] v2.3.0-dev.18 [2023-01-31T15:53:52.026Z] v2.3.0-dev.19 [2023-01-31T15:53:52.026Z] v2.3.0-dev.20 [2023-01-31T15:53:52.026Z] v2.3.0-dev.21 [2023-01-31T15:53:52.026Z] v2.3.0-dev.22 [2023-01-31T15:53:52.026Z] v2.3.0-dev.23 [2023-01-31T15:53:52.026Z] v2.3.0-dev.24 [2023-01-31T15:53:52.026Z] v2.3.0-dev.25 [2023-01-31T15:53:52.026Z] v2.3.0-dev.9 [2023-01-31T15:53:52.026Z] v3.0.0-dev.1 [2023-01-31T15:53:52.026Z] v3.0.0-dev.2 [2023-01-31T15:53:52.026Z] v3.0.0-dev.3 [2023-01-31T15:53:52.026Z] v3.0.0-dev.4 [2023-01-31T15:53:52.026Z] v3.0.0-dev.5 [2023-01-31T15:53:52.026Z] v3.0.0-dev.6 [2023-01-31T15:53:52.026Z] v3.0.0-dev.7 [Pipeline] sh [2023-01-31T15:53:52.317Z] + lftools sign git-tag v3.0.0-dev.7 [2023-01-31T15:53:52.887Z] Signing Git tag with Sigul... [2023-01-31T15:53:52.887Z] Signing v3.0.0-dev.7 [Pipeline] echo [2023-01-31T15:53:53.465Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-31T15:53:53.748Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2023-01-31T15:53:53.754Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2023-01-31T15:53:53.767Z] $ docker stop --time=1 53fa6d4cf3db9cbbfa546e0780bb77f58ee901746e059aae90879edcbda36b1e [2023-01-31T15:53:55.105Z] $ docker rm -f --volumes 53fa6d4cf3db9cbbfa546e0780bb77f58ee901746e059aae90879edcbda36b1e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2023-01-31T15:53:55.530Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-31T15:53:55.530Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:53:55.832Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-31T15:53:55.833Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T15:53:55.911Z] prd-ubuntu20.04-docker-8c-8g-4148 does not seem to be running inside a container [2023-01-31T15:53:55.936Z] $ 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-01-31T15:53:56.373Z] $ docker top 24a5f079265f499a261078a3c691cf6cb0aef90243f068cf334ce12fedd5baf1 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-31T15:53:56.472Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-31T15:53:56.472Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-31T15:53:56.594Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-31T15:53:56.593Z] $ docker exec 24a5f079265f499a261078a3c691cf6cb0aef90243f068cf334ce12fedd5baf1 ssh-agent [2023-01-31T15:53:56.714Z] SSH_AUTH_SOCK=/tmp/ssh-I3zsodRkVQBa/agent.32 [2023-01-31T15:53:56.714Z] SSH_AGENT_PID=38 [2023-01-31T15:53:56.719Z] Running ssh-add (command line suppressed) [2023-01-31T15:53:56.838Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10290722807723404927.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_10290722807723404927.key) [2023-01-31T15:53:56.858Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-31T15:53:57.145Z] + git semver bump pre [2023-01-31T15:53:57.405Z] 2023-01-31 15:53:57,326 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-01-31T15:53:57.405Z] 2023-01-31 15:53:57,326 [bump_version] DEBUG bumping version:3.0.0-dev.7 on axis:pre with prefix:dev [2023-01-31T15:53:57.405Z] 2023-01-31 15:53:57,326 [bump_version] DEBUG bumped version:3.0.0-dev.8 [2023-01-31T15:53:57.405Z] 2023-01-31 15:53:57,326 [write_version] DEBUG write version:3.0.0-dev.8 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2023-01-31T15:53:57.405Z] 2023-01-31 15:53:57,327 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-01-31T15:53:57.405Z] 2023-01-31 15:53:57,327 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-01-31T15:53:57.405Z] 2023-01-31 15:53:57,329 [execute] INFO git cat-file --batch-check [2023-01-31T15:53:57.405Z] 2023-01-31 15:53:57,329 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-31T15:53:57.405Z] 2023-01-31 15:53:57,336 [execute] INFO git cat-file --batch [2023-01-31T15:53:57.405Z] 2023-01-31 15:53:57,336 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-31T15:53:57.405Z] 2023-01-31 15:53:57,342 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-01-31T15:53:57.405Z] 3.0.0-dev.8 [Pipeline] } [2023-01-31T15:53:57.411Z] $ docker exec --env ******** --env ******** 24a5f079265f499a261078a3c691cf6cb0aef90243f068cf334ce12fedd5baf1 ssh-agent -k [2023-01-31T15:53:57.514Z] unset SSH_AUTH_SOCK; [2023-01-31T15:53:57.514Z] unset SSH_AGENT_PID; [2023-01-31T15:53:57.514Z] echo Agent pid 38 killed; [2023-01-31T15:53:57.528Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-31T15:53:57.832Z] + git semver [Pipeline] } [2023-01-31T15:53:58.102Z] $ docker stop --time=1 24a5f079265f499a261078a3c691cf6cb0aef90243f068cf334ce12fedd5baf1 [2023-01-31T15:53:59.449Z] $ docker rm -f --volumes 24a5f079265f499a261078a3c691cf6cb0aef90243f068cf334ce12fedd5baf1 [Pipeline] // withDockerContainer [Pipeline] sh [2023-01-31T15:53:59.802Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2023-01-31T15:53:59.802Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:54:00.105Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2023-01-31T15:54:00.105Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T15:54:00.177Z] prd-ubuntu20.04-docker-8c-8g-4148 does not seem to be running inside a container [2023-01-31T15:54:00.202Z] $ 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-01-31T15:54:00.664Z] $ docker top ef5780b2b842c117fde784b29ac1b5405b0a298daa97baeac63c60a29029d379 -eo pid,comm [2023-01-31T15:54:00.715Z] 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-01-31T15:54:00.715Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2023-01-31T15:54:00.750Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2023-01-31T15:54:00.750Z] [ssh-agent] Looking for ssh-agent implementation... [2023-01-31T15:54:00.874Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2023-01-31T15:54:00.873Z] $ docker exec ef5780b2b842c117fde784b29ac1b5405b0a298daa97baeac63c60a29029d379 ssh-agent [2023-01-31T15:54:00.981Z] SSH_AUTH_SOCK=/tmp/ssh-G6JNC7qJjGsG/agent.34 [2023-01-31T15:54:00.981Z] SSH_AGENT_PID=40 [2023-01-31T15:54:00.986Z] Running ssh-add (command line suppressed) [2023-01-31T15:54:01.086Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2785522311813719724.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_2785522311813719724.key) [2023-01-31T15:54:01.106Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2023-01-31T15:54:01.394Z] + git semver push [2023-01-31T15:54:01.653Z] 2023-01-31 15:54:01,580 [run_push] DEBUG push [2023-01-31T15:54:01.653Z] 2023-01-31 15:54:01,581 [execute] INFO git cat-file --batch-check [2023-01-31T15:54:01.653Z] 2023-01-31 15:54:01,582 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2023-01-31T15:54:01.653Z] 2023-01-31 15:54:01,586 [execute] INFO git rev-list 5ba4cf981aaea620d73957707b12131d449bf7c3 -- [2023-01-31T15:54:01.653Z] 2023-01-31 15:54:01,587 [execute] DEBUG Popen(['git', 'rev-list', '5ba4cf981aaea620d73957707b12131d449bf7c3', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-01-31T15:54:01.653Z] 2023-01-31 15:54:01,595 [execute] INFO git fetch -v origin [2023-01-31T15:54:01.653Z] 2023-01-31 15:54:01,595 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2023-01-31T15:54:02.219Z] 2023-01-31 15:54:02,199 [run_push] DEBUG no remote changes detected [2023-01-31T15:54:02.219Z] 2023-01-31 15:54:02,199 [execute] INFO git push origin semver [2023-01-31T15:54:02.219Z] 2023-01-31 15:54:02,200 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2023-01-31T15:54:03.599Z] 2023-01-31 15:54:03,486 [run_push] DEBUG push all version tags [2023-01-31T15:54:03.599Z] 2023-01-31 15:54:03,487 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2023-01-31T15:54:03.599Z] 2023-01-31 15:54:03,487 [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-01-31T15:54:05.504Z] 2023-01-31 15:54:05,242 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2023-01-31T15:54:05.504Z] 3.0.0-dev.8 [Pipeline] } [2023-01-31T15:54:05.508Z] $ docker exec --env ******** --env ******** ef5780b2b842c117fde784b29ac1b5405b0a298daa97baeac63c60a29029d379 ssh-agent -k [2023-01-31T15:54:05.608Z] unset SSH_AUTH_SOCK; [2023-01-31T15:54:05.608Z] unset SSH_AGENT_PID; [2023-01-31T15:54:05.608Z] echo Agent pid 40 killed; [2023-01-31T15:54:05.623Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2023-01-31T15:54:05.919Z] + git semver [Pipeline] } [2023-01-31T15:54:06.186Z] $ docker stop --time=1 ef5780b2b842c117fde784b29ac1b5405b0a298daa97baeac63c60a29029d379 [2023-01-31T15:54:07.468Z] $ docker rm -f --volumes ef5780b2b842c117fde784b29ac1b5405b0a298daa97baeac63c60a29029d379 [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-01-31T15:54:08.046Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2023-01-31T15:54:08.046Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-01-31T15:54:08.046Z] total 16 [2023-01-31T15:54:08.046Z] drwxr-xr-x 3 root root 4096 Jan 31 15:44 . [2023-01-31T15:54:08.046Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 31 15:53 .. [2023-01-31T15:54:08.046Z] drwxr-xr-x 2 root root 4096 Jan 31 15:44 cost [2023-01-31T15:54:08.046Z] -rw-r--r-- 1 root root 85 Jan 31 15:44 cost.csv [2023-01-31T15:54:08.046Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-01-31T15:54:08.046Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2023-01-31T15:54:08.046Z] total 16 [2023-01-31T15:54:08.046Z] drwxr-xr-x 3 jenkins jenkins 4096 Jan 31 15:44 . [2023-01-31T15:54:08.046Z] drwxrwxr-x 10 jenkins jenkins 4096 Jan 31 15:53 .. [2023-01-31T15:54:08.046Z] drwxr-xr-x 2 jenkins jenkins 4096 Jan 31 15:44 cost [2023-01-31T15:54:08.046Z] -rw-r--r-- 1 jenkins jenkins 85 Jan 31 15:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2023-01-31T15:54:08.343Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-31T15:54:09.208Z] ---> package-listing.sh [2023-01-31T15:54:09.208Z] ++ facter osfamily [2023-01-31T15:54:09.208Z] ++ tr '[:upper:]' '[:lower:]' [2023-01-31T15:54:09.467Z] + OS_FAMILY=debian [2023-01-31T15:54:09.467Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2023-01-31T15:54:09.467Z] + START_PACKAGES=/tmp/packages_start.txt [2023-01-31T15:54:09.467Z] + END_PACKAGES=/tmp/packages_end.txt [2023-01-31T15:54:09.467Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2023-01-31T15:54:09.467Z] + PACKAGES=/tmp/packages_start.txt [2023-01-31T15:54:09.467Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-01-31T15:54:09.467Z] + PACKAGES=/tmp/packages_end.txt [2023-01-31T15:54:09.467Z] + case "${OS_FAMILY}" in [2023-01-31T15:54:09.467Z] + dpkg -l [2023-01-31T15:54:09.467Z] + grep '^ii' [2023-01-31T15:54:09.467Z] + '[' -f /tmp/packages_start.txt ']' [2023-01-31T15:54:09.467Z] + '[' -f /tmp/packages_end.txt ']' [2023-01-31T15:54:09.467Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2023-01-31T15:54:09.467Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2023-01-31T15:54:09.467Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2023-01-31T15:54:09.467Z] + 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-01-31T15:54:09.480Z] 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-01-31T15:54:09.759Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2023-01-31T15:54:10.324Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2023-01-31T15:54:10.324Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2023-01-31T15:54:10.396Z] prd-ubuntu20.04-docker-8c-8g-4148 does not seem to be running inside a container [2023-01-31T15:54:10.426Z] $ 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-01-31T15:54:10.701Z] $ docker top c81a67ee9ec4aee99297a2ac3642caaafb9526354dc8b8d132017bd670389f1e -eo pid,comm [Pipeline] { [Pipeline] sh [2023-01-31T15:54:11.058Z] + touch /tmp/pre-build-complete [Pipeline] sh [2023-01-31T15:54:11.343Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2023-01-31T15:54:11.631Z] + ls /var/log/sa-host [2023-01-31T15:54:11.631Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2023-01-31T15:54:11.783Z] provisioning config files... [2023-01-31T15:54:11.792Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config16367293993935072917tmp [Pipeline] { [Pipeline] echo [2023-01-31T15:54:11.807Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-31T15:54:12.090Z] ---> create-netrc.sh [Pipeline] } [2023-01-31T15:54:12.158Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2023-01-31T15:54:12.569Z] ---> python-tools-install.sh [Pipeline] echo [2023-01-31T15:54:12.590Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-31T15:54:12.909Z] ---> sudo-logs.sh [2023-01-31T15:54:12.909Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2023-01-31T15:54:12.940Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-31T15:54:13.225Z] ---> job-cost.sh [2023-01-31T15:54:13.225Z] lf-activate-venv: SKIPPING [2023-01-31T15:54:13.225Z] DEBUG: total: 0.2199999988079071 [2023-01-31T15:54:13.225Z] INFO: Retrieving Stack Cost... [2023-01-31T15:54:13.795Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2023-01-31T15:54:14.055Z] INFO: Archiving Costs [Pipeline] echo [2023-01-31T15:54:14.071Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2023-01-31T15:54:14.358Z] ---> logs-deploy.sh [2023-01-31T15:54:14.358Z] lf-activate-venv: SKIPPING [2023-01-31T15:54:14.358Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/79 [2023-01-31T15:54:14.358Z] INFO: archiving workspace using pattern(s): [2023-01-31T15:54:16.263Z] Archives upload complete. [2023-01-31T15:54:16.263Z] INFO: archiving logs to Nexus