Push event to branch main Connecting to https://api.github.com using edgex-jenkins github personal access token Obtained Jenkinsfile from 78d408cb2e9c2823d5dddcb6179e75cdf16507ed 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-ssh15203823417262894306.key > git ls-remote -h -t -- git@github.com:edgexfoundry/edgex-global-pipelines.git # timeout=10 Found match: refs/tags/stable revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 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-ssh5146677952658228830.key > git fetch --tags --progress -- origin +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse refs/tags/stable^{commit} # timeout=10 Resolved tag stable revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 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-ssh2668276372953080245.key > git fetch --tags --progress -- git@github.com:edgexfoundry/edgex-global-pipelines.git +refs/pull/*:refs/remotes/origin/pr/* # timeout=10 Checking out Revision eff4ace5e529e22b05c56fc30efd0d4b1d113677 (stable) > git config core.sparsecheckout # timeout=10 > git checkout -f eff4ace5e529e22b05c56fc30efd0d4b1d113677 # timeout=10 Commit message: "Merge pull request #397 from edgexfoundry/us4712" > 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-ssh17437707241853301396.key > git ls-remote -h -- git@github.com:lfit/releng-pipelines.git # timeout=10 Found match: refs/heads/master revision 0f180ed1236c637af8c254f95ad106931cc77145 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-ssh2315832728831978255.key > git fetch --no-tags --progress -- git@github.com:lfit/releng-pipelines.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Checking out Revision 0f180ed1236c637af8c254f95ad106931cc77145 (master) > git config core.sparsecheckout # timeout=10 > git checkout -f 0f180ed1236c637af8c254f95ad106931cc77145 # timeout=10 Commit message: "Feat: Add initial docker pipelines" > 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.17 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-1574 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] stage [Pipeline] { (Declarative: Checkout SCM) [Pipeline] checkout The recommended git tool is: git using credential edgex-jenkins-ssh Cloning the remote Git repository Cloning repository git@github.com:edgexfoundry/device-rest-go.git > git init /w/workspace/edgexfoundry_device-rest-go_main # timeout=10 Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git > git --version # timeout=10 > git --version # 'git version 2.25.1' using GIT_SSH to set credentials SSH Credentials for GitHub > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision 78d408cb2e9c2823d5dddcb6179e75cdf16507ed (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 78d408cb2e9c2823d5dddcb6179e75cdf16507ed # timeout=10 Commit message: "Merge pull request #195 from edgexfoundry/dependabot/go_modules/github.com/stretchr/testify-1.7.2" > git rev-list --no-walk 6db49600d84fbc344f4830d0628105aa21893aeb # timeout=10 [Pipeline] } [Pipeline] // stage [Pipeline] withEnv [Pipeline] { [Pipeline] timestamps [Pipeline] { [Pipeline] timeout [2022-06-07T00:42:46.366Z] Timeout set to expire in 6 hr 0 min [Pipeline] { [Pipeline] stage [Pipeline] { (Prepare) [Pipeline] script [Pipeline] { [Pipeline] withCredentials [2022-06-07T00:42:46.421Z] Masking supported pattern matches of $GH_TOKEN_USR or $GH_TOKEN_PSW [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] echo [2022-06-07T00:42:46.436Z] ========================================================= [2022-06-07T00:42:46.436Z] EdgeX Global Pipelines Version Info [2022-06-07T00:42:46.436Z] ========================================================= [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:42:47.215Z] ------------------- [2022-06-07T00:42:47.215Z] stable info: [2022-06-07T00:42:47.215Z] ------------------- [2022-06-07T00:42:47.215Z] Commited By: Ernesto Ojeda ernesto.ojeda@intel.com [2022-06-07T00:42:47.215Z] Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 [2022-06-07T00:42:47.215Z] Message: update stable to v1.0.232 [2022-06-07T00:42:47.786Z] ------------------- [2022-06-07T00:42:47.786Z] experimental info: [2022-06-07T00:42:47.786Z] ------------------- [2022-06-07T00:42:47.786Z] Commited By: **** collab-it+edgex@linuxfoundation.org [2022-06-07T00:42:47.786Z] Commit SHA: eff4ace5e529e22b05c56fc30efd0d4b1d113677 [2022-06-07T00:42:47.786Z] Message: update experimental to v1.0.232 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withCredentials [Pipeline] echo [2022-06-07T00:42:48.037Z] [edgeXSetupEnvironment]: set envvar MAVEN_SETTINGS = device-rest-go-settings [Pipeline] echo [2022-06-07T00:42:48.050Z] [edgeXSetupEnvironment]: set envvar PROJECT = device-rest-go [Pipeline] echo [2022-06-07T00:42:48.062Z] [edgeXSetupEnvironment]: set envvar USE_SEMVER = true [Pipeline] echo [2022-06-07T00:42:48.074Z] [edgeXSetupEnvironment]: set envvar TEST_SCRIPT = make test [Pipeline] echo [2022-06-07T00:42:48.085Z] [edgeXSetupEnvironment]: set envvar BUILD_SCRIPT = make build [Pipeline] echo [2022-06-07T00:42:48.096Z] [edgeXSetupEnvironment]: set envvar GO_VERSION = 1.17 [Pipeline] echo [2022-06-07T00:42:48.107Z] [edgeXSetupEnvironment]: set envvar USE_ALPINE = true [Pipeline] echo [2022-06-07T00:42:48.120Z] [edgeXSetupEnvironment]: set envvar DOCKER_FILE_PATH = Dockerfile [Pipeline] echo [2022-06-07T00:42:48.131Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_FILE_PATH = Dockerfile.build [Pipeline] echo [2022-06-07T00:42:48.142Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_CONTEXT = . [Pipeline] echo [2022-06-07T00:42:48.154Z] [edgeXSetupEnvironment]: set envvar DOCKER_BUILD_IMAGE_TARGET = builder [Pipeline] echo [2022-06-07T00:42:48.165Z] [edgeXSetupEnvironment]: set envvar DOCKER_IMAGE_NAME = device-rest [Pipeline] echo [2022-06-07T00:42:48.177Z] [edgeXSetupEnvironment]: set envvar DOCKER_REGISTRY_NAMESPACE = [Pipeline] echo [2022-06-07T00:42:48.187Z] [edgeXSetupEnvironment]: set envvar DOCKER_NEXUS_REPO = staging [Pipeline] echo [2022-06-07T00:42:48.202Z] [edgeXSetupEnvironment]: set envvar BUILD_DOCKER_IMAGE = true [Pipeline] echo [2022-06-07T00:42:48.214Z] [edgeXSetupEnvironment]: set envvar PUSH_DOCKER_IMAGE = true [Pipeline] echo [2022-06-07T00:42:48.225Z] [edgeXSetupEnvironment]: set envvar BUILD_EXPERIMENTAL_DOCKER_IMAGE = false [Pipeline] echo [2022-06-07T00:42:48.236Z] [edgeXSetupEnvironment]: set envvar BUILD_STABLE_DOCKER_IMAGE = false [Pipeline] echo [2022-06-07T00:42:48.246Z] [edgeXSetupEnvironment]: set envvar SEMVER_BUMP_LEVEL = pre [Pipeline] echo [2022-06-07T00:42:48.257Z] [edgeXSetupEnvironment]: set envvar BUILD_SNAP = false [Pipeline] echo [2022-06-07T00:42:48.268Z] [edgeXSetupEnvironment]: set envvar PUBLISH_SWAGGER_DOCS = false [Pipeline] echo [2022-06-07T00:42:48.281Z] [edgeXSetupEnvironment]: set envvar SWAGGER_API_FOLDERS = openapi/v1 [Pipeline] echo [2022-06-07T00:42:48.291Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_ROOT = archives/bin [Pipeline] echo [2022-06-07T00:42:48.302Z] [edgeXSetupEnvironment]: set envvar ARTIFACT_TYPES = docker [Pipeline] echo [2022-06-07T00:42:48.313Z] [edgeXSetupEnvironment]: set envvar SHOULD_BUILD = true [Pipeline] echo [2022-06-07T00:42:48.332Z] [edgeXSetupEnvironment]: set envvar BUILD_FAILURE_NOTIFY_LIST = edgex-tsc-core@lists.edgexfoundry.org,edgex-tsc-devops@lists.edgexfoundry.org [Pipeline] echo [2022-06-07T00:42:48.343Z] [edgeXSetupEnvironment]: set envvar SNYK_DEBUG = false [Pipeline] echo [2022-06-07T00:42:48.357Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH = main [Pipeline] echo [2022-06-07T00:42:48.367Z] [edgeXSetupEnvironment]: set envvar SEMVER_BRANCH = main [Pipeline] echo [2022-06-07T00:42:48.380Z] [edgeXSetupEnvironment]: set envvar GIT_BRANCH_CLEAN = main [Pipeline] echo [2022-06-07T00:42:48.391Z] [edgeXSetupEnvironment]: set envvar GIT_COMMIT = 78d408cb2e9c2823d5dddcb6179e75cdf16507ed [Pipeline] echo [2022-06-07T00:42:48.401Z] [edgeXSetupEnvironment]: set envvar SHORT_GIT_COMMIT = 78d408c [Pipeline] echo [2022-06-07T00:42:48.413Z] [edgeXSetupEnvironment]: set envvar SEMVER_PRE_PREFIX = dev [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T00:42:48.452Z] provisioning config files... [2022-06-07T00:42:48.466Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3247480615107432178tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:42:48.774Z] ---> docker-login.sh [2022-06-07T00:42:48.774Z] nexus3.edgexfoundry.org:10001 [2022-06-07T00:42:49.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:42:49.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:42:49.297Z] Configure a credential helper to remove this warning. See [2022-06-07T00:42:49.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:42:49.297Z] [2022-06-07T00:42:49.297Z] Login Succeeded [2022-06-07T00:42:49.297Z] nexus3.edgexfoundry.org:10002 [2022-06-07T00:42:49.297Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:42:49.297Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:42:49.297Z] Configure a credential helper to remove this warning. See [2022-06-07T00:42:49.297Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:42:49.297Z] [2022-06-07T00:42:49.297Z] Login Succeeded [2022-06-07T00:42:49.297Z] nexus3.edgexfoundry.org:10003 [2022-06-07T00:42:49.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:42:49.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:42:49.559Z] Configure a credential helper to remove this warning. See [2022-06-07T00:42:49.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:42:49.559Z] [2022-06-07T00:42:49.559Z] Login Succeeded [2022-06-07T00:42:49.559Z] nexus3.edgexfoundry.org:10004 [2022-06-07T00:42:49.559Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:42:49.559Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:42:49.559Z] Configure a credential helper to remove this warning. See [2022-06-07T00:42:49.559Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:42:49.559Z] [2022-06-07T00:42:49.559Z] Login Succeeded [2022-06-07T00:42:49.559Z] docker.io [2022-06-07T00:42:49.822Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:42:50.083Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:42:50.083Z] Configure a credential helper to remove this warning. See [2022-06-07T00:42:50.083Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:42:50.083Z] [2022-06-07T00:42:50.083Z] Login Succeeded [2022-06-07T00:42:50.083Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T00:42:50.091Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build Check) [Pipeline] sh [2022-06-07T00:42:50.460Z] + git rev-list -1 --merges 78d408cb2e9c2823d5dddcb6179e75cdf16507ed~1..78d408cb2e9c2823d5dddcb6179e75cdf16507ed [Pipeline] echo [2022-06-07T00:42:50.490Z] -----------> git rev-list -1 --merges 78d408cb2e9c2823d5dddcb6179e75cdf16507ed~1..78d408cb2e9c2823d5dddcb6179e75cdf16507ed 78d408cb2e9c2823d5dddcb6179e75cdf16507ed [2022-06-07T00:42:50.490Z] 78d408cb2e9c2823d5dddcb6179e75cdf16507ed [false] [Pipeline] sh [2022-06-07T00:42:50.786Z] + git log --format=format:%s -1 78d408cb2e9c2823d5dddcb6179e75cdf16507ed [Pipeline] echo [2022-06-07T00:42:50.799Z] ========================================================= [2022-06-07T00:42:50.799Z] [isLTSReleaseBuild] Regular build required. isLTSRelease: [false] [2022-06-07T00:42:50.799Z] ========================================================= [Pipeline] stage [Pipeline] { (Semver Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-07T00:42:51.137Z] + git log --format=format:%s -1 78d408cb2e9c2823d5dddcb6179e75cdf16507ed [Pipeline] echo [2022-06-07T00:42:51.151Z] [semverPrep] GIT_COMMIT: 78d408cb2e9c2823d5dddcb6179e75cdf16507ed, Commit Message: Merge pull request #195 from edgexfoundry/dependabot/go_modules/github.com/stretchr/testify-1.7.2 [Pipeline] echo [2022-06-07T00:42:51.162Z] [semverPrep] This is not a build commit. [Pipeline] sh [2022-06-07T00:42:51.514Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-07T00:42:51.514Z] + grep -v github /etc/ssh/ssh_known_hosts [2022-06-07T00:42:51.514Z] + [ -e /tmp/ssh_known_hosts ] [2022-06-07T00:42:51.514Z] + sudo mv /tmp/ssh_known_hosts /etc/ssh/ssh_known_hosts [2022-06-07T00:42:51.514Z] + echo github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [2022-06-07T00:42:51.514Z] + sudo tee -a /etc/ssh/ssh_known_hosts [2022-06-07T00:42:51.514Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:42:51.869Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T00:42:51.869Z] [2022-06-07T00:42:51.869Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:42:52.176Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T00:42:52.176Z] 0.1.4: Pulling from edgex-devops/py-git-semver [2022-06-07T00:42:52.176Z] 42c077c10790: Pulling fs layer [2022-06-07T00:42:52.176Z] f63e77b7563a: Pulling fs layer [2022-06-07T00:42:52.176Z] bd5fdadae976: Pulling fs layer [2022-06-07T00:42:52.176Z] 205491f53016: Pulling fs layer [2022-06-07T00:42:52.176Z] df18705c85c3: Pulling fs layer [2022-06-07T00:42:52.176Z] bdb3f477010e: Pulling fs layer [2022-06-07T00:42:52.176Z] c8a8fc8e1c8f: Pulling fs layer [2022-06-07T00:42:52.176Z] 2c6e9b1d212d: Pulling fs layer [2022-06-07T00:42:52.176Z] bdb8f0575790: Pulling fs layer [2022-06-07T00:42:52.176Z] 386e3cb2ff24: Pulling fs layer [2022-06-07T00:42:52.176Z] 2343380bae48: Pulling fs layer [2022-06-07T00:42:52.176Z] 205491f53016: Waiting [2022-06-07T00:42:52.176Z] df18705c85c3: Waiting [2022-06-07T00:42:52.176Z] bdb3f477010e: Waiting [2022-06-07T00:42:52.176Z] c8a8fc8e1c8f: Waiting [2022-06-07T00:42:52.176Z] 2c6e9b1d212d: Waiting [2022-06-07T00:42:52.176Z] bdb8f0575790: Waiting [2022-06-07T00:42:52.176Z] 386e3cb2ff24: Waiting [2022-06-07T00:42:52.176Z] f63e77b7563a: Verifying Checksum [2022-06-07T00:42:52.176Z] f63e77b7563a: Download complete [2022-06-07T00:42:52.176Z] 205491f53016: Download complete [2022-06-07T00:42:52.439Z] df18705c85c3: Verifying Checksum [2022-06-07T00:42:52.439Z] df18705c85c3: Download complete [2022-06-07T00:42:52.439Z] bd5fdadae976: Verifying Checksum [2022-06-07T00:42:52.439Z] bd5fdadae976: Download complete [2022-06-07T00:42:52.439Z] bdb3f477010e: Verifying Checksum [2022-06-07T00:42:52.439Z] bdb3f477010e: Download complete [2022-06-07T00:42:52.439Z] 2c6e9b1d212d: Download complete [2022-06-07T00:42:52.439Z] bdb8f0575790: Verifying Checksum [2022-06-07T00:42:52.439Z] bdb8f0575790: Download complete [2022-06-07T00:42:52.439Z] 386e3cb2ff24: Verifying Checksum [2022-06-07T00:42:52.439Z] 386e3cb2ff24: Download complete [2022-06-07T00:42:52.439Z] 2343380bae48: Verifying Checksum [2022-06-07T00:42:52.439Z] 2343380bae48: Download complete [2022-06-07T00:42:52.439Z] 42c077c10790: Verifying Checksum [2022-06-07T00:42:52.439Z] 42c077c10790: Download complete [2022-06-07T00:42:52.701Z] c8a8fc8e1c8f: Verifying Checksum [2022-06-07T00:42:52.701Z] c8a8fc8e1c8f: Download complete [2022-06-07T00:42:54.104Z] 42c077c10790: Pull complete [2022-06-07T00:42:54.104Z] f63e77b7563a: Pull complete [2022-06-07T00:42:54.681Z] bd5fdadae976: Pull complete [2022-06-07T00:42:54.681Z] 205491f53016: Pull complete [2022-06-07T00:42:54.940Z] df18705c85c3: Pull complete [2022-06-07T00:42:54.940Z] bdb3f477010e: Pull complete [2022-06-07T00:42:57.479Z] c8a8fc8e1c8f: Pull complete [2022-06-07T00:42:57.479Z] 2c6e9b1d212d: Pull complete [2022-06-07T00:42:57.479Z] bdb8f0575790: Pull complete [2022-06-07T00:42:57.479Z] 386e3cb2ff24: Pull complete [2022-06-07T00:42:57.479Z] 2343380bae48: Pull complete [2022-06-07T00:42:57.479Z] Digest: sha256:c3bf284c02da7271302b7a373f1d48320b54229aa5119b2a29c7f8015e6a9264 [2022-06-07T00:42:57.479Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T00:42:57.479Z] nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T00:42:57.583Z] prd-ubuntu20.04-docker-8c-8g-1574 does not seem to be running inside a container [2022-06-07T00:42:57.630Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-07T00:42:59.104Z] $ docker top acba72d35a4a21d47a7379d63083cd3ac4921738c7a16a0db7ce887d95df88d9 -eo pid,comm [2022-06-07T00:42:59.161Z] 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-06-07T00:42:59.161Z] Alternatively you can force image entrypoint to be disabled by adding option `--entrypoint=''`. [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-07T00:42:59.197Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-07T00:42:59.197Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-07T00:42:59.324Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-07T00:42:59.335Z] $ docker exec acba72d35a4a21d47a7379d63083cd3ac4921738c7a16a0db7ce887d95df88d9 ssh-agent [2022-06-07T00:42:59.457Z] SSH_AUTH_SOCK=/tmp/ssh-VhutM8VYUFUq/agent.33 [2022-06-07T00:42:59.457Z] SSH_AGENT_PID=40 [2022-06-07T00:42:59.465Z] Running ssh-add (command line suppressed) [2022-06-07T00:42:59.599Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6960884541692737239.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_6960884541692737239.key) [2022-06-07T00:42:59.613Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-07T00:42:59.903Z] + git tag --points-at HEAD [Pipeline] } [2022-06-07T00:42:59.929Z] $ docker exec --env ******** --env ******** acba72d35a4a21d47a7379d63083cd3ac4921738c7a16a0db7ce887d95df88d9 ssh-agent -k [2022-06-07T00:43:00.039Z] unset SSH_AUTH_SOCK; [2022-06-07T00:43:00.039Z] unset SSH_AGENT_PID; [2022-06-07T00:43:00.040Z] echo Agent pid 40 killed; [2022-06-07T00:43:00.047Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] sshagent [2022-06-07T00:43:00.069Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-07T00:43:00.069Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-07T00:43:00.196Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-07T00:43:00.205Z] $ docker exec acba72d35a4a21d47a7379d63083cd3ac4921738c7a16a0db7ce887d95df88d9 ssh-agent [2022-06-07T00:43:00.328Z] SSH_AUTH_SOCK=/tmp/ssh-3iCvb9SgKtD9/agent.73 [2022-06-07T00:43:00.328Z] SSH_AGENT_PID=79 [2022-06-07T00:43:00.333Z] Running ssh-add (command line suppressed) [2022-06-07T00:43:00.451Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7542914431460763881.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_7542914431460763881.key) [2022-06-07T00:43:00.460Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-07T00:43:00.748Z] + git semver init [2022-06-07T00:43:01.008Z] 2022-06-07 00:43:00,940 [run_init] DEBUG init version:0.0.0 force:False [2022-06-07T00:43:01.008Z] 2022-06-07 00:43:00,941 [clone_semver_branch] DEBUG clone semver branch to:/w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-06-07T00:43:01.008Z] 2022-06-07 00:43:00,941 [execute] INFO git clone -b semver git@github.com:edgexfoundry/device-rest-go.git /w/workspace/edgexfoundry_device-rest-go_main/.semver [2022-06-07T00:43:01.008Z] 2022-06-07 00:43:00,941 [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-06-07T00:43:02.394Z] 2022-06-07 00:43:02,042 [append_file] DEBUG append to file:/w/workspace/edgexfoundry_device-rest-go_main/.git/info/exclude [2022-06-07T00:43:02.394Z] 2022-06-07 00:43:02,043 [write_version] DEBUG write version:0.0.0 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:False [2022-06-07T00:43:02.394Z] 2022-06-07 00:43:02,043 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-06-07T00:43:02.394Z] 2022-06-07 00:43:02,043 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-06-07T00:43:02.394Z] 2.2.1-dev.3 [Pipeline] } [2022-06-07T00:43:02.413Z] $ docker exec --env ******** --env ******** acba72d35a4a21d47a7379d63083cd3ac4921738c7a16a0db7ce887d95df88d9 ssh-agent -k [2022-06-07T00:43:02.530Z] unset SSH_AUTH_SOCK; [2022-06-07T00:43:02.530Z] unset SSH_AGENT_PID; [2022-06-07T00:43:02.531Z] echo Agent pid 79 killed; [2022-06-07T00:43:02.537Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-07T00:43:02.846Z] + git semver [Pipeline] } [2022-06-07T00:43:03.129Z] $ docker stop --time=1 acba72d35a4a21d47a7379d63083cd3ac4921738c7a16a0db7ce887d95df88d9 [2022-06-07T00:43:04.522Z] $ docker rm -f acba72d35a4a21d47a7379d63083cd3ac4921738c7a16a0db7ce887d95df88d9 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T00:43:04.877Z] + sudo chown -R jenkins:jenkins .semver [Pipeline] writeFile [Pipeline] stash [2022-06-07T00:43:05.141Z] Stashed 1 file(s) [Pipeline] echo [2022-06-07T00:43:05.144Z] [edgeXSemver]: initialized semver on version 2.2.1-dev.3 [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-06-07T00:43:05.285Z] provisioning config files... [2022-06-07T00:43:05.296Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config2066595230682215448tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:43:05.600Z] ---> docker-login.sh [2022-06-07T00:43:05.600Z] nexus3.edgexfoundry.org:10001 [2022-06-07T00:43:05.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:43:05.600Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:43:05.600Z] Configure a credential helper to remove this warning. See [2022-06-07T00:43:05.600Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:43:05.600Z] [2022-06-07T00:43:05.600Z] Login Succeeded [2022-06-07T00:43:05.600Z] nexus3.edgexfoundry.org:10002 [2022-06-07T00:43:05.600Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:43:05.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:43:05.862Z] Configure a credential helper to remove this warning. See [2022-06-07T00:43:05.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:43:05.862Z] [2022-06-07T00:43:05.862Z] Login Succeeded [2022-06-07T00:43:05.862Z] nexus3.edgexfoundry.org:10003 [2022-06-07T00:43:05.862Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:43:05.862Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:43:05.862Z] Configure a credential helper to remove this warning. See [2022-06-07T00:43:05.862Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:43:05.862Z] [2022-06-07T00:43:05.862Z] Login Succeeded [2022-06-07T00:43:05.862Z] nexus3.edgexfoundry.org:10004 [2022-06-07T00:43:06.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:43:06.125Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:43:06.125Z] Configure a credential helper to remove this warning. See [2022-06-07T00:43:06.125Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:43:06.125Z] [2022-06-07T00:43:06.125Z] Login Succeeded [2022-06-07T00:43:06.125Z] docker.io [2022-06-07T00:43:06.125Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:43:06.387Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:43:06.387Z] Configure a credential helper to remove this warning. See [2022-06-07T00:43:06.387Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:43:06.387Z] [2022-06-07T00:43:06.387Z] Login Succeeded [2022-06-07T00:43:06.387Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T00:43:06.396Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-07T00:43:06.469Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T00:43:06.478Z] ========================================================= [2022-06-07T00:43:06.478Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine] [2022-06-07T00:43:06.478Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:43:06.799Z] + docker build -t ci-base-image-x86_64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-07T00:43:06.799Z] Sending build context to Docker daemon 10.67MB [2022-06-07T00:43:06.799Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T00:43:06.799Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-07T00:43:06.799Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base [2022-06-07T00:43:06.799Z] 59bf1c3509f3: Pulling fs layer [2022-06-07T00:43:06.799Z] 666ba61612fd: Pulling fs layer [2022-06-07T00:43:06.799Z] 8ed8ca486205: Pulling fs layer [2022-06-07T00:43:06.799Z] cc1cd167ecdc: Pulling fs layer [2022-06-07T00:43:06.799Z] c516ae0d96e1: Pulling fs layer [2022-06-07T00:43:06.799Z] 684cea983483: Pulling fs layer [2022-06-07T00:43:06.799Z] dd3240ac7de5: Pulling fs layer [2022-06-07T00:43:06.799Z] b1e948a4e11c: Pulling fs layer [2022-06-07T00:43:06.799Z] cc1cd167ecdc: Waiting [2022-06-07T00:43:06.799Z] a8fd76ee1af6: Pulling fs layer [2022-06-07T00:43:06.799Z] c516ae0d96e1: Waiting [2022-06-07T00:43:06.799Z] 684cea983483: Waiting [2022-06-07T00:43:06.799Z] dd3240ac7de5: Waiting [2022-06-07T00:43:06.799Z] b1e948a4e11c: Waiting [2022-06-07T00:43:06.799Z] a8fd76ee1af6: Waiting [2022-06-07T00:43:06.799Z] 646ad004c059: Pulling fs layer [2022-06-07T00:43:07.059Z] 8ed8ca486205: Verifying Checksum [2022-06-07T00:43:07.059Z] 8ed8ca486205: Download complete [2022-06-07T00:43:07.059Z] 666ba61612fd: Verifying Checksum [2022-06-07T00:43:07.059Z] 666ba61612fd: Download complete [2022-06-07T00:43:07.060Z] c516ae0d96e1: Download complete [2022-06-07T00:43:07.060Z] 684cea983483: Verifying Checksum [2022-06-07T00:43:07.060Z] 684cea983483: Download complete [2022-06-07T00:43:07.060Z] dd3240ac7de5: Verifying Checksum [2022-06-07T00:43:07.060Z] dd3240ac7de5: Download complete [2022-06-07T00:43:07.060Z] 59bf1c3509f3: Verifying Checksum [2022-06-07T00:43:07.060Z] 59bf1c3509f3: Download complete [2022-06-07T00:43:07.060Z] b1e948a4e11c: Verifying Checksum [2022-06-07T00:43:07.060Z] b1e948a4e11c: Download complete [2022-06-07T00:43:07.060Z] 59bf1c3509f3: Pull complete [2022-06-07T00:43:07.320Z] 666ba61612fd: Pull complete [2022-06-07T00:43:07.320Z] 8ed8ca486205: Pull complete [2022-06-07T00:43:07.320Z] 646ad004c059: Verifying Checksum [2022-06-07T00:43:07.320Z] 646ad004c059: Download complete [2022-06-07T00:43:07.892Z] a8fd76ee1af6: Verifying Checksum [2022-06-07T00:43:07.892Z] a8fd76ee1af6: Download complete [2022-06-07T00:43:07.892Z] cc1cd167ecdc: Verifying Checksum [2022-06-07T00:43:07.892Z] cc1cd167ecdc: Download complete [2022-06-07T00:43:12.097Z] cc1cd167ecdc: Pull complete [2022-06-07T00:43:12.097Z] c516ae0d96e1: Pull complete [2022-06-07T00:43:12.097Z] 684cea983483: Pull complete [2022-06-07T00:43:12.097Z] dd3240ac7de5: Pull complete [2022-06-07T00:43:12.097Z] b1e948a4e11c: Pull complete [2022-06-07T00:43:14.637Z] a8fd76ee1af6: Pull complete [2022-06-07T00:43:15.207Z] 646ad004c059: Pull complete [2022-06-07T00:43:15.207Z] Digest: sha256:bc8ce28cadebfaa099e5330588345fe90134e4027cf71364bfd2aff1e7ff8c16 [2022-06-07T00:43:15.207Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base:1.17-alpine [2022-06-07T00:43:15.207Z] ---> 8f69c11f6b0c [2022-06-07T00:43:15.207Z] Step 3/12 : ARG MAKE='make build' [2022-06-07T00:43:17.749Z] ---> Running in f4da97b7498f [2022-06-07T00:43:17.749Z] Removing intermediate container f4da97b7498f [2022-06-07T00:43:17.749Z] ---> 7de8cc113f9e [2022-06-07T00:43:17.749Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T00:43:17.749Z] ---> Running in e587cacb248d [2022-06-07T00:43:17.749Z] Removing intermediate container e587cacb248d [2022-06-07T00:43:17.749Z] ---> 0b3355c5f31e [2022-06-07T00:43:17.749Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-07T00:43:17.749Z] ---> Running in a86f9becafef [2022-06-07T00:43:17.749Z] Removing intermediate container a86f9becafef [2022-06-07T00:43:17.749Z] ---> c22e205cf363 [2022-06-07T00:43:17.749Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T00:43:17.749Z] ---> Running in 4e0c36507684 [2022-06-07T00:43:18.319Z] Removing intermediate container 4e0c36507684 [2022-06-07T00:43:18.319Z] ---> f76c9a0ed076 [2022-06-07T00:43:18.319Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T00:43:18.319Z] ---> Running in b4a037f8c7a4 [2022-06-07T00:43:18.578Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-07T00:43:19.519Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-07T00:43:19.779Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-07T00:43:20.039Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-07T00:43:20.039Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-07T00:43:20.039Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-07T00:43:20.242Z] Still waiting to schedule task [2022-06-07T00:43:20.242Z] Waiting for next available executor on ‘prd-ubuntu20.04-docker-arm64-4c-16g-1567’ [2022-06-07T00:43:20.300Z] Executing busybox-1.34.1-r3.trigger [2022-06-07T00:43:20.300Z] OK: 224 MiB in 56 packages [2022-06-07T00:43:20.870Z] Removing intermediate container b4a037f8c7a4 [2022-06-07T00:43:20.870Z] ---> 3b28dc91bd66 [2022-06-07T00:43:20.870Z] Step 8/12 : WORKDIR /device-rest-go [2022-06-07T00:43:20.870Z] ---> Running in 56d5256839e4 [2022-06-07T00:43:20.870Z] Removing intermediate container 56d5256839e4 [2022-06-07T00:43:20.870Z] ---> 644c8b01ef87 [2022-06-07T00:43:20.870Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-07T00:43:21.130Z] ---> 4f48f9ece177 [2022-06-07T00:43:21.130Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T00:43:21.130Z] ---> Running in 8e707da6c45e [2022-06-07T00:43:39.249Z] Removing intermediate container 8e707da6c45e [2022-06-07T00:43:39.249Z] ---> 0429f4f29f47 [2022-06-07T00:43:39.249Z] Step 11/12 : COPY . . [2022-06-07T00:43:39.249Z] ---> 738ab833fecc [2022-06-07T00:43:39.249Z] Step 12/12 : RUN $MAKE [2022-06-07T00:43:39.249Z] ---> Running in 518ed5e20f43 [2022-06-07T00:43:39.249Z] noop [2022-06-07T00:43:39.249Z] Removing intermediate container 518ed5e20f43 [2022-06-07T00:43:39.249Z] ---> 650cb85b404a [2022-06-07T00:43:39.249Z] Successfully built 650cb85b404a [2022-06-07T00:43:39.249Z] Successfully tagged ci-base-image-x86_64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:43:39.573Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-07T00:43:39.573Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T00:43:39.662Z] prd-ubuntu20.04-docker-8c-8g-1574 does not seem to be running inside a container [2022-06-07T00:43:39.713Z] $ 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 ******** ci-base-image-x86_64 cat [2022-06-07T00:43:40.160Z] $ docker top 96d3d7f46c21e63cee2fd72ba5c44692ec2b4c8a93b7803a9f394872b22df286 -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T00:43:40.539Z] + go version [2022-06-07T00:43:40.539Z] go version go1.17.7 linux/amd64 [Pipeline] } [2022-06-07T00:43:40.555Z] $ docker stop --time=1 96d3d7f46c21e63cee2fd72ba5c44692ec2b4c8a93b7803a9f394872b22df286 [2022-06-07T00:43:41.836Z] $ docker rm -f 96d3d7f46c21e63cee2fd72ba5c44692ec2b4c8a93b7803a9f394872b22df286 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:43:42.247Z] + docker inspect -f . ci-base-image-x86_64 [2022-06-07T00:43:42.247Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T00:43:42.326Z] prd-ubuntu20.04-docker-8c-8g-1574 does not seem to be running inside a container [2022-06-07T00:43:42.369Z] $ 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 ******** ci-base-image-x86_64 cat [2022-06-07T00:43:42.765Z] $ docker top 57f651e93ad9d87c12fb1fea3456d42897ca722aa22b998939be6584ea6575e3 -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-07T00:43:43.138Z] + make test [2022-06-07T00:43:43.138Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-07T00:43:43.396Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-07T00:43:53.382Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-07T00:43:53.382Z] ok github.com/edgexfoundry/device-rest-go/driver 0.013s coverage: 55.2% of statements [2022-06-07T00:43:58.664Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-07T00:44:02.865Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-07T00:44:02.865Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-07T00:44:02.865Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-07T00:44:02.886Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-07T00:44:02.903Z] $ docker stop --time=1 57f651e93ad9d87c12fb1fea3456d42897ca722aa22b998939be6584ea6575e3 [2022-06-07T00:44:04.792Z] $ docker rm -f 57f651e93ad9d87c12fb1fea3456d42897ca722aa22b998939be6584ea6575e3 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T00:44:05.233Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-07T00:44:05.278Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] sh [2022-06-07T00:44:05.743Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-07T00:44:06.031Z] + ls -al . [2022-06-07T00:44:06.031Z] total 172 [2022-06-07T00:44:06.031Z] drwxrwxr-x 9 jenkins jenkins 4096 Jun 7 00:44 . [2022-06-07T00:44:06.031Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 00:42 .. [2022-06-07T00:44:06.031Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 7 00:42 .dockerignore [2022-06-07T00:44:06.031Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 00:43 .git [2022-06-07T00:44:06.031Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 00:42 .github [2022-06-07T00:44:06.031Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 7 00:42 .gitignore [2022-06-07T00:44:06.031Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 7 00:42 .golangci.yml [2022-06-07T00:44:06.031Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 00:43 .semver [2022-06-07T00:44:06.031Z] -rw-rw-r-- 1 jenkins jenkins 8596 Jun 7 00:42 Attribution.txt [2022-06-07T00:44:06.031Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jun 7 00:42 CHANGELOG.md [2022-06-07T00:44:06.031Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jun 7 00:42 Dockerfile [2022-06-07T00:44:06.031Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 00:42 GOVERNANCE.md [2022-06-07T00:44:06.031Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 7 00:42 Jenkinsfile [2022-06-07T00:44:06.031Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 7 00:42 LICENSE [2022-06-07T00:44:06.031Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jun 7 00:42 Makefile [2022-06-07T00:44:06.031Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 7 00:42 OWNERS.md [2022-06-07T00:44:06.031Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jun 7 00:42 README.md [2022-06-07T00:44:06.031Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 7 00:43 VERSION [2022-06-07T00:44:06.031Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 00:42 bin [2022-06-07T00:44:06.031Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 00:42 cmd [2022-06-07T00:44:06.031Z] -rw-r--r-- 1 jenkins jenkins 9355 Jun 7 00:43 coverage.out [2022-06-07T00:44:06.031Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 00:42 driver [2022-06-07T00:44:06.031Z] -rw-rw-r-- 1 jenkins jenkins 3259 Jun 7 00:42 go.mod [2022-06-07T00:44:06.032Z] -rw-rw-r-- 1 jenkins jenkins 35308 Jun 7 00:42 go.sum [2022-06-07T00:44:06.032Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 00:42 snap [2022-06-07T00:44:06.032Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 7 00:42 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:44:06.344Z] + 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=78d408cb2e9c2823d5dddcb6179e75cdf16507ed --label arch=amd64 --label version=2.2.1-dev.3 . [2022-06-07T00:44:06.344Z] Sending build context to Docker daemon 10.68MB [2022-06-07T00:44:06.344Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T00:44:06.344Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-07T00:44:06.344Z] ---> 650cb85b404a [2022-06-07T00:44:06.344Z] Step 3/25 : ARG MAKE='make build' [2022-06-07T00:44:06.344Z] ---> Running in aa9432619668 [2022-06-07T00:44:06.604Z] Removing intermediate container aa9432619668 [2022-06-07T00:44:06.604Z] ---> ad84b48fcca1 [2022-06-07T00:44:06.604Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T00:44:06.604Z] ---> Running in d84b30669cad [2022-06-07T00:44:06.604Z] Removing intermediate container d84b30669cad [2022-06-07T00:44:06.604Z] ---> 6d1553d63a89 [2022-06-07T00:44:06.604Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-06-07T00:44:06.604Z] ---> Running in 7c20a0489500 [2022-06-07T00:44:06.865Z] Removing intermediate container 7c20a0489500 [2022-06-07T00:44:06.865Z] ---> d6a1fc43acb8 [2022-06-07T00:44:06.865Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T00:44:06.865Z] ---> Running in 9c1d90be5313 [2022-06-07T00:44:07.438Z] Removing intermediate container 9c1d90be5313 [2022-06-07T00:44:07.438Z] ---> d9dcee77a055 [2022-06-07T00:44:07.438Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T00:44:07.438Z] ---> Running in bd3a08cefbb5 [2022-06-07T00:44:07.698Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/x86_64/APKINDEX.tar.gz [2022-06-07T00:44:08.638Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/x86_64/APKINDEX.tar.gz [2022-06-07T00:44:08.899Z] OK: 224 MiB in 56 packages [2022-06-07T00:44:09.159Z] Removing intermediate container bd3a08cefbb5 [2022-06-07T00:44:09.159Z] ---> 62c4e3eb38a3 [2022-06-07T00:44:09.159Z] Step 8/25 : WORKDIR /device-rest-go [2022-06-07T00:44:09.159Z] ---> Running in f8735fbaed24 [2022-06-07T00:44:09.159Z] Removing intermediate container f8735fbaed24 [2022-06-07T00:44:09.159Z] ---> bdcbea676dc3 [2022-06-07T00:44:09.159Z] Step 9/25 : COPY go.mod vendor* ./ [2022-06-07T00:44:09.419Z] ---> 783d8cb8a562 [2022-06-07T00:44:09.419Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T00:44:09.419Z] ---> Running in 30d8b1934bc0 [2022-06-07T00:44:09.990Z] Removing intermediate container 30d8b1934bc0 [2022-06-07T00:44:09.990Z] ---> 913ee9e57203 [2022-06-07T00:44:09.990Z] Step 11/25 : COPY . . [2022-06-07T00:44:10.250Z] ---> 2cf5e3fec9f5 [2022-06-07T00:44:10.250Z] Step 12/25 : RUN $MAKE [2022-06-07T00:44:10.250Z] ---> Running in 98bbaad4d819 [2022-06-07T00:44:10.511Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.1-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-06-07T00:44:32.460Z] Removing intermediate container 98bbaad4d819 [2022-06-07T00:44:32.460Z] ---> a6221e1bd129 [2022-06-07T00:44:32.460Z] Step 13/25 : FROM alpine:3.14 [2022-06-07T00:44:32.460Z] 3.14: Pulling from library/alpine [2022-06-07T00:44:32.460Z] 8663204ce13b: Pulling fs layer [2022-06-07T00:44:32.460Z] 8663204ce13b: Verifying Checksum [2022-06-07T00:44:32.460Z] 8663204ce13b: Download complete [2022-06-07T00:44:32.460Z] 8663204ce13b: Pull complete [2022-06-07T00:44:32.460Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-07T00:44:32.460Z] Status: Downloaded newer image for alpine:3.14 [2022-06-07T00:44:32.460Z] ---> e04c818066af [2022-06-07T00:44:32.460Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-07T00:44:32.460Z] ---> Running in 84282b21bf89 [2022-06-07T00:44:32.460Z] Removing intermediate container 84282b21bf89 [2022-06-07T00:44:32.460Z] ---> 2d553682b927 [2022-06-07T00:44:32.460Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-07T00:44:32.460Z] ---> Running in a38d26a26c81 [2022-06-07T00:44:32.460Z] Removing intermediate container a38d26a26c81 [2022-06-07T00:44:32.460Z] ---> cf9fcfbb0e4d [2022-06-07T00:44:32.460Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-07T00:44:32.460Z] ---> Running in 1ce9bb692fcc [2022-06-07T00:44:32.460Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/x86_64/APKINDEX.tar.gz [2022-06-07T00:44:32.460Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/x86_64/APKINDEX.tar.gz [2022-06-07T00:44:32.460Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-07T00:44:32.460Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-07T00:44:32.460Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-07T00:44:32.460Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-07T00:44:32.460Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-07T00:44:32.460Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-07T00:44:32.460Z] Executing busybox-1.33.1-r7.trigger [2022-06-07T00:44:32.460Z] OK: 8 MiB in 20 packages [2022-06-07T00:44:32.460Z] Removing intermediate container 1ce9bb692fcc [2022-06-07T00:44:32.460Z] ---> a0d45fef1c63 [2022-06-07T00:44:32.460Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-06-07T00:44:33.031Z] ---> fa4ea74c92c7 [2022-06-07T00:44:33.031Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-07T00:44:33.031Z] ---> 8e0040c791ec [2022-06-07T00:44:33.031Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-07T00:44:33.031Z] ---> ef46d099c440 [2022-06-07T00:44:33.031Z] Step 20/25 : EXPOSE 59986 [2022-06-07T00:44:33.290Z] ---> Running in 14f9d5551519 [2022-06-07T00:44:33.290Z] Removing intermediate container 14f9d5551519 [2022-06-07T00:44:33.290Z] ---> 4ce82801241c [2022-06-07T00:44:33.290Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-06-07T00:44:33.290Z] ---> Running in a84c26d25ec2 [2022-06-07T00:44:33.290Z] Removing intermediate container a84c26d25ec2 [2022-06-07T00:44:33.290Z] ---> c7b2815efedf [2022-06-07T00:44:33.290Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-07T00:44:33.551Z] ---> Running in 36e62203fc3a [2022-06-07T00:44:33.551Z] Removing intermediate container 36e62203fc3a [2022-06-07T00:44:33.551Z] ---> f46c19640eb6 [2022-06-07T00:44:33.551Z] Step 23/25 : LABEL arch=amd64 [2022-06-07T00:44:33.551Z] ---> Running in 06b06e528369 [2022-06-07T00:44:33.551Z] Removing intermediate container 06b06e528369 [2022-06-07T00:44:33.551Z] ---> 46eee32ae350 [2022-06-07T00:44:33.551Z] Step 24/25 : LABEL git_sha=78d408cb2e9c2823d5dddcb6179e75cdf16507ed [2022-06-07T00:44:33.810Z] ---> Running in e34fe4f82552 [2022-06-07T00:44:33.810Z] Removing intermediate container e34fe4f82552 [2022-06-07T00:44:33.810Z] ---> 40a64fdee915 [2022-06-07T00:44:33.810Z] Step 25/25 : LABEL version=2.2.1-dev.3 [2022-06-07T00:44:33.810Z] ---> Running in 19b0a1371b17 [2022-06-07T00:44:33.810Z] Removing intermediate container 19b0a1371b17 [2022-06-07T00:44:33.810Z] ---> f3951eac6540 [2022-06-07T00:44:33.810Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-07T00:44:33.810Z] Successfully built f3951eac6540 [2022-06-07T00:44:33.810Z] 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-06-07T00:44:33.919Z] provisioning config files... [2022-06-07T00:44:33.927Z] copy managed file [device-rest-go-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config185423722430572338tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:44:34.224Z] ---> docker-login.sh [2022-06-07T00:44:34.224Z] nexus3.edgexfoundry.org:10001 [2022-06-07T00:44:34.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:44:34.224Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:44:34.224Z] Configure a credential helper to remove this warning. See [2022-06-07T00:44:34.224Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:44:34.224Z] [2022-06-07T00:44:34.224Z] Login Succeeded [2022-06-07T00:44:34.224Z] nexus3.edgexfoundry.org:10002 [2022-06-07T00:44:34.224Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:44:34.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:44:34.484Z] Configure a credential helper to remove this warning. See [2022-06-07T00:44:34.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:44:34.484Z] [2022-06-07T00:44:34.484Z] Login Succeeded [2022-06-07T00:44:34.484Z] nexus3.edgexfoundry.org:10003 [2022-06-07T00:44:34.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:44:34.484Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:44:34.484Z] Configure a credential helper to remove this warning. See [2022-06-07T00:44:34.484Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:44:34.484Z] [2022-06-07T00:44:34.484Z] Login Succeeded [2022-06-07T00:44:34.484Z] nexus3.edgexfoundry.org:10004 [2022-06-07T00:44:34.484Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:44:34.744Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:44:34.744Z] Configure a credential helper to remove this warning. See [2022-06-07T00:44:34.744Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:44:34.744Z] [2022-06-07T00:44:34.744Z] Login Succeeded [2022-06-07T00:44:34.744Z] docker.io [2022-06-07T00:44:34.744Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:44:35.005Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:44:35.005Z] Configure a credential helper to remove this warning. See [2022-06-07T00:44:35.005Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:44:35.005Z] [2022-06-07T00:44:35.005Z] Login Succeeded [2022-06-07T00:44:35.005Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T00:44:35.013Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-07T00:44:35.046Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T00:44:35.067Z] [edgeXDocker.push] Tagging docker image device-rest with the following tags: [2022-06-07T00:44:35.067Z] 78d408cb2e9c2823d5dddcb6179e75cdf16507ed [2022-06-07T00:44:35.067Z] latest [2022-06-07T00:44:35.067Z] 2.2.1-dev.3 [2022-06-07T00:44:35.067Z] 78d408cb2e9c2823d5dddcb6179e75cdf16507ed-2.2.1-dev.3 [2022-06-07T00:44:35.067Z] main [2022-06-07T00:44:35.067Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:44:35.437Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:78d408cb2e9c2823d5dddcb6179e75cdf16507ed [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:44:35.749Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:78d408cb2e9c2823d5dddcb6179e75cdf16507ed [2022-06-07T00:44:35.749Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-06-07T00:44:35.749Z] a5986655e68f: Preparing [2022-06-07T00:44:35.749Z] a4c541c605af: Preparing [2022-06-07T00:44:35.749Z] b037434d3c8b: Preparing [2022-06-07T00:44:35.749Z] b6f3b699bc42: Preparing [2022-06-07T00:44:35.749Z] b541d28bf3b4: Preparing [2022-06-07T00:44:35.749Z] b541d28bf3b4: Layer already exists [2022-06-07T00:44:35.749Z] a5986655e68f: Pushed [2022-06-07T00:44:35.749Z] a4c541c605af: Pushed [2022-06-07T00:44:36.008Z] b6f3b699bc42: Pushed [2022-06-07T00:44:39.304Z] b037434d3c8b: Pushed [2022-06-07T00:44:39.304Z] 78d408cb2e9c2823d5dddcb6179e75cdf16507ed: digest: sha256:61918badb6a1ec7bdd622250c8831f6a3458fccba4b0b4e06268a1903de07cf1 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:44:39.624Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:44:39.937Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:latest [2022-06-07T00:44:39.937Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-06-07T00:44:39.937Z] a5986655e68f: Preparing [2022-06-07T00:44:39.937Z] a4c541c605af: Preparing [2022-06-07T00:44:39.937Z] b037434d3c8b: Preparing [2022-06-07T00:44:39.937Z] b6f3b699bc42: Preparing [2022-06-07T00:44:39.937Z] b541d28bf3b4: Preparing [2022-06-07T00:44:39.937Z] b6f3b699bc42: Layer already exists [2022-06-07T00:44:39.937Z] b541d28bf3b4: Layer already exists [2022-06-07T00:44:39.937Z] b037434d3c8b: Layer already exists [2022-06-07T00:44:39.937Z] a4c541c605af: Layer already exists [2022-06-07T00:44:39.937Z] a5986655e68f: Layer already exists [2022-06-07T00:44:39.937Z] latest: digest: sha256:61918badb6a1ec7bdd622250c8831f6a3458fccba4b0b4e06268a1903de07cf1 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:44:40.257Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:44:40.566Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.3 [2022-06-07T00:44:40.566Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-06-07T00:44:40.566Z] a5986655e68f: Preparing [2022-06-07T00:44:40.566Z] a4c541c605af: Preparing [2022-06-07T00:44:40.566Z] b037434d3c8b: Preparing [2022-06-07T00:44:40.566Z] b6f3b699bc42: Preparing [2022-06-07T00:44:40.566Z] b541d28bf3b4: Preparing [2022-06-07T00:44:40.566Z] a5986655e68f: Layer already exists [2022-06-07T00:44:40.566Z] b037434d3c8b: Layer already exists [2022-06-07T00:44:40.566Z] a4c541c605af: Layer already exists [2022-06-07T00:44:40.566Z] b6f3b699bc42: Layer already exists [2022-06-07T00:44:40.566Z] b541d28bf3b4: Layer already exists [2022-06-07T00:44:40.566Z] 2.2.1-dev.3: digest: sha256:61918badb6a1ec7bdd622250c8831f6a3458fccba4b0b4e06268a1903de07cf1 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:44:40.886Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:78d408cb2e9c2823d5dddcb6179e75cdf16507ed-2.2.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:44:41.191Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:78d408cb2e9c2823d5dddcb6179e75cdf16507ed-2.2.1-dev.3 [2022-06-07T00:44:41.191Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-06-07T00:44:41.191Z] a5986655e68f: Preparing [2022-06-07T00:44:41.191Z] a4c541c605af: Preparing [2022-06-07T00:44:41.191Z] b037434d3c8b: Preparing [2022-06-07T00:44:41.191Z] b6f3b699bc42: Preparing [2022-06-07T00:44:41.191Z] b541d28bf3b4: Preparing [2022-06-07T00:44:41.191Z] b541d28bf3b4: Layer already exists [2022-06-07T00:44:41.191Z] b037434d3c8b: Layer already exists [2022-06-07T00:44:41.191Z] b6f3b699bc42: Layer already exists [2022-06-07T00:44:41.191Z] a4c541c605af: Layer already exists [2022-06-07T00:44:41.191Z] a5986655e68f: Layer already exists [2022-06-07T00:44:41.191Z] 78d408cb2e9c2823d5dddcb6179e75cdf16507ed-2.2.1-dev.3: digest: sha256:61918badb6a1ec7bdd622250c8831f6a3458fccba4b0b4e06268a1903de07cf1 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:44:41.512Z] + docker tag device-rest nexus3.edgexfoundry.org:10004/device-rest:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:44:41.827Z] + docker push nexus3.edgexfoundry.org:10004/device-rest:main [2022-06-07T00:44:41.827Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest] [2022-06-07T00:44:41.827Z] a5986655e68f: Preparing [2022-06-07T00:44:41.827Z] a4c541c605af: Preparing [2022-06-07T00:44:41.827Z] b037434d3c8b: Preparing [2022-06-07T00:44:41.827Z] b6f3b699bc42: Preparing [2022-06-07T00:44:41.827Z] b541d28bf3b4: Preparing [2022-06-07T00:44:41.827Z] b6f3b699bc42: Layer already exists [2022-06-07T00:44:41.827Z] a4c541c605af: Layer already exists [2022-06-07T00:44:41.827Z] b541d28bf3b4: Layer already exists [2022-06-07T00:44:41.827Z] a5986655e68f: Layer already exists [2022-06-07T00:44:41.827Z] b037434d3c8b: Layer already exists [2022-06-07T00:44:41.827Z] main: digest: sha256:61918badb6a1ec7bdd622250c8831f6a3458fccba4b0b4e06268a1903de07cf1 size: 1367 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-07T00:44:41.874Z] ===================================================== [Pipeline] echo [2022-06-07T00:44:41.882Z] taggedImages: [2022-06-07T00:44:41.882Z] - nexus3.edgexfoundry.org:10004/device-rest:78d408cb2e9c2823d5dddcb6179e75cdf16507ed [2022-06-07T00:44:41.882Z] - nexus3.edgexfoundry.org:10004/device-rest:latest [2022-06-07T00:44:41.882Z] - nexus3.edgexfoundry.org:10004/device-rest:2.2.1-dev.3 [2022-06-07T00:44:41.882Z] - nexus3.edgexfoundry.org:10004/device-rest:78d408cb2e9c2823d5dddcb6179e75cdf16507ed-2.2.1-dev.3 [2022-06-07T00:44:41.882Z] - 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-06-07T00:44:42.247Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T00:44:42.247Z] [2022-06-07T00:44:42.247Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:44:42.621Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T00:44:42.622Z] latest: Pulling from edgex-lftools-log-publisher [2022-06-07T00:44:42.622Z] 5eb5b503b376: Pulling fs layer [2022-06-07T00:44:42.622Z] 5c69ac0246d0: Pulling fs layer [2022-06-07T00:44:42.622Z] ec43610c2a17: Pulling fs layer [2022-06-07T00:44:42.622Z] 3a2ae6a8a46f: Pulling fs layer [2022-06-07T00:44:42.622Z] 33b1e0a273af: Pulling fs layer [2022-06-07T00:44:42.622Z] 5d3b04190fa2: Pulling fs layer [2022-06-07T00:44:42.622Z] 2f39f015ded8: Pulling fs layer [2022-06-07T00:44:42.622Z] 3a2ae6a8a46f: Waiting [2022-06-07T00:44:42.622Z] 2f39f015ded8: Waiting [2022-06-07T00:44:42.622Z] 5d3b04190fa2: Waiting [2022-06-07T00:44:42.622Z] 33b1e0a273af: Waiting [2022-06-07T00:44:42.622Z] 5c69ac0246d0: Verifying Checksum [2022-06-07T00:44:42.622Z] 5c69ac0246d0: Download complete [2022-06-07T00:44:42.622Z] 3a2ae6a8a46f: Verifying Checksum [2022-06-07T00:44:42.622Z] 3a2ae6a8a46f: Download complete [2022-06-07T00:44:42.622Z] 33b1e0a273af: Verifying Checksum [2022-06-07T00:44:42.622Z] 33b1e0a273af: Download complete [2022-06-07T00:44:42.622Z] ec43610c2a17: Verifying Checksum [2022-06-07T00:44:42.622Z] ec43610c2a17: Download complete [2022-06-07T00:44:42.622Z] 5d3b04190fa2: Download complete [2022-06-07T00:44:42.923Z] 5eb5b503b376: Verifying Checksum [2022-06-07T00:44:42.923Z] 5eb5b503b376: Download complete [2022-06-07T00:44:43.518Z] 2f39f015ded8: Download complete [2022-06-07T00:44:44.457Z] 5eb5b503b376: Pull complete [2022-06-07T00:44:44.457Z] 5c69ac0246d0: Pull complete [2022-06-07T00:44:45.030Z] ec43610c2a17: Pull complete [2022-06-07T00:44:45.030Z] 3a2ae6a8a46f: Pull complete [2022-06-07T00:44:45.290Z] 33b1e0a273af: Pull complete [2022-06-07T00:44:45.290Z] 5d3b04190fa2: Pull complete [2022-06-07T00:44:49.482Z] 2f39f015ded8: Pull complete [2022-06-07T00:44:49.482Z] Digest: sha256:aad550b2ae72f0c3871cfab1553edc96d28a4cf46347c1b5d8abfaef0d2cf592 [2022-06-07T00:44:49.482Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T00:44:49.482Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T00:44:49.579Z] prd-ubuntu20.04-docker-8c-8g-1574 does not seem to be running inside a container [2022-06-07T00:44:49.620Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-07T00:44:51.366Z] $ docker top 26de9eb3b55f6d7c12b0a1d7c4100a12f12eeb7d731f0d48f3ae8035761a916e -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:44:51.754Z] ---> job-cost.sh [2022-06-07T00:44:51.754Z] lf-activate-venv: SKIPPING [2022-06-07T00:44:51.754Z] INFO: No Stack... [2022-06-07T00:44:52.015Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-07T00:44:52.591Z] INFO: Archiving Costs [Pipeline] sh [2022-06-07T00:44:52.881Z] + cat /w/workspace/edgexfoundry_device-rest-go_main/archives/cost.csv [2022-06-07T00:44:52.881Z] + cut -d, -f6 [Pipeline] lock [2022-06-07T00:44:52.895Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-44-stack-cost] [2022-06-07T00:44:52.901Z] Resource [jenkins-edgexfoundry-device-rest-go-main-44-stack-cost] did not exist. Created. [2022-06-07T00:44:52.901Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-44-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-07T00:44:53.208Z] + echo total: 0.2199999988079071 [Pipeline] stash [2022-06-07T00:44:53.240Z] Stashed 1 file(s) [Pipeline] } [2022-06-07T00:44:53.246Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-44-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-07T00:44:53.271Z] $ docker stop --time=1 26de9eb3b55f6d7c12b0a1d7c4100a12f12eeb7d731f0d48f3ae8035761a916e [2022-06-07T00:44:54.439Z] $ docker rm -f 26de9eb3b55f6d7c12b0a1d7c4100a12f12eeb7d731f0d48f3ae8035761a916e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [2022-06-07T00:46:43.437Z] Running on prd-ubuntu20.04-docker-arm64-4c-16g-1577 in /w/workspace/edgexfoundry_device-rest-go_main [Pipeline] { [Pipeline] ws [2022-06-07T00:46:43.451Z] Running in /w/workspace/device-rest-go/44 [Pipeline] { [Pipeline] checkout [2022-06-07T00:46:43.486Z] The recommended git tool is: git [2022-06-07T00:46:49.805Z] using credential edgex-jenkins-ssh [2022-06-07T00:46:49.827Z] Cloning the remote Git repository [2022-06-07T00:46:49.903Z] Cloning repository git@github.com:edgexfoundry/device-rest-go.git [2022-06-07T00:46:50.004Z] > git init /w/workspace/device-rest-go/44 # timeout=10 [2022-06-07T00:46:50.109Z] Fetching upstream changes from git@github.com:edgexfoundry/device-rest-go.git [2022-06-07T00:46:50.111Z] > git --version # timeout=10 [2022-06-07T00:46:50.130Z] > git --version # 'git version 2.25.1' [2022-06-07T00:46:50.133Z] using GIT_SSH to set credentials SSH Credentials for GitHub [2022-06-07T00:46:50.262Z] > git fetch --tags --force --progress -- git@github.com:edgexfoundry/device-rest-go.git +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-07T00:46:52.415Z] Avoid second fetch [2022-06-07T00:46:52.416Z] Checking out Revision 78d408cb2e9c2823d5dddcb6179e75cdf16507ed (main) [2022-06-07T00:46:52.374Z] > git config remote.origin.url git@github.com:edgexfoundry/device-rest-go.git # timeout=10 [2022-06-07T00:46:52.398Z] > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 [2022-06-07T00:46:52.443Z] > git config core.sparsecheckout # timeout=10 [2022-06-07T00:46:52.461Z] > git checkout -f 78d408cb2e9c2823d5dddcb6179e75cdf16507ed # timeout=10 [2022-06-07T00:46:56.863Z] Commit message: "Merge pull request #195 from edgexfoundry/dependabot/go_modules/github.com/stretchr/testify-1.7.2" [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] stage [Pipeline] { (Prep) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-07T00:46:57.695Z] + sudo curl -o /etc/docker/seccomp.json https://raw.githubusercontent.com/moby/moby/master/profiles/seccomp/default.json [2022-06-07T00:46:57.695Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-07T00:46:57.695Z] Dload Upload Total Spent Left Speed [2022-06-07T00:46:57.696Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 12253 100 12253 0 0 199k 0 --:--:-- --:--:-- --:--:-- 202k [Pipeline] sh [2022-06-07T00:46:58.369Z] + sudo sed -i s/"defaultAction": "SCMP_ACT_ERRNO"/"defaultAction": "SCMP_ACT_TRACE"/g /etc/docker/seccomp.json [Pipeline] sh [2022-06-07T00:46:58.722Z] + + sudosudo tee jq /etc/docker/daemon.new . += {"seccomp-profile": "/etc/docker/seccomp.json"} [2022-06-07T00:46:58.722Z] /etc/docker/daemon.json [2022-06-07T00:46:58.722Z] { [2022-06-07T00:46:58.722Z] "registry-mirrors": [ [2022-06-07T00:46:58.722Z] "https://nexus3.edgexfoundry.org:10001" [2022-06-07T00:46:58.722Z] ], [2022-06-07T00:46:58.722Z] "bip": "10.250.0.254/24", [2022-06-07T00:46:58.722Z] "hosts": [ [2022-06-07T00:46:58.722Z] "tcp://0.0.0.0:5555", [2022-06-07T00:46:58.722Z] "unix:///var/run/docker.sock" [2022-06-07T00:46:58.722Z] ], [2022-06-07T00:46:58.722Z] "mtu": 1458, [2022-06-07T00:46:58.722Z] "selinux-enabled": true, [2022-06-07T00:46:58.722Z] "seccomp-profile": "/etc/docker/seccomp.json" [2022-06-07T00:46:58.722Z] } [Pipeline] sh [2022-06-07T00:46:59.095Z] + sudo mv /etc/docker/daemon.new /etc/docker/daemon.json [Pipeline] sh [2022-06-07T00:46:59.453Z] + sudo service docker restart [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T00:47:17.885Z] provisioning config files... [2022-06-07T00:47:17.910Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/44@tmp/config8688731079196887468tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:47:18.411Z] ---> docker-login.sh [2022-06-07T00:47:18.411Z] nexus3.edgexfoundry.org:10001 [2022-06-07T00:47:19.009Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:47:19.281Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:47:19.281Z] Configure a credential helper to remove this warning. See [2022-06-07T00:47:19.281Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:47:19.281Z] [2022-06-07T00:47:19.281Z] Login Succeeded [2022-06-07T00:47:19.281Z] nexus3.edgexfoundry.org:10002 [2022-06-07T00:47:19.555Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:47:19.836Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:47:19.836Z] Configure a credential helper to remove this warning. See [2022-06-07T00:47:19.836Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:47:19.836Z] [2022-06-07T00:47:19.836Z] Login Succeeded [2022-06-07T00:47:19.836Z] nexus3.edgexfoundry.org:10003 [2022-06-07T00:47:20.122Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:47:20.396Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:47:20.396Z] Configure a credential helper to remove this warning. See [2022-06-07T00:47:20.396Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:47:20.396Z] [2022-06-07T00:47:20.396Z] Login Succeeded [2022-06-07T00:47:20.396Z] nexus3.edgexfoundry.org:10004 [2022-06-07T00:47:20.670Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:47:20.670Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:47:20.670Z] Configure a credential helper to remove this warning. See [2022-06-07T00:47:20.670Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:47:20.670Z] [2022-06-07T00:47:20.670Z] Login Succeeded [2022-06-07T00:47:20.670Z] docker.io [2022-06-07T00:47:20.942Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:47:21.538Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:47:21.538Z] Configure a credential helper to remove this warning. See [2022-06-07T00:47:21.538Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:47:21.538Z] [2022-06-07T00:47:21.538Z] Login Succeeded [2022-06-07T00:47:21.538Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T00:47:21.558Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] unstash [Pipeline] echo [2022-06-07T00:47:21.843Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T00:47:21.855Z] ========================================================= [2022-06-07T00:47:21.855Z] [edgeXBuildGoApp] Building Code With image [nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine] [2022-06-07T00:47:21.855Z] ========================================================= [Pipeline] fileExists [Pipeline] fileExists [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:47:22.226Z] + docker build -t ci-base-image-arm64 -f Dockerfile --build-arg BASE=nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine --build-arg MAKE=echo noop --target=builder . [2022-06-07T00:47:22.226Z] Sending build context to Docker daemon 128.5kB [2022-06-07T00:47:22.500Z] Step 1/12 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T00:47:22.500Z] Step 2/12 : FROM ${BASE} AS builder [2022-06-07T00:47:22.779Z] 1.17-alpine: Pulling from edgex-devops/edgex-golang-base-arm64 [2022-06-07T00:47:22.779Z] 9b3977197b4f: Pulling fs layer [2022-06-07T00:47:22.779Z] 1a89e8eeedd5: Pulling fs layer [2022-06-07T00:47:22.779Z] 94645a83ff95: Pulling fs layer [2022-06-07T00:47:22.779Z] e6fb740bc735: Pulling fs layer [2022-06-07T00:47:22.779Z] 3a77bd46dcc9: Pulling fs layer [2022-06-07T00:47:22.779Z] 355e64cbe906: Pulling fs layer [2022-06-07T00:47:22.779Z] 63ab81a10011: Pulling fs layer [2022-06-07T00:47:22.779Z] 555d1d1c4555: Pulling fs layer [2022-06-07T00:47:22.779Z] 7d9057610161: Pulling fs layer [2022-06-07T00:47:22.779Z] 355e64cbe906: Waiting [2022-06-07T00:47:22.779Z] 63ab81a10011: Waiting [2022-06-07T00:47:22.779Z] e6fb740bc735: Waiting [2022-06-07T00:47:22.779Z] 555d1d1c4555: Waiting [2022-06-07T00:47:22.779Z] 7d9057610161: Waiting [2022-06-07T00:47:22.779Z] 3a77bd46dcc9: Waiting [2022-06-07T00:47:22.779Z] 94645a83ff95: Verifying Checksum [2022-06-07T00:47:22.779Z] 94645a83ff95: Download complete [2022-06-07T00:47:22.779Z] 1a89e8eeedd5: Download complete [2022-06-07T00:47:22.779Z] 3a77bd46dcc9: Verifying Checksum [2022-06-07T00:47:22.779Z] 3a77bd46dcc9: Download complete [2022-06-07T00:47:22.779Z] 9b3977197b4f: Verifying Checksum [2022-06-07T00:47:22.779Z] 9b3977197b4f: Download complete [2022-06-07T00:47:22.779Z] 355e64cbe906: Verifying Checksum [2022-06-07T00:47:22.779Z] 355e64cbe906: Download complete [2022-06-07T00:47:22.779Z] 63ab81a10011: Verifying Checksum [2022-06-07T00:47:22.779Z] 63ab81a10011: Download complete [2022-06-07T00:47:23.767Z] 9b3977197b4f: Pull complete [2022-06-07T00:47:23.767Z] 7d9057610161: Verifying Checksum [2022-06-07T00:47:23.767Z] 7d9057610161: Download complete [2022-06-07T00:47:24.756Z] 1a89e8eeedd5: Pull complete [2022-06-07T00:47:24.756Z] 94645a83ff95: Pull complete [2022-06-07T00:47:25.027Z] 555d1d1c4555: Verifying Checksum [2022-06-07T00:47:25.027Z] 555d1d1c4555: Download complete [2022-06-07T00:47:25.624Z] e6fb740bc735: Verifying Checksum [2022-06-07T00:47:25.624Z] e6fb740bc735: Download complete [2022-06-07T00:47:38.046Z] e6fb740bc735: Pull complete [2022-06-07T00:47:38.046Z] 3a77bd46dcc9: Pull complete [2022-06-07T00:47:38.324Z] 355e64cbe906: Pull complete [2022-06-07T00:47:38.629Z] 63ab81a10011: Pull complete [2022-06-07T00:47:45.376Z] 555d1d1c4555: Pull complete [2022-06-07T00:47:48.017Z] 7d9057610161: Pull complete [2022-06-07T00:47:48.017Z] Digest: sha256:2bfe06e9b82483759db2d79553298764cc23e00699169ff1c4d7513112b2d636 [2022-06-07T00:47:48.017Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-golang-base-arm64:1.17-alpine [2022-06-07T00:47:48.017Z] ---> 819e984ddca1 [2022-06-07T00:47:48.017Z] Step 3/12 : ARG MAKE='make build' [2022-06-07T00:47:49.457Z] ---> Running in 85a8ee6f8be9 [2022-06-07T00:47:49.733Z] Removing intermediate container 85a8ee6f8be9 [2022-06-07T00:47:49.733Z] ---> 303f49eaf617 [2022-06-07T00:47:49.733Z] Step 4/12 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T00:47:49.733Z] ---> Running in a8b12126a2a9 [2022-06-07T00:47:50.020Z] Removing intermediate container a8b12126a2a9 [2022-06-07T00:47:50.020Z] ---> f8896494560b [2022-06-07T00:47:50.020Z] Step 5/12 : ARG ALPINE_PKG_EXTRA="" [2022-06-07T00:47:50.306Z] ---> Running in 792ac366daa2 [2022-06-07T00:47:50.584Z] Removing intermediate container 792ac366daa2 [2022-06-07T00:47:50.584Z] ---> 722d2ca1045f [2022-06-07T00:47:50.584Z] Step 6/12 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T00:47:50.584Z] ---> Running in 604478b27730 [2022-06-07T00:47:52.590Z] Removing intermediate container 604478b27730 [2022-06-07T00:47:52.590Z] ---> baf84f1caee8 [2022-06-07T00:47:52.590Z] Step 7/12 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T00:47:52.590Z] ---> Running in d2d5f61d11f8 [2022-06-07T00:47:53.578Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-07T00:47:54.562Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-07T00:47:55.549Z] (1/4) Installing openssh-keygen (8.8_p1-r1) [2022-06-07T00:47:55.549Z] (2/4) Installing libedit (20210910.3.1-r0) [2022-06-07T00:47:55.824Z] (3/4) Installing openssh-client-common (8.8_p1-r1) [2022-06-07T00:47:55.824Z] (4/4) Installing openssh-client-default (8.8_p1-r1) [2022-06-07T00:47:56.099Z] Executing busybox-1.34.1-r3.trigger [2022-06-07T00:47:56.099Z] OK: 224 MiB in 56 packages [2022-06-07T00:47:57.090Z] Removing intermediate container d2d5f61d11f8 [2022-06-07T00:47:57.090Z] ---> 6be30249836b [2022-06-07T00:47:57.090Z] Step 8/12 : WORKDIR /device-rest-go [2022-06-07T00:47:57.090Z] ---> Running in ea92c381527d [2022-06-07T00:47:57.692Z] Removing intermediate container ea92c381527d [2022-06-07T00:47:57.692Z] ---> 86006f0502b1 [2022-06-07T00:47:57.692Z] Step 9/12 : COPY go.mod vendor* ./ [2022-06-07T00:47:57.967Z] ---> c984f6088eaf [2022-06-07T00:47:57.967Z] Step 10/12 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T00:47:58.243Z] ---> Running in 4aadca398492 [2022-06-07T00:48:45.280Z] Removing intermediate container 4aadca398492 [2022-06-07T00:48:45.280Z] ---> 53d0bbd41a56 [2022-06-07T00:48:45.280Z] Step 11/12 : COPY . . [2022-06-07T00:48:46.265Z] ---> 495e50cced99 [2022-06-07T00:48:46.265Z] Step 12/12 : RUN $MAKE [2022-06-07T00:48:46.265Z] ---> Running in e4c862531fa5 [2022-06-07T00:48:47.278Z] noop [2022-06-07T00:48:47.876Z] Removing intermediate container e4c862531fa5 [2022-06-07T00:48:47.876Z] ---> 8d585ab36bc4 [2022-06-07T00:48:47.876Z] Successfully built 8d585ab36bc4 [2022-06-07T00:48:47.876Z] Successfully tagged ci-base-image-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:48:48.249Z] + docker inspect -f . ci-base-image-arm64 [2022-06-07T00:48:48.249Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T00:48:48.505Z] prd-ubuntu20.04-docker-arm64-4c-16g-1577 does not seem to be running inside a container [2022-06-07T00:48:48.598Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/44 -v /w/workspace/device-rest-go/44:/w/workspace/device-rest-go/44:rw,z -v /w/workspace/device-rest-go/44@tmp:/w/workspace/device-rest-go/44@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-06-07T00:48:49.932Z] $ docker top f1988fb6699783a55faffec5d698653cc38eb997f8bf6163ca03f71d870dc69e -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T00:48:50.871Z] + go version [2022-06-07T00:48:50.871Z] go version go1.17.7 linux/arm64 [Pipeline] } [2022-06-07T00:48:50.901Z] $ docker stop --time=1 f1988fb6699783a55faffec5d698653cc38eb997f8bf6163ca03f71d870dc69e [2022-06-07T00:48:52.548Z] $ docker rm -f f1988fb6699783a55faffec5d698653cc38eb997f8bf6163ca03f71d870dc69e [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Test) [Pipeline] script [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:48:53.183Z] + docker inspect -f . ci-base-image-arm64 [2022-06-07T00:48:53.183Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T00:48:53.430Z] prd-ubuntu20.04-docker-arm64-4c-16g-1577 does not seem to be running inside a container [2022-06-07T00:48:53.521Z] $ docker run -t -d -u 1001:1001 -u 0:0 -w /w/workspace/device-rest-go/44 -v /w/workspace/device-rest-go/44:/w/workspace/device-rest-go/44:rw,z -v /w/workspace/device-rest-go/44@tmp:/w/workspace/device-rest-go/44@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-06-07T00:48:54.761Z] $ docker top 96b5e6e577b3dd9ee3fece05ec383b6c71dd0c2556d45fff13df9bec350f646a -eo pid,comm [Pipeline] { [Pipeline] fileExists [Pipeline] sh [2022-06-07T00:48:55.655Z] + make test [2022-06-07T00:48:55.655Z] CGO_ENABLED=1 GO111MODULE=on go test ./... -coverprofile=coverage.out ./... [2022-06-07T00:48:57.091Z] ? github.com/edgexfoundry/device-rest-go [no test files] [2022-06-07T00:50:34.002Z] ? github.com/edgexfoundry/device-rest-go/cmd [no test files] [2022-06-07T00:50:34.002Z] ok github.com/edgexfoundry/device-rest-go/driver 0.075s coverage: 55.2% of statements [2022-06-07T00:50:34.002Z] WARNING: Linting skipped (not on x86_64 or linter not installed) [2022-06-07T00:50:34.002Z] CGO_ENABLED=1 GO111MODULE=on go vet ./... [2022-06-07T00:50:56.258Z] gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/") [2022-06-07T00:50:56.258Z] [ "`gofmt -l $(find . -type f -name '*.go'| grep -v "/vendor/")`" = "" ] [2022-06-07T00:50:56.258Z] ./bin/test-attribution-txt.sh [Pipeline] echo [2022-06-07T00:50:59.682Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] } [2022-06-07T00:50:59.704Z] $ docker stop --time=1 96b5e6e577b3dd9ee3fece05ec383b6c71dd0c2556d45fff13df9bec350f646a [2022-06-07T00:51:01.576Z] $ docker rm -f 96b5e6e577b3dd9ee3fece05ec383b6c71dd0c2556d45fff13df9bec350f646a [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T00:51:02.638Z] + sudo chown -R jenkins:jenkins . [Pipeline] stash [2022-06-07T00:51:02.669Z] Warning: overwriting stash ‘coverage-report’ [2022-06-07T00:51:03.392Z] Stashed 1 file(s) [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Build) [Pipeline] script [Pipeline] { [Pipeline] sh [2022-06-07T00:51:03.857Z] + sudo chown -R jenkins:jenkins . [Pipeline] sh [2022-06-07T00:51:04.232Z] + ls -al . [2022-06-07T00:51:04.232Z] total 168 [2022-06-07T00:51:04.232Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 00:50 . [2022-06-07T00:51:04.232Z] drwxrwxr-x 4 jenkins jenkins 4096 Jun 7 00:46 .. [2022-06-07T00:51:04.232Z] -rw-rw-r-- 1 jenkins jenkins 151 Jun 7 00:46 .dockerignore [2022-06-07T00:51:04.232Z] drwxrwxr-x 8 jenkins jenkins 4096 Jun 7 00:46 .git [2022-06-07T00:51:04.232Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 00:46 .github [2022-06-07T00:51:04.232Z] -rw-rw-r-- 1 jenkins jenkins 329 Jun 7 00:46 .gitignore [2022-06-07T00:51:04.232Z] -rw-rw-r-- 1 jenkins jenkins 41 Jun 7 00:46 .golangci.yml [2022-06-07T00:51:04.232Z] -rw-rw-r-- 1 jenkins jenkins 8596 Jun 7 00:46 Attribution.txt [2022-06-07T00:51:04.232Z] -rw-rw-r-- 1 jenkins jenkins 11736 Jun 7 00:46 CHANGELOG.md [2022-06-07T00:51:04.232Z] -rw-rw-r-- 1 jenkins jenkins 1672 Jun 7 00:46 Dockerfile [2022-06-07T00:51:04.232Z] -rw-rw-r-- 1 jenkins jenkins 677 Jun 7 00:46 GOVERNANCE.md [2022-06-07T00:51:04.232Z] -rw-rw-r-- 1 jenkins jenkins 680 Jun 7 00:46 Jenkinsfile [2022-06-07T00:51:04.232Z] -rw-rw-r-- 1 jenkins jenkins 11340 Jun 7 00:46 LICENSE [2022-06-07T00:51:04.232Z] -rw-rw-r-- 1 jenkins jenkins 1977 Jun 7 00:46 Makefile [2022-06-07T00:51:04.232Z] -rw-rw-r-- 1 jenkins jenkins 620 Jun 7 00:46 OWNERS.md [2022-06-07T00:51:04.232Z] -rw-rw-r-- 1 jenkins jenkins 8003 Jun 7 00:46 README.md [2022-06-07T00:51:04.232Z] -rw-rw-r-- 1 jenkins jenkins 11 Jun 7 00:43 VERSION [2022-06-07T00:51:04.232Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 00:46 bin [2022-06-07T00:51:04.232Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 00:46 cmd [2022-06-07T00:51:04.232Z] -rw-r--r-- 1 jenkins jenkins 9355 Jun 7 00:50 coverage.out [2022-06-07T00:51:04.232Z] drwxrwxr-x 2 jenkins jenkins 4096 Jun 7 00:46 driver [2022-06-07T00:51:04.232Z] -rw-rw-r-- 1 jenkins jenkins 3259 Jun 7 00:46 go.mod [2022-06-07T00:51:04.232Z] -rw-rw-r-- 1 jenkins jenkins 35308 Jun 7 00:46 go.sum [2022-06-07T00:51:04.232Z] drwxrwxr-x 3 jenkins jenkins 4096 Jun 7 00:46 snap [2022-06-07T00:51:04.232Z] -rw-rw-r-- 1 jenkins jenkins 713 Jun 7 00:46 version.go [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:51:04.735Z] + 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=78d408cb2e9c2823d5dddcb6179e75cdf16507ed --label arch=arm64 --label version=2.2.1-dev.3 . [2022-06-07T00:51:04.735Z] Sending build context to Docker daemon 138.8kB [2022-06-07T00:51:05.043Z] Step 1/25 : ARG BASE=golang:1.17-alpine3.15 [2022-06-07T00:51:05.043Z] Step 2/25 : FROM ${BASE} AS builder [2022-06-07T00:51:05.043Z] ---> 8d585ab36bc4 [2022-06-07T00:51:05.043Z] Step 3/25 : ARG MAKE='make build' [2022-06-07T00:51:05.324Z] ---> Running in 32878e936cc7 [2022-06-07T00:51:05.607Z] Removing intermediate container 32878e936cc7 [2022-06-07T00:51:05.607Z] ---> 6e31b3db14fa [2022-06-07T00:51:05.607Z] Step 4/25 : ARG ALPINE_PKG_BASE="make git openssh-client gcc libc-dev zeromq-dev libsodium-dev" [2022-06-07T00:51:05.882Z] ---> Running in 2a167345cac2 [2022-06-07T00:51:06.158Z] Removing intermediate container 2a167345cac2 [2022-06-07T00:51:06.158Z] ---> f1286738b9dd [2022-06-07T00:51:06.158Z] Step 5/25 : ARG ALPINE_PKG_EXTRA="" [2022-06-07T00:51:06.158Z] ---> Running in 00eb9494b147 [2022-06-07T00:51:06.765Z] Removing intermediate container 00eb9494b147 [2022-06-07T00:51:06.765Z] ---> 424df3656d3d [2022-06-07T00:51:06.765Z] Step 6/25 : RUN sed -e 's/dl-cdn[.]alpinelinux.org/nl.alpinelinux.org/g' -i~ /etc/apk/repositories [2022-06-07T00:51:06.765Z] ---> Running in 67eb8a8cfea5 [2022-06-07T00:51:08.757Z] Removing intermediate container 67eb8a8cfea5 [2022-06-07T00:51:08.757Z] ---> 28bec82c563c [2022-06-07T00:51:08.757Z] Step 7/25 : RUN apk add --update --no-cache ${ALPINE_PKG_BASE} ${ALPINE_PKG_EXTRA} [2022-06-07T00:51:08.757Z] ---> Running in e6b03e4f0b60 [2022-06-07T00:51:09.742Z] fetch https://nl.alpinelinux.org/alpine/v3.15/main/aarch64/APKINDEX.tar.gz [2022-06-07T00:51:10.346Z] fetch https://nl.alpinelinux.org/alpine/v3.15/community/aarch64/APKINDEX.tar.gz [2022-06-07T00:51:11.323Z] OK: 224 MiB in 56 packages [2022-06-07T00:51:12.301Z] Removing intermediate container e6b03e4f0b60 [2022-06-07T00:51:12.301Z] ---> f2c42b61d2d8 [2022-06-07T00:51:12.301Z] Step 8/25 : WORKDIR /device-rest-go [2022-06-07T00:51:12.301Z] ---> Running in 863105f69603 [2022-06-07T00:51:12.572Z] Removing intermediate container 863105f69603 [2022-06-07T00:51:12.573Z] ---> 9c9c24e3434e [2022-06-07T00:51:12.573Z] Step 9/25 : COPY go.mod vendor* ./ [2022-06-07T00:51:13.167Z] ---> 5482425fada0 [2022-06-07T00:51:13.167Z] Step 10/25 : RUN [ ! -d "vendor" ] && go mod download all || echo "skipping..." [2022-06-07T00:51:13.167Z] ---> Running in e283dd91c221 [2022-06-07T00:51:15.136Z] Removing intermediate container e283dd91c221 [2022-06-07T00:51:15.136Z] ---> 0fbdedb4ff82 [2022-06-07T00:51:15.136Z] Step 11/25 : COPY . . [2022-06-07T00:51:15.741Z] ---> 747f45cd4243 [2022-06-07T00:51:15.741Z] Step 12/25 : RUN $MAKE [2022-06-07T00:51:15.741Z] ---> Running in fc2b10d52b27 [2022-06-07T00:51:16.722Z] CGO_ENABLED=1 GO111MODULE=on go build -ldflags "-linkmode=external -X github.com/edgexfoundry/device-rest-go.Version=2.2.1-dev.3" -trimpath -mod=readonly -buildmode=pie -o cmd/device-rest ./cmd [2022-06-07T00:53:38.641Z] Removing intermediate container fc2b10d52b27 [2022-06-07T00:53:38.641Z] ---> 725a84e328db [2022-06-07T00:53:38.641Z] Step 13/25 : FROM alpine:3.14 [2022-06-07T00:53:38.641Z] 3.14: Pulling from library/alpine [2022-06-07T00:53:38.641Z] 455c02918c45: Pulling fs layer [2022-06-07T00:53:38.641Z] 455c02918c45: Verifying Checksum [2022-06-07T00:53:38.641Z] 455c02918c45: Download complete [2022-06-07T00:53:38.641Z] 455c02918c45: Pull complete [2022-06-07T00:53:38.641Z] Digest: sha256:06b5d462c92fc39303e6363c65e074559f8d6b1363250027ed5053557e3398c5 [2022-06-07T00:53:38.641Z] Status: Downloaded newer image for alpine:3.14 [2022-06-07T00:53:38.641Z] ---> ac73e934f311 [2022-06-07T00:53:38.641Z] Step 14/25 : LABEL license='SPDX-License-Identifier: Apache-2.0' copyright='Copyright (c) 2019: Intel' [2022-06-07T00:53:38.641Z] ---> Running in 2900303a1e06 [2022-06-07T00:53:38.641Z] Removing intermediate container 2900303a1e06 [2022-06-07T00:53:38.641Z] ---> 2ebbe9afd122 [2022-06-07T00:53:38.641Z] Step 15/25 : LABEL Name=device-rest-go Version=${VERSION} [2022-06-07T00:53:38.641Z] ---> Running in 4959f7e6dfca [2022-06-07T00:53:38.641Z] Removing intermediate container 4959f7e6dfca [2022-06-07T00:53:38.641Z] ---> 2e3302ff7ebd [2022-06-07T00:53:38.641Z] Step 16/25 : RUN apk add --update --no-cache zeromq dumb-init [2022-06-07T00:53:38.641Z] ---> Running in 76d2846b7273 [2022-06-07T00:53:38.641Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/main/aarch64/APKINDEX.tar.gz [2022-06-07T00:53:38.641Z] fetch https://dl-cdn.alpinelinux.org/alpine/v3.14/community/aarch64/APKINDEX.tar.gz [2022-06-07T00:53:38.641Z] (1/6) Installing dumb-init (1.2.5-r1) [2022-06-07T00:53:38.641Z] (2/6) Installing libgcc (10.3.1_git20210424-r2) [2022-06-07T00:53:38.641Z] (3/6) Installing libsodium (1.0.18-r0) [2022-06-07T00:53:38.641Z] (4/6) Installing libstdc++ (10.3.1_git20210424-r2) [2022-06-07T00:53:38.641Z] (5/6) Installing libzmq (4.3.4-r0) [2022-06-07T00:53:38.641Z] (6/6) Installing zeromq (4.3.4-r0) [2022-06-07T00:53:38.641Z] Executing busybox-1.33.1-r7.trigger [2022-06-07T00:53:38.641Z] OK: 8 MiB in 20 packages [2022-06-07T00:53:38.641Z] Removing intermediate container 76d2846b7273 [2022-06-07T00:53:38.641Z] ---> cee603c8d54a [2022-06-07T00:53:38.641Z] Step 17/25 : COPY --from=builder /device-rest-go/cmd / [2022-06-07T00:53:38.641Z] ---> 5e69e1510282 [2022-06-07T00:53:38.641Z] Step 18/25 : COPY --from=builder /device-rest-go/LICENSE / [2022-06-07T00:53:38.641Z] ---> 92195e461063 [2022-06-07T00:53:38.641Z] Step 19/25 : COPY --from=builder /device-rest-go/Attribution.txt / [2022-06-07T00:53:38.641Z] ---> f043978d8198 [2022-06-07T00:53:38.641Z] Step 20/25 : EXPOSE 59986 [2022-06-07T00:53:38.641Z] ---> Running in 3c19c3a816c9 [2022-06-07T00:53:38.641Z] Removing intermediate container 3c19c3a816c9 [2022-06-07T00:53:38.641Z] ---> 89a845cd163f [2022-06-07T00:53:38.641Z] Step 21/25 : ENTRYPOINT ["/device-rest"] [2022-06-07T00:53:38.641Z] ---> Running in c6c670dae7d8 [2022-06-07T00:53:38.641Z] Removing intermediate container c6c670dae7d8 [2022-06-07T00:53:38.641Z] ---> 43d48ff609aa [2022-06-07T00:53:38.641Z] Step 22/25 : CMD ["--cp=consul://edgex-core-consul:8500", "--confdir=/res", "--registry"] [2022-06-07T00:53:38.641Z] ---> Running in 87dc006a7686 [2022-06-07T00:53:38.922Z] Removing intermediate container 87dc006a7686 [2022-06-07T00:53:38.922Z] ---> 63b07aef9123 [2022-06-07T00:53:38.922Z] Step 23/25 : LABEL arch=arm64 [2022-06-07T00:53:39.197Z] ---> Running in 508cba65b1f6 [2022-06-07T00:53:39.473Z] Removing intermediate container 508cba65b1f6 [2022-06-07T00:53:39.473Z] ---> d8e98c755531 [2022-06-07T00:53:39.473Z] Step 24/25 : LABEL git_sha=78d408cb2e9c2823d5dddcb6179e75cdf16507ed [2022-06-07T00:53:39.473Z] ---> Running in 1a1151544361 [2022-06-07T00:53:39.752Z] Removing intermediate container 1a1151544361 [2022-06-07T00:53:39.752Z] ---> 55095de3dd42 [2022-06-07T00:53:39.752Z] Step 25/25 : LABEL version=2.2.1-dev.3 [2022-06-07T00:53:40.029Z] ---> Running in 0089ecf13fb4 [2022-06-07T00:53:40.300Z] Removing intermediate container 0089ecf13fb4 [2022-06-07T00:53:40.300Z] ---> d0ae7bef84dd [2022-06-07T00:53:40.300Z] [Warning] One or more build-args [ARCH] were not consumed [2022-06-07T00:53:40.300Z] Successfully built d0ae7bef84dd [2022-06-07T00:53:40.300Z] 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-06-07T00:53:40.419Z] provisioning config files... [2022-06-07T00:53:40.439Z] copy managed file [device-rest-go-settings] to file:/w/workspace/device-rest-go/44@tmp/config7225649078407963857tmp [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:53:40.802Z] ---> docker-login.sh [2022-06-07T00:53:40.802Z] nexus3.edgexfoundry.org:10001 [2022-06-07T00:53:41.075Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:53:41.075Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:53:41.075Z] Configure a credential helper to remove this warning. See [2022-06-07T00:53:41.075Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:53:41.075Z] [2022-06-07T00:53:41.075Z] Login Succeeded [2022-06-07T00:53:41.075Z] nexus3.edgexfoundry.org:10002 [2022-06-07T00:53:41.671Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:53:41.671Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:53:41.671Z] Configure a credential helper to remove this warning. See [2022-06-07T00:53:41.671Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:53:41.671Z] [2022-06-07T00:53:41.671Z] Login Succeeded [2022-06-07T00:53:41.671Z] nexus3.edgexfoundry.org:10003 [2022-06-07T00:53:41.946Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:53:42.218Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:53:42.218Z] Configure a credential helper to remove this warning. See [2022-06-07T00:53:42.218Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:53:42.218Z] [2022-06-07T00:53:42.218Z] Login Succeeded [2022-06-07T00:53:42.218Z] nexus3.edgexfoundry.org:10004 [2022-06-07T00:53:42.490Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:53:42.762Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:53:42.762Z] Configure a credential helper to remove this warning. See [2022-06-07T00:53:42.762Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:53:42.762Z] [2022-06-07T00:53:42.762Z] Login Succeeded [2022-06-07T00:53:42.762Z] docker.io [2022-06-07T00:53:43.035Z] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2022-06-07T00:53:43.307Z] WARNING! Your password will be stored unencrypted in /home/jenkins/.docker/config.json. [2022-06-07T00:53:43.307Z] Configure a credential helper to remove this warning. See [2022-06-07T00:53:43.307Z] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2022-06-07T00:53:43.307Z] [2022-06-07T00:53:43.307Z] Login Succeeded [2022-06-07T00:53:43.307Z] ---> docker-login.sh ends [Pipeline] } [2022-06-07T00:53:43.324Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-07T00:53:43.354Z] [edgeX.isLTS] Checking if [main] matches against LTS streams [[^jakarta$, ^lts-test$]] [Pipeline] echo [2022-06-07T00:53:43.380Z] [edgeXDocker.push] Tagging docker image device-rest-arm64 with the following tags: [2022-06-07T00:53:43.380Z] 78d408cb2e9c2823d5dddcb6179e75cdf16507ed [2022-06-07T00:53:43.380Z] latest [2022-06-07T00:53:43.380Z] 2.2.1-dev.3 [2022-06-07T00:53:43.380Z] 78d408cb2e9c2823d5dddcb6179e75cdf16507ed-2.2.1-dev.3 [2022-06-07T00:53:43.380Z] main [2022-06-07T00:53:43.380Z] ===================================================== [Pipeline] withEnv [Pipeline] { [Pipeline] withDockerRegistry [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:53:43.738Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:78d408cb2e9c2823d5dddcb6179e75cdf16507ed [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:53:44.089Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:78d408cb2e9c2823d5dddcb6179e75cdf16507ed [2022-06-07T00:53:44.089Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-06-07T00:53:44.089Z] 5163f3da9b37: Preparing [2022-06-07T00:53:44.089Z] c23b0f09cdad: Preparing [2022-06-07T00:53:44.089Z] 02afd8ec6eff: Preparing [2022-06-07T00:53:44.089Z] e1d7974e73dc: Preparing [2022-06-07T00:53:44.089Z] f73e7dbfee58: Preparing [2022-06-07T00:53:44.089Z] f73e7dbfee58: Layer already exists [2022-06-07T00:53:44.361Z] 5163f3da9b37: Pushed [2022-06-07T00:53:44.361Z] c23b0f09cdad: Pushed [2022-06-07T00:53:44.953Z] e1d7974e73dc: Pushed [2022-06-07T00:53:50.328Z] 02afd8ec6eff: Pushed [2022-06-07T00:53:50.328Z] 78d408cb2e9c2823d5dddcb6179e75cdf16507ed: digest: sha256:80be4f30deb13f3e0b097c6249161c52f11697348662921a48dea41673e6cd4b size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:53:50.693Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:53:51.062Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-06-07T00:53:51.062Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-06-07T00:53:51.062Z] 5163f3da9b37: Preparing [2022-06-07T00:53:51.062Z] c23b0f09cdad: Preparing [2022-06-07T00:53:51.062Z] 02afd8ec6eff: Preparing [2022-06-07T00:53:51.062Z] e1d7974e73dc: Preparing [2022-06-07T00:53:51.062Z] f73e7dbfee58: Preparing [2022-06-07T00:53:51.062Z] f73e7dbfee58: Layer already exists [2022-06-07T00:53:51.062Z] 02afd8ec6eff: Layer already exists [2022-06-07T00:53:51.062Z] 5163f3da9b37: Layer already exists [2022-06-07T00:53:51.062Z] c23b0f09cdad: Layer already exists [2022-06-07T00:53:51.062Z] e1d7974e73dc: Layer already exists [2022-06-07T00:53:51.337Z] latest: digest: sha256:80be4f30deb13f3e0b097c6249161c52f11697348662921a48dea41673e6cd4b size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:53:51.707Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:53:52.066Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.3 [2022-06-07T00:53:52.066Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-06-07T00:53:52.066Z] 5163f3da9b37: Preparing [2022-06-07T00:53:52.066Z] c23b0f09cdad: Preparing [2022-06-07T00:53:52.066Z] 02afd8ec6eff: Preparing [2022-06-07T00:53:52.066Z] e1d7974e73dc: Preparing [2022-06-07T00:53:52.066Z] f73e7dbfee58: Preparing [2022-06-07T00:53:52.066Z] 02afd8ec6eff: Layer already exists [2022-06-07T00:53:52.066Z] c23b0f09cdad: Layer already exists [2022-06-07T00:53:52.066Z] 5163f3da9b37: Layer already exists [2022-06-07T00:53:52.066Z] e1d7974e73dc: Layer already exists [2022-06-07T00:53:52.066Z] f73e7dbfee58: Layer already exists [2022-06-07T00:53:52.339Z] 2.2.1-dev.3: digest: sha256:80be4f30deb13f3e0b097c6249161c52f11697348662921a48dea41673e6cd4b size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:53:52.703Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:78d408cb2e9c2823d5dddcb6179e75cdf16507ed-2.2.1-dev.3 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:53:53.061Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:78d408cb2e9c2823d5dddcb6179e75cdf16507ed-2.2.1-dev.3 [2022-06-07T00:53:53.061Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-06-07T00:53:53.061Z] 5163f3da9b37: Preparing [2022-06-07T00:53:53.061Z] c23b0f09cdad: Preparing [2022-06-07T00:53:53.061Z] 02afd8ec6eff: Preparing [2022-06-07T00:53:53.061Z] e1d7974e73dc: Preparing [2022-06-07T00:53:53.061Z] f73e7dbfee58: Preparing [2022-06-07T00:53:53.061Z] e1d7974e73dc: Layer already exists [2022-06-07T00:53:53.061Z] c23b0f09cdad: Layer already exists [2022-06-07T00:53:53.061Z] 02afd8ec6eff: Layer already exists [2022-06-07T00:53:53.061Z] f73e7dbfee58: Layer already exists [2022-06-07T00:53:53.061Z] 5163f3da9b37: Layer already exists [2022-06-07T00:53:53.336Z] 78d408cb2e9c2823d5dddcb6179e75cdf16507ed-2.2.1-dev.3: digest: sha256:80be4f30deb13f3e0b097c6249161c52f11697348662921a48dea41673e6cd4b size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:53:53.704Z] + docker tag device-rest-arm64 nexus3.edgexfoundry.org:10004/device-rest-arm64:main [Pipeline] } [Pipeline] // withEnv [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:53:54.067Z] + docker push nexus3.edgexfoundry.org:10004/device-rest-arm64:main [2022-06-07T00:53:54.067Z] The push refers to repository [nexus3.edgexfoundry.org:10004/device-rest-arm64] [2022-06-07T00:53:54.067Z] 5163f3da9b37: Preparing [2022-06-07T00:53:54.067Z] c23b0f09cdad: Preparing [2022-06-07T00:53:54.067Z] 02afd8ec6eff: Preparing [2022-06-07T00:53:54.067Z] e1d7974e73dc: Preparing [2022-06-07T00:53:54.067Z] f73e7dbfee58: Preparing [2022-06-07T00:53:54.067Z] 5163f3da9b37: Layer already exists [2022-06-07T00:53:54.067Z] c23b0f09cdad: Layer already exists [2022-06-07T00:53:54.067Z] e1d7974e73dc: Layer already exists [2022-06-07T00:53:54.067Z] 02afd8ec6eff: Layer already exists [2022-06-07T00:53:54.067Z] f73e7dbfee58: Layer already exists [2022-06-07T00:53:54.339Z] main: digest: sha256:80be4f30deb13f3e0b097c6249161c52f11697348662921a48dea41673e6cd4b size: 1366 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withDockerRegistry [Pipeline] } [Pipeline] // withEnv [Pipeline] echo [2022-06-07T00:53:54.400Z] ===================================================== [Pipeline] echo [2022-06-07T00:53:54.408Z] taggedImages: [2022-06-07T00:53:54.408Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:78d408cb2e9c2823d5dddcb6179e75cdf16507ed [2022-06-07T00:53:54.408Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:latest [2022-06-07T00:53:54.408Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:2.2.1-dev.3 [2022-06-07T00:53:54.408Z] - nexus3.edgexfoundry.org:10004/device-rest-arm64:78d408cb2e9c2823d5dddcb6179e75cdf16507ed-2.2.1-dev.3 [2022-06-07T00:53:54.408Z] - 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-06-07T00:53:54.769Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T00:53:54.769Z] [2022-06-07T00:53:54.769Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:53:55.128Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T00:53:55.403Z] arm64: Pulling from edgex-lftools-log-publisher [2022-06-07T00:53:55.403Z] 8998bd30e6a1: Pulling fs layer [2022-06-07T00:53:55.403Z] 04944245beec: Pulling fs layer [2022-06-07T00:53:55.403Z] 699f458cf7ca: Pulling fs layer [2022-06-07T00:53:55.403Z] 765212b225bb: Pulling fs layer [2022-06-07T00:53:55.403Z] f23df028b6ca: Pulling fs layer [2022-06-07T00:53:55.403Z] d65c8cfc05b1: Pulling fs layer [2022-06-07T00:53:55.403Z] 2437ff75d9bd: Pulling fs layer [2022-06-07T00:53:55.403Z] f23df028b6ca: Waiting [2022-06-07T00:53:55.403Z] 765212b225bb: Waiting [2022-06-07T00:53:55.403Z] d65c8cfc05b1: Waiting [2022-06-07T00:53:55.403Z] 2437ff75d9bd: Waiting [2022-06-07T00:53:55.403Z] 04944245beec: Verifying Checksum [2022-06-07T00:53:55.403Z] 04944245beec: Download complete [2022-06-07T00:53:55.403Z] 765212b225bb: Download complete [2022-06-07T00:53:55.677Z] f23df028b6ca: Verifying Checksum [2022-06-07T00:53:55.677Z] f23df028b6ca: Download complete [2022-06-07T00:53:55.677Z] d65c8cfc05b1: Verifying Checksum [2022-06-07T00:53:55.677Z] d65c8cfc05b1: Download complete [2022-06-07T00:53:55.677Z] 699f458cf7ca: Verifying Checksum [2022-06-07T00:53:55.677Z] 699f458cf7ca: Download complete [2022-06-07T00:53:55.996Z] 8998bd30e6a1: Verifying Checksum [2022-06-07T00:53:55.996Z] 8998bd30e6a1: Download complete [2022-06-07T00:53:59.448Z] 2437ff75d9bd: Verifying Checksum [2022-06-07T00:53:59.448Z] 2437ff75d9bd: Download complete [2022-06-07T00:54:00.887Z] 8998bd30e6a1: Pull complete [2022-06-07T00:54:01.482Z] 04944245beec: Pull complete [2022-06-07T00:54:02.910Z] 699f458cf7ca: Pull complete [2022-06-07T00:54:03.184Z] 765212b225bb: Pull complete [2022-06-07T00:54:04.167Z] f23df028b6ca: Pull complete [2022-06-07T00:54:04.167Z] d65c8cfc05b1: Pull complete [2022-06-07T00:54:19.253Z] 2437ff75d9bd: Pull complete [2022-06-07T00:54:19.253Z] Digest: sha256:08a7fcc486bb39f1d20d4dd6a72316e28301370873105f4106f8313defd495da [2022-06-07T00:54:19.253Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [2022-06-07T00:54:19.253Z] nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:arm64 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T00:54:19.505Z] prd-ubuntu20.04-docker-arm64-4c-16g-1577 does not seem to be running inside a container [2022-06-07T00:54:19.596Z] $ 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/44 -v /w/workspace/device-rest-go/44:/w/workspace/device-rest-go/44:rw,z -v /w/workspace/device-rest-go/44@tmp:/w/workspace/device-rest-go/44@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-06-07T00:54:22.225Z] $ docker top 382899a76b9d303ec272574e5087f340fc59d868cd730087dc8a8ecc25c92311 -eo pid,comm [Pipeline] { [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:54:23.124Z] ---> job-cost.sh [2022-06-07T00:54:23.124Z] lf-activate-venv: SKIPPING [2022-06-07T00:54:23.124Z] INFO: No Stack... [2022-06-07T00:54:23.713Z] INFO: Retrieving Pricing Info for: v3-standard-4 [2022-06-07T00:54:24.304Z] INFO: Archiving Costs [Pipeline] sh [2022-06-07T00:54:25.225Z] + cat /w/workspace/device-rest-go/44/archives/cost.csv [2022-06-07T00:54:25.225Z] + cut -d, -f6 [Pipeline] lock [2022-06-07T00:54:25.288Z] Trying to acquire lock on [jenkins-edgexfoundry-device-rest-go-main-44-stack-cost] [2022-06-07T00:54:25.294Z] Resource [jenkins-edgexfoundry-device-rest-go-main-44-stack-cost] did not exist. Created. [2022-06-07T00:54:25.294Z] Lock acquired on [jenkins-edgexfoundry-device-rest-go-main-44-stack-cost] [Pipeline] { [Pipeline] unstash [Pipeline] sh [2022-06-07T00:54:25.963Z] /w/workspace/device-rest-go/44@tmp/durable-98913b75/script.sh: 1: Syntax error: Unterminated quoted string [Pipeline] sh [2022-06-07T00:54:26.639Z] + echo total: 0.10999999940395355 [Pipeline] stash [2022-06-07T00:54:26.656Z] Warning: overwriting stash ‘stack-cost’ [2022-06-07T00:54:26.702Z] Stashed 1 file(s) [Pipeline] } [2022-06-07T00:54:26.717Z] Lock released on resource [jenkins-edgexfoundry-device-rest-go-main-44-stack-cost] [Pipeline] // lock [Pipeline] } [2022-06-07T00:54:26.743Z] $ docker stop --time=1 382899a76b9d303ec272574e5087f340fc59d868cd730087dc8a8ecc25c92311 [2022-06-07T00:54:28.238Z] $ docker rm -f 382899a76b9d303ec272574e5087f340fc59d868cd730087dc8a8ecc25c92311 [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-06-07T00:54:28.664Z] provisioning config files... [2022-06-07T00:54:28.673Z] copy managed file [device-rest-go-codecov-token] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config8212723004475405042tmp [Pipeline] { [Pipeline] sh [2022-06-07T00:54:28.969Z] + set +x [2022-06-07T00:54:28.969Z] + curl -s https://codecov.io/bash [2022-06-07T00:54:28.969Z] + bash -s -- [2022-06-07T00:54:28.969Z] [2022-06-07T00:54:28.969Z] _____ _ [2022-06-07T00:54:28.969Z] / ____| | | [2022-06-07T00:54:28.969Z] | | ___ __| | ___ ___ _____ __ [2022-06-07T00:54:28.969Z] | | / _ \ / _` |/ _ \/ __/ _ \ \ / / [2022-06-07T00:54:28.969Z] | |___| (_) | (_| | __/ (_| (_) \ V / [2022-06-07T00:54:28.969Z] \_____\___/ \__,_|\___|\___\___/ \_/ [2022-06-07T00:54:28.969Z] Bash-1.0.6 [2022-06-07T00:54:28.969Z] [2022-06-07T00:54:28.969Z] [2022-06-07T00:54:28.969Z] ==> git version 2.25.1 found [2022-06-07T00:54:28.969Z] ==> 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-06-07T00:54:28.969Z] Release-Date: 2020-01-08 [2022-06-07T00:54:28.969Z] 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-06-07T00:54:28.969Z] Features: AsynchDNS brotli GSS-API HTTP2 HTTPS-proxy IDN IPv6 Kerberos Largefile libz NTLM NTLM_WB PSL SPNEGO SSL TLS-SRP UnixSockets [2022-06-07T00:54:28.969Z] ==> Jenkins CI detected. [2022-06-07T00:54:28.969Z] current dir:  /w/workspace/edgexfoundry_device-rest-go_main [2022-06-07T00:54:28.969Z] project root: . [2022-06-07T00:54:28.969Z] --> token set from env [2022-06-07T00:54:28.969Z] Yaml not found, that's ok! Learn more at http://docs.codecov.io/docs/codecov-yaml [2022-06-07T00:54:28.969Z] ==> Running gcov in . (disable via -X gcov) [2022-06-07T00:54:28.969Z] ==> Python coveragepy not found [2022-06-07T00:54:28.969Z] ==> Searching for coverage reports in: [2022-06-07T00:54:28.969Z] + . [2022-06-07T00:54:28.969Z] -> Found 1 reports [2022-06-07T00:54:28.970Z] ==> Detecting git/mercurial file structure [2022-06-07T00:54:28.970Z] ==> Reading reports [2022-06-07T00:54:28.970Z] + ./coverage.out bytes=9355 [2022-06-07T00:54:28.970Z] ==> Appending adjustments [2022-06-07T00:54:28.970Z] https://docs.codecov.io/docs/fixing-reports [2022-06-07T00:54:29.229Z] + Found adjustments [2022-06-07T00:54:29.229Z] ==> Gzipping contents [2022-06-07T00:54:29.229Z] 4.0K /tmp/codecov.rJqQ3v.gz [2022-06-07T00:54:29.229Z] ==> Uploading reports [2022-06-07T00:54:29.229Z] url: https://codecov.io [2022-06-07T00:54:29.229Z] query: branch=main&commit=78d408cb2e9c2823d5dddcb6179e75cdf16507ed&build=44&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F44%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-07T00:54:29.229Z] -> Pinging Codecov [2022-06-07T00:54:29.229Z] 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=78d408cb2e9c2823d5dddcb6179e75cdf16507ed&build=44&build_url=https%3A%2F%2Fjenkins.edgexfoundry.org%2Fjob%2Fedgexfoundry%2Fjob%2Fdevice-rest-go%2Fjob%2Fmain%2F44%2F&name=&tag=&slug=edgexfoundry%2Fdevice-rest-go&service=jenkins&flags=&pr=&job=&cmd_args= [2022-06-07T00:54:29.496Z] -> Uploading to [2022-06-07T00:54:29.496Z] https://storage.googleapis.com/codecov/v4/raw/2022-06-07/4E5D53B4F1F92C436F7061BF334D961C/78d408cb2e9c2823d5dddcb6179e75cdf16507ed/f363b54f-9f7f-4b78-a0c4-d8e87454d530.txt?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=GOOG1EKKHVKCKHW7KBCGM7IHR55T63V2PAVJWLVFNITJHDU5G6R5IRN3LMWJA%2F20220607%2FUS%2Fs3%2Faws4_request&X-Amz-Date=20220607T005429Z&X-Amz-Expires=10&X-Amz-SignedHeaders=host&X-Amz-Signature=986503a9881e445194562d0b3b5f5db45fa0b404f8d0959159431d8b891ddbb6 [2022-06-07T00:54:29.496Z] % Total % Received % Xferd Average Speed Time Time Time Current [2022-06-07T00:54:29.496Z] Dload Upload Total Spent Left Speed [2022-06-07T00:54:29.496Z] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 1806 0 0 100 1806 0 8171 --:--:-- --:--:-- --:--:-- 8135 100 1806 0 0 100 1806 0 8098 --:--:-- --:--:-- --:--:-- 8062 [2022-06-07T00:54:29.496Z] -> Reports have been successfully queued for processing at https://codecov.io/github/edgexfoundry/device-rest-go/commit/78d408cb2e9c2823d5dddcb6179e75cdf16507ed [Pipeline] } [2022-06-07T00:54:29.503Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Snyk Dependency Scan) [Pipeline] echo [2022-06-07T00:54:29.633Z] [edgeXSnyk] dockerImage=null, dockerFile=null [Pipeline] withCredentials [2022-06-07T00:54:29.647Z] Masking supported pattern matches of $SNYK_TOKEN [Pipeline] { [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:54:29.940Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-07T00:54:29.940Z] [2022-06-07T00:54:29.940Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:54:30.245Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-07T00:54:30.245Z] 1.410.4: Pulling from edgex-devops/edgex-snyk-go [2022-06-07T00:54:30.245Z] df9b9388f04a: Pulling fs layer [2022-06-07T00:54:30.245Z] 52dc419b0ee2: Pulling fs layer [2022-06-07T00:54:30.245Z] 25bc292e5bac: Pulling fs layer [2022-06-07T00:54:30.245Z] 114826534d7a: Pulling fs layer [2022-06-07T00:54:30.245Z] 4657fd5d0bcf: Pulling fs layer [2022-06-07T00:54:30.245Z] 6ad1cebc031e: Pulling fs layer [2022-06-07T00:54:30.245Z] 8a3aa393b2d8: Pulling fs layer [2022-06-07T00:54:30.245Z] 4657fd5d0bcf: Waiting [2022-06-07T00:54:30.245Z] 6ad1cebc031e: Waiting [2022-06-07T00:54:30.245Z] 8a3aa393b2d8: Waiting [2022-06-07T00:54:30.245Z] 114826534d7a: Waiting [2022-06-07T00:54:30.245Z] 25bc292e5bac: Verifying Checksum [2022-06-07T00:54:30.245Z] 25bc292e5bac: Download complete [2022-06-07T00:54:30.245Z] 52dc419b0ee2: Verifying Checksum [2022-06-07T00:54:30.245Z] 52dc419b0ee2: Download complete [2022-06-07T00:54:30.245Z] 4657fd5d0bcf: Verifying Checksum [2022-06-07T00:54:30.245Z] 4657fd5d0bcf: Download complete [2022-06-07T00:54:30.245Z] df9b9388f04a: Verifying Checksum [2022-06-07T00:54:30.245Z] df9b9388f04a: Download complete [2022-06-07T00:54:30.510Z] df9b9388f04a: Pull complete [2022-06-07T00:54:30.510Z] 6ad1cebc031e: Verifying Checksum [2022-06-07T00:54:30.510Z] 6ad1cebc031e: Download complete [2022-06-07T00:54:30.510Z] 52dc419b0ee2: Pull complete [2022-06-07T00:54:30.777Z] 25bc292e5bac: Pull complete [2022-06-07T00:54:31.040Z] 114826534d7a: Verifying Checksum [2022-06-07T00:54:31.040Z] 114826534d7a: Download complete [2022-06-07T00:54:31.300Z] 8a3aa393b2d8: Verifying Checksum [2022-06-07T00:54:31.300Z] 8a3aa393b2d8: Download complete [2022-06-07T00:54:34.587Z] 114826534d7a: Pull complete [2022-06-07T00:54:34.587Z] 4657fd5d0bcf: Pull complete [2022-06-07T00:54:34.845Z] 6ad1cebc031e: Pull complete [2022-06-07T00:54:38.137Z] 8a3aa393b2d8: Pull complete [2022-06-07T00:54:38.137Z] Digest: sha256:4b4dcd1004c4b70ae7ff23424eaa7ae18978b3759dc64bf5c8870aa20fc5e024 [2022-06-07T00:54:38.137Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [2022-06-07T00:54:38.137Z] nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T00:54:38.229Z] prd-ubuntu20.04-docker-8c-8g-1574 does not seem to be running inside a container [2022-06-07T00:54:38.266Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/edgex-snyk-go:1.410.4 cat [2022-06-07T00:54:40.669Z] $ docker top 9ecd5fc978d15793f1682931a9930d3d3e7de50483203a22023ddb8d13cd33a8 -eo pid,comm [Pipeline] { [Pipeline] echo [2022-06-07T00:54:40.738Z] [edgeXSnyk] command to run: set -o pipefail ; snyk monitor --org=edgex-jenkins --project-name='edgexfoundry/device-rest-go:main' [Pipeline] sh [2022-06-07T00:54:41.016Z] + set -o pipefail [2022-06-07T00:54:41.016Z] + snyk monitor '--org=edgex-jenkins' '--project-name=edgexfoundry/device-rest-go:main' [2022-06-07T00:54:45.209Z] [2022-06-07T00:54:45.209Z] Monitoring /w/workspace/edgexfoundry_device-rest-go_main (github.com/edgexfoundry/device-rest-go)... [2022-06-07T00:54:45.209Z] [2022-06-07T00:54:45.209Z] Explore this snapshot at https://app.snyk.io/org/edgex-jenkins/project/6693b2f8-cb2c-4fe8-a536-d1b67f9ec7d5/history/59767979-0e0f-4a91-ad9d-251f75ec29d3 [2022-06-07T00:54:45.209Z] [2022-06-07T00:54:45.209Z] Tip: Detected multiple supported manifests (1), use --all-projects to scan all of them at once. [2022-06-07T00:54:45.209Z] [2022-06-07T00:54:45.209Z] Notifications about newly disclosed issues related to these dependencies will be emailed to you. [2022-06-07T00:54:45.209Z] [2022-06-07T00:54:45.469Z] [Pipeline] } [2022-06-07T00:54:45.485Z] $ docker stop --time=1 9ecd5fc978d15793f1682931a9930d3d3e7de50483203a22023ddb8d13cd33a8 [2022-06-07T00:54:47.956Z] $ docker rm -f 9ecd5fc978d15793f1682931a9930d3d3e7de50483203a22023ddb8d13cd33a8 [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-06-07T00:54:48.669Z] + git log --format=format:%s -1 78d408cb2e9c2823d5dddcb6179e75cdf16507ed [Pipeline] sh [2022-06-07T00:54:48.965Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-07T00:54:48.965Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:54:49.267Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T00:54:49.267Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T00:54:49.361Z] prd-ubuntu20.04-docker-8c-8g-1574 does not seem to be running inside a container [2022-06-07T00:54:49.404Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-07T00:54:49.886Z] $ docker top 59459de20c3d54bf9423f2dc8a90d59ae9f9b2b2d0c751abd48ee1a4b39eb7b0 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-07T00:54:49.996Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-07T00:54:49.996Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-07T00:54:50.120Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-07T00:54:50.127Z] $ docker exec 59459de20c3d54bf9423f2dc8a90d59ae9f9b2b2d0c751abd48ee1a4b39eb7b0 ssh-agent [2022-06-07T00:54:50.238Z] SSH_AUTH_SOCK=/tmp/ssh-gyxvMfoL0oyL/agent.34 [2022-06-07T00:54:50.238Z] SSH_AGENT_PID=40 [2022-06-07T00:54:50.243Z] Running ssh-add (command line suppressed) [2022-06-07T00:54:50.373Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1253493150604055530.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_1253493150604055530.key) [2022-06-07T00:54:50.385Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-07T00:54:50.675Z] + git semver tag [2022-06-07T00:54:50.935Z] 2022-06-07 00:54:50,872 [run_tag] DEBUG tag force:False [2022-06-07T00:54:50.935Z] 2022-06-07 00:54:50,872 [check_head_tag] DEBUG check head tag [2022-06-07T00:54:50.935Z] 2022-06-07 00:54:50,873 [execute] INFO git cat-file --batch-check [2022-06-07T00:54:50.935Z] 2022-06-07 00:54:50,873 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2022-06-07T00:54:50.935Z] 2022-06-07 00:54:50,877 [execute] INFO git cat-file --batch [2022-06-07T00:54:50.935Z] 2022-06-07 00:54:50,877 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=) [2022-06-07T00:54:50.935Z] 2022-06-07 00:54:50,886 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-06-07T00:54:50.935Z] 2022-06-07 00:54:50,886 [execute] INFO git tag -a v2.2.1-dev.3 -m v2.2.1-dev.3 [2022-06-07T00:54:50.935Z] 2022-06-07 00:54:50,886 [execute] DEBUG Popen(['git', 'tag', '-a', 'v2.2.1-dev.3', '-m', 'v2.2.1-dev.3'], cwd=/w/workspace/edgexfoundry_device-rest-go_main, universal_newlines=False, shell=None, istream=None) [2022-06-07T00:54:50.935Z] 2022-06-07 00:54:50,892 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-06-07T00:54:50.935Z] 2.2.1-dev.3 [Pipeline] } [2022-06-07T00:54:50.949Z] $ docker exec --env ******** --env ******** 59459de20c3d54bf9423f2dc8a90d59ae9f9b2b2d0c751abd48ee1a4b39eb7b0 ssh-agent -k [2022-06-07T00:54:51.065Z] unset SSH_AUTH_SOCK; [2022-06-07T00:54:51.065Z] unset SSH_AGENT_PID; [2022-06-07T00:54:51.065Z] echo Agent pid 40 killed; [2022-06-07T00:54:51.071Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-07T00:54:51.374Z] + git semver [Pipeline] } [2022-06-07T00:54:51.674Z] $ docker stop --time=1 59459de20c3d54bf9423f2dc8a90d59ae9f9b2b2d0c751abd48ee1a4b39eb7b0 [2022-06-07T00:54:52.981Z] $ docker rm -f 59459de20c3d54bf9423f2dc8a90d59ae9f9b2b2d0c751abd48ee1a4b39eb7b0 [Pipeline] // withDockerContainer [Pipeline] stage [Pipeline] { (LF Tools Sigul) [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:54:53.372Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-07T00:54:53.372Z] [2022-06-07T00:54:53.372Z] Error: No such object: nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:54:53.685Z] + docker pull nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-07T00:54:53.685Z] 0.23.1-centos7: Pulling from edgex-lftools [2022-06-07T00:54:53.685Z] ab5ef0e58194: Pulling fs layer [2022-06-07T00:54:53.685Z] 9712f1f96733: Pulling fs layer [2022-06-07T00:54:53.685Z] 63f879dbbcfc: Pulling fs layer [2022-06-07T00:54:53.685Z] 0d9ebad4ef96: Pulling fs layer [2022-06-07T00:54:53.685Z] e9a5061849ea: Pulling fs layer [2022-06-07T00:54:53.685Z] d747dcd14b5f: Pulling fs layer [2022-06-07T00:54:53.685Z] 2de7ff778b66: Pulling fs layer [2022-06-07T00:54:53.685Z] 0d9ebad4ef96: Waiting [2022-06-07T00:54:53.685Z] e9a5061849ea: Waiting [2022-06-07T00:54:53.685Z] 2de7ff778b66: Waiting [2022-06-07T00:54:53.685Z] 9712f1f96733: Verifying Checksum [2022-06-07T00:54:53.685Z] 9712f1f96733: Download complete [2022-06-07T00:54:54.263Z] 63f879dbbcfc: Verifying Checksum [2022-06-07T00:54:54.264Z] 63f879dbbcfc: Download complete [2022-06-07T00:54:54.264Z] e9a5061849ea: Verifying Checksum [2022-06-07T00:54:54.264Z] e9a5061849ea: Download complete [2022-06-07T00:54:54.264Z] d747dcd14b5f: Verifying Checksum [2022-06-07T00:54:54.264Z] d747dcd14b5f: Download complete [2022-06-07T00:54:54.526Z] 0d9ebad4ef96: Verifying Checksum [2022-06-07T00:54:54.526Z] 0d9ebad4ef96: Download complete [2022-06-07T00:54:54.526Z] ab5ef0e58194: Verifying Checksum [2022-06-07T00:54:54.526Z] ab5ef0e58194: Download complete [2022-06-07T00:54:54.526Z] 2de7ff778b66: Verifying Checksum [2022-06-07T00:54:54.526Z] 2de7ff778b66: Download complete [2022-06-07T00:54:57.816Z] ab5ef0e58194: Pull complete [2022-06-07T00:54:57.816Z] 9712f1f96733: Pull complete [2022-06-07T00:54:58.075Z] 63f879dbbcfc: Pull complete [2022-06-07T00:55:01.364Z] 0d9ebad4ef96: Pull complete [2022-06-07T00:55:01.624Z] e9a5061849ea: Pull complete [2022-06-07T00:55:01.886Z] d747dcd14b5f: Pull complete [2022-06-07T00:55:02.825Z] 2de7ff778b66: Pull complete [2022-06-07T00:55:02.825Z] Digest: sha256:02657cf374e2015a0d4d7d3420cb6fe05d6b2b35acbcf0b45035c21bd1e1ff52 [2022-06-07T00:55:02.825Z] Status: Downloaded newer image for nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [2022-06-07T00:55:02.825Z] nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T00:55:02.912Z] prd-ubuntu20.04-docker-8c-8g-1574 does not seem to be running inside a container [2022-06-07T00:55:02.949Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools:0.23.1-centos7 cat [2022-06-07T00:55:05.444Z] $ docker top 3adc495c46f9ba3d3033896a78a28aab90e8f36871e7ebbb5113289c37ed9b81 -eo pid,comm [Pipeline] { [Pipeline] configFileProvider [2022-06-07T00:55:05.521Z] provisioning config files... [2022-06-07T00:55:05.528Z] copy managed file [sigul-config] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config7294671386785717057tmp [2022-06-07T00:55:05.538Z] copy managed file [sigul-password] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config4586083725250762005tmp [2022-06-07T00:55:05.549Z] copy managed file [sigul-pki] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config559424269075874686tmp [Pipeline] { [Pipeline] echo [2022-06-07T00:55:05.562Z] Running global-jjb/shell/sigul-configuration.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:55:05.846Z] ---> sigul-configuration.sh [2022-06-07T00:55:05.846Z] gpg: directory `/root/.gnupg' created [2022-06-07T00:55:05.846Z] gpg: new configuration file `/root/.gnupg/gpg.conf' created [2022-06-07T00:55:05.846Z] gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run [2022-06-07T00:55:05.846Z] gpg: keyring `/root/.gnupg/secring.gpg' created [2022-06-07T00:55:05.846Z] gpg: keyring `/root/.gnupg/pubring.gpg' created [2022-06-07T00:55:05.846Z] gpg: CAST5 encrypted data [2022-06-07T00:55:05.846Z] gpg: encrypted with 1 passphrase [2022-06-07T00:55:05.846Z] gpg: WARNING: message was not integrity protected [Pipeline] sh [2022-06-07T00:55:06.135Z] + mkdir /home/jenkins [2022-06-07T00:55:06.135Z] + mkdir /home/jenkins/sigul [Pipeline] sh [2022-06-07T00:55:06.428Z] + 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-06-07T00:55:06.438Z] Running global-jjb/shell/sigul-install.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:55:06.728Z] ---> sigul-install.sh [2022-06-07T00:55:06.729Z] Sigul already installed; skipping installation. [Pipeline] sh [2022-06-07T00:55:07.017Z] + git tag --list [2022-06-07T00:55:07.017Z] v1.0.0 [2022-06-07T00:55:07.017Z] v1.1.0 [2022-06-07T00:55:07.017Z] v1.1.1 [2022-06-07T00:55:07.017Z] v1.1.2 [2022-06-07T00:55:07.017Z] v1.2.0 [2022-06-07T00:55:07.017Z] v1.2.1 [2022-06-07T00:55:07.017Z] v2.0.0 [2022-06-07T00:55:07.017Z] v2.1.0 [2022-06-07T00:55:07.017Z] v2.1.1-dev.1 [2022-06-07T00:55:07.017Z] v2.1.1-dev.2 [2022-06-07T00:55:07.017Z] v2.2.0 [2022-06-07T00:55:07.017Z] v2.2.1-dev.1 [2022-06-07T00:55:07.017Z] v2.2.1-dev.2 [2022-06-07T00:55:07.017Z] v2.2.1-dev.3 [Pipeline] sh [2022-06-07T00:55:07.307Z] + lftools sign git-tag v2.2.1-dev.3 [2022-06-07T00:55:07.879Z] Signing Git tag with Sigul... [2022-06-07T00:55:07.879Z] Signing v2.2.1-dev.3 [Pipeline] echo [2022-06-07T00:55:08.461Z] Running global-jjb/shell/sigul-configuration-cleanup.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:55:08.749Z] ---> sigul-configuration-cleanup.sh [Pipeline] } [2022-06-07T00:55:08.758Z] Deleting 3 temporary files [Pipeline] // configFileProvider [Pipeline] } [2022-06-07T00:55:08.785Z] $ docker stop --time=1 3adc495c46f9ba3d3033896a78a28aab90e8f36871e7ebbb5113289c37ed9b81 [2022-06-07T00:55:10.101Z] $ docker rm -f 3adc495c46f9ba3d3033896a78a28aab90e8f36871e7ebbb5113289c37ed9b81 [Pipeline] // withDockerContainer [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // script [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Bump Pre-Release Version) [Pipeline] sh [2022-06-07T00:55:10.547Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-07T00:55:10.547Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:55:10.855Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T00:55:10.855Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T00:55:10.942Z] prd-ubuntu20.04-docker-8c-8g-1574 does not seem to be running inside a container [2022-06-07T00:55:10.978Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-07T00:55:11.393Z] $ docker top e2439b093dccf6aff2cadc8830e89192570727676f5d3adc3202992541c9d935 -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-07T00:55:11.498Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-07T00:55:11.498Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-07T00:55:11.611Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-07T00:55:11.618Z] $ docker exec e2439b093dccf6aff2cadc8830e89192570727676f5d3adc3202992541c9d935 ssh-agent [2022-06-07T00:55:11.738Z] SSH_AUTH_SOCK=/tmp/ssh-ynWa7mjjFjou/agent.32 [2022-06-07T00:55:11.738Z] SSH_AGENT_PID=39 [2022-06-07T00:55:11.744Z] Running ssh-add (command line suppressed) [2022-06-07T00:55:11.873Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8806031421361800824.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_8806031421361800824.key) [2022-06-07T00:55:11.885Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-07T00:55:12.197Z] + git semver bump pre [2022-06-07T00:55:12.458Z] 2022-06-07 00:55:12,400 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-06-07T00:55:12.458Z] 2022-06-07 00:55:12,400 [bump_version] DEBUG bumping version:2.2.1-dev.3 on axis:pre with prefix:dev [2022-06-07T00:55:12.458Z] 2022-06-07 00:55:12,400 [bump_version] DEBUG bumped version:2.2.1-dev.4 [2022-06-07T00:55:12.458Z] 2022-06-07 00:55:12,400 [write_version] DEBUG write version:2.2.1-dev.4 to path:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main with force:True [2022-06-07T00:55:12.458Z] 2022-06-07 00:55:12,400 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-06-07T00:55:12.458Z] 2022-06-07 00:55:12,400 [write_file] DEBUG write to file:/w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-06-07T00:55:12.458Z] 2022-06-07 00:55:12,403 [execute] INFO git cat-file --batch-check [2022-06-07T00:55:12.458Z] 2022-06-07 00:55:12,404 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-07T00:55:12.458Z] 2022-06-07 00:55:12,410 [execute] INFO git cat-file --batch [2022-06-07T00:55:12.458Z] 2022-06-07 00:55:12,410 [execute] DEBUG Popen(['git', 'cat-file', '--batch'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-07T00:55:12.458Z] 2022-06-07 00:55:12,417 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-06-07T00:55:12.458Z] 2.2.1-dev.4 [Pipeline] } [2022-06-07T00:55:12.473Z] $ docker exec --env ******** --env ******** e2439b093dccf6aff2cadc8830e89192570727676f5d3adc3202992541c9d935 ssh-agent -k [2022-06-07T00:55:12.591Z] unset SSH_AUTH_SOCK; [2022-06-07T00:55:12.591Z] unset SSH_AGENT_PID; [2022-06-07T00:55:12.591Z] echo Agent pid 39 killed; [2022-06-07T00:55:12.600Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-07T00:55:12.916Z] + git semver [Pipeline] } [2022-06-07T00:55:13.198Z] $ docker stop --time=1 e2439b093dccf6aff2cadc8830e89192570727676f5d3adc3202992541c9d935 [2022-06-07T00:55:14.506Z] $ docker rm -f e2439b093dccf6aff2cadc8830e89192570727676f5d3adc3202992541c9d935 [Pipeline] // withDockerContainer [Pipeline] sh [2022-06-07T00:55:14.875Z] + grep github.com ecdsa /etc/ssh/ssh_known_hosts [2022-06-07T00:55:14.875Z] github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg= [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:55:15.182Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 [2022-06-07T00:55:15.182Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T00:55:15.275Z] prd-ubuntu20.04-docker-8c-8g-1574 does not seem to be running inside a container [2022-06-07T00:55:15.314Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-devops/py-git-semver:0.1.4 cat [2022-06-07T00:55:15.740Z] $ docker top 39132130aa3863a80d0980b83a760f29ca64dd5ab90f8bb07db69c7aaa2b0ebb -eo pid,comm [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] sshagent [2022-06-07T00:55:15.845Z] [ssh-agent] Using credentials edgex-jenkins (SSH Credentials for GitHub) [2022-06-07T00:55:15.845Z] [ssh-agent] Looking for ssh-agent implementation... [2022-06-07T00:55:15.979Z] [ssh-agent] Exec ssh-agent (binary ssh-agent on a remote machine) [2022-06-07T00:55:15.987Z] $ docker exec 39132130aa3863a80d0980b83a760f29ca64dd5ab90f8bb07db69c7aaa2b0ebb ssh-agent [2022-06-07T00:55:16.130Z] SSH_AUTH_SOCK=/tmp/ssh-0jnsocw59283/agent.33 [2022-06-07T00:55:16.130Z] SSH_AGENT_PID=40 [2022-06-07T00:55:16.137Z] Running ssh-add (command line suppressed) [2022-06-07T00:55:16.272Z] Identity added: /w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4133001561516646543.key (/w/workspace/edgexfoundry_device-rest-go_main@tmp/private_key_4133001561516646543.key) [2022-06-07T00:55:16.283Z] [ssh-agent] Started. [Pipeline] { [Pipeline] sh [2022-06-07T00:55:16.580Z] + git semver push [2022-06-07T00:55:16.851Z] 2022-06-07 00:55:16,824 [run_push] DEBUG push [2022-06-07T00:55:16.851Z] 2022-06-07 00:55:16,825 [execute] INFO git cat-file --batch-check [2022-06-07T00:55:16.851Z] 2022-06-07 00:55:16,825 [execute] DEBUG Popen(['git', 'cat-file', '--batch-check'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=) [2022-06-07T00:55:16.851Z] 2022-06-07 00:55:16,829 [execute] INFO git rev-list a7a8977cc663a282a4bab969c4c3ec4a13ce312b -- [2022-06-07T00:55:16.851Z] 2022-06-07 00:55:16,829 [execute] DEBUG Popen(['git', 'rev-list', 'a7a8977cc663a282a4bab969c4c3ec4a13ce312b', '--'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-07T00:55:16.851Z] 2022-06-07 00:55:16,838 [execute] INFO git fetch -v origin [2022-06-07T00:55:16.851Z] 2022-06-07 00:55:16,839 [execute] DEBUG Popen(['git', 'fetch', '-v', 'origin'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=True, shell=None, istream=None) [2022-06-07T00:55:17.423Z] 2022-06-07 00:55:17,292 [run_push] DEBUG no remote changes detected [2022-06-07T00:55:17.423Z] 2022-06-07 00:55:17,292 [execute] INFO git push origin semver [2022-06-07T00:55:17.423Z] 2022-06-07 00:55:17,292 [execute] DEBUG Popen(['git', 'push', 'origin', 'semver'], cwd=/w/workspace/edgexfoundry_device-rest-go_main/.semver, universal_newlines=False, shell=None, istream=None) [2022-06-07T00:55:17.994Z] 2022-06-07 00:55:17,953 [run_push] DEBUG push all version tags [2022-06-07T00:55:17.994Z] 2022-06-07 00:55:17,953 [execute] INFO git push origin refs/tags/v*:refs/tags/v* [2022-06-07T00:55:17.994Z] 2022-06-07 00:55:17,954 [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-06-07T00:55:18.935Z] 2022-06-07 00:55:18,610 [read_version] DEBUG read version from /w/workspace/edgexfoundry_device-rest-go_main/.semver/main [2022-06-07T00:55:18.935Z] 2.2.1-dev.4 [Pipeline] } [2022-06-07T00:55:18.951Z] $ docker exec --env ******** --env ******** 39132130aa3863a80d0980b83a760f29ca64dd5ab90f8bb07db69c7aaa2b0ebb ssh-agent -k [2022-06-07T00:55:19.071Z] unset SSH_AUTH_SOCK; [2022-06-07T00:55:19.071Z] unset SSH_AGENT_PID; [2022-06-07T00:55:19.071Z] echo Agent pid 40 killed; [2022-06-07T00:55:19.082Z] [ssh-agent] Stopped. [Pipeline] // sshagent [Pipeline] } [Pipeline] // withEnv [Pipeline] sh [2022-06-07T00:55:19.392Z] + git semver [Pipeline] } [2022-06-07T00:55:19.722Z] $ docker stop --time=1 39132130aa3863a80d0980b83a760f29ca64dd5ab90f8bb07db69c7aaa2b0ebb [2022-06-07T00:55:21.072Z] $ docker rm -f 39132130aa3863a80d0980b83a760f29ca64dd5ab90f8bb07db69c7aaa2b0ebb [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-06-07T00:55:21.744Z] + [ -d /w/workspace/edgexfoundry_device-rest-go_main/archives ] [2022-06-07T00:55:21.744Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-06-07T00:55:21.744Z] total 16 [2022-06-07T00:55:21.744Z] drwxr-xr-x 3 root root 4096 Jun 7 00:44 . [2022-06-07T00:55:21.744Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 00:55 .. [2022-06-07T00:55:21.744Z] drwxr-xr-x 2 root root 4096 Jun 7 00:44 cost [2022-06-07T00:55:21.744Z] -rw-r--r-- 1 root root 84 Jun 7 00:44 cost.csv [2022-06-07T00:55:21.744Z] + sudo chown -R jenkins:jenkins /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-06-07T00:55:21.744Z] + ls -al /w/workspace/edgexfoundry_device-rest-go_main/archives [2022-06-07T00:55:21.744Z] total 16 [2022-06-07T00:55:21.744Z] drwxr-xr-x 3 jenkins jenkins 4096 Jun 7 00:44 . [2022-06-07T00:55:21.744Z] drwxrwxr-x 10 jenkins jenkins 4096 Jun 7 00:55 .. [2022-06-07T00:55:21.744Z] drwxr-xr-x 2 jenkins jenkins 4096 Jun 7 00:44 cost [2022-06-07T00:55:21.744Z] -rw-r--r-- 1 jenkins jenkins 84 Jun 7 00:44 cost.csv [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:55:22.041Z] ---> sysstat.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:55:22.908Z] ---> package-listing.sh [2022-06-07T00:55:22.908Z] ++ facter osfamily [2022-06-07T00:55:22.908Z] ++ tr '[:upper:]' '[:lower:]' [2022-06-07T00:55:23.231Z] + OS_FAMILY=debian [2022-06-07T00:55:23.231Z] + workspace=/w/workspace/edgexfoundry_device-rest-go_main [2022-06-07T00:55:23.231Z] + START_PACKAGES=/tmp/packages_start.txt [2022-06-07T00:55:23.231Z] + END_PACKAGES=/tmp/packages_end.txt [2022-06-07T00:55:23.231Z] + DIFF_PACKAGES=/tmp/packages_diff.txt [2022-06-07T00:55:23.231Z] + PACKAGES=/tmp/packages_start.txt [2022-06-07T00:55:23.231Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-06-07T00:55:23.231Z] + PACKAGES=/tmp/packages_end.txt [2022-06-07T00:55:23.231Z] + case "${OS_FAMILY}" in [2022-06-07T00:55:23.231Z] + dpkg -l [2022-06-07T00:55:23.231Z] + grep '^ii' [2022-06-07T00:55:23.231Z] + '[' -f /tmp/packages_start.txt ']' [2022-06-07T00:55:23.231Z] + '[' -f /tmp/packages_end.txt ']' [2022-06-07T00:55:23.231Z] + diff /tmp/packages_start.txt /tmp/packages_end.txt [2022-06-07T00:55:23.231Z] + '[' /w/workspace/edgexfoundry_device-rest-go_main ']' [2022-06-07T00:55:23.231Z] + mkdir -p /w/workspace/edgexfoundry_device-rest-go_main/archives/ [2022-06-07T00:55:23.231Z] + 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-06-07T00:55:23.256Z] 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-06-07T00:55:23.534Z] + facter operatingsystem [Pipeline] isUnix [Pipeline] withEnv [Pipeline] { [Pipeline] sh [2022-06-07T00:55:24.100Z] + docker inspect -f . nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest [2022-06-07T00:55:24.100Z] . [Pipeline] } [Pipeline] // withEnv [Pipeline] withDockerContainer [2022-06-07T00:55:24.187Z] prd-ubuntu20.04-docker-8c-8g-1574 does not seem to be running inside a container [2022-06-07T00:55:24.226Z] $ 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 ******** nexus3.edgexfoundry.org:10003/edgex-lftools-log-publisher:latest cat [2022-06-07T00:55:24.468Z] $ docker top 1c27c86f7587ebd2be7580fe872c9a51f5ac5750eaf3fef81a6cd963335df12c -eo pid,comm [Pipeline] { [Pipeline] sh [2022-06-07T00:55:24.818Z] + touch /tmp/pre-build-complete [Pipeline] sh [2022-06-07T00:55:25.110Z] + mkdir -p /var/log/sysstat [Pipeline] sh [2022-06-07T00:55:25.401Z] + ls /var/log/sa-host [2022-06-07T00:55:25.401Z] ls: cannot access '/var/log/sa-host': No such file or directory [Pipeline] withEnv [Pipeline] { [Pipeline] configFileProvider [2022-06-07T00:55:25.469Z] provisioning config files... [2022-06-07T00:55:25.479Z] copy managed file [jenkins-log-archives-settings] to file:/w/workspace/edgexfoundry_device-rest-go_main@tmp/config3744423050009156066tmp [Pipeline] { [Pipeline] echo [2022-06-07T00:55:25.494Z] Running shell/create-netrc.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:55:25.778Z] ---> create-netrc.sh [Pipeline] } [2022-06-07T00:55:25.787Z] Deleting 1 temporary files [Pipeline] // configFileProvider [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:55:26.115Z] ---> python-tools-install.sh [Pipeline] echo [2022-06-07T00:55:26.123Z] Running shell/sudo-logs.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:55:26.410Z] ---> sudo-logs.sh [2022-06-07T00:55:26.410Z] Archiving 'sudo' log.. [Pipeline] unstash [Pipeline] echo [2022-06-07T00:55:26.441Z] Running shell/job-cost.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:55:26.728Z] ---> job-cost.sh [2022-06-07T00:55:26.728Z] lf-activate-venv: SKIPPING [2022-06-07T00:55:26.728Z] DEBUG: total: 0.2199999988079071 [2022-06-07T00:55:26.728Z] INFO: Retrieving Stack Cost... [2022-06-07T00:55:27.302Z] INFO: Retrieving Pricing Info for: v3-standard-8 [2022-06-07T00:55:27.874Z] INFO: Archiving Costs [Pipeline] echo [2022-06-07T00:55:27.889Z] Running shell/logs-deploy.sh [Pipeline] libraryResource [Pipeline] sh [2022-06-07T00:55:28.183Z] ---> logs-deploy.sh [2022-06-07T00:55:28.183Z] lf-activate-venv: SKIPPING [2022-06-07T00:55:28.183Z] INFO: Nexus URL https://nexus.edgexfoundry.org path production/vex-yul-edgex-jenkins-1/edgexfoundry/device-rest-go/main/44 [2022-06-07T00:55:28.183Z] INFO: archiving workspace using pattern(s): [2022-06-07T00:55:29.127Z] Archives upload complete. [2022-06-07T00:55:29.127Z] INFO: archiving logs to Nexus