Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from ea2635875d50d8674d03123d64d8d0373faddc1b 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-ssh16178941658532514107.key Verifying host key using known hosts file > 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-ssh18066676776144680138.key Verifying host key using known hosts file > 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-ssh9923330441552869651.key Verifying host key using known hosts file > 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-ssh11182579356732693429.key Verifying host key using known hosts file > 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-ssh10669464375915901923.key Verifying host key using known hosts file > 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-118624 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 Verifying host key using known hosts file You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. > 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 ea2635875d50d8674d03123d64d8d0373faddc1b (main) > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f ea2635875d50d8674d03123d64d8d0373faddc1b # timeout=10 Commit message: "Merge pull request #228 from lenny-intel/released-sdk-go-mods" > git rev-list --no-walk 98c53550becdffe5607264f4f78746e0be51d9ff # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-11-08T16:13:09.808Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-11-08T16:13:09.862Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-11-08T16:13:09.876Z] ========================================================= [2022-11-08T16:13:09.876Z] EdgeX Global Pipelines Version Info [2022-11-08T16:13:09.876Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:13:10.574Z] ------------------- [2022-11-08T16:13:10.574Z] stable info: [2022-11-08T16:13:10.574Z] ------------------- [2022-11-08T16:13:10.574Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-11-08T16:13:10.574Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-08T16:13:10.574Z] Message: update stable to v1.0.244 [2022-11-08T16:13:11.148Z] ------------------- [2022-11-08T16:13:11.148Z] experimental info: [2022-11-08T16:13:11.148Z] ------------------- [2022-11-08T16:13:11.148Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-11-08T16:13:11.148Z] Commit SHA: cb30d0c83a18e50222bc0bb3e81aa3df0103a8e3 [2022-11-08T16:13:11.148Z] Message: update experimental to v1.0.244 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-11-08T16:13:11.324Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-11-08T16:13:11.337Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-11-08T16:13:11.348Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-11-08T16:13:11.362Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-11-08T16:13:11.376Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-11-08T16:13:11.387Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.18 [Pipeline] echo [2022-11-08T16:13:11.398Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-11-08T16:13:11.409Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-11-08T16:13:11.422Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-11-08T16:13:11.435Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-11-08T16:13:11.445Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-11-08T16:13:11.460Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-11-08T16:13:11.470Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-11-08T16:13:11.480Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-11-08T16:13:11.493Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-11-08T16:13:11.505Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-11-08T16:13:11.517Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-11-08T16:13:11.532Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-11-08T16:13:11.542Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-11-08T16:13:11.554Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-11-08T16:13:11.568Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-11-08T16:13:11.577Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-11-08T16:13:11.589Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-11-08T16:13:11.600Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-11-08T16:13:11.614Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-11-08T16:13:11.626Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-11-08T16:13:11.638Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-11-08T16:13:11.650Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-11-08T16:13:11.661Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-11-08T16:13:11.672Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-11-08T16:13:11.683Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = ea2635875d50d8674d03123d64d8d0373faddc1b [Pipeline] echo [2022-11-08T16:13:11.694Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = ea26358 [Pipeline] echo [2022-11-08T16:13:11.705Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T16:13:11.745Z] provisioning config files... [2022-11-08T16:13:11.760Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config17422147887914782036tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:13:12.061Z] ---> docker-login.sh [2022-11-08T16:13:12.061Z] nexus3.edgexfoundry.org:10001 [2022-11-08T16:13:12.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:13:12.325Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:13:12.325Z] Configure a credential helper to remove this warning. See [2022-11-08T16:13:12.325Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:13:12.325Z] [2022-11-08T16:13:12.325Z] Login Succeeded [2022-11-08T16:13:12.325Z] nexus3.edgexfoundry.org:10002 [2022-11-08T16:13:12.325Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:13:12.326Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:13:12.326Z] Configure a credential helper to remove this warning. See [2022-11-08T16:13:12.326Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:13:12.326Z] [2022-11-08T16:13:12.326Z] Login Succeeded [2022-11-08T16:13:12.326Z] nexus3.edgexfoundry.org:10003 [2022-11-08T16:13:12.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:13:12.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:13:12.583Z] Configure a credential helper to remove this warning. See [2022-11-08T16:13:12.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:13:12.583Z] [2022-11-08T16:13:12.583Z] Login Succeeded [2022-11-08T16:13:12.583Z] nexus3.edgexfoundry.org:10004 [2022-11-08T16:13:12.583Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:13:12.583Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:13:12.583Z] Configure a credential helper to remove this warning. See [2022-11-08T16:13:12.583Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:13:12.583Z] [2022-11-08T16:13:12.583Z] Login Succeeded [2022-11-08T16:13:12.583Z] docker.io [2022-11-08T16:13:12.843Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:13:13.102Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:13:13.102Z] Configure a credential helper to remove this warning. See [2022-11-08T16:13:13.102Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:13:13.102Z] [2022-11-08T16:13:13.102Z] Login Succeeded [2022-11-08T16:13:13.102Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T16:13:13.109Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-11-08T16:13:13.482Z] + git rev-list -1 --merges ea2635875d50d8674d03123d64d8d0373faddc1b~1..ea2635875d50d8674d03123d64d8d0373faddc1b [Pipeline] echo [2022-11-08T16:13:13.517Z] -----------> git rev-list -1 --merges ea2635875d50d8674d03123d64d8d0373faddc1b~1..ea2635875d50d8674d03123d64d8d0373faddc1b ea2635875d50d8674d03123d64d8d0373faddc1b [2022-11-08T16:13:13.517Z] ea2635875d50d8674d03123d64d8d0373faddc1b [false] [Pipeline] sh [2022-11-08T16:13:13.806Z] + git log --format=format:%s -1 ea2635875d50d8674d03123d64d8d0373faddc1b [Pipeline] echo [2022-11-08T16:13:13.820Z] ========================================================= [2022-11-08T16:13:13.820Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-11-08T16:13:13.820Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T16:13:14.130Z] + git log --format=format:%s -1 ea2635875d50d8674d03123d64d8d0373faddc1b [Pipeline] echo [2022-11-08T16:13:14.140Z] [semverPrep] GIT_COMMIT: ea2635875d50d8674d03123d64d8d0373faddc1b, Commit Message: Merge pull request #228 from lenny-intel/released-sdk-go-mods [Pipeline] echo [2022-11-08T16:13:14.149Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-11-08T16:13:14.481Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-08T16:13:14.481Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-11-08T16:13:14.481Z] + [ -e /tmp/ssh_known_hosts ] [2022-11-08T16:13:14.481Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-11-08T16:13:14.482Z] + + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-11-08T16:13:14.482Z] sudo tee -a /etc/ssh/ssh_known_hosts [2022-11-08T16:13:14.482Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:13:14.831Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T16:13:14.831Z] [2022-11-08T16:13:14.831Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:13:15.130Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T16:13:15.130Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-11-08T16:13:15.130Z] b85a868b505f: Pulling fs layer [2022-11-08T16:13:15.130Z] e2be974225ed: Pulling fs layer [2022-11-08T16:13:15.130Z] 339a4e72a1f5: Pulling fs layer [2022-11-08T16:13:15.130Z] 988bab9f4d93: Pulling fs layer [2022-11-08T16:13:15.130Z] 1469e6f7b9e6: Pulling fs layer [2022-11-08T16:13:15.130Z] eaf3925da568: Pulling fs layer [2022-11-08T16:13:15.130Z] bab4dde63d76: Pulling fs layer [2022-11-08T16:13:15.130Z] bde34c3a00c8: Pulling fs layer [2022-11-08T16:13:15.130Z] b352a97aabf1: Pulling fs layer [2022-11-08T16:13:15.130Z] 4872d77fe225: Pulling fs layer [2022-11-08T16:13:15.130Z] 5851b861e8e6: Pulling fs layer [2022-11-08T16:13:15.130Z] bab4dde63d76: Waiting [2022-11-08T16:13:15.130Z] 988bab9f4d93: Waiting [2022-11-08T16:13:15.130Z] 1469e6f7b9e6: Waiting [2022-11-08T16:13:15.130Z] eaf3925da568: Waiting [2022-11-08T16:13:15.130Z] bde34c3a00c8: Waiting [2022-11-08T16:13:15.130Z] b352a97aabf1: Waiting [2022-11-08T16:13:15.130Z] 5851b861e8e6: Waiting [2022-11-08T16:13:15.130Z] e2be974225ed: Download complete [2022-11-08T16:13:15.130Z] 988bab9f4d93: Verifying Checksum [2022-11-08T16:13:15.130Z] 988bab9f4d93: Download complete [2022-11-08T16:13:15.390Z] 1469e6f7b9e6: Verifying Checksum [2022-11-08T16:13:15.390Z] 1469e6f7b9e6: Download complete [2022-11-08T16:13:15.390Z] eaf3925da568: Verifying Checksum [2022-11-08T16:13:15.390Z] eaf3925da568: Download complete [2022-11-08T16:13:15.390Z] 339a4e72a1f5: Verifying Checksum [2022-11-08T16:13:15.390Z] 339a4e72a1f5: Download complete [2022-11-08T16:13:15.390Z] bde34c3a00c8: Download complete [2022-11-08T16:13:15.390Z] b352a97aabf1: Verifying Checksum [2022-11-08T16:13:15.390Z] b352a97aabf1: Download complete [2022-11-08T16:13:15.390Z] 4872d77fe225: Download complete [2022-11-08T16:13:15.390Z] 5851b861e8e6: Verifying Checksum [2022-11-08T16:13:15.390Z] 5851b861e8e6: Download complete [2022-11-08T16:13:15.390Z] b85a868b505f: Download complete [2022-11-08T16:13:15.649Z] bab4dde63d76: Verifying Checksum [2022-11-08T16:13:15.649Z] bab4dde63d76: Download complete [2022-11-08T16:13:16.587Z] b85a868b505f: Pull complete [2022-11-08T16:13:16.587Z] e2be974225ed: Pull complete [2022-11-08T16:13:17.154Z] 339a4e72a1f5: Pull complete [2022-11-08T16:13:17.154Z] 988bab9f4d93: Pull complete [2022-11-08T16:13:17.413Z] 1469e6f7b9e6: Pull complete [2022-11-08T16:13:17.413Z] eaf3925da568: Pull complete [2022-11-08T16:13:19.315Z] bab4dde63d76: Pull complete [2022-11-08T16:13:19.315Z] bde34c3a00c8: Pull complete [2022-11-08T16:13:19.315Z] b352a97aabf1: Pull complete [2022-11-08T16:13:19.315Z] 4872d77fe225: Pull complete [2022-11-08T16:13:19.315Z] 5851b861e8e6: Pull complete [2022-11-08T16:13:19.315Z] Digest: sha256:59a28aa3b44c0bc56b9c3d2e9ecabe42e63693d939cc6e425eb8786f29f663d8 [2022-11-08T16:13:19.315Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T16:13:19.315Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:13:19.395Z] prd-ubuntu20.04-docker-8c-8g-118624 does not seem to be running inside a container [2022-11-08T16:13:19.429Z] $ 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 [2022-11-08T16:13:20.715Z] $ docker top 5a675ccc4bbaa89075ed987cd78be35bddb481e95eb38442d9752cff625b670d -eo pid,comm [2022-11-08T16:13:20.767Z] 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). [2022-11-08T16:13:20.767Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-08T16:13:20.800Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T16:13:20.800Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T16:13:20.908Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T16:13:20.915Z] $ docker exec 5a675ccc4bbaa89075ed987cd78be35bddb481e95eb38442d9752cff625b670d ssh-agent [2022-11-08T16:13:21.019Z] SSH_AUTH_SOCK=/tmp/ssh-Z6cYE1Baan3X/agent.32 [2022-11-08T16:13:21.019Z] SSH_AGENT_PID=38 [2022-11-08T16:13:21.025Z] Running ssh-add (command line suppressed) [2022-11-08T16:13:21.122Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_44133983160491718.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_44133983160491718.key) [2022-11-08T16:13:21.132Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T16:13:21.418Z] + git tag --points-at HEAD [Pipeline] } [2022-11-08T16:13:21.437Z] $ docker exec --env ******** --env ******** 5a675ccc4bbaa89075ed987cd78be35bddb481e95eb38442d9752cff625b670d ssh-agent -k [2022-11-08T16:13:21.540Z] unset SSH_AUTH_SOCK; [2022-11-08T16:13:21.541Z] unset SSH_AGENT_PID; [2022-11-08T16:13:21.541Z] echo Agent pid 38 killed; [2022-11-08T16:13:21.548Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-11-08T16:13:21.573Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T16:13:21.573Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T16:13:21.694Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T16:13:21.700Z] $ docker exec 5a675ccc4bbaa89075ed987cd78be35bddb481e95eb38442d9752cff625b670d ssh-agent [2022-11-08T16:13:21.798Z] SSH_AUTH_SOCK=/tmp/ssh-iGtHmr3IanEU/agent.70 [2022-11-08T16:13:21.798Z] SSH_AGENT_PID=76 [2022-11-08T16:13:21.803Z] Running ssh-add (command line suppressed) [2022-11-08T16:13:21.893Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4141551136495638836.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4141551136495638836.key) [2022-11-08T16:13:21.902Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T16:13:22.186Z] + git semver init [2022-11-08T16:13:22.445Z] 2022-11-08 16:13:22,351 [run_init] DEBUG init version:0.0.0 force:False [2022-11-08T16:13:22.445Z] 2022-11-08 16:13:22,351 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-11-08T16:13:22.445Z] 2022-11-08 16:13:22,352 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-11-08T16:13:22.445Z] 2022-11-08 16:13:22,352 [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) [2022-11-08T16:13:23.823Z] 2022-11-08 16:13:23,490 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2022-11-08T16:13:23.823Z] 2022-11-08 16:13:23,490 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2022-11-08T16:13:23.823Z] 2022-11-08 16:13:23,491 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-11-08T16:13:23.823Z] 2022-11-08 16:13:23,491 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-11-08T16:13:23.823Z] 2.3.0-dev.25 [Pipeline] } [2022-11-08T16:13:23.837Z] $ docker exec --env ******** --env ******** 5a675ccc4bbaa89075ed987cd78be35bddb481e95eb38442d9752cff625b670d ssh-agent -k [2022-11-08T16:13:23.934Z] unset SSH_AUTH_SOCK; [2022-11-08T16:13:23.934Z] unset SSH_AGENT_PID; [2022-11-08T16:13:23.934Z] echo Agent pid 76 killed; [2022-11-08T16:13:23.938Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-08T16:13:24.243Z] + git semver [Pipeline] } [2022-11-08T16:13:24.520Z] $ docker stop --time=1 5a675ccc4bbaa89075ed987cd78be35bddb481e95eb38442d9752cff625b670d [2022-11-08T16:13:25.874Z] $ docker rm -f 5a675ccc4bbaa89075ed987cd78be35bddb481e95eb38442d9752cff625b670d [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T16:13:26.214Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-11-08T16:13:26.374Z] Stashed 1 file(s) [Pipeline] echo [2022-11-08T16:13:26.375Z] [edgeXSemver]: initialized semver on version 2.3.0-dev.25 [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 [2022-11-08T16:13:26.500Z] provisioning config files... [2022-11-08T16:13:26.508Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3888907016908454878tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:13:26.803Z] ---> docker-login.sh [2022-11-08T16:13:26.803Z] nexus3.edgexfoundry.org:10001 [2022-11-08T16:13:26.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:13:26.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:13:26.803Z] Configure a credential helper to remove this warning. See [2022-11-08T16:13:26.803Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:13:26.803Z] [2022-11-08T16:13:26.803Z] Login Succeeded [2022-11-08T16:13:26.803Z] nexus3.edgexfoundry.org:10002 [2022-11-08T16:13:26.803Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:13:26.803Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:13:26.803Z] Configure a credential helper to remove this warning. See [2022-11-08T16:13:26.803Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:13:26.803Z] [2022-11-08T16:13:26.803Z] Login Succeeded [2022-11-08T16:13:26.803Z] nexus3.edgexfoundry.org:10003 [2022-11-08T16:13:27.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:13:27.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:13:27.064Z] Configure a credential helper to remove this warning. See [2022-11-08T16:13:27.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:13:27.064Z] [2022-11-08T16:13:27.064Z] Login Succeeded [2022-11-08T16:13:27.064Z] nexus3.edgexfoundry.org:10004 [2022-11-08T16:13:27.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:13:27.064Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:13:27.064Z] Configure a credential helper to remove this warning. See [2022-11-08T16:13:27.064Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:13:27.064Z] [2022-11-08T16:13:27.064Z] Login Succeeded [2022-11-08T16:13:27.064Z] docker.io [2022-11-08T16:13:27.064Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:13:27.629Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:13:27.629Z] Configure a credential helper to remove this warning. See [2022-11-08T16:13:27.629Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:13:27.629Z] [2022-11-08T16:13:27.629Z] Login Succeeded [2022-11-08T16:13:27.629Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T16:13:27.635Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-08T16:13:27.701Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T16:13:27.714Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T16:13:27.723Z] ========================================================= [2022-11-08T16:13:27.723Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine] [2022-11-08T16:13:27.723Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:13:28.040Z] + 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 . [2022-11-08T16:13:28.040Z] Sending build context to Docker daemon 10.76MB [2022-11-08T16:13:28.040Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T16:13:28.040Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-08T16:13:28.040Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base [2022-11-08T16:13:28.040Z] 213ec9aee27d: Pulling fs layer [2022-11-08T16:13:28.040Z] 4583459ba037: Pulling fs layer [2022-11-08T16:13:28.040Z] 93c1e223e6f2: Pulling fs layer [2022-11-08T16:13:28.040Z] 53926ce57604: Pulling fs layer [2022-11-08T16:13:28.040Z] 21b2b0c7a3f4: Pulling fs layer [2022-11-08T16:13:28.040Z] 53926ce57604: Waiting [2022-11-08T16:13:28.040Z] 22ff95d597cd: Pulling fs layer [2022-11-08T16:13:28.040Z] 12d6caf4c0d1: Pulling fs layer [2022-11-08T16:13:28.040Z] 96b7cbca73a9: Pulling fs layer [2022-11-08T16:13:28.040Z] 21b2b0c7a3f4: Waiting [2022-11-08T16:13:28.040Z] a7acece74701: Pulling fs layer [2022-11-08T16:13:28.040Z] 96b7cbca73a9: Waiting [2022-11-08T16:13:28.040Z] a7acece74701: Waiting [2022-11-08T16:13:28.040Z] 93c1e223e6f2: Verifying Checksum [2022-11-08T16:13:28.040Z] 93c1e223e6f2: Download complete [2022-11-08T16:13:28.040Z] 4583459ba037: Verifying Checksum [2022-11-08T16:13:28.040Z] 4583459ba037: Download complete [2022-11-08T16:13:28.299Z] 21b2b0c7a3f4: Verifying Checksum [2022-11-08T16:13:28.299Z] 21b2b0c7a3f4: Download complete [2022-11-08T16:13:28.299Z] 213ec9aee27d: Verifying Checksum [2022-11-08T16:13:28.299Z] 213ec9aee27d: Download complete [2022-11-08T16:13:28.299Z] 12d6caf4c0d1: Download complete [2022-11-08T16:13:28.299Z] 213ec9aee27d: Pull complete [2022-11-08T16:13:28.557Z] 4583459ba037: Pull complete [2022-11-08T16:13:28.557Z] 93c1e223e6f2: Pull complete [2022-11-08T16:13:29.124Z] 53926ce57604: Verifying Checksum [2022-11-08T16:13:29.124Z] 53926ce57604: Download complete [2022-11-08T16:13:29.382Z] a7acece74701: Verifying Checksum [2022-11-08T16:13:29.382Z] a7acece74701: Download complete [2022-11-08T16:13:29.382Z] 96b7cbca73a9: Verifying Checksum [2022-11-08T16:13:29.382Z] 96b7cbca73a9: Download complete [2022-11-08T16:13:32.660Z] 53926ce57604: Pull complete [2022-11-08T16:13:32.660Z] 21b2b0c7a3f4: Pull complete [2022-11-08T16:13:32.660Z] 22ff95d597cd: Pull complete [2022-11-08T16:13:32.660Z] 12d6caf4c0d1: Pull complete [2022-11-08T16:13:35.193Z] 96b7cbca73a9: Pull complete [2022-11-08T16:13:35.451Z] a7acece74701: Pull complete [2022-11-08T16:13:35.451Z] Digest: sha256:f6a9ef70c52da88a2ff63a0c6767b24654f9f5185d1d85ca6cc3004fb48f6c2d [2022-11-08T16:13:35.451Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.18-alpine [2022-11-08T16:13:35.451Z] ---> db6d94c90886 [2022-11-08T16:13:35.451Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-08T16:13:37.357Z] ---> Running in b264716c21e5 [2022-11-08T16:13:37.357Z] Removing intermediate container b264716c21e5 [2022-11-08T16:13:37.357Z] ---> 8150d045a6b8 [2022-11-08T16:13:37.357Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T16:13:37.357Z] ---> Running in 00dc8da1631e [2022-11-08T16:13:37.357Z] Removing intermediate container 00dc8da1631e [2022-11-08T16:13:37.357Z] ---> 14a3f40664cd [2022-11-08T16:13:37.357Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T16:13:37.357Z] ---> Running in 3a40f696133a [2022-11-08T16:13:37.357Z] Removing intermediate container 3a40f696133a [2022-11-08T16:13:37.357Z] ---> bbed9ffae25c [2022-11-08T16:13:37.357Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T16:13:37.357Z] ---> Running in fe171a2cdf17 [2022-11-08T16:13:37.615Z] Removing intermediate container fe171a2cdf17 [2022-11-08T16:13:37.615Z] ---> 8de352129a84 [2022-11-08T16:13:37.615Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T16:13:37.615Z] ---> Running in 2de24cedfa47 [2022-11-08T16:13:37.872Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T16:13:37.872Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T16:13:38.130Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-08T16:13:38.130Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-08T16:13:38.130Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-08T16:13:38.130Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-08T16:13:38.130Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T16:13:38.130Z] OK: 216 MiB in 55 packages [2022-11-08T16:13:38.699Z] Removing intermediate container 2de24cedfa47 [2022-11-08T16:13:38.699Z] ---> d0751b6af981 [2022-11-08T16:13:38.699Z] Step 8/12 : WORKDIR /device-rest-go [2022-11-08T16:13:38.699Z] ---> Running in de81660db44a [2022-11-08T16:13:38.699Z] Removing intermediate container de81660db44a [2022-11-08T16:13:38.699Z] ---> 0d8fbf57a877 [2022-11-08T16:13:38.699Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-08T16:13:38.959Z] ---> d4bef73afa62 [2022-11-08T16:13:38.959Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T16:13:38.959Z] ---> Running in bcfe31f2450f [2022-11-08T16:13:41.464Z] Still waiting to schedule task [2022-11-08T16:13:41.464Z] Waiting for next available executor on ‘ubuntu20.04-docker-arm64-4c-16g’ [2022-11-08T16:13:53.844Z] Removing intermediate container bcfe31f2450f [2022-11-08T16:13:53.844Z] ---> 51ce74a95c82 [2022-11-08T16:13:53.844Z] Step 11/12 : COPY . . [2022-11-08T16:13:54.412Z] ---> 331b16b623bf [2022-11-08T16:13:54.412Z] Step 12/12 : RUN $MAKE [2022-11-08T16:13:54.412Z] ---> Running in 7b80814d26ea [2022-11-08T16:13:54.671Z] noop [2022-11-08T16:13:54.930Z] Removing intermediate container 7b80814d26ea [2022-11-08T16:13:54.930Z] ---> 70da6e2e3d2a [2022-11-08T16:13:54.930Z] Successfully built 70da6e2e3d2a [2022-11-08T16:13:54.930Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:13:55.237Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-08T16:13:55.237Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:13:55.298Z] prd-ubuntu20.04-docker-8c-8g-118624 does not seem to be running inside a container [2022-11-08T16:13:55.331Z] $ 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 [2022-11-08T16:13:55.673Z] $ docker top 25e5a8dee2c3ff4ccc1ced2410ec6def016d50d683b5994dd5e253a9b8d7022e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T16:13:56.012Z] + go version [2022-11-08T16:13:56.012Z] go version go1.18.7 linux/amd64 [Pipeline] } [2022-11-08T16:13:56.028Z] $ docker stop --time=1 25e5a8dee2c3ff4ccc1ced2410ec6def016d50d683b5994dd5e253a9b8d7022e [2022-11-08T16:13:57.302Z] $ docker rm -f 25e5a8dee2c3ff4ccc1ced2410ec6def016d50d683b5994dd5e253a9b8d7022e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:13:57.694Z] + docker inspect -f . ci-base-image-x86_64 [2022-11-08T16:13:57.694Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:13:57.761Z] prd-ubuntu20.04-docker-8c-8g-118624 does not seem to be running inside a container [2022-11-08T16:13:57.793Z] $ 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 [2022-11-08T16:13:58.124Z] $ docker top 0718d2200151753456cbd3bba384fa0a1e2320fa17d0c6c1159e306519bf4f4c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T16:13:58.462Z] + git config --global --add safe.directory /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] fileExists [Pipeline] sh [2022-11-08T16:13:58.753Z] + make test [2022-11-08T16:13:58.753Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-08T16:13:59.012Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-11-08T16:14:09.011Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-11-08T16:14:09.011Z] ok github.com/edgexfoundry/device-rest-go/driver 0.017s coverage: 55.2% of statements [2022-11-08T16:14:15.567Z] 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." [2022-11-08T16:14:15.567Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-08T16:14:18.090Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-08T16:14:18.090Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-08T16:14:18.090Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-08T16:14:18.100Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-08T16:14:18.113Z] $ docker stop --time=1 0718d2200151753456cbd3bba384fa0a1e2320fa17d0c6c1159e306519bf4f4c [2022-11-08T16:14:19.809Z] $ docker rm -f 0718d2200151753456cbd3bba384fa0a1e2320fa17d0c6c1159e306519bf4f4c [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T16:14:20.227Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-08T16:14:20.257Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-11-08T16:14:20.701Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-08T16:14:20.983Z] + ls -al . [2022-11-08T16:14:20.983Z] total 188 [2022-11-08T16:14:20.983Z] drwxrwxr-x 9 jenkins jenkins 4096 Nov 8 16:13 . [2022-11-08T16:14:20.983Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:13 .. [2022-11-08T16:14:20.983Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 8 16:13 .dockerignore [2022-11-08T16:14:20.983Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 16:14 .git [2022-11-08T16:14:20.983Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:13 .github [2022-11-08T16:14:20.983Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 8 16:13 .gitignore [2022-11-08T16:14:20.983Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 16:13 .golangci.yml [2022-11-08T16:14:20.983Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 16:13 .semver [2022-11-08T16:14:20.983Z] -rw-rw-r-- 1 jenkins jenkins 9100 Nov 8 16:13 Attribution.txt [2022-11-08T16:14:20.983Z] -rw-rw-r-- 1 jenkins jenkins 13085 Nov 8 16:13 CHANGELOG.md [2022-11-08T16:14:20.983Z] -rw-rw-r-- 1 jenkins jenkins 1641 Nov 8 16:13 Dockerfile [2022-11-08T16:14:20.983Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 16:13 GOVERNANCE.md [2022-11-08T16:14:20.983Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 8 16:13 Jenkinsfile [2022-11-08T16:14:20.983Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 16:13 LICENSE [2022-11-08T16:14:20.983Z] -rw-rw-r-- 1 jenkins jenkins 2173 Nov 8 16:13 Makefile [2022-11-08T16:14:20.983Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 16:13 OWNERS.md [2022-11-08T16:14:20.983Z] -rw-rw-r-- 1 jenkins jenkins 8667 Nov 8 16:13 README.md [2022-11-08T16:14:20.983Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 8 16:13 VERSION [2022-11-08T16:14:20.983Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 16:13 bin [2022-11-08T16:14:20.983Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:13 cmd [2022-11-08T16:14:20.983Z] -rw-r--r-- 1 jenkins jenkins 9355 Nov 8 16:14 coverage.out [2022-11-08T16:14:20.983Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 16:13 driver [2022-11-08T16:14:20.983Z] -rw-rw-r-- 1 jenkins jenkins 3487 Nov 8 16:13 go.mod [2022-11-08T16:14:20.983Z] -rw-rw-r-- 1 jenkins jenkins 44869 Nov 8 16:13 go.sum [2022-11-08T16:14:20.983Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:13 snap [2022-11-08T16:14:20.983Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 8 16:13 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:14:21.279Z] + 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=ea2635875d50d8674d03123d64d8d0373faddc1b --label arch=amd64 --label version=2.3.0-dev.25 . [2022-11-08T16:14:21.279Z] Sending build context to Docker daemon 10.77MB [2022-11-08T16:14:21.279Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T16:14:21.279Z] Step 2/25 : FROM ${BASE} AS builder [2022-11-08T16:14:21.279Z] ---> 70da6e2e3d2a [2022-11-08T16:14:21.279Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-11-08T16:14:21.279Z] ---> Running in 3f0c45d50e3d [2022-11-08T16:14:21.537Z] Removing intermediate container 3f0c45d50e3d [2022-11-08T16:14:21.537Z] ---> 33655aeec330 [2022-11-08T16:14:21.537Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T16:14:21.537Z] ---> Running in 0303c6a0b53a [2022-11-08T16:14:21.537Z] Removing intermediate container 0303c6a0b53a [2022-11-08T16:14:21.537Z] ---> 3e4b1b50d69c [2022-11-08T16:14:21.538Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T16:14:21.538Z] ---> Running in 2ad3dc66ac09 [2022-11-08T16:14:21.796Z] Removing intermediate container 2ad3dc66ac09 [2022-11-08T16:14:21.796Z] ---> 25a8bdb48b04 [2022-11-08T16:14:21.796Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T16:14:21.796Z] ---> Running in 4d17ae6090da [2022-11-08T16:14:21.796Z] Removing intermediate container 4d17ae6090da [2022-11-08T16:14:21.796Z] ---> 6b038e81a7b0 [2022-11-08T16:14:21.796Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T16:14:21.796Z] ---> Running in 363bb0be6e87 [2022-11-08T16:14:22.054Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T16:14:22.054Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T16:14:22.311Z] OK: 216 MiB in 55 packages [2022-11-08T16:14:22.881Z] Removing intermediate container 363bb0be6e87 [2022-11-08T16:14:22.881Z] ---> 77f183109522 [2022-11-08T16:14:22.881Z] Step 8/25 : WORKDIR /device-rest-go [2022-11-08T16:14:22.881Z] ---> Running in 68aad4e2bf48 [2022-11-08T16:14:22.881Z] Removing intermediate container 68aad4e2bf48 [2022-11-08T16:14:22.881Z] ---> 8caa4fd28b2c [2022-11-08T16:14:22.881Z] Step 9/25 : COPY go.mod vendor* ./ [2022-11-08T16:14:23.139Z] ---> 77c59dadd523 [2022-11-08T16:14:23.139Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T16:14:23.139Z] ---> Running in aba648e48b4e [2022-11-08T16:14:23.704Z] Removing intermediate container aba648e48b4e [2022-11-08T16:14:23.704Z] ---> 67f44b6dbb31 [2022-11-08T16:14:23.704Z] Step 11/25 : COPY . . [2022-11-08T16:14:23.961Z] ---> e87c48d1e48d [2022-11-08T16:14:23.961Z] Step 12/25 : RUN $MAKE [2022-11-08T16:14:23.961Z] ---> Running in 14706ea844f5 [2022-11-08T16:14:24.220Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.3.0-dev.25" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-11-08T16:14:46.132Z] Removing intermediate container 14706ea844f5 [2022-11-08T16:14:46.132Z] ---> 9ddfd6e6fa71 [2022-11-08T16:14:46.132Z] Step 13/25 : FROM alpine:3.16 [2022-11-08T16:14:46.132Z] 3.16: Pulling from library/alpine [2022-11-08T16:14:46.132Z] 213ec9aee27d: Already exists [2022-11-08T16:14:46.132Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-08T16:14:46.132Z] Status: Downloaded newer image for alpine:3.16 [2022-11-08T16:14:46.132Z] ---> 9c6f07244728 [2022-11-08T16:14:46.132Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-08T16:14:46.132Z] ---> Running in f814cb215380 [2022-11-08T16:14:46.132Z] Removing intermediate container f814cb215380 [2022-11-08T16:14:46.132Z] ---> 4b7146095ace [2022-11-08T16:14:46.132Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-11-08T16:14:46.132Z] ---> Running in fa068bcdbed1 [2022-11-08T16:14:46.132Z] Removing intermediate container fa068bcdbed1 [2022-11-08T16:14:46.132Z] ---> 63eef22d2556 [2022-11-08T16:14:46.132Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-08T16:14:46.132Z] ---> Running in c29062100135 [2022-11-08T16:14:46.132Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/x86_64/APKINDEX.tar.gz [2022-11-08T16:14:46.132Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/x86_64/APKINDEX.tar.gz [2022-11-08T16:14:46.132Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-08T16:14:46.132Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-08T16:14:46.132Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-08T16:14:46.132Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-08T16:14:46.132Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-08T16:14:46.132Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-08T16:14:46.132Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T16:14:46.132Z] OK: 8 MiB in 20 packages [2022-11-08T16:14:46.132Z] Removing intermediate container c29062100135 [2022-11-08T16:14:46.132Z] ---> e12a589a46a7 [2022-11-08T16:14:46.132Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-11-08T16:14:46.132Z] ---> 204dc157f506 [2022-11-08T16:14:46.132Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-11-08T16:14:46.132Z] ---> b0636318c5c3 [2022-11-08T16:14:46.132Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-11-08T16:14:46.132Z] ---> b4e752d2510d [2022-11-08T16:14:46.132Z] Step 20/25 : EXPOSE 59986 [2022-11-08T16:14:46.132Z] ---> Running in 262bfb61e20a [2022-11-08T16:14:46.390Z] Removing intermediate container 262bfb61e20a [2022-11-08T16:14:46.390Z] ---> a5ce198aecf9 [2022-11-08T16:14:46.390Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-11-08T16:14:46.390Z] ---> Running in 4cb46c89556a [2022-11-08T16:14:46.390Z] Removing intermediate container 4cb46c89556a [2022-11-08T16:14:46.390Z] ---> 8dc64e60dc37 [2022-11-08T16:14:46.390Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-11-08T16:14:46.390Z] ---> Running in 6115d84eaa0a [2022-11-08T16:14:46.649Z] Removing intermediate container 6115d84eaa0a [2022-11-08T16:14:46.649Z] ---> 1ac038815e4d [2022-11-08T16:14:46.649Z] Step 23/25 : LABEL arch=amd64 [2022-11-08T16:14:46.649Z] ---> Running in 387c047c0698 [2022-11-08T16:14:46.649Z] Removing intermediate container 387c047c0698 [2022-11-08T16:14:46.649Z] ---> 47b43b42be14 [2022-11-08T16:14:46.649Z] Step 24/25 : LABEL git_sha=ea2635875d50d8674d03123d64d8d0373faddc1b [2022-11-08T16:14:46.649Z] ---> Running in d7f2518b4dc2 [2022-11-08T16:14:46.907Z] Removing intermediate container d7f2518b4dc2 [2022-11-08T16:14:46.907Z] ---> 202a0a9ad2ca [2022-11-08T16:14:46.907Z] Step 25/25 : LABEL version=2.3.0-dev.25 [2022-11-08T16:14:46.907Z] ---> Running in 43a820ae1864 [2022-11-08T16:14:46.907Z] Removing intermediate container 43a820ae1864 [2022-11-08T16:14:46.907Z] ---> c457e50a3fe7 [2022-11-08T16:14:46.907Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-08T16:14:46.907Z] Successfully built c457e50a3fe7 [2022-11-08T16:14:46.907Z] Successfully tagged device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Docker Push) [Pipeline] script [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T16:14:46.977Z] provisioning config files... [2022-11-08T16:14:46.985Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config10760633664627418441tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:14:47.277Z] ---> docker-login.sh [2022-11-08T16:14:47.278Z] nexus3.edgexfoundry.org:10001 [2022-11-08T16:14:47.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:14:47.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:14:47.278Z] Configure a credential helper to remove this warning. See [2022-11-08T16:14:47.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:14:47.278Z] [2022-11-08T16:14:47.278Z] Login Succeeded [2022-11-08T16:14:47.278Z] nexus3.edgexfoundry.org:10002 [2022-11-08T16:14:47.278Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:14:47.278Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:14:47.278Z] Configure a credential helper to remove this warning. See [2022-11-08T16:14:47.278Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:14:47.278Z] [2022-11-08T16:14:47.278Z] Login Succeeded [2022-11-08T16:14:47.278Z] nexus3.edgexfoundry.org:10003 [2022-11-08T16:14:47.536Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:14:47.536Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:14:47.536Z] Configure a credential helper to remove this warning. See [2022-11-08T16:14:47.536Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:14:47.536Z] [2022-11-08T16:14:47.536Z] Login Succeeded [2022-11-08T16:14:47.537Z] nexus3.edgexfoundry.org:10004 [2022-11-08T16:14:47.537Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:14:47.537Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:14:47.537Z] Configure a credential helper to remove this warning. See [2022-11-08T16:14:47.537Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:14:47.537Z] [2022-11-08T16:14:47.537Z] Login Succeeded [2022-11-08T16:14:47.537Z] docker.io [2022-11-08T16:14:47.796Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:14:48.056Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:14:48.056Z] Configure a credential helper to remove this warning. See [2022-11-08T16:14:48.056Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:14:48.056Z] [2022-11-08T16:14:48.056Z] Login Succeeded [2022-11-08T16:14:48.056Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T16:14:48.063Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-11-08T16:14:48.091Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T16:14:48.113Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2022-11-08T16:14:48.113Z] ea2635875d50d8674d03123d64d8d0373faddc1b [2022-11-08T16:14:48.113Z] latest [2022-11-08T16:14:48.113Z] 2.3.0-dev.25 [2022-11-08T16:14:48.113Z] ea2635875d50d8674d03123d64d8d0373faddc1b-2.3.0-dev.25 [2022-11-08T16:14:48.113Z] main [2022-11-08T16:14:48.113Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:14:48.438Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:ea2635875d50d8674d03123d64d8d0373faddc1b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:14:48.852Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:ea2635875d50d8674d03123d64d8d0373faddc1b [2022-11-08T16:14:48.852Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-11-08T16:14:48.852Z] 13d32ca90107: Preparing [2022-11-08T16:14:48.852Z] d2e71957f40a: Preparing [2022-11-08T16:14:48.852Z] 3479c112b590: Preparing [2022-11-08T16:14:48.852Z] a50e945a060e: Preparing [2022-11-08T16:14:48.852Z] 994393dc58e7: Preparing [2022-11-08T16:14:48.852Z] 994393dc58e7: Layer already exists [2022-11-08T16:14:48.852Z] 13d32ca90107: Pushed [2022-11-08T16:14:48.852Z] d2e71957f40a: Pushed [2022-11-08T16:14:49.135Z] a50e945a060e: Pushed [2022-11-08T16:14:51.693Z] 3479c112b590: Pushed [2022-11-08T16:14:51.693Z] ea2635875d50d8674d03123d64d8d0373faddc1b: digest: sha256:d2624e67705dd37176e089b0f7436407a398f6574d30a0d62585ab2e258561a3 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:14:52.005Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:14:52.312Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2022-11-08T16:14:52.312Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-11-08T16:14:52.312Z] 13d32ca90107: Preparing [2022-11-08T16:14:52.312Z] d2e71957f40a: Preparing [2022-11-08T16:14:52.312Z] 3479c112b590: Preparing [2022-11-08T16:14:52.312Z] a50e945a060e: Preparing [2022-11-08T16:14:52.312Z] 994393dc58e7: Preparing [2022-11-08T16:14:52.312Z] 3479c112b590: Layer already exists [2022-11-08T16:14:52.312Z] d2e71957f40a: Layer already exists [2022-11-08T16:14:52.312Z] 13d32ca90107: Layer already exists [2022-11-08T16:14:52.312Z] a50e945a060e: Layer already exists [2022-11-08T16:14:52.312Z] 994393dc58e7: Layer already exists [2022-11-08T16:14:52.312Z] latest: digest: sha256:d2624e67705dd37176e089b0f7436407a398f6574d30a0d62585ab2e258561a3 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:14:52.628Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:14:52.929Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.25 [2022-11-08T16:14:52.929Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-11-08T16:14:52.929Z] 13d32ca90107: Preparing [2022-11-08T16:14:52.929Z] d2e71957f40a: Preparing [2022-11-08T16:14:52.929Z] 3479c112b590: Preparing [2022-11-08T16:14:52.929Z] a50e945a060e: Preparing [2022-11-08T16:14:52.929Z] 994393dc58e7: Preparing [2022-11-08T16:14:52.929Z] 13d32ca90107: Layer already exists [2022-11-08T16:14:52.929Z] d2e71957f40a: Layer already exists [2022-11-08T16:14:52.929Z] 3479c112b590: Layer already exists [2022-11-08T16:14:52.929Z] 994393dc58e7: Layer already exists [2022-11-08T16:14:52.929Z] a50e945a060e: Layer already exists [2022-11-08T16:14:52.929Z] 2.3.0-dev.25: digest: sha256:d2624e67705dd37176e089b0f7436407a398f6574d30a0d62585ab2e258561a3 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:14:53.232Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:ea2635875d50d8674d03123d64d8d0373faddc1b-2.3.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:14:53.535Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:ea2635875d50d8674d03123d64d8d0373faddc1b-2.3.0-dev.25 [2022-11-08T16:14:53.535Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-11-08T16:14:53.535Z] 13d32ca90107: Preparing [2022-11-08T16:14:53.535Z] d2e71957f40a: Preparing [2022-11-08T16:14:53.535Z] 3479c112b590: Preparing [2022-11-08T16:14:53.535Z] a50e945a060e: Preparing [2022-11-08T16:14:53.535Z] 994393dc58e7: Preparing [2022-11-08T16:14:53.535Z] 13d32ca90107: Layer already exists [2022-11-08T16:14:53.535Z] 994393dc58e7: Layer already exists [2022-11-08T16:14:53.535Z] 3479c112b590: Layer already exists [2022-11-08T16:14:53.535Z] a50e945a060e: Layer already exists [2022-11-08T16:14:53.535Z] d2e71957f40a: Layer already exists [2022-11-08T16:14:53.535Z] ea2635875d50d8674d03123d64d8d0373faddc1b-2.3.0-dev.25: digest: sha256:d2624e67705dd37176e089b0f7436407a398f6574d30a0d62585ab2e258561a3 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:14:53.846Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:14:54.145Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2022-11-08T16:14:54.145Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-11-08T16:14:54.145Z] 13d32ca90107: Preparing [2022-11-08T16:14:54.145Z] d2e71957f40a: Preparing [2022-11-08T16:14:54.145Z] 3479c112b590: Preparing [2022-11-08T16:14:54.145Z] a50e945a060e: Preparing [2022-11-08T16:14:54.145Z] 994393dc58e7: Preparing [2022-11-08T16:14:54.145Z] 3479c112b590: Layer already exists [2022-11-08T16:14:54.145Z] 994393dc58e7: Layer already exists [2022-11-08T16:14:54.145Z] a50e945a060e: Layer already exists [2022-11-08T16:14:54.145Z] d2e71957f40a: Layer already exists [2022-11-08T16:14:54.145Z] 13d32ca90107: Layer already exists [2022-11-08T16:14:54.145Z] main: digest: sha256:d2624e67705dd37176e089b0f7436407a398f6574d30a0d62585ab2e258561a3 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-11-08T16:14:54.196Z] ===================================================== [Pipeline] echo [2022-11-08T16:14:54.206Z] taggedImages: [2022-11-08T16:14:54.206Z] - nexus3.edgexfoundry.org:10004/device-rest:ea2635875d50d8674d03123d64d8d0373faddc1b [2022-11-08T16:14:54.206Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2022-11-08T16:14:54.206Z] - nexus3.edgexfoundry.org:10004/device-rest:2.3.0-dev.25 [2022-11-08T16:14:54.206Z] - nexus3.edgexfoundry.org:10004/device-rest:ea2635875d50d8674d03123d64d8d0373faddc1b-2.3.0-dev.25 [2022-11-08T16:14:54.206Z] - 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 [2022-11-08T16:14:54.588Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T16:14:54.588Z] [2022-11-08T16:14:54.588Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:14:54.886Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T16:14:54.886Z] latest: Pulling from edgex-lftools-log-publisher [2022-11-08T16:14:54.886Z] 5eb5b503b376: Pulling fs layer [2022-11-08T16:14:54.886Z] 5c69ac0246d0: Pulling fs layer [2022-11-08T16:14:54.886Z] ec43610c2a17: Pulling fs layer [2022-11-08T16:14:54.886Z] 3a2ae6a8a46f: Pulling fs layer [2022-11-08T16:14:54.886Z] 33b1e0a273af: Pulling fs layer [2022-11-08T16:14:54.886Z] 5d3b04190fa2: Pulling fs layer [2022-11-08T16:14:54.886Z] 2f39f015ded8: Pulling fs layer [2022-11-08T16:14:54.886Z] 3a2ae6a8a46f: Waiting [2022-11-08T16:14:54.886Z] 5d3b04190fa2: Waiting [2022-11-08T16:14:54.886Z] 2f39f015ded8: Waiting [2022-11-08T16:14:54.886Z] 33b1e0a273af: Waiting [2022-11-08T16:14:54.886Z] 5c69ac0246d0: Verifying Checksum [2022-11-08T16:14:54.886Z] 5c69ac0246d0: Download complete [2022-11-08T16:14:54.886Z] 3a2ae6a8a46f: Verifying Checksum [2022-11-08T16:14:54.886Z] 3a2ae6a8a46f: Download complete [2022-11-08T16:14:55.145Z] 33b1e0a273af: Verifying Checksum [2022-11-08T16:14:55.145Z] 33b1e0a273af: Download complete [2022-11-08T16:14:55.145Z] 5d3b04190fa2: Verifying Checksum [2022-11-08T16:14:55.145Z] 5d3b04190fa2: Download complete [2022-11-08T16:14:55.145Z] ec43610c2a17: Verifying Checksum [2022-11-08T16:14:55.145Z] ec43610c2a17: Download complete [2022-11-08T16:14:55.145Z] 5eb5b503b376: Verifying Checksum [2022-11-08T16:14:55.145Z] 5eb5b503b376: Download complete [2022-11-08T16:14:55.711Z] 2f39f015ded8: Verifying Checksum [2022-11-08T16:14:55.711Z] 2f39f015ded8: Download complete [2022-11-08T16:14:56.276Z] 5eb5b503b376: Pull complete [2022-11-08T16:14:56.276Z] 5c69ac0246d0: Pull complete [2022-11-08T16:14:56.840Z] ec43610c2a17: Pull complete [2022-11-08T16:14:56.840Z] 3a2ae6a8a46f: Pull complete [2022-11-08T16:14:57.098Z] 33b1e0a273af: Pull complete [2022-11-08T16:14:57.098Z] 5d3b04190fa2: Pull complete [2022-11-08T16:15:01.279Z] 2f39f015ded8: Pull complete [2022-11-08T16:15:01.279Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-11-08T16:15:01.279Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T16:15:01.279Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:15:01.360Z] prd-ubuntu20.04-docker-8c-8g-118624 does not seem to be running inside a container [2022-11-08T16:15:01.395Z] $ 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 [2022-11-08T16:15:03.034Z] $ docker top dd40b7c410412c5fab7e3ab78c267e1346a4c513684ea9cf4d0c9ef8163e4a27 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:15:03.396Z] ---> job-cost.sh [2022-11-08T16:15:03.396Z] lf-activate-venv: SKIPPING [2022-11-08T16:15:03.396Z] INFO: No Stack... [2022-11-08T16:15:03.654Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-08T16:15:03.913Z] INFO: Archiving Costs [Pipeline] sh [2022-11-08T16:15:04.202Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2022-11-08T16:15:04.202Z] + cut -d, -f6 [Pipeline] lock [2022-11-08T16:15:04.215Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-71-stack-cost] [2022-11-08T16:15:04.222Z] Resource [jenkins-edgexfoundry-device-rest-go-main-71-stack-cost] did not exist. Created. [2022-11-08T16:15:04.222Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-71-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-08T16:15:04.522Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-11-08T16:15:04.551Z] Stashed 1 file(s) [Pipeline] } [2022-11-08T16:15:04.556Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-71-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-08T16:15:04.573Z] $ docker stop --time=1 dd40b7c410412c5fab7e3ab78c267e1346a4c513684ea9cf4d0c9ef8163e4a27 [2022-11-08T16:15:05.719Z] $ docker rm -f dd40b7c410412c5fab7e3ab78c267e1346a4c513684ea9cf4d0c9ef8163e4a27 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-11-08T16:16:06.179Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-118626 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2022-11-08T16:16:06.195Z] Running in /w/workspace/device-rest-go/71 [Pipeline] { [Pipeline] checkout [2022-11-08T16:16:06.235Z] The recommended git tool is: git [2022-11-08T16:16:13.053Z] using credential edgex-jenkins-ssh [2022-11-08T16:16:13.072Z] Cloning the remote Git repository [2022-11-08T16:16:13.141Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-11-08T16:16:13.241Z] > git init /w/workspace/device-rest-go/71 # timeout=10 [2022-11-08T16:16:13.434Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-11-08T16:16:13.436Z] > git --version # timeout=10 [2022-11-08T16:16:13.461Z] > git --version # 'git version 2.25.1' [2022-11-08T16:16:13.463Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-11-08T16:16:13.528Z] Verifying host key using known hosts file [2022-11-08T16:16:13.807Z] You're using 'Known hosts file' strategy to verify ssh host keys, but your known_hosts file does not exist, please go to 'Manage Jenkins' -> 'Configure Global Security' -> 'Git Host Key Verification Configuration' and configure host key verification. [2022-11-08T16:16:13.826Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-08T16:16:16.010Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-11-08T16:16:16.053Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-11-08T16:16:17.159Z] Avoid second fetch [2022-11-08T16:16:17.159Z] Checking out Revision ea2635875d50d8674d03123d64d8d0373faddc1b (main) [2022-11-08T16:16:17.818Z] Commit message: "Merge pull request #228 from lenny-intel/released-sdk-go-mods" [2022-11-08T16:16:17.188Z] > git config core.sparsecheckout # timeout=10 [2022-11-08T16:16:17.223Z] > git checkout -f ea2635875d50d8674d03123d64d8d0373faddc1b # timeout=10 [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T16:16:18.890Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-11-08T16:16:18.890Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-08T16:16:18.890Z] Dload Upload Total Spent Left Speed [2022-11-08T16:16:18.890Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12602 100 12602 0 0 183k 0 --:--:-- --:--:-- --:--:-- 186k [Pipeline] sh [2022-11-08T16:16:19.594Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-11-08T16:16:19.941Z] + sudo tee /etc/docker/daemon.new [2022-11-08T16:16:19.941Z] + sudo jq . += {"seccomp-profile": "/etc/docker/seccomp.json"} /etc/docker/daemon.json [2022-11-08T16:16:19.941Z] { [2022-11-08T16:16:19.941Z] "registry-mirrors": [ [2022-11-08T16:16:19.941Z] "https://nexus3.edgexfoundry.org:10001" [2022-11-08T16:16:19.941Z] ], [2022-11-08T16:16:19.941Z] "bip": "10.250.0.254/24", [2022-11-08T16:16:19.941Z] "hosts": [ [2022-11-08T16:16:19.941Z] "tcp://0.0.0.0:5555", [2022-11-08T16:16:19.941Z] "unix:///var/run/docker.sock" [2022-11-08T16:16:19.941Z] ], [2022-11-08T16:16:19.941Z] "mtu": 1458, [2022-11-08T16:16:19.941Z] "selinux-enabled": true, [2022-11-08T16:16:19.941Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-11-08T16:16:19.941Z] } [Pipeline] sh [2022-11-08T16:16:20.290Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-11-08T16:16:20.650Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T16:16:38.980Z] provisioning config files... [2022-11-08T16:16:39.015Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/71@tmp/config1632669137457248501tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:16:39.400Z] ---> docker-login.sh [2022-11-08T16:16:39.400Z] nexus3.edgexfoundry.org:10001 [2022-11-08T16:16:39.997Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:16:40.267Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:16:40.267Z] Configure a credential helper to remove this warning. See [2022-11-08T16:16:40.267Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:16:40.267Z] [2022-11-08T16:16:40.267Z] Login Succeeded [2022-11-08T16:16:40.267Z] nexus3.edgexfoundry.org:10002 [2022-11-08T16:16:40.547Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:16:40.547Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:16:40.547Z] Configure a credential helper to remove this warning. See [2022-11-08T16:16:40.547Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:16:40.547Z] [2022-11-08T16:16:40.547Z] Login Succeeded [2022-11-08T16:16:40.547Z] nexus3.edgexfoundry.org:10003 [2022-11-08T16:16:40.823Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:16:41.100Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:16:41.100Z] Configure a credential helper to remove this warning. See [2022-11-08T16:16:41.100Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:16:41.100Z] [2022-11-08T16:16:41.100Z] Login Succeeded [2022-11-08T16:16:41.100Z] nexus3.edgexfoundry.org:10004 [2022-11-08T16:16:41.377Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:16:41.377Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:16:41.377Z] Configure a credential helper to remove this warning. See [2022-11-08T16:16:41.377Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:16:41.377Z] [2022-11-08T16:16:41.377Z] Login Succeeded [2022-11-08T16:16:41.651Z] docker.io [2022-11-08T16:16:41.926Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:16:42.200Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:16:42.200Z] Configure a credential helper to remove this warning. See [2022-11-08T16:16:42.200Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:16:42.200Z] [2022-11-08T16:16:42.200Z] Login Succeeded [2022-11-08T16:16:42.200Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T16:16:42.217Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-11-08T16:16:42.432Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T16:16:42.443Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T16:16:42.450Z] ========================================================= [2022-11-08T16:16:42.450Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine] [2022-11-08T16:16:42.450Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:16:42.815Z] + 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 . [2022-11-08T16:16:42.815Z] Sending build context to Docker daemon 129.5kB [2022-11-08T16:16:43.089Z] Step 1/12 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T16:16:43.089Z] Step 2/12 : FROM ${BASE} AS builder [2022-11-08T16:16:43.368Z] 1.18-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-11-08T16:16:43.368Z] 9b18e9b68314: Pulling fs layer [2022-11-08T16:16:43.368Z] 35d82f9e3411: Pulling fs layer [2022-11-08T16:16:43.368Z] e16973657156: Pulling fs layer [2022-11-08T16:16:43.368Z] fc693d55d65f: Pulling fs layer [2022-11-08T16:16:43.368Z] 7e9fc2657dce: Pulling fs layer [2022-11-08T16:16:43.368Z] dda99020689f: Pulling fs layer [2022-11-08T16:16:43.368Z] db1c61fa0a46: Pulling fs layer [2022-11-08T16:16:43.368Z] 891c053d2c06: Pulling fs layer [2022-11-08T16:16:43.368Z] dda99020689f: Waiting [2022-11-08T16:16:43.368Z] db1c61fa0a46: Waiting [2022-11-08T16:16:43.368Z] fc693d55d65f: Waiting [2022-11-08T16:16:43.368Z] 7e9fc2657dce: Waiting [2022-11-08T16:16:43.368Z] 891c053d2c06: Waiting [2022-11-08T16:16:43.368Z] e16973657156: Verifying Checksum [2022-11-08T16:16:43.368Z] e16973657156: Download complete [2022-11-08T16:16:43.368Z] 35d82f9e3411: Download complete [2022-11-08T16:16:43.368Z] 7e9fc2657dce: Verifying Checksum [2022-11-08T16:16:43.368Z] 7e9fc2657dce: Download complete [2022-11-08T16:16:43.368Z] dda99020689f: Verifying Checksum [2022-11-08T16:16:43.368Z] dda99020689f: Download complete [2022-11-08T16:16:43.368Z] 9b18e9b68314: Verifying Checksum [2022-11-08T16:16:43.368Z] 9b18e9b68314: Download complete [2022-11-08T16:16:44.839Z] 9b18e9b68314: Pull complete [2022-11-08T16:16:45.121Z] 891c053d2c06: Verifying Checksum [2022-11-08T16:16:45.121Z] 891c053d2c06: Download complete [2022-11-08T16:16:45.398Z] 35d82f9e3411: Pull complete [2022-11-08T16:16:46.014Z] e16973657156: Pull complete [2022-11-08T16:16:46.617Z] db1c61fa0a46: Verifying Checksum [2022-11-08T16:16:46.617Z] db1c61fa0a46: Download complete [2022-11-08T16:16:47.210Z] fc693d55d65f: Download complete [2022-11-08T16:16:59.566Z] fc693d55d65f: Pull complete [2022-11-08T16:16:59.566Z] 7e9fc2657dce: Pull complete [2022-11-08T16:16:59.566Z] dda99020689f: Pull complete [2022-11-08T16:17:06.281Z] db1c61fa0a46: Pull complete [2022-11-08T16:17:07.269Z] 891c053d2c06: Pull complete [2022-11-08T16:17:07.269Z] Digest: sha256:2cacf8bfc28650abd52610e42dcfc04852e818eb73900ea96edaef96a54d0b45 [2022-11-08T16:17:07.269Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.18-alpine [2022-11-08T16:17:07.269Z] ---> f96f9c87975a [2022-11-08T16:17:07.269Z] Step 3/12 : ARG ADD_BUILD_TAGS="" [2022-11-08T16:17:08.382Z] ---> Running in 732fd959264c [2022-11-08T16:17:08.659Z] Removing intermediate container 732fd959264c [2022-11-08T16:17:08.659Z] ---> 9b7c6f0b61c6 [2022-11-08T16:17:08.659Z] Step 4/12 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T16:17:08.659Z] ---> Running in 7d14da431fa8 [2022-11-08T16:17:08.940Z] Removing intermediate container 7d14da431fa8 [2022-11-08T16:17:08.940Z] ---> ddb08b0f47d8 [2022-11-08T16:17:08.940Z] Step 5/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T16:17:09.211Z] ---> Running in 857bb731707f [2022-11-08T16:17:09.482Z] Removing intermediate container 857bb731707f [2022-11-08T16:17:09.482Z] ---> 677d03d90c79 [2022-11-08T16:17:09.482Z] Step 6/12 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T16:17:09.482Z] ---> Running in 58d0cac90962 [2022-11-08T16:17:10.073Z] Removing intermediate container 58d0cac90962 [2022-11-08T16:17:10.073Z] ---> 9bc4b993cc0a [2022-11-08T16:17:10.073Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T16:17:10.073Z] ---> Running in 73a39358cd04 [2022-11-08T16:17:11.511Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T16:17:11.783Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T16:17:13.217Z] (1/4) Installing openssh-keygen (9.0_p1-r2) [2022-11-08T16:17:13.217Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-11-08T16:17:13.217Z] (3/4) Installing openssh-client-common (9.0_p1-r2) [2022-11-08T16:17:13.217Z] (4/4) Installing openssh-client-default (9.0_p1-r2) [2022-11-08T16:17:13.217Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T16:17:13.217Z] OK: 226 MiB in 55 packages [2022-11-08T16:17:14.658Z] Removing intermediate container 73a39358cd04 [2022-11-08T16:17:14.658Z] ---> cb3ef75ebd39 [2022-11-08T16:17:14.658Z] Step 8/12 : WORKDIR /device-rest-go [2022-11-08T16:17:14.658Z] ---> Running in 954073cceb7f [2022-11-08T16:17:14.930Z] Removing intermediate container 954073cceb7f [2022-11-08T16:17:14.930Z] ---> a7ccb6138e0c [2022-11-08T16:17:14.930Z] Step 9/12 : COPY go.mod vendor* ./ [2022-11-08T16:17:15.522Z] ---> 9473ad85d9b2 [2022-11-08T16:17:15.522Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T16:17:15.798Z] ---> Running in ada4e3db4ad1 [2022-11-08T16:18:23.770Z] Removing intermediate container ada4e3db4ad1 [2022-11-08T16:18:23.770Z] ---> 75a28a9220bc [2022-11-08T16:18:23.770Z] Step 11/12 : COPY . . [2022-11-08T16:18:23.770Z] ---> bbf6c54bb930 [2022-11-08T16:18:23.770Z] Step 12/12 : RUN $MAKE [2022-11-08T16:18:23.771Z] ---> Running in b397018c01f7 [2022-11-08T16:18:23.771Z] noop [2022-11-08T16:18:23.771Z] Removing intermediate container b397018c01f7 [2022-11-08T16:18:23.771Z] ---> a4ed23365dcd [2022-11-08T16:18:23.771Z] Successfully built a4ed23365dcd [2022-11-08T16:18:23.771Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:18:24.135Z] + docker inspect -f . ci-base-image-arm64 [2022-11-08T16:18:24.135Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:18:24.349Z] prd-ubuntu20.04-docker-arm64-4c-16g-118626 does not seem to be running inside a container [2022-11-08T16:18:24.438Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/71 -v /w/workspace/device-rest-go/71:/w/workspace/device-rest-go/71:rw,z -v /w/workspace/device-rest-go/71@tmp:/w/workspace/device-rest-go/71@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 [2022-11-08T16:18:25.785Z] $ docker top 730c22955d5ce2b20dde49c914e93e6ddaf075af7a15cb9ef2ef5d61562969e4 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T16:18:26.660Z] + go version [2022-11-08T16:18:26.661Z] go version go1.18.7 linux/arm64 [Pipeline] } [2022-11-08T16:18:26.687Z] $ docker stop --time=1 730c22955d5ce2b20dde49c914e93e6ddaf075af7a15cb9ef2ef5d61562969e4 [2022-11-08T16:18:28.329Z] $ docker rm -f 730c22955d5ce2b20dde49c914e93e6ddaf075af7a15cb9ef2ef5d61562969e4 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:18:28.900Z] + docker inspect -f . ci-base-image-arm64 [2022-11-08T16:18:28.900Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:18:29.090Z] prd-ubuntu20.04-docker-arm64-4c-16g-118626 does not seem to be running inside a container [2022-11-08T16:18:29.169Z] $ 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/71 -v /w/workspace/device-rest-go/71:/w/workspace/device-rest-go/71:rw,z -v /w/workspace/device-rest-go/71@tmp:/w/workspace/device-rest-go/71@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 [2022-11-08T16:18:30.382Z] $ docker top f8cada6db1c6b09ae9054e9255145d25833879d98f7938f1378cbcf7ecc2e2fe -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T16:18:31.230Z] + git config --global --add safe.directory /w/workspace/device-rest-go/71 [Pipeline] fileExists [Pipeline] sh [2022-11-08T16:18:31.891Z] + make test [2022-11-08T16:18:31.891Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-11-08T16:18:33.848Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-11-08T16:20:10.585Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-11-08T16:20:17.274Z] ok github.com/edgexfoundry/device-rest-go/driver 0.079s coverage: 55.2% of statements [2022-11-08T16:20:17.274Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-11-08T16:20:17.274Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-11-08T16:20:44.020Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-11-08T16:20:44.020Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-11-08T16:20:44.020Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-11-08T16:20:44.042Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-11-08T16:20:44.064Z] $ docker stop --time=1 f8cada6db1c6b09ae9054e9255145d25833879d98f7938f1378cbcf7ecc2e2fe [2022-11-08T16:20:45.908Z] $ docker rm -f f8cada6db1c6b09ae9054e9255145d25833879d98f7938f1378cbcf7ecc2e2fe [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T16:20:46.903Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-11-08T16:20:46.928Z] Warning: overwriting stash ‘coverage-report’ [2022-11-08T16:20:47.463Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-11-08T16:20:47.845Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-11-08T16:20:48.188Z] + ls -al . [2022-11-08T16:20:48.188Z] total 184 [2022-11-08T16:20:48.188Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 16:18 . [2022-11-08T16:20:48.188Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:16 .. [2022-11-08T16:20:48.188Z] -rw-rw-r-- 1 jenkins jenkins 151 Nov 8 16:16 .dockerignore [2022-11-08T16:20:48.188Z] drwxrwxr-x 8 jenkins jenkins 4096 Nov 8 16:16 .git [2022-11-08T16:20:48.188Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:16 .github [2022-11-08T16:20:48.188Z] -rw-rw-r-- 1 jenkins jenkins 329 Nov 8 16:16 .gitignore [2022-11-08T16:20:48.188Z] -rw-rw-r-- 1 jenkins jenkins 41 Nov 8 16:16 .golangci.yml [2022-11-08T16:20:48.188Z] -rw-rw-r-- 1 jenkins jenkins 9100 Nov 8 16:16 Attribution.txt [2022-11-08T16:20:48.188Z] -rw-rw-r-- 1 jenkins jenkins 13085 Nov 8 16:16 CHANGELOG.md [2022-11-08T16:20:48.188Z] -rw-rw-r-- 1 jenkins jenkins 1641 Nov 8 16:16 Dockerfile [2022-11-08T16:20:48.188Z] -rw-rw-r-- 1 jenkins jenkins 677 Nov 8 16:16 GOVERNANCE.md [2022-11-08T16:20:48.188Z] -rw-rw-r-- 1 jenkins jenkins 680 Nov 8 16:16 Jenkinsfile [2022-11-08T16:20:48.188Z] -rw-rw-r-- 1 jenkins jenkins 11340 Nov 8 16:16 LICENSE [2022-11-08T16:20:48.188Z] -rw-rw-r-- 1 jenkins jenkins 2173 Nov 8 16:16 Makefile [2022-11-08T16:20:48.188Z] -rw-rw-r-- 1 jenkins jenkins 620 Nov 8 16:16 OWNERS.md [2022-11-08T16:20:48.188Z] -rw-rw-r-- 1 jenkins jenkins 8667 Nov 8 16:16 README.md [2022-11-08T16:20:48.188Z] -rw-rw-r-- 1 jenkins jenkins 12 Nov 8 16:13 VERSION [2022-11-08T16:20:48.188Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 16:16 bin [2022-11-08T16:20:48.188Z] drwxrwxr-x 3 jenkins jenkins 4096 Nov 8 16:16 cmd [2022-11-08T16:20:48.188Z] -rw-r--r-- 1 jenkins jenkins 9355 Nov 8 16:20 coverage.out [2022-11-08T16:20:48.188Z] drwxrwxr-x 2 jenkins jenkins 4096 Nov 8 16:16 driver [2022-11-08T16:20:48.188Z] -rw-rw-r-- 1 jenkins jenkins 3487 Nov 8 16:16 go.mod [2022-11-08T16:20:48.188Z] -rw-rw-r-- 1 jenkins jenkins 44869 Nov 8 16:16 go.sum [2022-11-08T16:20:48.188Z] drwxrwxr-x 4 jenkins jenkins 4096 Nov 8 16:16 snap [2022-11-08T16:20:48.188Z] -rw-rw-r-- 1 jenkins jenkins 713 Nov 8 16:16 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:20:48.555Z] + 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=ea2635875d50d8674d03123d64d8d0373faddc1b --label arch=arm64 --label version=2.3.0-dev.25 . [2022-11-08T16:20:48.555Z] Sending build context to Docker daemon 139.8kB [2022-11-08T16:20:48.826Z] Step 1/25 : ARG BASE=golang:1.18-alpine3.16 [2022-11-08T16:20:48.826Z] Step 2/25 : FROM ${BASE} AS builder [2022-11-08T16:20:48.826Z] ---> a4ed23365dcd [2022-11-08T16:20:48.826Z] Step 3/25 : ARG ADD_BUILD_TAGS="" [2022-11-08T16:20:49.096Z] ---> Running in 4335ec9c5390 [2022-11-08T16:20:49.367Z] Removing intermediate container 4335ec9c5390 [2022-11-08T16:20:49.367Z] ---> 3ad1b87c352d [2022-11-08T16:20:49.367Z] Step 4/25 : ARG MAKE="make -e ADD_BUILD_TAGS=$ADD_BUILD_TAGS build" [2022-11-08T16:20:49.367Z] ---> Running in d36665c8b55b [2022-11-08T16:20:49.635Z] Removing intermediate container d36665c8b55b [2022-11-08T16:20:49.635Z] ---> db140bab083f [2022-11-08T16:20:49.635Z] Step 5/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-11-08T16:20:49.907Z] ---> Running in 7a9f8cf4420c [2022-11-08T16:20:50.178Z] Removing intermediate container 7a9f8cf4420c [2022-11-08T16:20:50.178Z] ---> e2f87dacc8b4 [2022-11-08T16:20:50.178Z] Step 6/25 : ARG ALPINE_PKG_EXTRA="" [2022-11-08T16:20:50.450Z] ---> Running in 64da88a0efb7 [2022-11-08T16:20:50.721Z] Removing intermediate container 64da88a0efb7 [2022-11-08T16:20:50.721Z] ---> bdfa9729b95f [2022-11-08T16:20:50.721Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-11-08T16:20:50.721Z] ---> Running in d752f798c40f [2022-11-08T16:20:52.144Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T16:20:52.414Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T16:20:53.385Z] OK: 226 MiB in 55 packages [2022-11-08T16:20:54.354Z] Removing intermediate container d752f798c40f [2022-11-08T16:20:54.354Z] ---> 595a3e40beec [2022-11-08T16:20:54.354Z] Step 8/25 : WORKDIR /device-rest-go [2022-11-08T16:20:54.629Z] ---> Running in 4c88cc857e01 [2022-11-08T16:20:54.897Z] Removing intermediate container 4c88cc857e01 [2022-11-08T16:20:54.897Z] ---> a580aae62715 [2022-11-08T16:20:54.897Z] Step 9/25 : COPY go.mod vendor* ./ [2022-11-08T16:20:55.487Z] ---> 0b7821f6916a [2022-11-08T16:20:55.487Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-11-08T16:20:55.758Z] ---> Running in a5e660ae974e [2022-11-08T16:20:58.350Z] Removing intermediate container a5e660ae974e [2022-11-08T16:20:58.350Z] ---> 9de0cb6b85d5 [2022-11-08T16:20:58.350Z] Step 11/25 : COPY . . [2022-11-08T16:20:59.325Z] ---> 2869be88ebcb [2022-11-08T16:20:59.325Z] Step 12/25 : RUN $MAKE [2022-11-08T16:20:59.325Z] ---> Running in df7c8881aef6 [2022-11-08T16:21:00.745Z] CGO_ENABLED=1 GO111MODULE=on go build -tags "" -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.3.0-dev.25" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-11-08T16:23:52.565Z] Removing intermediate container df7c8881aef6 [2022-11-08T16:23:52.565Z] ---> 66ad8029c22f [2022-11-08T16:23:52.565Z] Step 13/25 : FROM alpine:3.16 [2022-11-08T16:23:52.565Z] 3.16: Pulling from library/alpine [2022-11-08T16:23:52.565Z] 9b18e9b68314: Already exists [2022-11-08T16:23:52.565Z] Digest: sha256:bc41182d7ef5ffc53a40b044e725193bc10142a1243f395ee852a8d9730fc2ad [2022-11-08T16:23:52.565Z] Status: Downloaded newer image for alpine:3.16 [2022-11-08T16:23:52.565Z] ---> a6215f271958 [2022-11-08T16:23:52.565Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2022: Intel' [2022-11-08T16:23:52.565Z] ---> Running in b949173d1ab4 [2022-11-08T16:23:52.565Z] Removing intermediate container b949173d1ab4 [2022-11-08T16:23:52.565Z] ---> a65e4857086a [2022-11-08T16:23:52.565Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-11-08T16:23:52.565Z] ---> Running in c820be3811c6 [2022-11-08T16:23:52.565Z] Removing intermediate container c820be3811c6 [2022-11-08T16:23:52.565Z] ---> 7f8aa3ded971 [2022-11-08T16:23:52.565Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-11-08T16:23:52.565Z] ---> Running in 14dd93f97612 [2022-11-08T16:23:52.565Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/main/aarch64/APKINDEX.tar.gz [2022-11-08T16:23:52.565Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.16/community/aarch64/APKINDEX.tar.gz [2022-11-08T16:23:52.565Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-11-08T16:23:52.565Z] (2/6) Installing libgcc (11.2.1_git20220219-r2) [2022-11-08T16:23:52.565Z] (3/6) Installing libsodium (1.0.18-r0) [2022-11-08T16:23:52.565Z] (4/6) Installing libstdc++ (11.2.1_git20220219-r2) [2022-11-08T16:23:52.565Z] (5/6) Installing libzmq (4.3.4-r0) [2022-11-08T16:23:52.565Z] (6/6) Installing zeromq (4.3.4-r0) [2022-11-08T16:23:52.565Z] Executing busybox-1.35.0-r17.trigger [2022-11-08T16:23:52.565Z] OK: 8 MiB in 20 packages [2022-11-08T16:23:52.565Z] Removing intermediate container 14dd93f97612 [2022-11-08T16:23:52.565Z] ---> 023bf4848a53 [2022-11-08T16:23:52.565Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-11-08T16:23:54.513Z] ---> 372fd1ce5815 [2022-11-08T16:23:54.513Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-11-08T16:23:54.781Z] ---> 163dc49045f6 [2022-11-08T16:23:54.781Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-11-08T16:23:55.367Z] ---> 0d44b70ba809 [2022-11-08T16:23:55.367Z] Step 20/25 : EXPOSE 59986 [2022-11-08T16:23:55.367Z] ---> Running in 2e244d642538 [2022-11-08T16:23:55.635Z] Removing intermediate container 2e244d642538 [2022-11-08T16:23:55.635Z] ---> 59f51913ac95 [2022-11-08T16:23:55.635Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-11-08T16:23:55.635Z] ---> Running in b1be74b2457e [2022-11-08T16:23:56.222Z] Removing intermediate container b1be74b2457e [2022-11-08T16:23:56.222Z] ---> 5260197f4d3e [2022-11-08T16:23:56.222Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-11-08T16:23:56.222Z] ---> Running in e439ed67856b [2022-11-08T16:23:56.488Z] Removing intermediate container e439ed67856b [2022-11-08T16:23:56.488Z] ---> 9f601ea04d22 [2022-11-08T16:23:56.488Z] Step 23/25 : LABEL arch=arm64 [2022-11-08T16:23:56.488Z] ---> Running in d5f5c3d62d94 [2022-11-08T16:23:56.755Z] Removing intermediate container d5f5c3d62d94 [2022-11-08T16:23:56.755Z] ---> dba367b8cea9 [2022-11-08T16:23:56.755Z] Step 24/25 : LABEL git_sha=ea2635875d50d8674d03123d64d8d0373faddc1b [2022-11-08T16:23:56.755Z] ---> Running in 4b12470824f8 [2022-11-08T16:23:57.338Z] Removing intermediate container 4b12470824f8 [2022-11-08T16:23:57.338Z] ---> f275aaf123cd [2022-11-08T16:23:57.338Z] Step 25/25 : LABEL version=2.3.0-dev.25 [2022-11-08T16:23:57.338Z] ---> Running in 8aa9359d82c5 [2022-11-08T16:23:57.606Z] Removing intermediate container 8aa9359d82c5 [2022-11-08T16:23:57.606Z] ---> ceae53bc2c34 [2022-11-08T16:23:57.606Z] [Warning] One or more build-args [ARCH] were not consumed [2022-11-08T16:23:57.606Z] Successfully built ceae53bc2c34 [2022-11-08T16:23:57.606Z] 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 [2022-11-08T16:23:57.692Z] provisioning config files... [2022-11-08T16:23:57.708Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/71@tmp/config14157973108010684995tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:23:58.047Z] ---> docker-login.sh [2022-11-08T16:23:58.048Z] nexus3.edgexfoundry.org:10001 [2022-11-08T16:23:58.048Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:23:58.316Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:23:58.316Z] Configure a credential helper to remove this warning. See [2022-11-08T16:23:58.316Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:23:58.316Z] [2022-11-08T16:23:58.316Z] Login Succeeded [2022-11-08T16:23:58.316Z] nexus3.edgexfoundry.org:10002 [2022-11-08T16:23:58.585Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:23:58.585Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:23:58.585Z] Configure a credential helper to remove this warning. See [2022-11-08T16:23:58.585Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:23:58.585Z] [2022-11-08T16:23:58.585Z] Login Succeeded [2022-11-08T16:23:58.585Z] nexus3.edgexfoundry.org:10003 [2022-11-08T16:23:58.852Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:23:59.119Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:23:59.119Z] Configure a credential helper to remove this warning. See [2022-11-08T16:23:59.119Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:23:59.119Z] [2022-11-08T16:23:59.119Z] Login Succeeded [2022-11-08T16:23:59.119Z] nexus3.edgexfoundry.org:10004 [2022-11-08T16:23:59.386Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:23:59.386Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:23:59.386Z] Configure a credential helper to remove this warning. See [2022-11-08T16:23:59.386Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:23:59.386Z] [2022-11-08T16:23:59.386Z] Login Succeeded [2022-11-08T16:23:59.386Z] docker.io [2022-11-08T16:23:59.652Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-11-08T16:23:59.920Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-11-08T16:23:59.920Z] Configure a credential helper to remove this warning. See [2022-11-08T16:23:59.920Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-11-08T16:23:59.920Z] [2022-11-08T16:23:59.920Z] Login Succeeded [2022-11-08T16:24:00.187Z] ---> docker-login.sh ends [Pipeline] } [2022-11-08T16:24:00.200Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-11-08T16:24:00.225Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-11-08T16:24:00.239Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2022-11-08T16:24:00.239Z] ea2635875d50d8674d03123d64d8d0373faddc1b [2022-11-08T16:24:00.239Z] latest [2022-11-08T16:24:00.239Z] 2.3.0-dev.25 [2022-11-08T16:24:00.239Z] ea2635875d50d8674d03123d64d8d0373faddc1b-2.3.0-dev.25 [2022-11-08T16:24:00.239Z] main [2022-11-08T16:24:00.239Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:24:00.584Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:ea2635875d50d8674d03123d64d8d0373faddc1b [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:24:00.931Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:ea2635875d50d8674d03123d64d8d0373faddc1b [2022-11-08T16:24:00.931Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-11-08T16:24:00.931Z] 7277a42c88a6: Preparing [2022-11-08T16:24:00.931Z] 3eaa9ef9a127: Preparing [2022-11-08T16:24:00.931Z] 5bf310e7d157: Preparing [2022-11-08T16:24:00.931Z] 237e1ddfa8a0: Preparing [2022-11-08T16:24:00.931Z] 5d3e392a13a0: Preparing [2022-11-08T16:24:00.931Z] 5d3e392a13a0: Layer already exists [2022-11-08T16:24:01.200Z] 3eaa9ef9a127: Pushed [2022-11-08T16:24:01.200Z] 7277a42c88a6: Pushed [2022-11-08T16:24:01.785Z] 237e1ddfa8a0: Pushed [2022-11-08T16:24:07.134Z] 5bf310e7d157: Pushed [2022-11-08T16:24:07.134Z] ea2635875d50d8674d03123d64d8d0373faddc1b: digest: sha256:3f1b35295d547487b055b7557549af8e3fa4e429c47d9fac0009966b25fc5318 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:24:07.483Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:24:07.861Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-11-08T16:24:07.861Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-11-08T16:24:07.861Z] 7277a42c88a6: Preparing [2022-11-08T16:24:07.861Z] 3eaa9ef9a127: Preparing [2022-11-08T16:24:07.861Z] 5bf310e7d157: Preparing [2022-11-08T16:24:07.861Z] 237e1ddfa8a0: Preparing [2022-11-08T16:24:07.861Z] 5d3e392a13a0: Preparing [2022-11-08T16:24:07.861Z] 3eaa9ef9a127: Layer already exists [2022-11-08T16:24:07.861Z] 5bf310e7d157: Layer already exists [2022-11-08T16:24:07.861Z] 5d3e392a13a0: Layer already exists [2022-11-08T16:24:07.861Z] 7277a42c88a6: Layer already exists [2022-11-08T16:24:07.861Z] 237e1ddfa8a0: Layer already exists [2022-11-08T16:24:07.861Z] latest: digest: sha256:3f1b35295d547487b055b7557549af8e3fa4e429c47d9fac0009966b25fc5318 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:24:08.265Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:24:08.630Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.25 [2022-11-08T16:24:08.630Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-11-08T16:24:08.630Z] 7277a42c88a6: Preparing [2022-11-08T16:24:08.630Z] 3eaa9ef9a127: Preparing [2022-11-08T16:24:08.630Z] 5bf310e7d157: Preparing [2022-11-08T16:24:08.630Z] 237e1ddfa8a0: Preparing [2022-11-08T16:24:08.630Z] 5d3e392a13a0: Preparing [2022-11-08T16:24:08.630Z] 5d3e392a13a0: Layer already exists [2022-11-08T16:24:08.630Z] 237e1ddfa8a0: Layer already exists [2022-11-08T16:24:08.630Z] 7277a42c88a6: Layer already exists [2022-11-08T16:24:08.630Z] 3eaa9ef9a127: Layer already exists [2022-11-08T16:24:08.630Z] 5bf310e7d157: Layer already exists [2022-11-08T16:24:08.630Z] 2.3.0-dev.25: digest: sha256:3f1b35295d547487b055b7557549af8e3fa4e429c47d9fac0009966b25fc5318 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:24:09.259Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:ea2635875d50d8674d03123d64d8d0373faddc1b-2.3.0-dev.25 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:24:09.608Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:ea2635875d50d8674d03123d64d8d0373faddc1b-2.3.0-dev.25 [2022-11-08T16:24:09.608Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-11-08T16:24:09.608Z] 7277a42c88a6: Preparing [2022-11-08T16:24:09.608Z] 3eaa9ef9a127: Preparing [2022-11-08T16:24:09.608Z] 5bf310e7d157: Preparing [2022-11-08T16:24:09.608Z] 237e1ddfa8a0: Preparing [2022-11-08T16:24:09.608Z] 5d3e392a13a0: Preparing [2022-11-08T16:24:09.608Z] 5d3e392a13a0: Layer already exists [2022-11-08T16:24:09.608Z] 3eaa9ef9a127: Layer already exists [2022-11-08T16:24:09.608Z] 7277a42c88a6: Layer already exists [2022-11-08T16:24:09.608Z] 5bf310e7d157: Layer already exists [2022-11-08T16:24:09.608Z] 237e1ddfa8a0: Layer already exists [2022-11-08T16:24:09.608Z] ea2635875d50d8674d03123d64d8d0373faddc1b-2.3.0-dev.25: digest: sha256:3f1b35295d547487b055b7557549af8e3fa4e429c47d9fac0009966b25fc5318 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:24:09.973Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:24:10.316Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2022-11-08T16:24:10.316Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-11-08T16:24:10.316Z] 7277a42c88a6: Preparing [2022-11-08T16:24:10.316Z] 3eaa9ef9a127: Preparing [2022-11-08T16:24:10.316Z] 5bf310e7d157: Preparing [2022-11-08T16:24:10.316Z] 237e1ddfa8a0: Preparing [2022-11-08T16:24:10.316Z] 5d3e392a13a0: Preparing [2022-11-08T16:24:10.316Z] 7277a42c88a6: Layer already exists [2022-11-08T16:24:10.316Z] 5d3e392a13a0: Layer already exists [2022-11-08T16:24:10.316Z] 3eaa9ef9a127: Layer already exists [2022-11-08T16:24:10.316Z] 5bf310e7d157: Layer already exists [2022-11-08T16:24:10.316Z] 237e1ddfa8a0: Layer already exists [2022-11-08T16:24:10.584Z] main: digest: sha256:3f1b35295d547487b055b7557549af8e3fa4e429c47d9fac0009966b25fc5318 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-11-08T16:24:10.628Z] ===================================================== [Pipeline] echo [2022-11-08T16:24:10.633Z] taggedImages: [2022-11-08T16:24:10.634Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:ea2635875d50d8674d03123d64d8d0373faddc1b [2022-11-08T16:24:10.634Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-11-08T16:24:10.634Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.3.0-dev.25 [2022-11-08T16:24:10.634Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:ea2635875d50d8674d03123d64d8d0373faddc1b-2.3.0-dev.25 [2022-11-08T16:24:10.634Z] - 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 [2022-11-08T16:24:10.995Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T16:24:10.995Z] [2022-11-08T16:24:10.995Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:24:11.326Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T16:24:11.327Z] arm64: Pulling from edgex-lftools-log-publisher [2022-11-08T16:24:11.327Z] 8998bd30e6a1: Pulling fs layer [2022-11-08T16:24:11.327Z] 04944245beec: Pulling fs layer [2022-11-08T16:24:11.327Z] 699f458cf7ca: Pulling fs layer [2022-11-08T16:24:11.327Z] 765212b225bb: Pulling fs layer [2022-11-08T16:24:11.327Z] f23df028b6ca: Pulling fs layer [2022-11-08T16:24:11.327Z] d65c8cfc05b1: Pulling fs layer [2022-11-08T16:24:11.327Z] 2437ff75d9bd: Pulling fs layer [2022-11-08T16:24:11.327Z] f23df028b6ca: Waiting [2022-11-08T16:24:11.327Z] d65c8cfc05b1: Waiting [2022-11-08T16:24:11.327Z] 2437ff75d9bd: Waiting [2022-11-08T16:24:11.327Z] 765212b225bb: Waiting [2022-11-08T16:24:11.597Z] 04944245beec: Verifying Checksum [2022-11-08T16:24:11.597Z] 04944245beec: Download complete [2022-11-08T16:24:11.597Z] 765212b225bb: Verifying Checksum [2022-11-08T16:24:11.597Z] f23df028b6ca: Verifying Checksum [2022-11-08T16:24:11.597Z] f23df028b6ca: Download complete [2022-11-08T16:24:11.597Z] d65c8cfc05b1: Verifying Checksum [2022-11-08T16:24:11.597Z] d65c8cfc05b1: Download complete [2022-11-08T16:24:11.865Z] 699f458cf7ca: Verifying Checksum [2022-11-08T16:24:11.865Z] 699f458cf7ca: Download complete [2022-11-08T16:24:12.132Z] 8998bd30e6a1: Download complete [2022-11-08T16:24:14.719Z] 2437ff75d9bd: Verifying Checksum [2022-11-08T16:24:14.719Z] 2437ff75d9bd: Download complete [2022-11-08T16:24:16.129Z] 8998bd30e6a1: Pull complete [2022-11-08T16:24:17.092Z] 04944245beec: Pull complete [2022-11-08T16:24:18.502Z] 699f458cf7ca: Pull complete [2022-11-08T16:24:18.771Z] 765212b225bb: Pull complete [2022-11-08T16:24:19.735Z] f23df028b6ca: Pull complete [2022-11-08T16:24:19.735Z] d65c8cfc05b1: Pull complete [2022-11-08T16:24:34.722Z] 2437ff75d9bd: Pull complete [2022-11-08T16:24:34.722Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-11-08T16:24:34.722Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-11-08T16:24:34.722Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:24:34.914Z] prd-ubuntu20.04-docker-arm64-4c-16g-118626 does not seem to be running inside a container [2022-11-08T16:24:34.989Z] $ 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/71 -v /w/workspace/device-rest-go/71:/w/workspace/device-rest-go/71:rw,z -v /w/workspace/device-rest-go/71@tmp:/w/workspace/device-rest-go/71@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 [2022-11-08T16:24:37.747Z] $ docker top 093433c3b6b67e1037a95f8ed4be25b789bb0eeee0ddd3c4aafe7591ebb34656 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:24:38.591Z] ---> job-cost.sh [2022-11-08T16:24:38.591Z] lf-activate-venv: SKIPPING [2022-11-08T16:24:38.592Z] INFO: No Stack... [2022-11-08T16:24:38.857Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-11-08T16:24:39.815Z] INFO: Archiving Costs [Pipeline] sh [2022-11-08T16:24:40.454Z] + cut -d, -f6 [2022-11-08T16:24:40.454Z] + cat /w/workspace/device-rest-go/71/archives/cost.csv [Pipeline] lock [2022-11-08T16:24:40.525Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-71-stack-cost] [2022-11-08T16:24:40.534Z] Resource [jenkins-edgexfoundry-device-rest-go-main-71-stack-cost] did not exist. Created. [2022-11-08T16:24:40.534Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-71-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-11-08T16:24:41.188Z] /w/workspace/device-rest-go/71@tmp/durable-7bc493c2/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-11-08T16:24:41.838Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-11-08T16:24:41.859Z] Warning: overwriting stash ‘stack-cost’ [2022-11-08T16:24:41.905Z] Stashed 1 file(s) [Pipeline] } [2022-11-08T16:24:41.915Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-71-stack-cost] [Pipeline] // lock [Pipeline] } [2022-11-08T16:24:41.938Z] $ docker stop --time=1 093433c3b6b67e1037a95f8ed4be25b789bb0eeee0ddd3c4aafe7591ebb34656 [2022-11-08T16:24:43.432Z] $ docker rm -f 093433c3b6b67e1037a95f8ed4be25b789bb0eeee0ddd3c4aafe7591ebb34656 [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 [2022-11-08T16:24:43.813Z] provisioning config files... [2022-11-08T16:24:43.821Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config15735651277109892035tmp [Pipeline] { [Pipeline] sh [2022-11-08T16:24:44.113Z] + set +x [2022-11-08T16:24:44.113Z] + curl -s https://codecov.io/bash [2022-11-08T16:24:44.113Z] + bash -s -- [2022-11-08T16:24:44.113Z] [2022-11-08T16:24:44.113Z] _____ _ [2022-11-08T16:24:44.113Z] / ____| | | [2022-11-08T16:24:44.113Z] | | ___ __| | ___ ___ _____ __ [2022-11-08T16:24:44.113Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-11-08T16:24:44.113Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-11-08T16:24:44.113Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-11-08T16:24:44.113Z] Bash-1.0.6 [2022-11-08T16:24:44.113Z] [2022-11-08T16:24:44.113Z] [2022-11-08T16:24:44.113Z] ==> git version 2.25.1 found [2022-11-08T16:24:44.113Z] ==> 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 [2022-11-08T16:24:44.113Z] Release-Date: 2020-01-08 [2022-11-08T16:24:44.113Z] Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp scp sftp smb smbs smtp smtps telnet tftp [2022-11-08T16:24:44.113Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-11-08T16:24:44.113Z] ==> Jenkins CI detected. [2022-11-08T16:24:44.113Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2022-11-08T16:24:44.113Z] project root: . [2022-11-08T16:24:44.113Z] --> token set from env [2022-11-08T16:24:44.113Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-11-08T16:24:44.113Z] ==> Running gcov in . (disable via -X gcov) [2022-11-08T16:24:44.113Z] ==> Python coveragepy not found [2022-11-08T16:24:44.113Z] ==> Searching for coverage reports in: [2022-11-08T16:24:44.113Z] + . [2022-11-08T16:24:44.113Z] -> Found 1 reports [2022-11-08T16:24:44.113Z] ==> Detecting git/mercurial file structure [2022-11-08T16:24:44.113Z] ==> Reading reports [2022-11-08T16:24:44.113Z] + ./coverage.out bytes=9355 [2022-11-08T16:24:44.113Z] ==> Appending adjustments [2022-11-08T16:24:44.113Z] https://docs.codecov.io/docs/fixing-reports [2022-11-08T16:24:44.372Z] + Found adjustments [2022-11-08T16:24:44.372Z] ==> Gzipping contents [2022-11-08T16:24:44.372Z] 4.0K /tmp/codecov.Z7VrCJ.gz [2022-11-08T16:24:44.372Z] ==> Uploading reports [2022-11-08T16:24:44.372Z] url: https://codecov.io [2022-11-08T16:24:44.372Z] query: branch=main&commit=ea2635875d50d8674d03123d64d8d0373faddc1b&build=71&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F71%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-11-08T16:24:44.372Z] -> Pinging Codecov [2022-11-08T16:24:44.372Z] 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=ea2635875d50d8674d03123d64d8d0373faddc1b&build=71&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F71%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-11-08T16:24:44.632Z] -> Uploading to [2022-11-08T16:24:44.632Z] https://storage.googleapis.com/codecov/v4/raw/2022-11-08/4E5D53B4F1F92C436F7061BF334D961C/ea2635875d50d8674d03123d64d8d0373faddc1b/74f6bab4-6805-4dab-8ba9-38aec1e40fe5.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EJOGFN2JQ4OCTGA2MU5AEIT7OT5Z7HTFOAN2SPG4NWSN2UJYOY5U6LZQ%2F20221108%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20221108T162444Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=afc881c053f97317439f211cbabd997468be714883f40ebf7b9ba95c74aa1de8 [2022-11-08T16:24:44.632Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-11-08T16:24:44.632Z] Dload Upload Total Spent Left Speed [2022-11-08T16:24:44.892Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1738 0 0 100 1738 0 7008 --:--:-- --:--:-- --:--:-- 7008 [2022-11-08T16:24:44.892Z] -> Reports have been successfully queued for processing at https://app.codecov.io/github/edgexfoundry/device-rest-go/commit/ea2635875d50d8674d03123d64d8d0373faddc1b [Pipeline] } [2022-11-08T16:24:44.900Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-11-08T16:24:45.028Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-11-08T16:24:45.043Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:24:45.345Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-11-08T16:24:45.345Z] [2022-11-08T16:24:45.345Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:24:45.644Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-11-08T16:24:45.644Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-11-08T16:24:45.644Z] df9b9388f04a: Pulling fs layer [2022-11-08T16:24:45.644Z] 52dc419b0ee2: Pulling fs layer [2022-11-08T16:24:45.644Z] 25bc292e5bac: Pulling fs layer [2022-11-08T16:24:45.644Z] 114826534d7a: Pulling fs layer [2022-11-08T16:24:45.644Z] 4657fd5d0bcf: Pulling fs layer [2022-11-08T16:24:45.644Z] 6ad1cebc031e: Pulling fs layer [2022-11-08T16:24:45.644Z] 8a3aa393b2d8: Pulling fs layer [2022-11-08T16:24:45.644Z] 6ad1cebc031e: Waiting [2022-11-08T16:24:45.644Z] 4657fd5d0bcf: Waiting [2022-11-08T16:24:45.644Z] 8a3aa393b2d8: Waiting [2022-11-08T16:24:45.644Z] 25bc292e5bac: Verifying Checksum [2022-11-08T16:24:45.644Z] 25bc292e5bac: Download complete [2022-11-08T16:24:45.644Z] 52dc419b0ee2: Verifying Checksum [2022-11-08T16:24:45.644Z] 52dc419b0ee2: Download complete [2022-11-08T16:24:45.644Z] 4657fd5d0bcf: Verifying Checksum [2022-11-08T16:24:45.644Z] 4657fd5d0bcf: Download complete [2022-11-08T16:24:45.644Z] df9b9388f04a: Download complete [2022-11-08T16:24:45.921Z] df9b9388f04a: Pull complete [2022-11-08T16:24:45.921Z] 52dc419b0ee2: Pull complete [2022-11-08T16:24:45.921Z] 25bc292e5bac: Pull complete [2022-11-08T16:24:46.212Z] 6ad1cebc031e: Download complete [2022-11-08T16:24:47.677Z] 114826534d7a: Verifying Checksum [2022-11-08T16:24:47.677Z] 114826534d7a: Download complete [2022-11-08T16:24:47.677Z] 8a3aa393b2d8: Verifying Checksum [2022-11-08T16:24:47.677Z] 8a3aa393b2d8: Download complete [2022-11-08T16:24:50.961Z] 114826534d7a: Pull complete [2022-11-08T16:24:50.961Z] 4657fd5d0bcf: Pull complete [2022-11-08T16:24:50.961Z] 6ad1cebc031e: Pull complete [2022-11-08T16:24:53.491Z] 8a3aa393b2d8: Pull complete [2022-11-08T16:24:53.491Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-11-08T16:24:53.491Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-11-08T16:24:53.491Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:24:53.567Z] prd-ubuntu20.04-docker-8c-8g-118624 does not seem to be running inside a container [2022-11-08T16:24:53.593Z] $ 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 [2022-11-08T16:24:55.288Z] $ docker top dd0f89e040be8193aa95f1c295b44f1e8da7909292c3792ea2e7bfa181d3d941 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-11-08T16:24:55.346Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2022-11-08T16:24:55.621Z] + set -o pipefail [2022-11-08T16:24:55.621Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2022-11-08T16:25:00.882Z] [2022-11-08T16:25:00.882Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2022-11-08T16:25:00.882Z] [2022-11-08T16:25:00.882Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/c572e4cc-2713-473d-ba40-7114c92db964 [2022-11-08T16:25:00.882Z] [2022-11-08T16:25:00.882Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-11-08T16:25:00.882Z] [2022-11-08T16:25:00.882Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-11-08T16:25:00.882Z] [2022-11-08T16:25:01.141Z] [2022-11-08T16:25:01.141Z] A medium severity vulnerability was found in the Snyk CLI versions you are using. [2022-11-08T16:25:01.141Z] We fixed the vulnerability in version 1.996.0. We recommend updating to the latest version. [2022-11-08T16:25:01.141Z] More details here: https://snyk.co/ue1NS [Pipeline] } [2022-11-08T16:25:01.152Z] $ docker stop --time=1 dd0f89e040be8193aa95f1c295b44f1e8da7909292c3792ea2e7bfa181d3d941 [2022-11-08T16:25:03.348Z] $ docker rm -f dd0f89e040be8193aa95f1c295b44f1e8da7909292c3792ea2e7bfa181d3d941 [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 [2022-11-08T16:25:04.023Z] + git log --format=format:%s -1 ea2635875d50d8674d03123d64d8d0373faddc1b [Pipeline] sh [2022-11-08T16:25:04.317Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-08T16:25:04.317Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:25:04.611Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T16:25:04.611Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:25:04.679Z] prd-ubuntu20.04-docker-8c-8g-118624 does not seem to be running inside a container [2022-11-08T16:25:04.715Z] $ 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 [2022-11-08T16:25:05.149Z] $ docker top d3ec803c8500b3696fa648ca1a073a335a43f8b502b1eefcfc34ac47553b1930 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-08T16:25:05.228Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T16:25:05.228Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T16:25:05.332Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T16:25:05.335Z] $ docker exec d3ec803c8500b3696fa648ca1a073a335a43f8b502b1eefcfc34ac47553b1930 ssh-agent [2022-11-08T16:25:05.445Z] SSH_AUTH_SOCK=/tmp/ssh-ZeLvFwYk15e7/agent.32 [2022-11-08T16:25:05.445Z] SSH_AGENT_PID=38 [2022-11-08T16:25:05.449Z] Running ssh-add (command line suppressed) [2022-11-08T16:25:05.542Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8036134809799009917.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8036134809799009917.key) [2022-11-08T16:25:05.557Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T16:25:05.845Z] + git semver tag [2022-11-08T16:25:06.103Z] 2022-11-08 16:25:06,027 [run_tag] DEBUG tag force:False [2022-11-08T16:25:06.103Z] 2022-11-08 16:25:06,027 [check_head_tag] DEBUG check head tag [2022-11-08T16:25:06.103Z] 2022-11-08 16:25:06,027 [execute] INFO git cat-file --batch-check [2022-11-08T16:25:06.103Z] 2022-11-08 16:25:06,028 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2022-11-08T16:25:06.103Z] 2022-11-08 16:25:06,031 [execute] INFO git cat-file --batch [2022-11-08T16:25:06.103Z] 2022-11-08 16:25:06,031 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2022-11-08T16:25:06.103Z] 2022-11-08 16:25:06,045 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-11-08T16:25:06.103Z] 2022-11-08 16:25:06,046 [execute] INFO git tag -a v2.3.0-dev.25 -m v2.3.0-dev.25 [2022-11-08T16:25:06.103Z] 2022-11-08 16:25:06,046 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.3.0-dev.25', '-m', 'v2.3.0-dev.25'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2022-11-08T16:25:06.103Z] 2022-11-08 16:25:06,051 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-11-08T16:25:06.103Z] 2.3.0-dev.25 [Pipeline] } [2022-11-08T16:25:06.112Z] $ docker exec --env ******** --env ******** d3ec803c8500b3696fa648ca1a073a335a43f8b502b1eefcfc34ac47553b1930 ssh-agent -k [2022-11-08T16:25:06.214Z] unset SSH_AUTH_SOCK; [2022-11-08T16:25:06.214Z] unset SSH_AGENT_PID; [2022-11-08T16:25:06.214Z] echo Agent pid 38 killed; [2022-11-08T16:25:06.226Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-08T16:25:06.533Z] + git semver [Pipeline] } [2022-11-08T16:25:06.806Z] $ docker stop --time=1 d3ec803c8500b3696fa648ca1a073a335a43f8b502b1eefcfc34ac47553b1930 [2022-11-08T16:25:08.101Z] $ docker rm -f d3ec803c8500b3696fa648ca1a073a335a43f8b502b1eefcfc34ac47553b1930 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:25:08.473Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-11-08T16:25:08.474Z] [2022-11-08T16:25:08.474Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:25:08.770Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-11-08T16:25:08.770Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-11-08T16:25:08.770Z] ab5ef0e58194: Pulling fs layer [2022-11-08T16:25:08.770Z] 9712f1f96733: Pulling fs layer [2022-11-08T16:25:08.770Z] 63f879dbbcfc: Pulling fs layer [2022-11-08T16:25:08.770Z] 0d9ebad4ef96: Pulling fs layer [2022-11-08T16:25:08.770Z] e9a5061849ea: Pulling fs layer [2022-11-08T16:25:08.770Z] d747dcd14b5f: Pulling fs layer [2022-11-08T16:25:08.770Z] 2de7ff778b66: Pulling fs layer [2022-11-08T16:25:08.770Z] d747dcd14b5f: Waiting [2022-11-08T16:25:08.770Z] 0d9ebad4ef96: Waiting [2022-11-08T16:25:08.770Z] 2de7ff778b66: Waiting [2022-11-08T16:25:08.770Z] 9712f1f96733: Verifying Checksum [2022-11-08T16:25:08.770Z] 9712f1f96733: Download complete [2022-11-08T16:25:09.350Z] 0d9ebad4ef96: Verifying Checksum [2022-11-08T16:25:09.350Z] 0d9ebad4ef96: Download complete [2022-11-08T16:25:09.350Z] 63f879dbbcfc: Verifying Checksum [2022-11-08T16:25:09.350Z] 63f879dbbcfc: Download complete [2022-11-08T16:25:09.350Z] d747dcd14b5f: Verifying Checksum [2022-11-08T16:25:09.350Z] d747dcd14b5f: Download complete [2022-11-08T16:25:09.350Z] ab5ef0e58194: Verifying Checksum [2022-11-08T16:25:09.350Z] ab5ef0e58194: Download complete [2022-11-08T16:25:09.607Z] 2de7ff778b66: Verifying Checksum [2022-11-08T16:25:09.607Z] 2de7ff778b66: Download complete [2022-11-08T16:25:09.607Z] e9a5061849ea: Verifying Checksum [2022-11-08T16:25:09.607Z] e9a5061849ea: Download complete [2022-11-08T16:25:12.139Z] ab5ef0e58194: Pull complete [2022-11-08T16:25:12.139Z] 9712f1f96733: Pull complete [2022-11-08T16:25:12.705Z] 63f879dbbcfc: Pull complete [2022-11-08T16:25:15.984Z] 0d9ebad4ef96: Pull complete [2022-11-08T16:25:16.242Z] e9a5061849ea: Pull complete [2022-11-08T16:25:16.242Z] d747dcd14b5f: Pull complete [2022-11-08T16:25:17.176Z] 2de7ff778b66: Pull complete [2022-11-08T16:25:17.176Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-11-08T16:25:17.176Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-11-08T16:25:17.176Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:25:17.250Z] prd-ubuntu20.04-docker-8c-8g-118624 does not seem to be running inside a container [2022-11-08T16:25:17.278Z] $ 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 [2022-11-08T16:25:19.284Z] $ docker top 52bea6ca7e2d47307fb2c9b8829c6cd37a50ad670d1379b45d6265c76eb8ebda -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-11-08T16:25:19.360Z] provisioning config files... [2022-11-08T16:25:19.365Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config6788565462171878488tmp [2022-11-08T16:25:19.374Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3287347892879369802tmp [2022-11-08T16:25:19.382Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8067537033123811552tmp [Pipeline] { [Pipeline] echo [2022-11-08T16:25:19.396Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:25:19.678Z] ---> sigul-configuration.sh [2022-11-08T16:25:19.678Z] gpg: directory `/root/.gnupg' created [2022-11-08T16:25:19.678Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-11-08T16:25:19.678Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-11-08T16:25:19.678Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-11-08T16:25:19.678Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-11-08T16:25:19.678Z] gpg: CAST5 encrypted data [2022-11-08T16:25:19.678Z] gpg: encrypted with 1 passphrase [2022-11-08T16:25:19.678Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-11-08T16:25:19.965Z] + mkdir /home/jenkins [2022-11-08T16:25:19.965Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-11-08T16:25:20.248Z] + 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 [2022-11-08T16:25:20.255Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:25:20.535Z] ---> sigul-install.sh [2022-11-08T16:25:20.535Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-11-08T16:25:20.825Z] + git tag --list [2022-11-08T16:25:20.825Z] v1.0.0 [2022-11-08T16:25:20.825Z] v1.1.0 [2022-11-08T16:25:20.825Z] v1.1.1 [2022-11-08T16:25:20.825Z] v1.1.2 [2022-11-08T16:25:20.825Z] v1.2.0 [2022-11-08T16:25:20.825Z] v1.2.1 [2022-11-08T16:25:20.825Z] v2.0.0 [2022-11-08T16:25:20.825Z] v2.1.0 [2022-11-08T16:25:20.825Z] v2.1.1 [2022-11-08T16:25:20.825Z] v2.1.1-dev.1 [2022-11-08T16:25:20.825Z] v2.1.1-dev.2 [2022-11-08T16:25:20.825Z] v2.1.1-dev.3 [2022-11-08T16:25:20.825Z] v2.2.0 [2022-11-08T16:25:20.825Z] v2.2.1-dev.1 [2022-11-08T16:25:20.825Z] v2.2.1-dev.2 [2022-11-08T16:25:20.825Z] v2.2.1-dev.3 [2022-11-08T16:25:20.825Z] v2.2.1-dev.4 [2022-11-08T16:25:20.825Z] v2.2.1-dev.5 [2022-11-08T16:25:20.825Z] v2.2.1-dev.6 [2022-11-08T16:25:20.825Z] v2.2.1-dev.7 [2022-11-08T16:25:20.825Z] v2.2.1-dev.8 [2022-11-08T16:25:20.825Z] v2.2.1-dev.9 [2022-11-08T16:25:20.825Z] v2.3.0-dev.10 [2022-11-08T16:25:20.825Z] v2.3.0-dev.11 [2022-11-08T16:25:20.825Z] v2.3.0-dev.12 [2022-11-08T16:25:20.825Z] v2.3.0-dev.13 [2022-11-08T16:25:20.825Z] v2.3.0-dev.14 [2022-11-08T16:25:20.825Z] v2.3.0-dev.15 [2022-11-08T16:25:20.825Z] v2.3.0-dev.16 [2022-11-08T16:25:20.825Z] v2.3.0-dev.17 [2022-11-08T16:25:20.825Z] v2.3.0-dev.18 [2022-11-08T16:25:20.825Z] v2.3.0-dev.19 [2022-11-08T16:25:20.825Z] v2.3.0-dev.20 [2022-11-08T16:25:20.825Z] v2.3.0-dev.21 [2022-11-08T16:25:20.825Z] v2.3.0-dev.22 [2022-11-08T16:25:20.825Z] v2.3.0-dev.23 [2022-11-08T16:25:20.825Z] v2.3.0-dev.24 [2022-11-08T16:25:20.825Z] v2.3.0-dev.25 [2022-11-08T16:25:20.825Z] v2.3.0-dev.9 [Pipeline] sh [2022-11-08T16:25:21.107Z] + lftools sign git-tag v2.3.0-dev.25 [2022-11-08T16:25:21.669Z] Signing Git tag with Sigul... [2022-11-08T16:25:21.669Z] Signing v2.3.0-dev.25 [Pipeline] echo [2022-11-08T16:25:22.242Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:25:22.530Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-11-08T16:25:22.537Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-11-08T16:25:22.555Z] $ docker stop --time=1 52bea6ca7e2d47307fb2c9b8829c6cd37a50ad670d1379b45d6265c76eb8ebda [2022-11-08T16:25:23.902Z] $ docker rm -f 52bea6ca7e2d47307fb2c9b8829c6cd37a50ad670d1379b45d6265c76eb8ebda [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-11-08T16:25:24.305Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-08T16:25:24.305Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:25:24.600Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T16:25:24.600Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:25:24.666Z] prd-ubuntu20.04-docker-8c-8g-118624 does not seem to be running inside a container [2022-11-08T16:25:24.694Z] $ 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 [2022-11-08T16:25:25.055Z] $ docker top 51cb0d31894a68620550237c5fd8f7e168652baec38c3ba10f0d61e84044c292 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-08T16:25:25.146Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T16:25:25.146Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T16:25:25.262Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T16:25:25.265Z] $ docker exec 51cb0d31894a68620550237c5fd8f7e168652baec38c3ba10f0d61e84044c292 ssh-agent [2022-11-08T16:25:25.370Z] SSH_AUTH_SOCK=/tmp/ssh-SAHhwoKnCeFk/agent.32 [2022-11-08T16:25:25.370Z] SSH_AGENT_PID=38 [2022-11-08T16:25:25.374Z] Running ssh-add (command line suppressed) [2022-11-08T16:25:25.483Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14955031493268093231.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_14955031493268093231.key) [2022-11-08T16:25:25.495Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T16:25:25.778Z] + git semver bump pre [2022-11-08T16:25:26.037Z] 2022-11-08 16:25:25,939 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-11-08T16:25:26.037Z] 2022-11-08 16:25:25,940 [bump_version] DEBUG bumping version:2.3.0-dev.25 on axis:pre with prefix:dev [2022-11-08T16:25:26.037Z] 2022-11-08 16:25:25,940 [bump_version] DEBUG bumped version:2.3.0-dev.26 [2022-11-08T16:25:26.037Z] 2022-11-08 16:25:25,940 [write_version] DEBUG write version:2.3.0-dev.26 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2022-11-08T16:25:26.037Z] 2022-11-08 16:25:25,940 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-11-08T16:25:26.037Z] 2022-11-08 16:25:25,940 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-11-08T16:25:26.037Z] 2022-11-08 16:25:25,942 [execute] INFO git cat-file --batch-check [2022-11-08T16:25:26.037Z] 2022-11-08 16:25:25,943 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-11-08T16:25:26.037Z] 2022-11-08 16:25:25,948 [execute] INFO git cat-file --batch [2022-11-08T16:25:26.037Z] 2022-11-08 16:25:25,948 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-11-08T16:25:26.037Z] 2022-11-08 16:25:25,952 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-11-08T16:25:26.037Z] 2.3.0-dev.26 [Pipeline] } [2022-11-08T16:25:26.047Z] $ docker exec --env ******** --env ******** 51cb0d31894a68620550237c5fd8f7e168652baec38c3ba10f0d61e84044c292 ssh-agent -k [2022-11-08T16:25:26.156Z] unset SSH_AUTH_SOCK; [2022-11-08T16:25:26.156Z] unset SSH_AGENT_PID; [2022-11-08T16:25:26.156Z] echo Agent pid 38 killed; [2022-11-08T16:25:26.165Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-08T16:25:26.466Z] + git semver [Pipeline] } [2022-11-08T16:25:26.737Z] $ docker stop --time=1 51cb0d31894a68620550237c5fd8f7e168652baec38c3ba10f0d61e84044c292 [2022-11-08T16:25:28.058Z] $ docker rm -f 51cb0d31894a68620550237c5fd8f7e168652baec38c3ba10f0d61e84044c292 [Pipeline] // withDockerContainer [Pipeline] sh [2022-11-08T16:25:28.401Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-11-08T16:25:28.401Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:25:28.700Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-11-08T16:25:28.700Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:25:28.770Z] prd-ubuntu20.04-docker-8c-8g-118624 does not seem to be running inside a container [2022-11-08T16:25:28.800Z] $ 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 [2022-11-08T16:25:29.169Z] $ docker top ee75dd9b5e80ed1bb5adf4ab89609c15c17260effd776b0019232357e210fbac -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-11-08T16:25:29.254Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-11-08T16:25:29.254Z] [ssh-agent] Looking for ssh-agent implementation... [2022-11-08T16:25:29.362Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-11-08T16:25:29.365Z] $ docker exec ee75dd9b5e80ed1bb5adf4ab89609c15c17260effd776b0019232357e210fbac ssh-agent [2022-11-08T16:25:29.457Z] SSH_AUTH_SOCK=/tmp/ssh-nCYavS359Ypl/agent.32 [2022-11-08T16:25:29.457Z] SSH_AGENT_PID=38 [2022-11-08T16:25:29.461Z] Running ssh-add (command line suppressed) [2022-11-08T16:25:29.563Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3914220369167878735.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_3914220369167878735.key) [2022-11-08T16:25:29.574Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-11-08T16:25:29.860Z] + git semver push [2022-11-08T16:25:30.119Z] 2022-11-08 16:25:30,031 [run_push] DEBUG push [2022-11-08T16:25:30.119Z] 2022-11-08 16:25:30,031 [execute] INFO git cat-file --batch-check [2022-11-08T16:25:30.119Z] 2022-11-08 16:25:30,032 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-11-08T16:25:30.119Z] 2022-11-08 16:25:30,035 [execute] INFO git rev-list 4140e159b2982c9607dd2d039274c97358395cd0 -- [2022-11-08T16:25:30.119Z] 2022-11-08 16:25:30,035 [execute] DEBUG Popen(['git', 'rev-list', '4140e159b2982c9607dd2d039274c97358395cd0', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-11-08T16:25:30.119Z] 2022-11-08 16:25:30,043 [execute] INFO git fetch -v origin [2022-11-08T16:25:30.119Z] 2022-11-08 16:25:30,044 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-11-08T16:25:30.688Z] 2022-11-08 16:25:30,623 [run_push] DEBUG no remote changes detected [2022-11-08T16:25:30.688Z] 2022-11-08 16:25:30,623 [execute] INFO git push origin semver [2022-11-08T16:25:30.688Z] 2022-11-08 16:25:30,624 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-11-08T16:25:31.626Z] 2022-11-08 16:25:31,422 [run_push] DEBUG push all version tags [2022-11-08T16:25:31.626Z] 2022-11-08 16:25:31,422 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-11-08T16:25:31.626Z] 2022-11-08 16:25:31,423 [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) [2022-11-08T16:25:32.562Z] 2022-11-08 16:25:32,386 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-11-08T16:25:32.562Z] 2.3.0-dev.26 [Pipeline] } [2022-11-08T16:25:32.571Z] $ docker exec --env ******** --env ******** ee75dd9b5e80ed1bb5adf4ab89609c15c17260effd776b0019232357e210fbac ssh-agent -k [2022-11-08T16:25:32.673Z] unset SSH_AUTH_SOCK; [2022-11-08T16:25:32.676Z] unset SSH_AGENT_PID; [2022-11-08T16:25:32.676Z] echo Agent pid 38 killed; [2022-11-08T16:25:32.683Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-11-08T16:25:32.985Z] + git semver [Pipeline] } [2022-11-08T16:25:33.255Z] $ docker stop --time=1 ee75dd9b5e80ed1bb5adf4ab89609c15c17260effd776b0019232357e210fbac [2022-11-08T16:25:34.570Z] $ docker rm -f ee75dd9b5e80ed1bb5adf4ab89609c15c17260effd776b0019232357e210fbac [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 [2022-11-08T16:25:35.105Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2022-11-08T16:25:35.105Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-11-08T16:25:35.105Z] total 16 [2022-11-08T16:25:35.105Z] drwxr-xr-x 3 root root 4096 Nov 8 16:15 . [2022-11-08T16:25:35.105Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 16:25 .. [2022-11-08T16:25:35.105Z] drwxr-xr-x 2 root root 4096 Nov 8 16:15 cost [2022-11-08T16:25:35.105Z] -rw-r--r-- 1 root root 85 Nov 8 16:15 cost.csv [2022-11-08T16:25:35.105Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-11-08T16:25:35.105Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-11-08T16:25:35.105Z] total 16 [2022-11-08T16:25:35.105Z] drwxr-xr-x 3 jenkins jenkins 4096 Nov 8 16:15 . [2022-11-08T16:25:35.105Z] drwxrwxr-x 10 jenkins jenkins 4096 Nov 8 16:25 .. [2022-11-08T16:25:35.105Z] drwxr-xr-x 2 jenkins jenkins 4096 Nov 8 16:15 cost [2022-11-08T16:25:35.105Z] -rw-r--r-- 1 jenkins jenkins 85 Nov 8 16:15 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:25:35.390Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:25:36.242Z] ---> package-listing.sh [2022-11-08T16:25:36.242Z] ++ facter osfamily [2022-11-08T16:25:36.242Z] ++ tr '[:upper:]' '[:lower:]' [2022-11-08T16:25:36.500Z] + OS_FAMILY=debian [2022-11-08T16:25:36.500Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2022-11-08T16:25:36.500Z] + START_PACKAGES=/tmp/packages_start.txt [2022-11-08T16:25:36.500Z] + END_PACKAGES=/tmp/packages_end.txt [2022-11-08T16:25:36.500Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-11-08T16:25:36.500Z] + PACKAGES=/tmp/packages_start.txt [2022-11-08T16:25:36.500Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-11-08T16:25:36.500Z] + PACKAGES=/tmp/packages_end.txt [2022-11-08T16:25:36.500Z] + case "${OS_FAMILY}" in [2022-11-08T16:25:36.500Z] + dpkg -l [2022-11-08T16:25:36.500Z] + grep '^ii' [2022-11-08T16:25:36.500Z] + '[' -f /tmp/packages_start.txt ']' [2022-11-08T16:25:36.500Z] + '[' -f /tmp/packages_end.txt ']' [2022-11-08T16:25:36.500Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-11-08T16:25:36.500Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-11-08T16:25:36.500Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2022-11-08T16:25:36.500Z] + cp -f /tmp/packages_diff.txt /tmp/packages_end.txt /tmp/packages_start.txt /w/workspace/edgexfoundry_device-rest-go_main/archives/ [Pipeline] echo [2022-11-08T16:25:36.508Z] 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 [2022-11-08T16:25:36.782Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-11-08T16:25:37.332Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-11-08T16:25:37.332Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-11-08T16:25:37.397Z] prd-ubuntu20.04-docker-8c-8g-118624 does not seem to be running inside a container [2022-11-08T16:25:37.423Z] $ 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 [2022-11-08T16:25:37.669Z] $ docker top e84852ad1d028dd6e0ff30dde652dc4094d1159b2c5d34de557cbfd8b2eccad2 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-11-08T16:25:38.010Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-11-08T16:25:38.293Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-11-08T16:25:38.581Z] + ls /var/log/sa-host [2022-11-08T16:25:38.582Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-11-08T16:25:38.728Z] provisioning config files... [2022-11-08T16:25:38.736Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config98859744300350432tmp [Pipeline] { [Pipeline] echo [2022-11-08T16:25:38.747Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:25:39.030Z] ---> create-netrc.sh [Pipeline] } [2022-11-08T16:25:39.037Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:25:39.353Z] ---> python-tools-install.sh [Pipeline] echo [2022-11-08T16:25:39.361Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:25:39.703Z] ---> sudo-logs.sh [2022-11-08T16:25:39.703Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-11-08T16:25:39.760Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:25:40.106Z] ---> job-cost.sh [2022-11-08T16:25:40.106Z] lf-activate-venv: SKIPPING [2022-11-08T16:25:40.106Z] DEBUG: total: 0.2199999988079071 [2022-11-08T16:25:40.106Z] INFO: Retrieving Stack Cost... [2022-11-08T16:25:40.365Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-11-08T16:25:40.934Z] INFO: Archiving Costs [Pipeline] echo [2022-11-08T16:25:40.945Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-11-08T16:25:41.228Z] ---> logs-deploy.sh [2022-11-08T16:25:41.229Z] lf-activate-venv: SKIPPING [2022-11-08T16:25:41.229Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/71 [2022-11-08T16:25:41.229Z] INFO: archiving workspace using pattern(s): [2022-11-08T16:25:42.164Z] Archives upload complete. [2022-11-08T16:25:42.164Z] INFO: archiving logs to Nexus